summaryrefslogtreecommitdiff
path: root/security/libprelude
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-10 21:11:13 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-10 21:11:13 +0000
commit2070411a90521addf6e96b233500466ffee5005f (patch)
treefa20e46ca97ad83bf8f2bd080749509984596d0e /security/libprelude
parent7c2be4e37b48f5196ba97f99163e4797c3da7521 (diff)
downloadpkgsrc-2070411a90521addf6e96b233500466ffee5005f.tar.gz
DESTDIR support.
Diffstat (limited to 'security/libprelude')
-rw-r--r--security/libprelude/Makefile8
-rw-r--r--security/libprelude/distinfo4
-rw-r--r--security/libprelude/patches/patch-aa10
3 files changed, 12 insertions, 10 deletions
diff --git a/security/libprelude/Makefile b/security/libprelude/Makefile
index ff8b294a5b4..33f507a097b 100644
--- a/security/libprelude/Makefile
+++ b/security/libprelude/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2008/10/18 13:28:28 shannonjr Exp $
+# $NetBSD: Makefile,v 1.35 2009/02/10 21:11:13 joerg Exp $
#
DISTNAME= libprelude-0.9.21.1
CATEGORIES= security
@@ -8,6 +8,8 @@ MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= http://www.prelude-ids.org/download/releases/
COMMENT= Provides the framework for using the Prelude system
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
@@ -37,6 +39,7 @@ PKG_USERS= ${PRELUDE_USER}:${PRELUDE_GROUP}
PKG_GECOS.${PRELUDE_USER}= Prelude IDS
PKG_HOME.${PRELUDE_USER}= ${PRELUDE_HOME}
+OWN_DIRS_PERMS+= ${PRELUDE_HOME} ${PRELUDE_USER} ${PRELUDE_GROUP} 0755
EGDIR= ${PREFIX}/share/examples/libprelude
REQD_DIRS= ${EGDIR}
MAKE_DIRS= ${PKG_SYSCONFDIR}/default ${PKG_SYSCONFDIR}/profile
@@ -52,8 +55,7 @@ SUBST_STAGE.make= post-patch
SUBST_FILES.make= Makefile.in
SUBST_SED.make= -e 's,@EGDIR@,${EGDIR},g'
-post-install:
- chown -R ${PRELUDE_USER}:${PRELUDE_GROUP} ${PRELUDE_HOME}
+INSTALLATION_DIRS= share/examples/libprelude
.include "../../security/gnutls/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
diff --git a/security/libprelude/distinfo b/security/libprelude/distinfo
index a74142ef15a..804dccd1078 100644
--- a/security/libprelude/distinfo
+++ b/security/libprelude/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.26 2008/10/18 13:28:28 shannonjr Exp $
+$NetBSD: distinfo,v 1.27 2009/02/10 21:11:13 joerg Exp $
SHA1 (libprelude-0.9.21.1.tar.gz) = 02aebd7010379b8ca2ee96a50facfbd882027eff
RMD160 (libprelude-0.9.21.1.tar.gz) = 9e62f5a27781eb9550ec623abd1302e72554e363
Size (libprelude-0.9.21.1.tar.gz) = 2477295 bytes
-SHA1 (patch-aa) = d6674584a7514dc3a57551215a15413d055f3d38
+SHA1 (patch-aa) = 38a70aef1e9ebee60aa94e86c18641b710725356
SHA1 (patch-ab) = 96418b2ce697bdfef83780e0dbc47d95568d3a16
SHA1 (patch-ad) = e89900459ed7834801ae22b7a4a711163ec3f86b
SHA1 (patch-ae) = ec362a79320f8ab189597ddd4641e4718536c629
diff --git a/security/libprelude/patches/patch-aa b/security/libprelude/patches/patch-aa
index e020510798f..215a0e86081 100644
--- a/security/libprelude/patches/patch-aa
+++ b/security/libprelude/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.6 2008/06/10 13:57:10 shannonjr Exp $
+$NetBSD: patch-aa,v 1.7 2009/02/10 21:11:13 joerg Exp $
--- Makefile.in.orig 2008-04-24 04:50:26.000000000 -0600
+++ Makefile.in
@@ -75,10 +75,10 @@ $NetBSD: patch-aa,v 1.6 2008/06/10 13:57:10 shannonjr Exp $
- $(INSTALL) -m 644 $(top_srcdir)/tls.conf $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default; \
- fi
+ $(INSTALL) -d -m 711 $(DESTDIR)$(PRELUDE_SPOOL_DIR)
-+ $(BSD_INSTALL_DATA) $(top_srcdir)/client.conf @EGDIR@
-+ $(BSD_INSTALL_DATA) $(top_srcdir)/global.conf @EGDIR@
-+ $(BSD_INSTALL_DATA) $(top_srcdir)/idmef-client.conf @EGDIR@
-+ $(BSD_INSTALL_DATA) $(top_srcdir)/tls.conf @EGDIR@
++ $(BSD_INSTALL_DATA) $(top_srcdir)/client.conf ${DESTDIR}@EGDIR@
++ $(BSD_INSTALL_DATA) $(top_srcdir)/global.conf ${DESTDIR}@EGDIR@
++ $(BSD_INSTALL_DATA) $(top_srcdir)/idmef-client.conf ${DESTDIR}@EGDIR@
++ $(BSD_INSTALL_DATA) $(top_srcdir)/tls.conf ${DESTDIR}@EGDIR@
uninstall-local:
- rm -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/client.conf