pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/bunny needs openssl and network libs on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3cf1243a304
branches:  trunk
changeset: 352868:d3cf1243a304
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Mon Sep 19 13:04:26 2016 +0000

description:
needs openssl and network libs on SunOS

diffstat:

 security/bunny/Makefile               |   6 +++++-
 security/bunny/distinfo               |   3 ++-
 security/bunny/patches/patch-Makefile |  17 +++++++++++++++++
 3 files changed, 24 insertions(+), 2 deletions(-)

diffs (58 lines):

diff -r 3286ce3c83a3 -r d3cf1243a304 security/bunny/Makefile
--- a/security/bunny/Makefile   Mon Sep 19 13:04:18 2016 +0000
+++ b/security/bunny/Makefile   Mon Sep 19 13:04:26 2016 +0000
@@ -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 @@
 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"
diff -r 3286ce3c83a3 -r d3cf1243a304 security/bunny/distinfo
--- a/security/bunny/distinfo   Mon Sep 19 13:04:18 2016 +0000
+++ b/security/bunny/distinfo   Mon Sep 19 13:04:26 2016 +0000
@@ -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
diff -r 3286ce3c83a3 -r d3cf1243a304 security/bunny/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/bunny/patches/patch-Makefile     Mon Sep 19 13:04:26 2016 +0000
@@ -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