summaryrefslogtreecommitdiff
path: root/security/apg
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2021-09-28 09:20:34 +0000
committerryoon <ryoon@pkgsrc.org>2021-09-28 09:20:34 +0000
commit538138e9619af12adfc5aa9678684e3461f3c449 (patch)
tree00f1968f197fb1d9894f46313cffeaf36ce47e65 /security/apg
parentfa687c882646907215fda05c34fb6ea9658ccc5b (diff)
downloadpkgsrc-538138e9619af12adfc5aa9678684e3461f3c449.tar.gz
apg: Pass LDFLAGS to fix RELRO build. Bump PKGREVISION
Diffstat (limited to 'security/apg')
-rw-r--r--security/apg/Makefile4
-rw-r--r--security/apg/distinfo4
-rw-r--r--security/apg/patches/patch-aa22
3 files changed, 24 insertions, 6 deletions
diff --git a/security/apg/Makefile b/security/apg/Makefile
index 8eebc48a9e5..6f2155e9e55 100644
--- a/security/apg/Makefile
+++ b/security/apg/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.31 2021/05/24 19:53:51 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2021/09/28 09:20:34 ryoon Exp $
#
DISTNAME= apg-2.3.0b
-PKGREVISION= 9
+PKGREVISION= 10
CATEGORIES= security
#MASTER_SITES= http://www.adel.nursat.kz/apg/download/
diff --git a/security/apg/distinfo b/security/apg/distinfo
index 58139b42422..eceb15488a3 100644
--- a/security/apg/distinfo
+++ b/security/apg/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.9 2018/09/26 05:04:09 ryoon Exp $
+$NetBSD: distinfo,v 1.10 2021/09/28 09:20:34 ryoon Exp $
SHA1 (apg-2.3.0b.tar.gz) = d729c939adb659c05fd0ea3d9c03842c6fe86fed
RMD160 (apg-2.3.0b.tar.gz) = 18f9955d6fdb721bec26613860b312d7fea6fba7
SHA512 (apg-2.3.0b.tar.gz) = 3112d2267f2311f960a52fa268b55a5faf0250a4a8c5e7444f0c1326afa2844a476a54befcf79e5b8532d74c53f6f58ffc420591c8c36798dd82b43c14869e1a
Size (apg-2.3.0b.tar.gz) = 109995 bytes
-SHA1 (patch-aa) = 59d5537da45c7fb05480d12d1e73b04d19eed63f
+SHA1 (patch-aa) = 006bb43f2bb5401c5cd43f0d54f0e8a992ef2d49
SHA1 (patch-apg.c) = 212c6b8b61127243428ffa2bfbab8424bde0a7da
diff --git a/security/apg/patches/patch-aa b/security/apg/patches/patch-aa
index d157d7ed569..152059d40a2 100644
--- a/security/apg/patches/patch-aa
+++ b/security/apg/patches/patch-aa
@@ -1,6 +1,7 @@
-$NetBSD: patch-aa,v 1.4 2014/02/14 04:14:40 rodent Exp $
+$NetBSD: patch-aa,v 1.5 2021/09/28 09:20:34 ryoon Exp $
-Don't hardcode CC, CFLAGS, PREFIX. Fix installation stage.
+* Don't hardcode CC, CFLAGS, PREFIX. Fix installation stage.
+* Add LDFLAGS to fix RELRO build.
--- Makefile.orig 2003-08-07 15:40:39.000000000 +0000
+++ Makefile
@@ -25,6 +26,23 @@ Don't hardcode CC, CFLAGS, PREFIX. Fix installation stage.
####################################################################
# If you plan to install APG daemon you should look at lines below #
+@@ -129,13 +126,13 @@ cliserv: apgd apgbfm
+ cygwin: standalone
+
+ apg:
+- ${CC} ${CFLAGS} ${STANDALONE_OPTIONS} -o ${PROGNAME} ${SOURCES} ${APG_CLIBS}
++ ${CC} ${CFLAGS} ${LDFLAGS} ${STANDALONE_OPTIONS} -o ${PROGNAME} ${SOURCES} ${APG_CLIBS}
+
+ apgd:
+- ${CC} ${CFLAGS} -DCLISERV ${CLISERV_OPTIONS} -o ${CS_PROGNAME} ${SOURCES} ${APG_CS_CLIBS}
++ ${CC} ${CFLAGS} ${LDFLAGS} -DCLISERV ${CLISERV_OPTIONS} -o ${CS_PROGNAME} ${SOURCES} ${APG_CS_CLIBS}
+
+ apgbfm:
+- ${CC} ${FLAGS} -DAPGBFM -o ${BFM_PROGNAME} ${BFM_SOURCES} ${APGBFM_CLIBS}
++ ${CC} ${CFLAGS} ${LDFLAGS} -DAPGBFM -o ${BFM_PROGNAME} ${BFM_SOURCES} ${APGBFM_CLIBS}
+
+ strip:
+ strip ${PROGNAME}
@@ -143,24 +140,12 @@ strip:
strip ${BFM_PROGNAME}