pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/dirmngr Create directories needed for proper ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9616d2ce72f4
branches: trunk
changeset: 510604:9616d2ce72f4
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Mar 31 23:20:29 2006 +0000
description:
Create directories needed for proper package functionality in an
INSTALL script using OWN_DIRS_PERMS. Drop the redundant targets and
PLIST entries. Bump the PKGREVISION to 3.
diffstat:
security/dirmngr/Makefile | 21 +++++++++++----------
security/dirmngr/PLIST | 5 +----
2 files changed, 12 insertions(+), 14 deletions(-)
diffs (60 lines):
diff -r a48811bd1a1a -r 9616d2ce72f4 security/dirmngr/Makefile
--- a/security/dirmngr/Makefile Fri Mar 31 22:54:23 2006 +0000
+++ b/security/dirmngr/Makefile Fri Mar 31 23:20:29 2006 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.18 2006/03/31 19:29:37 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2006/03/31 23:20:29 jlam Exp $
#
DISTNAME= dirmngr-0.9.3
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/alpha/dirmngr/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
@@ -35,6 +35,15 @@
SUBST_FILES+= DIRMNGR_USER=${DIRMNGR_USER}
SUBST_FILES+= DIRMNGR_PATH=${DIRMNGR_PATH}
+OWN_DIRS+= ${PKG_SYSCONFDIR}/dirmngr
+OWN_DIRS+= ${PKG_SYSCONFDIR}/dirmngr/trusted-certs
+
+DIRMNGR_PERMS= ${DIRMNGR_USER} ${DIRMNGR_GROUP} 0755
+OWN_DIRS_PERMS+= ${VARBASE}/dirmngr ${DIRMNGR_PERMS}
+OWN_DIRS_PERMS+= ${VARBASE}/dirmngr/cache ${DIRMNGR_PERMS}
+OWN_DIRS_PERMS+= ${PREFIX}/libdata/dirmngr ${DIRMNGR_PERMS}
+OWN_DIRS_PERMS+= ${PREFIX}/libdata/dirmngr/extra-certs ${DIRMNGR_PERMS}
+
# We are building a static pth library and linking against it
pre-configure:
cd ${WRKDIR}/pth-2.0.4 && ./configure --prefix=${WRKDIR}/pth --enable-pthread --enable-static --disable-shared && ${MAKE} install
@@ -46,14 +55,6 @@
cd ${WRKDIR} && \
${SETENV} ${BUILDENV} ${CC} ${CFLAGS} -DDIRMNGR_USER='"${DIRMNGR_USER}"' -DDIRMNGR_PATH='"${PREFIX}/bin/dirmngr"' -o runDirmngr runDirmngr.c
-pre-install:
- ${INSTALL_DATA_DIR} ${VARBASE}/dirmngr/cache
- ${INSTALL_DATA_DIR} ${PREFIX}/libdata/dirmngr
- ${INSTALL_DATA_DIR} ${PKG_SYSCONFDIR}/dirmngr/trusted-certs
- ${INSTALL_DATA_DIR} ${PREFIX}/libdata/dirmngr/extra-certs
- ${CHOWN} -R ${DIRMNGR_USER}:${DIRMNGR_GROUP} ${VARBASE}/dirmngr
- ${CHOWN} -R ${DIRMNGR_USER}:${DIRMNGR_GROUP} ${PREFIX}/libdata/dirmngr
-
post-install:
${INSTALL_PROGRAM} ${WRKDIR}/runDirmngr ${PREFIX}/sbin
diff -r a48811bd1a1a -r 9616d2ce72f4 security/dirmngr/PLIST
--- a/security/dirmngr/PLIST Fri Mar 31 22:54:23 2006 +0000
+++ b/security/dirmngr/PLIST Fri Mar 31 23:20:29 2006 +0000
@@ -1,10 +1,7 @@
-@comment $NetBSD: PLIST,v 1.5 2005/05/02 22:49:09 reed Exp $
+@comment $NetBSD: PLIST,v 1.6 2006/03/31 23:20:29 jlam Exp $
bin/dirmngr
bin/dirmngr-client
libexec/dirmngr_ldap
sbin/runDirmngr
share/examples/rc.d/dirmngr
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/dirmngr.mo
-@exec ${MKDIR} %D/libdata/dirmngr/extra-certs
-@dirrm libdata/dirmngr/extra-certs
-@dirrm libdata/dirmngr
Home |
Main Index |
Thread Index |
Old Index