diff options
author | obache <obache@pkgsrc.org> | 2011-03-19 09:18:02 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-19 09:18:02 +0000 |
commit | c7f99d1836babe5ebc304d0b35da9b1f62ec96da (patch) | |
tree | 0c7eea631b52672632974d8a4eb06e24b159a307 /security/pks | |
parent | d71e41989dc487ee45c2d57704fd94ab327f0549 (diff) | |
download | pkgsrc-c7f99d1836babe5ebc304d0b35da9b1f62ec96da.tar.gz |
* LICENSE=original-bsd
* Add user-destdir installation support.
* Let to binary package same as installed from source
Bump PKGREVISION.
Diffstat (limited to 'security/pks')
-rw-r--r-- | security/pks/Makefile | 21 | ||||
-rw-r--r-- | security/pks/PLIST | 3 |
2 files changed, 18 insertions, 6 deletions
diff --git a/security/pks/Makefile b/security/pks/Makefile index d6b13711c5f..f2a60f48dff 100644 --- a/security/pks/Makefile +++ b/security/pks/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.28 2010/02/25 14:59:22 joerg Exp $ +# $NetBSD: Makefile,v 1.29 2011/03/19 09:18:02 obache Exp $ DISTNAME= pks-0.9.4 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= security www MASTER_SITES+= http://www.mit.edu/people/marc/pks/ \ ${MASTER_SITE_SOURCEFORGE:=pks/} @@ -13,6 +13,9 @@ PATCH_DIST_STRIP= -p1 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.mit.edu/people/marc/pks/ COMMENT= PGP Public Key Server +LICENSE= original-bsd + +PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= YES @@ -60,11 +63,19 @@ SUBST_STAGE.paths= post-patch SUBST_FILES.paths= pks-commands.html SUBST_SED.paths= -e "s|localhost|${PKS_SERVER}|g" +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} +INSTALL_MAKE_FLAGS+= datadir=${DESTDIR}${PREFIX}/share/pks +INSTALL_MAKE_FLAGS+= localstatedir=${DESTDIR}${PKS_HOME} +INSTALL_MAKE_FLAGS+= man5dir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 +INSTALL_MAKE_FLAGS+= man8dir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 +INSTALL_MAKE_FLAGS+= sysconfdir=${DESTDIR}${EGDIR:Q} + .include "../../databases/db/buildlink3.mk" post-install: - ${INSTALL_DATA} ${WRKSRC}/pks-commands.html ${PKS_HOME}/db/index.html - @${CHOWN} ${PKS_USER} ${PKS_HOME}/db/index.html - @${CHGRP} ${PKS_GROUP} ${PKS_HOME}/db/index.html + ${INSTALL_DATA} ${WRKSRC}/pks-commands.html ${DESTDIR}${EGDIR} + +CONF_FILES_PERMS= ${EGDIR}/pks-commands.html ${PKS_HOME}/db/index.html \ + ${PKS_USER} ${PKS_GROUP} ${SHAREMODE} .include "../../mk/bsd.pkg.mk" diff --git a/security/pks/PLIST b/security/pks/PLIST index 5aa0d93b733..1a20629d7e8 100644 --- a/security/pks/PLIST +++ b/security/pks/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2005/05/02 20:34:05 reed Exp $ +@comment $NetBSD: PLIST,v 1.4 2011/03/19 09:18:02 obache Exp $ bin/pgpsplit bin/pks-mail.sh bin/pks-queue-run.sh @@ -10,6 +10,7 @@ man/man8/pks-intro.8 man/man8/pksclient.8 man/man8/pksd.8 man/man8/pksdctl.8 +share/examples/pks-commands.html share/examples/pksd.conf share/examples/rc.d/pksd share/pks/mail_intro |