Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Eric Sandall (95fdb005502b6edb69b55b9f95cfceeff58d00e6)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (95fdb005502b6edb69b55b9f95cfceeff58d00e6)
  • Date: Tue, 15 Aug 2006 14:09:17 -0500

GIT changes to master grimoire by Eric Sandall <sandalle@moby.(none)>:

security/scanlogd/BUILD | 11 ++++++++++-
security/scanlogd/CONFIGURE | 9 +++++++++
security/scanlogd/DEPENDS | 11 ++++++++++-
security/scanlogd/HISTORY | 9 +++++++++
4 files changed, 38 insertions(+), 2 deletions(-)

New commits:
commit 95fdb005502b6edb69b55b9f95cfceeff58d00e6
Author: Eric Sandall <sandalle@moby.(none)>
Commit: Eric Sandall <sandalle@moby.(none)>

Fixed bug #12979 for scanlogd (optionally depend on libnids and libpcap)

diff --git a/security/scanlogd/BUILD b/security/scanlogd/BUILD
index 778bf75..5a882b6 100755
--- a/security/scanlogd/BUILD
+++ b/security/scanlogd/BUILD
@@ -4,4 +4,13 @@ sedit "s:/usr/local/:/usr/:"
sedit "s:\-O2:$CFLAGS:" Makefile &&
sedit "s:/usr/include/pcap:/usr/include:" Makefile &&

-make libnids
+if list_find "$OPTS" '--enable-libpcap'; then
+ echo "Building libpcap..."
+ make libpcap
+elif [[ "$SCANLOGD_LIBNIDS" == "y" ]]; then
+ echo "Building libnids..."
+ make libnids
+else
+ echo "Building linux..."
+ make linux
+fi
diff --git a/security/scanlogd/CONFIGURE b/security/scanlogd/CONFIGURE
new file mode 100755
index 0000000..ba19e08
--- /dev/null
+++ b/security/scanlogd/CONFIGURE
@@ -0,0 +1,9 @@
+if spell_ok libnids &&
+ spell_ok libpcap &&
+ spell_ok libnet; then
+ config_query SCANLOGD_LIBNIDS \
+ "Enable Network Intrusion Detection System support?" y
+else
+ config_query SCANLOGD_LIBNIDS \
+ "Enable Network Intrusion Detection System support?" n
+fi
diff --git a/security/scanlogd/DEPENDS b/security/scanlogd/DEPENDS
index 8d302c0..ef5e52a 100755
--- a/security/scanlogd/DEPENDS
+++ b/security/scanlogd/DEPENDS
@@ -1 +1,10 @@
-depends libnids
\ No newline at end of file
+if [[ "$SCANLOGD_LIBNIDS" == "y" ]]; then
+ depends libnet &&
+ depends libnids &&
+ depends libpcap
+else
+ optional_depends libpcap \
+ '--enable-libpcap' \
+ '--disable-libpcap' \
+ 'for packet filtering support'
+fi
diff --git a/security/scanlogd/HISTORY b/security/scanlogd/HISTORY
index e2926a1..bd5a1a5 100644
--- a/security/scanlogd/HISTORY
+++ b/security/scanlogd/HISTORY
@@ -1,3 +1,12 @@
+2006-08-13 Eric Sandall <eric AT sandall.us>
+ * CONFIGURE: Query for libnids support (requires libnids, libpcap, and
+ libnet) (Bug #12979)
+ * DEPENDS: Optionally depend on libpcap (Bug #12979)
+ Depend on libnids, libpcap, and libnet if user wants NIDS support
+ (Bug #12979).
+ * BUILD: Build standard linux, with libpcap, or full NIDS support
+ (Bug #12979)
+
2006-03-12 Karsten Behrmann <BearPerson AT sourcemage.org>
* DETAILS: (automated) Add KEYWORDS




  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (95fdb005502b6edb69b55b9f95cfceeff58d00e6), Eric Sandall, 08/15/2006

Archive powered by MHonArc 2.6.24.

Top of Page