Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/fail2ban security/fail2ban: clean up SUBST block



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3551cc023007
branches:  trunk
changeset: 430538:3551cc023007
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri May 01 20:43:49 2020 +0000

description:
security/fail2ban: clean up SUBST block

fail2ban-client does not contain any paths.

diffstat:

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

diffs (30 lines):

diff -r 29546a0b3654 -r 3551cc023007 security/fail2ban/Makefile
--- a/security/fail2ban/Makefile        Fri May 01 20:19:23 2020 +0000
+++ b/security/fail2ban/Makefile        Fri May 01 20:43:49 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2020/04/20 17:24:16 nils Exp $
+# $NetBSD: Makefile,v 1.13 2020/05/01 20:43:49 rillig Exp $
 #
 
 DISTNAME=      fail2ban-0.11.1
@@ -57,9 +57,7 @@
 SUBST_CLASSES+=                paths
 SUBST_STAGE.paths=     pre-configure
 SUBST_MESSAGE.paths=   Substituting paths variables.
-SUBST_VARS.paths+=     VARBASE
-SUBST_FILES.paths=     ${WRKSRC}/bin/fail2ban-client
-SUBST_FILES.paths+=    ${WRKSRC}/fail2ban/client/*.py
+SUBST_FILES.paths=     ${WRKSRC}/fail2ban/client/*.py
 SUBST_FILES.paths+=    ${WRKSRC}/fail2ban/tests/utils.py
 SUBST_FILES.paths+=    ${WRKSRC}/man/fail2ban-client.1
 SUBST_FILES.paths+=    ${WRKSRC}/man/fail2ban-client.h2m
@@ -71,8 +69,8 @@
 SUBST_SED.paths+=      -e 's,/var/lib,${VARBASE}/db,g'
 SUBST_SED.paths+=      -e 's,/var,${VARBASE},g'
 SUBST_SED.paths+=      -e 's,/usr/share,${PREFIX}/share,g'
-SUBST_SED.paths+=      -e 's,/usr/share,${PREFIX}/share,g'
 SUBST_SED.paths+=      -e 's,paths-debian.conf,paths-pkgsrc.conf,g'
+SUBST_VARS.paths=      VARBASE
 
 SUBST_CLASSES+=                install
 SUBST_STAGE.install=   pre-install



Home | Main Index | Thread Index | Old Index