mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Unbreak
- Add a MASTER_SITES - Add OPTIONS to the GUI - Pass maintainership to submitter. PR: ports/143639 Submitted by: Rob Farmer <rfarmer@predatorlabs.net> Approved by: itetcu (mentor) Feature safe: yes
This commit is contained in:
parent
e12180ef3d
commit
065e03e937
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250673
@ -7,20 +7,23 @@
|
||||
|
||||
PORTNAME= stegdetect
|
||||
PORTVERSION= 0.6
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://www.outguess.org/ \
|
||||
http://distfiles.master.finkmirrors.net/
|
||||
http://distfiles.master.finkmirrors.net/ \
|
||||
http://www.predatorlabs.net/dl/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= rfarmer@predatorlabs.net
|
||||
COMMENT= Automated tool for detecting steganographic content in JPEGs
|
||||
|
||||
OPTIONS= X11 "Build xsteg" On
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if !defined(WITHOUT_X11)
|
||||
LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent
|
||||
.endif
|
||||
|
||||
BROKEN= does not build
|
||||
|
||||
# Note: stegdetect includes a modified version of jpeg-6b linked statically
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
|
32
security/stegdetect/files/patch-xsteg.c
Normal file
32
security/stegdetect/files/patch-xsteg.c
Normal file
@ -0,0 +1,32 @@
|
||||
--- xsteg.c.orig 2010-02-07 02:37:05.398520068 -0800
|
||||
+++ xsteg.c 2010-02-07 02:38:33.877232865 -0800
|
||||
@@ -56,9 +56,6 @@
|
||||
#define FLAG_DOINVIS 0x0008
|
||||
#define FLAG_DOF5 0x0010
|
||||
|
||||
-extern int (*event_sigcb)(void);
|
||||
-extern int event_gotsig;
|
||||
-
|
||||
struct event start_ev;
|
||||
struct event gtk_ev;
|
||||
int quit = 0;
|
||||
@@ -744,8 +741,7 @@
|
||||
sigprocmask(SIG_BLOCK, &set, &oldset);
|
||||
|
||||
while ((pid = waitpid(-1, &status, WNOHANG)) > 0) {
|
||||
- if (WIFEXITED(status) || WIFSIGNALED(status))
|
||||
- event_gotsig = 1;
|
||||
+ ;
|
||||
}
|
||||
|
||||
signal(SIGCHLD, chld_handler);
|
||||
@@ -1106,8 +1102,7 @@
|
||||
gtk_widget_show(window);
|
||||
|
||||
event_init();
|
||||
- event_sigcb = signal_cb;
|
||||
-
|
||||
+
|
||||
add_gtk_timeout();
|
||||
|
||||
event_dispatch();
|
Loading…
Reference in New Issue
Block a user