aboutsummaryrefslogtreecommitdiffstats
path: root/security/snoopy
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-10-13 20:59:00 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-10-13 20:59:00 +0800
commit67a7ab9ffc237bd84dfaf30f023651ba07fbe8d7 (patch)
treed1a5e2f4b1fce745fa68a5fe87bead889167a0b0 /security/snoopy
parent9aa8e8d61652976f17438ab9028e02c20a2b95ab (diff)
downloadfreebsd-ports-gnome-67a7ab9ffc237bd84dfaf30f023651ba07fbe8d7.tar.gz
freebsd-ports-gnome-67a7ab9ffc237bd84dfaf30f023651ba07fbe8d7.tar.zst
freebsd-ports-gnome-67a7ab9ffc237bd84dfaf30f023651ba07fbe8d7.zip
- Update to 1.9.0
- Fix file permission: use INSTALL_LIB for shared library - Add more PORTDOCS - Update WWW - Reformat pkg-descr Changes: https://github.com/a2o/snoopy/blob/master/ChangeLog
Diffstat (limited to 'security/snoopy')
-rw-r--r--security/snoopy/Makefile21
-rw-r--r--security/snoopy/distinfo4
-rw-r--r--security/snoopy/pkg-descr13
3 files changed, 22 insertions, 16 deletions
diff --git a/security/snoopy/Makefile b/security/snoopy/Makefile
index 36bd42ecc981..4554b70a9cb3 100644
--- a/security/snoopy/Makefile
+++ b/security/snoopy/Makefile
@@ -2,9 +2,10 @@
# $FreeBSD$
PORTNAME= snoopy
-PORTVERSION= 1.8.0
+PORTVERSION= 1.9.0
CATEGORIES= security
-MASTER_SITES= SF/${PORTNAME}logger/
+MASTER_SITES= GH \
+ GHC
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= execve() wrapper and logger
@@ -13,21 +14,27 @@ LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
-PLIST_FILES= lib/snoopy.so bin/detect
-PORTDOCS= README
+PLIST_FILES= bin/detect lib/snoopy.so
+PORTDOCS= ChangeLog README.md TODO
GNU_CONFIGURE= yes
USES= gmake
+GH_ACCOUNT= a2o
+GH_COMMIT= 34306f7
+GH_PROJECT= ${PORTNAME}
+GH_TAGNAME= ${PORTNAME}-${PORTVERSION}
+USE_GITHUB= yes
+
.include <bsd.port.options.mk>
post-patch:
- @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|g' ${WRKSRC}/README
- @${REINPLACE_CMD} '/^LIBS.*/d' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} '/^LIBS=/d' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|g' ${WRKSRC}/README.md
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/detect ${STAGEDIR}${PREFIX}/bin/
- ${INSTALL_PROGRAM} ${WRKSRC}/snoopy.so ${STAGEDIR}${PREFIX}/lib/
+ ${INSTALL_LIB} ${WRKSRC}/snoopy.so ${STAGEDIR}${PREFIX}/lib/
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
diff --git a/security/snoopy/distinfo b/security/snoopy/distinfo
index f2ca7f846d45..16441432e1c9 100644
--- a/security/snoopy/distinfo
+++ b/security/snoopy/distinfo
@@ -1,2 +1,2 @@
-SHA256 (snoopy-1.8.0.tar.gz) = 5af8a6cfdca902f6f49fa5dfb0ff3f1067bc216a6a2d37b6d804519c7cfc1e0c
-SIZE (snoopy-1.8.0.tar.gz) = 90110
+SHA256 (snoopy-1.9.0.tar.gz) = 7870fa448f9428816f411c93043c64e78453546c08768c51f5c4fdfd82fce90c
+SIZE (snoopy-1.9.0.tar.gz) = 56560
diff --git a/security/snoopy/pkg-descr b/security/snoopy/pkg-descr
index 4d74b5c49a09..7e32c3f3a771 100644
--- a/security/snoopy/pkg-descr
+++ b/security/snoopy/pkg-descr
@@ -1,9 +1,8 @@
-snoopy is merely a shared library that is used as a wrapper
-to the execve() function provided by libc as to log every call
-to syslog (authpriv). system administrators may find snoopy
-useful in tasks such as light/heavy system monitoring, tracking other
-administrator's actions as well as getting a good 'feel' of
-what's going on in the system (for example apache running cgi
+snoopy is merely a shared library that is used as a wrapper to the execve()
+function provided by libc as to log every call to syslog (authpriv). System
+administrators may find snoopy useful in tasks such as light/heavy system
+monitoring, tracking other administrator's actions as well as getting a good
+'feel' of what's going on in the system (for example Apache running CGI
scripts).
-WWW: http://sourceforge.net/projects/snoopylogger/
+WWW: https://github.com/a2o/snoopy