pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/neb-wipe neb-wipe: honor LDFLAGS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2701dd15204b
branches:  trunk
changeset: 457000:2701dd15204b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Aug 13 15:41:23 2021 +0000

description:
neb-wipe: honor LDFLAGS.

Fixes RELRO build. Bump PKGREVISION.

diffstat:

 sysutils/neb-wipe/Makefile               |   6 +++---
 sysutils/neb-wipe/distinfo               |   3 ++-
 sysutils/neb-wipe/patches/patch-Makefile |  15 +++++++++++++++
 3 files changed, 20 insertions(+), 4 deletions(-)

diffs (58 lines):

diff -r 5409014891b4 -r 2701dd15204b sysutils/neb-wipe/Makefile
--- a/sysutils/neb-wipe/Makefile        Fri Aug 13 15:08:34 2021 +0000
+++ b/sysutils/neb-wipe/Makefile        Fri Aug 13 15:41:23 2021 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2021/08/13 14:42:23 abs Exp $
+# $NetBSD: Makefile,v 1.7 2021/08/13 15:41:23 wiz Exp $
 
 DISTNAME=              neb-wipe-src-1.0
 PKGNAME=               neb-wipe-1.0
+PKGREVISION=           1
 CATEGORIES=            sysutils
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=neb-stoehr/}
 EXTRACT_SUFX=          .tgz
@@ -9,12 +10,11 @@
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=              http://neb-stoehr.sourceforge.net/
 COMMENT=               Secure disk partition eraser
+LICENSE=               original-bsd
 
 NO_CONFIGURE=          yes
 
 ONLY_FOR_PLATFORM=     NetBSD-*-* OpenBSD-*-*
-LICENSE=               original-bsd
-RELRO_SUPPORTED=       no
 
 WRKSRC=                        ${WRKDIR}
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
diff -r 5409014891b4 -r 2701dd15204b sysutils/neb-wipe/distinfo
--- a/sysutils/neb-wipe/distinfo        Fri Aug 13 15:08:34 2021 +0000
+++ b/sysutils/neb-wipe/distinfo        Fri Aug 13 15:41:23 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 01:32:22 agc Exp $
+$NetBSD: distinfo,v 1.3 2021/08/13 15:41:23 wiz Exp $
 
 SHA1 (neb-wipe-src-1.0.tgz) = 7e77554271a055b3c2e943831d21a0a71f88cee6
 RMD160 (neb-wipe-src-1.0.tgz) = f004cc85f1284924c91d452e3df9eba68946b0b6
 SHA512 (neb-wipe-src-1.0.tgz) = 24912070efa80d876c38ce817e8ca6253fa0a8308edee54b132694e16bdb06f40ba8a4dffd5174d2b21aa420aa953a8bb4b065c82daf552959c2b2e6cb44cf40
 Size (neb-wipe-src-1.0.tgz) = 4518 bytes
+SHA1 (patch-Makefile) = 74f4688385329424e721a8af5827511e709fe61e
diff -r 5409014891b4 -r 2701dd15204b sysutils/neb-wipe/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/neb-wipe/patches/patch-Makefile  Fri Aug 13 15:41:23 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2021/08/13 15:41:23 wiz Exp $
+
+Honor LDFLAGS.
+
+--- Makefile.orig      2005-02-27 18:12:00.000000000 +0000
++++ Makefile
+@@ -7,7 +7,7 @@ LIBS?=-lutil
+ all: neb-wipe
+ 
+ neb-wipe: neb-wipe.o
+-      $(CC) $(CFLAGS) -o neb-wipe $(LIBS) neb-wipe.o
++      $(CC) $(CFLAGS) $(LDFLAGS) -o neb-wipe $(LIBS) neb-wipe.o
+       
+ neb-wipe.o: neb-wipe.c
+       $(CC) $(CFLAGS) -c neb-wipe.c



Home | Main Index | Thread Index | Old Index