aboutsummaryrefslogtreecommitdiffstats
path: root/security/stegdetect
diff options
context:
space:
mode:
authormarkp <markp@FreeBSD.org>2002-06-03 20:48:25 +0800
committermarkp <markp@FreeBSD.org>2002-06-03 20:48:25 +0800
commitf10ac47536c61212c6e94eeab28b1292a9676bf5 (patch)
tree01fe89ed8b0e2929a4dfaf50106b0055121f38d6 /security/stegdetect
parentf47ed5d695e29a2fb065637812de8941f8f0e75e (diff)
downloadfreebsd-ports-gnome-f10ac47536c61212c6e94eeab28b1292a9676bf5.tar.gz
freebsd-ports-gnome-f10ac47536c61212c6e94eeab28b1292a9676bf5.tar.zst
freebsd-ports-gnome-f10ac47536c61212c6e94eeab28b1292a9676bf5.zip
Update to 0.5. Add optional xsteg.
Diffstat (limited to 'security/stegdetect')
-rw-r--r--security/stegdetect/Makefile22
-rw-r--r--security/stegdetect/distinfo2
-rw-r--r--security/stegdetect/pkg-descr4
-rw-r--r--security/stegdetect/pkg-plist1
4 files changed, 24 insertions, 5 deletions
diff --git a/security/stegdetect/Makefile b/security/stegdetect/Makefile
index 9ab5bd4cb1be..cdad09c027f8 100644
--- a/security/stegdetect/Makefile
+++ b/security/stegdetect/Makefile
@@ -6,19 +6,35 @@
#
PORTNAME= stegdetect
-PORTVERSION= 0.3
+PORTVERSION= 0.5
CATEGORIES= security
-MASTER_SITES= http://www.outguess.org/
+MASTER_SITES= http://www.mirrors.wiretapped.net/security/steganography/stegdetect/ \
+ http://www.outguess.org/
MAINTAINER= markp@FreeBSD.org
+.if !defined(WITHOUT_X11)
+BUILD_DEPENDS= ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent
+.endif
+
# Note: stegdetect includes a modified version of jpeg-6b linked statically
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAN1= stegdetect.1 stegbreak.1
-pre-patch:
+.if defined(WITHOUT_X11)
+PLIST_SUB+= X11="@comment "
+.else
+USE_GTK= yes
+CONFIGURE_ENV= PATH_GTKCONFIG="${GTK_CONFIG}"
+PLIST_SUB+= X11=""
+.endif
+
+post-patch:
@${PERL} -pi -e 's@\$$\(JPEGLIB\)@\$$\(JPEGLIB\) \-lcrypto@' \
${WRKSRC}/Makefile.in
+.if defined(WITHOUT_X11)
+ @${PERL} -pi -e 's/gtk-config//g' ${WRKSRC}/configure
+.endif
.include <bsd.port.mk>
diff --git a/security/stegdetect/distinfo b/security/stegdetect/distinfo
index 233b66c65b40..9694773d13d9 100644
--- a/security/stegdetect/distinfo
+++ b/security/stegdetect/distinfo
@@ -1 +1 @@
-MD5 (stegdetect-0.3.tar.gz) = 1578fef08169dcd7b6ab23523655a923
+MD5 (stegdetect-0.5.tar.gz) = 6f3708bb15fd629ced835d12f561e82b
diff --git a/security/stegdetect/pkg-descr b/security/stegdetect/pkg-descr
index eb4a2ff9b8f1..be14f6f0b232 100644
--- a/security/stegdetect/pkg-descr
+++ b/security/stegdetect/pkg-descr
@@ -7,5 +7,7 @@ Currently, the detectable schemes are:
* jphide (unix and windows)
* invisible secrets
* outguess 01.3b
+* F5
+# appendX and camouflage
-WWW: http://www.outguess.org/detection.html
+WWW: http://www.outguess.org/detection.php
diff --git a/security/stegdetect/pkg-plist b/security/stegdetect/pkg-plist
index b39dc10f212a..1a381f1af9fd 100644
--- a/security/stegdetect/pkg-plist
+++ b/security/stegdetect/pkg-plist
@@ -1,4 +1,5 @@
bin/stegdetect
bin/stegbreak
+%%X11%%bin/xsteg
share/stegbreak/rules.ini
@dirrm share/stegbreak