pkgsrc-WIP-changes archive

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

Some directories need to be created. I replaced too much stuff.



Module Name:	pkgsrc-wip
Committed By:	Nils Ratusznik <nils%NetBSD.org@localhost>
Pushed By:	nils
Date:		Fri Jun 2 09:34:31 2017 +0200
Changeset:	c86dc3fb72303c62555ca8c812e1bc233fb2eff4

Modified Files:
	snort/Makefile

Log Message:
Some directories need to be created.
I replaced too much stuff.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c86dc3fb72303c62555ca8c812e1bc233fb2eff4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 snort/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diffs:
diff --git a/snort/Makefile b/snort/Makefile
index fb46e78234..f76955dc18 100644
--- a/snort/Makefile
+++ b/snort/Makefile
@@ -35,6 +35,7 @@ MAKE_JOBS_SAFE=		NO
 OWN_DIRS_PERMS=		${VARBASE}/log/snort ${SNORT_USER} ${SNORT_GROUP} 700
 DOC_FILES=		BUGS INSTALL NEWS PROBLEMS README TODO USAGE WISHLIST
 OWN_DIRS=		${PKG_SYSCONFDIR} ${PKG_SYSCONFDIR}/rules
+OWN_DIRS+=		${PKG_SYSCONFDIR}/so_rules ${PKG_SYSCONFDIR}/preproc_rules
 OWN_DIRS+=		${PREFIX}/lib ${PREFIX}/lib/snort_dynamicrules
 INSTALLATION_DIRS+=	${EGDIR}/rules 
 AUTO_MKDIRS=		yes
@@ -66,10 +67,9 @@ SUBST_CLASSES+=		paths
 SUBST_STAGE.paths=	post-patch
 SUBST_FILES.paths=	etc/snort.conf src/snort.c
 SUBST_SED.paths=	-e "s|/usr/local|${PREFIX}|g"
-SUBST_SED.paths+=	-e "s|/etc|${PKG_SYSCONFDIR}|g"
-SUBST_SED.paths+=	-e "s|../rules|${PKG_SYSCONFDIR}/rules|g"
-SUBST_SED.paths+=	-e "s|../so_rules|${PKG_SYSCONFDIR}/so_rules|g"
-SUBST_SED.paths+=	-e "s|../preproc_rules|${PKG_SYSCONFDIR}/preproc_rules|g"
+SUBST_SED.paths+=	-e "s|../rules|rules|g"
+SUBST_SED.paths+=	-e "s|../so_rules|so_rules|g"
+SUBST_SED.paths+=	-e "s|../preproc_rules|preproc_rules|g"
 SUBST_MESSAGE.paths=	Fixing paths.
 
 SUBST_CLASSES+=		installp


Home | Main Index | Thread Index | Old Index