diff options
author | jlam <jlam> | 2006-03-31 23:20:29 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-03-31 23:20:29 +0000 |
commit | 9b372625fb3162db1b06e55467bc5e5dd783836e (patch) | |
tree | bea4145c4c7859fa33c3ebf694aa2d473316d0cc /security/dirmngr | |
parent | 762eae1ecf5609c43b70a2f92b4b17fe225efb71 (diff) | |
download | pkgsrc-9b372625fb3162db1b06e55467bc5e5dd783836e.tar.gz |
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 (limited to 'security/dirmngr')
-rw-r--r-- | security/dirmngr/Makefile | 21 | ||||
-rw-r--r-- | security/dirmngr/PLIST | 5 |
2 files changed, 12 insertions, 14 deletions
diff --git a/security/dirmngr/Makefile b/security/dirmngr/Makefile index 35ed1ade819..9c7afa28ce9 100644 --- a/security/dirmngr/Makefile +++ b/security/dirmngr/Makefile @@ -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+= SYSCONFDIR=${SYSCONFDIR} 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 @@ post-build: 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 --git a/security/dirmngr/PLIST b/security/dirmngr/PLIST index 100d87c8ebd..bb4e2de6a56 100644 --- a/security/dirmngr/PLIST +++ b/security/dirmngr/PLIST @@ -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 |