pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/lynis Make sure .orig files aren't installed



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6fa03959d963
branches:  trunk
changeset: 374257:6fa03959d963
user:      sborrill <sborrill%pkgsrc.org@localhost>
date:      Thu Jan 18 16:26:05 2018 +0000

description:
Make sure .orig files aren't installed

diffstat:

 security/lynis/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r a6da11344e25 -r 6fa03959d963 security/lynis/Makefile
--- a/security/lynis/Makefile   Thu Jan 18 16:14:01 2018 +0000
+++ b/security/lynis/Makefile   Thu Jan 18 16:26:05 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/01/15 12:38:37 sborrill Exp $
+# $NetBSD: Makefile,v 1.2 2018/01/18 16:26:05 sborrill Exp $
 #
 
 DISTNAME=      lynis-2.5.9
@@ -11,7 +11,7 @@
 LICENSE=       gnu-gpl-v3
 
 NO_BUILD=      yes
-USE_TOOLS+=    pax
+USE_TOOLS+=    pax rm
 
 SUBST_CLASSES+=                libdir
 SUBST_STAGE.libdir=    pre-install
@@ -41,7 +41,7 @@
 
 BUILD_DEFS+=   PKG_SYSCONFBASE
 BUILD_DEFS+=   VARBASE
-AUTO_MKDIRS=                   yes
+AUTO_MKDIRS=   yes
 
 PKG_SYSCONFSUBDIR=     lynis
 CONF_FILES+=   share/examples/lynis/default.prf \
@@ -63,6 +63,8 @@
        cd ${WRKSRC}/extras &&                                  \
                ${PAX} -wr * ${DESTDIR}${PREFIX}/lib/lynis/extras
        cd ${WRKSRC}/include &&                                 \
+               ${RM} *.orig
+       cd ${WRKSRC}/include &&                                 \
                ${PAX} -wr * ${DESTDIR}${PREFIX}/lib/lynis/include
        cd ${WRKSRC}/plugins &&                                 \
                ${PAX} -wr * ${DESTDIR}${PREFIX}/lib/lynis/plugins



Home | Main Index | Thread Index | Old Index