fix mktemp template, from Ted Roby

while there, kill groff and tidy Makefile a little
This commit is contained in:
sthen 2014-06-12 18:21:12 +00:00
parent 2308e80c6d
commit 5ac2bb534a
3 changed files with 18 additions and 11 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.15 2013/03/11 11:41:28 espie Exp $
# $OpenBSD: Makefile,v 1.16 2014/06/12 18:21:12 sthen Exp $
COMMENT= steganography detection tool
DISTNAME= stegdetect-0.6
REVISION = 3
REVISION= 4
CATEGORIES= security graphics
MASTER_SITES= ${HOMEPAGE}
@ -14,14 +14,12 @@ PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c crypto m
NO_TEST= Yes
USE_GROFF = Yes
AUTOCONF_VERSION=2.52
CONFIGURE_STYLE=autoconf
AUTOCONF_VERSION= 2.52
CONFIGURE_STYLE= autoconf
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/{stegdetect,stegbreak} \
${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/{stegdetect,stegbreak} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/*.1 ${PREFIX}/man/man1
.include <bsd.port.mk>
.include <bsd.port.mk>

View File

@ -1,5 +1,2 @@
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

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-f5_c,v 1.1 2014/06/12 18:21:13 sthen Exp $
--- f5.c.orig Thu Jun 12 19:13:46 2014
+++ f5.c Thu Jun 12 19:13:51 2014
@@ -77,7 +77,7 @@ f5_compress(struct image *image, struct jeasy *je, int
struct jpeg_compress_struct cinfo;
struct jpeg_decompress_struct *jinfo;
static struct jpeg_error_mgr jerr, jsrcerr;
- char template[] = "/tmp/stegdetect.XXXX";
+ char template[] = "/tmp/stegdetect.XXXXXX";
JSAMPROW row_pointer[1]; /* pointer to JSAMPLE row[s] */
FILE *fout, *fin;
int row_stride; /* physical row width in image buffer */