sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Jeremy Blosser (7faeef4004635a794ce1a971ce38df3f116cb921)
- From: Jeremy Blosser <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Jeremy Blosser (7faeef4004635a794ce1a971ce38df3f116cb921)
- Date: Thu, 12 May 2011 23:39:20 -0500
GIT changes to master grimoire by Jeremy Blosser <jblosser-smgl AT firinn.org>:
ChangeLog | 3 +++
security/snoopy/CONFIGURE | 1 +
security/snoopy/DEPENDS | 1 +
security/snoopy/DETAILS | 16 ++++++++++++++++
security/snoopy/HISTORY | 4 ++++
security/snoopy/INSTALL | 5 +++++
security/snoopy/PRE_BUILD | 3 +++
security/snoopy/PRE_REMOVE | 3 +++
8 files changed, 36 insertions(+)
New commits:
commit 7faeef4004635a794ce1a971ce38df3f116cb921
Author: Jeremy Blosser <jblosser-smgl AT firinn.org>
Commit: Jeremy Blosser <jblosser-smgl AT firinn.org>
snoopy: new spell, log all execve() calls to syslog.
diff --git a/ChangeLog b/ChangeLog
index 390e271..3791c02 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2011-05-12 Jeremy Blosser <jblosser-smgl AT firinn.org>
+ * security/snoopy: new spell, log all execve() calls to syslog
+
2011-05-12 Vlad Glagolev <stealth AT sourcemage.org>
* net/netcat: new spell, GNU version of netcat
diff --git a/security/snoopy/CONFIGURE b/security/snoopy/CONFIGURE
new file mode 100755
index 0000000..ac0f408
--- /dev/null
+++ b/security/snoopy/CONFIGURE
@@ -0,0 +1 @@
+config_query SNOOPY_ENABLE "Enable snoopy logger in /etc/ld.so.preload?" n
diff --git a/security/snoopy/DEPENDS b/security/snoopy/DEPENDS
new file mode 100755
index 0000000..44942f9
--- /dev/null
+++ b/security/snoopy/DEPENDS
@@ -0,0 +1 @@
+suggest_depends SYSTEM-LOGGER
diff --git a/security/snoopy/DETAILS b/security/snoopy/DETAILS
new file mode 100755
index 0000000..bccf5e4
--- /dev/null
+++ b/security/snoopy/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=snoopy
+ VERSION=1.8.0
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=${SOURCEFORGE_URL}/${SPELL}logger/${SOURCE}
+
SOURCE_HASH=sha512:9b6664976f750ec8320c14a314b5e3632a013d3f6d80a1a3ffebd1abf9b92f87652be7c28d89a371d8d4d3a3e445fbabca7b11ad12050d03d8481a9487b34263
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://sourceforge.net/projects/snoopylogger/"
+ LICENSE[0]=GPL
+ ENTERED=20110512
+ SHORT="snoopy logs all execve() calls to syslog."
+cat << EOF
+Snoopy is designed to aid a sysadmin by providing a log of commands
+executed. Snoopy is completely transparent to the user and applications.
+It is linked into programs to provide a wrapper around calls to execve().
+Logging is done via syslog.
+EOF
diff --git a/security/snoopy/HISTORY b/security/snoopy/HISTORY
new file mode 100644
index 0000000..7985f3b
--- /dev/null
+++ b/security/snoopy/HISTORY
@@ -0,0 +1,4 @@
+2011-05-12 Jeremy Blosser <jblosser-smgl AT firinn.org>
+ * CONFIGURE, DEPENDS, DETAILS, INSTALL, PRE_BUILD, PRE_REMOVE:
+ spell created
+
diff --git a/security/snoopy/INSTALL b/security/snoopy/INSTALL
new file mode 100755
index 0000000..4c913d0
--- /dev/null
+++ b/security/snoopy/INSTALL
@@ -0,0 +1,5 @@
+default_install &&
+
+if [ "${SNOOPY_ENABLE}" == "y" ]; then
+ make enable
+fi
diff --git a/security/snoopy/PRE_BUILD b/security/snoopy/PRE_BUILD
new file mode 100755
index 0000000..ed08e06
--- /dev/null
+++ b/security/snoopy/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+sedit "s,/etc/ld.so.preload,${INSTALL_ROOT}/etc/ld.so.preload,g" enable.sh
diff --git a/security/snoopy/PRE_REMOVE b/security/snoopy/PRE_REMOVE
new file mode 100755
index 0000000..e2c5aaf
--- /dev/null
+++ b/security/snoopy/PRE_REMOVE
@@ -0,0 +1,3 @@
+if [ "${SNOOPY_ENABLE}" == "y" ]; then
+ sedit '/snoopy\.so/d' /etc/ld.so.preload
+fi
- [SM-Commit] GIT changes to master grimoire by Jeremy Blosser (7faeef4004635a794ce1a971ce38df3f116cb921), Jeremy Blosser, 05/13/2011
Archive powered by MHonArc 2.6.24.