Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#5387 closed defect (fixed)

UPDATE: snort +server variant and schemas

Reported by: dports@… Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: markd@…
Port:

Description

I have a patch that:

1) Copies the database creation schemas into ${prefix}/share/snort/schemas because they are needed in many snort configurations.

2) Add a server variant that installs a startup script.

3) Adds ui_msg to inform users of details about 1 and 2.

The server variant seems pretty kludgy, maybe there is a better way.

Attachments (8)

Portfile.diff (1.2 KB) - added by dports@… 19 years ago.
Portfile diff
snort.sh (12 bytes) - added by dports@… 19 years ago.
snort.sh file for ${filesdir}
Portfile.2.diff (1.3 KB) - added by dports@… 19 years ago.
Revised Portfile diff
Portfile.3.diff (1.5 KB) - added by dports@… 19 years ago.
Revised Portfile diff
Portfile.4.diff (1.5 KB) - added by dports@… 19 years ago.
Revised Portfile diff
Portfile.5.diff (1.6 KB) - added by dports@… 19 years ago.
Revised Portfile diff
snort.2.sh (107 bytes) - added by dports@… 19 years ago.
snort.sh file for ${filesdir}
Portfile.6.diff (1.4 KB) - added by dports@… 19 years ago.
Revised Portfile diff

Download all attachments as: .zip

Change History (19)

Changed 19 years ago by dports@…

Attachment: Portfile.diff added

Portfile diff

Changed 19 years ago by dports@…

Attachment: snort.sh added

snort.sh file for ${filesdir}

comment:1 Changed 19 years ago by toby@…

Summary: UPDATE: snort-2.4.2UPDATE: snort +server variant and schemas

comment:2 Changed 19 years ago by toby@…

You shouldn't do the xinstall stuff directly in the variant; you'll need to add if {[variant_isset ... in the post- destroot phase.

comment:3 Changed 19 years ago by dports@…

(In reply to comment #3)

You shouldn't do the xinstall stuff directly in the variant; you'll need to add if {[variant_isset ... in the post- destroot phase.

Ok, attaching new Portfile diff

Changed 19 years ago by dports@…

Attachment: Portfile.2.diff added

Revised Portfile diff

comment:4 Changed 19 years ago by dports@…

attachments.isobsolete: 01

Changed 19 years ago by dports@…

Attachment: Portfile.3.diff added

Revised Portfile diff

comment:5 Changed 19 years ago by dports@…

attachments.isobsolete: 01

Changed 19 years ago by dports@…

Attachment: Portfile.4.diff added

Revised Portfile diff

comment:6 Changed 19 years ago by dports@…

attachments.isobsolete: 01

Changed 19 years ago by dports@…

Attachment: Portfile.5.diff added

Revised Portfile diff

comment:7 Changed 19 years ago by dports@…

attachments.isobsolete: 01

Changed 19 years ago by dports@…

Attachment: snort.2.sh added

snort.sh file for ${filesdir}

comment:8 Changed 19 years ago by dports@…

attachments.isobsolete: 01

Changed 19 years ago by dports@…

Attachment: Portfile.6.diff added

Revised Portfile diff

comment:9 Changed 19 years ago by dports@…

attachments.isobsolete: 01

comment:10 Changed 19 years ago by markd@…

Cc: markd@… added

I went ahead and committed this since it has been so long, I hope that isn't a problem since I'm not maintainer. An identical patch was approved by Marcus for an ntop server variant so I think it is safe to do, and not having the schemas on the DP tree is a big hassle. This bug can be closed.

comment:11 Changed 19 years ago by jmpp@…

Resolution: fixed
Status: newclosed

Closing per Mark's request, setting resolution to FIXED.

-jmpp

Note: See TracTickets for help on using tickets.