summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2002-06-03 12:48:25 +0000
committerMark Pulford <markp@FreeBSD.org>2002-06-03 12:48:25 +0000
commitbd7aa5869d55127c7ae8e5d87c3e9513c95440d6 (patch)
tree83e6040646539d1716f20eabae3eaa541e2725c1 /security
parentFix build under XFree86-4 (diff)
Update to 0.5. Add optional xsteg.
Notes
Notes: svn path=/head/; revision=60535
Diffstat (limited to 'security')
-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