sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by George Sherwood (75171e3454bfef920de7d04dd95b9aee2964b87c)
- From: George Sherwood <scm AT mail.sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by George Sherwood (75171e3454bfef920de7d04dd95b9aee2964b87c)
- Date: Sun, 27 Aug 2006 05:28:06 -0500
GIT changes to master grimoire by George Sherwood <chat AT sourcemage.org>:
security/oinkmaster/BUILD | 14 +-------------
security/oinkmaster/DEPENDS | 5 +----
security/oinkmaster/DETAILS | 12 ++++--------
security/oinkmaster/FINAL | 9 +++++++++
security/oinkmaster/HISTORY | 11 +++++++++++
security/oinkmaster/INSTALL | 4 ++++
security/oinkmaster/POST_INSTALL | 9 ---------
security/oinkmaster/PREPARE | 13 -------------
security/oinkmaster/PRE_BUILD | 3 +++
9 files changed, 33 insertions(+), 47 deletions(-)
New commits:
commit 75171e3454bfef920de7d04dd95b9aee2964b87c
Author: George Sherwood <chat AT sourcemage.org>
Commit: George Sherwood <chat AT sourcemage.org>
Updated oinkmaster to version 2.0. Also updated to BUILD_API=2
diff --git a/security/oinkmaster/BUILD b/security/oinkmaster/BUILD
index 55f536b..e930d44 100755
--- a/security/oinkmaster/BUILD
+++ b/security/oinkmaster/BUILD
@@ -1,13 +1 @@
-(
-
- sedit "s:/usr/local/etc/:/etc/:" oinkmaster.pl &&
-
- prepare_install &&
-
- cp oinkmaster.pl /usr/bin/ &&
- chown snort.snort /usr/bin/oinkmaster.pl &&
- if [ ! -f /etc/oinkmaster.conf ]; then
- cp oinkmaster.conf /etc/
- fi
-
-) > $C_FIFO 2>&1
+create_account snort
diff --git a/security/oinkmaster/DEPENDS b/security/oinkmaster/DEPENDS
index 9d9f208..f29d487 100755
--- a/security/oinkmaster/DEPENDS
+++ b/security/oinkmaster/DEPENDS
@@ -1,4 +1 @@
-depends perl &&
-depends tar &&
-depends gzip &&
-depends wget
\ No newline at end of file
+depends perl
diff --git a/security/oinkmaster/DETAILS b/security/oinkmaster/DETAILS
index b228a02..73d56a1 100755
--- a/security/oinkmaster/DETAILS
+++ b/security/oinkmaster/DETAILS
@@ -1,18 +1,14 @@
SPELL=oinkmaster
- VERSION=0.9
+ VERSION=2.0
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_URL[0]=$SOURCEFORGE_URL/${SPELL}/${SOURCE}
-#
SOURCE_URL[0]=http://www.snort.org/dl/contrib/rule_management/${SPELL}/${SOURCE}
-#SOURCE_URL[1]=ftp://ftp.it.su.se/pub/users/andreas/${SPELL}/${SOURCE}
-
SOURCE_HASH=sha512:df3065a45edc343ee28c8b5e874ec2607559600535779b99f21a80da1cec07a6db067fea39bd8373697b215ba238a8faa186ccca7ad1fe843b72fb109af00f4e
+ SOURCE_URL[0]=$SOURCEFORGE_URL/${SPELL}/${SOURCE}
+
SOURCE_HASH=sha512:03874462cff71e558d4383fef9e757eb4260b20f4b1de4741edcd49fec6effe32669e95edb637962b77b12c519deeb74adc3c15427d0e054e1b96e2f03ffdb3b
+ BUILD_API=2
LICENSE[0]=BSD
ENTERED=20030726
- UPDATED=20030726
WEB_SITE=http://oinkmaster.sourceforge.net
- MAINTAINER=vydra AT fria.fri.utc.sk
KEYWORDS="security perl"
- BUILD_API=1
SHORT="oinkmaster is a perl script to automate proces of
downloading and merging Snort rules."
cat << EOF
Oinkmaster is simple Perl script to help you update/manage your Snort 2.0+
rules
diff --git a/security/oinkmaster/FINAL b/security/oinkmaster/FINAL
new file mode 100755
index 0000000..94bc7d3
--- /dev/null
+++ b/security/oinkmaster/FINAL
@@ -0,0 +1,9 @@
+
+ message "Before running ${SPELL} for the first time, modify the content"
+ message " of the /etc/oinkmaster.conf file."
+ message "(Example: change url to snortrules-current)"
+ message ""
+ message "For usage : log as user with write access to snort rules dir (aka
snort)"
+ message " execute oinkmaster.pl -o /etc/snort/rules/"
+ message " for test new rules, execute: /etc/init.d/snort.sh test"
+
\ No newline at end of file
diff --git a/security/oinkmaster/HISTORY b/security/oinkmaster/HISTORY
index 433dbe7..4ec065d 100644
--- a/security/oinkmaster/HISTORY
+++ b/security/oinkmaster/HISTORY
@@ -1,3 +1,14 @@
+2006-08-27 George Sherwood <george AT beernabeer.com>
+ * DETAILS: Updated to version 2.0. Updated to BUILD_API=2
+ Removed old SOURCE_URLS. Removed UPDATED & MAINTAINER
+ * DEPENDS: Removed depends that are part of basesystem
+ * PRE_BUILD: Added for sedit
+ * BUILD: Updated for BUILD_API=2
+ * INSTALL: Added for BUILD_API=2
+ * FINAL: Added for BUILD_API=2
+ * POST_INSTALL: Removed for BUILD_API=2
+ * PREPARE: Removed. Create account in BUILD
+
2006-06-12 Arwed v. Merkatz <v.merkatz AT gmx.net>
* DETAILS: inserted BUILD_API=1 line
diff --git a/security/oinkmaster/INSTALL b/security/oinkmaster/INSTALL
new file mode 100755
index 0000000..e88fd70
--- /dev/null
+++ b/security/oinkmaster/INSTALL
@@ -0,0 +1,4 @@
+cd $SOURCE_DIRECTORY &&
+cp oinkmaster.pl $INSTALL_ROOT/usr/bin/ &&
+chown snort.snort /usr/bin/oinkmaster.pl &&
+install_config_file oinkmaster.conf /etc/oinkmaster.conf
diff --git a/security/oinkmaster/POST_INSTALL
b/security/oinkmaster/POST_INSTALL
deleted file mode 100755
index 94bc7d3..0000000
--- a/security/oinkmaster/POST_INSTALL
+++ /dev/null
@@ -1,9 +0,0 @@
-
- message "Before running ${SPELL} for the first time, modify the content"
- message " of the /etc/oinkmaster.conf file."
- message "(Example: change url to snortrules-current)"
- message ""
- message "For usage : log as user with write access to snort rules dir (aka
snort)"
- message " execute oinkmaster.pl -o /etc/snort/rules/"
- message " for test new rules, execute: /etc/init.d/snort.sh test"
-
\ No newline at end of file
diff --git a/security/oinkmaster/PREPARE b/security/oinkmaster/PREPARE
deleted file mode 100755
index c7fb328..0000000
--- a/security/oinkmaster/PREPARE
+++ /dev/null
@@ -1,13 +0,0 @@
-message "Creation of ${SPELL} user ${MESSAGE_COLOR} snort ${DEFAULT_COLOR}."
-
-if ! exists_account snort; then
- message "${MESSAGE_COLOR} ERROR:${DEFAULT_COLOR} The ${SPELL} user and
group was not yet defined.";
- message "Solution: "
- message " echo "snort:118:118" >> /etc/sorcery/accounts"
- message " echo "snort:118:" >> /etc/sorcery/groups"
- return 1
-else
- if [ "`grep 'snort' /etc/passwd`" == "" ]; then
- create_account snort
- fi
-fi
diff --git a/security/oinkmaster/PRE_BUILD b/security/oinkmaster/PRE_BUILD
new file mode 100755
index 0000000..259ffd3
--- /dev/null
+++ b/security/oinkmaster/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+sedit "s:/usr/local/etc/:/etc/:" oinkmaster.pl
- [SM-Commit] GIT changes to master grimoire by George Sherwood (75171e3454bfef920de7d04dd95b9aee2964b87c), George Sherwood, 08/27/2006
Archive powered by MHonArc 2.6.24.