pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/bunny



Module Name:    pkgsrc
Committed By:   wiedi
Date:           Mon Sep 19 13:04:27 UTC 2016

Modified Files:
        pkgsrc/security/bunny: Makefile distinfo
Added Files:
        pkgsrc/security/bunny/patches: patch-Makefile

Log Message:
needs openssl and network libs on SunOS


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/security/bunny/Makefile \
    pkgsrc/security/bunny/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/bunny/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/bunny/Makefile
diff -u pkgsrc/security/bunny/Makefile:1.1.1.1 pkgsrc/security/bunny/Makefile:1.2
--- pkgsrc/security/bunny/Makefile:1.1.1.1      Sat Jul  9 21:43:24 2016
+++ pkgsrc/security/bunny/Makefile      Mon Sep 19 13:04:27 2016
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2016/07/09 21:43:24 rillig Exp $
+# $NetBSD: Makefile,v 1.2 2016/09/19 13:04:27 wiedi Exp $
 #
 
 DISTNAME=      bunny-0.93
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  http://bunny-the-fuzzer.googlecode.com/files/
 EXTRACT_SUFX=  .tgz
@@ -15,9 +16,12 @@ WRKSRC=              ${WRKDIR}/bunny
 USE_TOOLS+=    gmake
 AUTO_MKDIRS=   yes
 
+LDFLAGS.SunOS+=        -lsocket -lnsl
+
 do-install:
 .for program in bunny-exec bunny-flow bunny-gcc bunny-main bunny-trace
        ${INSTALL_PROGRAM} ${WRKSRC}/${program} ${DESTDIR}${PREFIX}/bin/${program}
 .endfor
 
+.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/bunny/distinfo
diff -u pkgsrc/security/bunny/distinfo:1.1.1.1 pkgsrc/security/bunny/distinfo:1.2
--- pkgsrc/security/bunny/distinfo:1.1.1.1      Sat Jul  9 21:43:24 2016
+++ pkgsrc/security/bunny/distinfo      Mon Sep 19 13:04:27 2016
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2016/07/09 21:43:24 rillig Exp $
+$NetBSD: distinfo,v 1.2 2016/09/19 13:04:27 wiedi Exp $
 
 SHA1 (bunny-0.93.tgz) = 29dae023e4d6221f064fffae0e4011322a42041a
 RMD160 (bunny-0.93.tgz) = daee7e9eb0fa71a5e25f9f7171d0598ddb03c134
 Size (bunny-0.93.tgz) = 64575 bytes
+SHA1 (patch-Makefile) = 2934cb0f48787f90271464f0c305667d31deb082

Added files:

Index: pkgsrc/security/bunny/patches/patch-Makefile
diff -u /dev/null pkgsrc/security/bunny/patches/patch-Makefile:1.1
--- /dev/null   Mon Sep 19 13:04:27 2016
+++ pkgsrc/security/bunny/patches/patch-Makefile        Mon Sep 19 13:04:27 2016
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile,v 1.1 2016/09/19 13:04:27 wiedi Exp $
+
+respect CFLAGS and LDFLAGS
+
+--- Makefile.orig      2007-11-06 11:04:07.000000000 +0000
++++ Makefile
+@@ -19,8 +19,8 @@
+ #
+ 
+ PROGNAME = bunny-gcc bunny-trace bunny-exec bunny-flow bunny-main
+-CFLAGS         = -Wall -O3 -funroll-loops -fno-strict-aliasing -ffast-math -Wno-pointer-sign
+-EX_LIBS  = -lcrypto -lm
++CFLAGS         += -Wall -O3 -funroll-loops -fno-strict-aliasing -ffast-math -Wno-pointer-sign
++EX_LIBS  = -lcrypto -lm $(LDFLAGS)
+ 
+ # CFLAGS  = -Wall -g -ggdb -g3 -Wno-pointer-sign
+ # CFLAGS += -DDEBUG_TRACE=1



Home | Main Index | Thread Index | Old Index