- update stegdetect to 0.6
This commit is contained in:
parent
c218631a73
commit
70677a4932
@ -1,8 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2007/09/15 23:30:01 merdely Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2008/09/16 21:08:27 jasper Exp $
|
||||
|
||||
COMMENT= steganography detection tool
|
||||
DISTNAME= stegdetect-0.5
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
DISTNAME= stegdetect-0.6
|
||||
CATEGORIES= security graphics
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
@ -15,18 +14,15 @@ PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= X11 Xext Xi c crypto event gmodule iconv intl m
|
||||
|
||||
LIB_DEPENDS= gdk.>=1.2,gtk.>=1.2,glib.>=1.2::x11/gtk+
|
||||
LIB_DEPENDS= jpeg::graphics/jpeg \
|
||||
gdk.>=1.2,gtk.>=1.2,glib.>=1.2::x11/gtk+
|
||||
|
||||
NO_REGRESS= Yes
|
||||
USE_X11= Yes
|
||||
|
||||
WRKDIST=${WRKDIR}/stegdetect
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/stegbreak
|
||||
${INSTALL_DATA} ${WRKSRC}/rules.ini ${PREFIX}/share/stegbreak
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/{stegdetect,stegbreak,xsteg} \
|
||||
${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/*.1 ${PREFIX}/man/man1
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (stegdetect-0.5.tar.gz) = bzcIuxX9Ypztg10S9WHoKw==
|
||||
RMD160 (stegdetect-0.5.tar.gz) = zZrRp1VtEWpfpOn2QYJ3VMLUOGQ=
|
||||
SHA1 (stegdetect-0.5.tar.gz) = YHtCQbFzPztRrsi6+1XN1gDSosw=
|
||||
SHA256 (stegdetect-0.5.tar.gz) = FrGTdK9Fpk/sMJtsb0NbzbCOT4gdGQCnG6j4eFzTnME=
|
||||
SIZE (stegdetect-0.5.tar.gz) = 1278105
|
||||
MD5 (stegdetect-0.6.tar.gz) = hQo1UbXEULn0UKkZrQIXZw==
|
||||
RMD160 (stegdetect-0.6.tar.gz) = fbcxC8N81tOMc8pkFkm+3eMFyuQ=
|
||||
SHA1 (stegdetect-0.6.tar.gz) = wwO96K/kEdWOV7kq8BRwPfoEqRM=
|
||||
SHA256 (stegdetect-0.6.tar.gz) = cRSfyfxYxEpJo4xwE9ItioYeRayxB0tsMASzFMjoGo0=
|
||||
SIZE (stegdetect-0.6.tar.gz) = 1269001
|
||||
|
@ -1,12 +1,12 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2003/07/01 23:14:23 jolan Exp $
|
||||
--- Makefile.in.orig Sat Jan 26 14:51:00 2002
|
||||
+++ Makefile.in Sat Jun 28 13:33:42 2003
|
||||
@@ -28,7 +28,7 @@ EVENTLIB = @EVENTLIB@
|
||||
CC = @CC@
|
||||
CFLAGS = -Wall @CFLAGS@ $(JPEGINC) $(FILEINC) -I$(srcdir)/missing
|
||||
LDFLAGS = @LDFLAGS@
|
||||
-LIBS = $(JPEGLIB)
|
||||
+LIBS = $(JPEGLIB) -lcrypto
|
||||
$OpenBSD: patch-Makefile_in,v 1.2 2008/09/16 21:08:27 jasper Exp $
|
||||
--- Makefile.in.orig Tue Sep 16 22:59:28 2008
|
||||
+++ Makefile.in Tue Sep 16 23:02:44 2008
|
||||
@@ -83,7 +83,7 @@ GTKLIB = @GTKLIB@
|
||||
EVENTINC = @EVENTINC@
|
||||
EVENTLIB = @EVENTLIB@
|
||||
|
||||
-LIBS = $(JPEGLIB)
|
||||
+LIBS = $(JPEGLIB) -lcrypto
|
||||
|
||||
SUBDIRS = jpeg-6b file
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROG = @INSTALL_PROGRAM@
|
||||
|
@ -1,12 +1,12 @@
|
||||
$OpenBSD: patch-file_Makefile_in,v 1.1 2004/01/04 18:31:10 espie Exp $
|
||||
--- file/Makefile.in.orig 2001-10-22 19:38:36.000000000 +0200
|
||||
+++ file/Makefile.in 2004-01-04 19:27:35.000000000 +0100
|
||||
@@ -504,9 +504,7 @@ magic: Header Localstuff $(magic_FRAGMEN
|
||||
$OpenBSD: patch-file_Makefile_in,v 1.2 2008/09/16 21:08:27 jasper Exp $
|
||||
--- file/Makefile.in.orig Tue Sep 16 23:00:11 2008
|
||||
+++ file/Makefile.in Tue Sep 16 23:02:26 2008
|
||||
@@ -504,9 +504,7 @@ magic: Header Localstuff $(magic_FRAGMENTS)
|
||||
done >> $@
|
||||
|
||||
magic.inc: magic
|
||||
- echo -n "\"" > $@
|
||||
- sed -e 's/\\/\\\\/g' -e 's/"/\\\"/g' magic >> $@
|
||||
- sed -e 's/\\/\\\\/g' -e 's/"/\\\"/g' -e 's/$$/\ \\/' magic >> $@
|
||||
- echo -n "\"" >> $@
|
||||
+ sed -e 's/\\/\\\\/g' -e 's/"/\\\"/g' -e 's/^/\"/' -e 's/$$/\\n\"/' magic > $@
|
||||
|
||||
|
@ -1,39 +0,0 @@
|
||||
$OpenBSD: patch-xsteg_c,v 1.1.1.1 2003/07/01 23:14:23 jolan Exp $
|
||||
--- xsteg.c.orig Tue Jan 22 10:25:01 2002
|
||||
+++ xsteg.c Sat Jun 28 13:17:03 2003
|
||||
@@ -572,11 +572,11 @@ add_gtk_timeout()
|
||||
timerclear(&tv);
|
||||
tv.tv_usec = 50000;
|
||||
|
||||
- if (!timeout_initialized(>k_ev))
|
||||
- timeout_set(>k_ev, gtk_cb, NULL);
|
||||
+ if (!evtimer_initialized(>k_ev))
|
||||
+ evtimer_set(>k_ev, gtk_cb, NULL);
|
||||
|
||||
if (!quit)
|
||||
- timeout_add(>k_ev, &tv);
|
||||
+ evtimer_add(>k_ev, &tv);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -724,9 +724,9 @@ signal_cb(void)
|
||||
|
||||
/* Restart the process */
|
||||
if (TAILQ_FIRST(&filelist)) {
|
||||
- timeout_set(&start_ev, delayed_start, NULL);
|
||||
+ evtimer_set(&start_ev, delayed_start, NULL);
|
||||
timerclear(&tv);
|
||||
- timeout_add(&start_ev, &tv);
|
||||
+ evtimer_add(&start_ev, &tv);
|
||||
}
|
||||
|
||||
return (0);
|
||||
@@ -796,7 +796,7 @@ stegdetect_start(void)
|
||||
if (dup2(pstderr[1], fileno(stderr)) == -1)
|
||||
_exit(1);
|
||||
|
||||
- execlp("stegdetect", "stegdetect", which, sens, NULL);
|
||||
+ execlp("stegdetect", "stegdetect", which, sens, (void*)NULL);
|
||||
|
||||
_exit(1);
|
||||
}
|
@ -1,8 +1,6 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2004/09/15 18:36:03 espie Exp $
|
||||
bin/stegbreak
|
||||
bin/stegdetect
|
||||
bin/xsteg
|
||||
@comment $OpenBSD: PLIST,v 1.3 2008/09/16 21:08:27 jasper Exp $
|
||||
@bin bin/stegbreak
|
||||
@bin bin/stegdetect
|
||||
@bin bin/xsteg
|
||||
@man man/man1/stegbreak.1
|
||||
@man man/man1/stegdetect.1
|
||||
share/stegbreak/
|
||||
share/stegbreak/rules.ini
|
||||
|
Loading…
Reference in New Issue
Block a user