diff options
author | jlam <jlam@pkgsrc.org> | 2007-09-06 19:15:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-09-06 19:15:10 +0000 |
commit | 86ec3742a6daf24d5686ed679f981a779c9e6e8f (patch) | |
tree | fdbbf428276571bf29673fbd4c214d6490c79b65 /security/dropbear/Makefile | |
parent | a7b5bcec9270b1c4974e553d6c887e59989e9da0 (diff) | |
download | pkgsrc-86ec3742a6daf24d5686ed679f981a779c9e6e8f.tar.gz |
Honor PKG_SYSCONFDIR. The default host keys for dropbear are now found in
${PKG_SYSCONFDIR}/dropbear. Bump the PKGREVISION to 2.
Diffstat (limited to 'security/dropbear/Makefile')
-rw-r--r-- | security/dropbear/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/security/dropbear/Makefile b/security/dropbear/Makefile index 8916a7d8d2b..7a2c35eddeb 100644 --- a/security/dropbear/Makefile +++ b/security/dropbear/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.22 2007/09/06 16:31:55 jlam Exp $ +# $NetBSD: Makefile,v 1.23 2007/09/06 19:15:10 jlam Exp $ DISTNAME= dropbear-0.50 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= security MASTER_SITES= http://matt.ucc.asn.au/dropbear/releases/ @@ -12,6 +12,8 @@ COMMENT= SSH2 server, aimed at embedded market GNU_CONFIGURE= yes USE_TOOLS+= gmake +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} + PKG_OPTIONS_VAR= PKG_OPTIONS.dropbear PKG_SUPPORTED_OPTIONS= pam .include "../../mk/bsd.options.mk" @@ -23,6 +25,12 @@ CONFIGURE_ARGS+= --enable-pam MAKEFLAGS+= ROOT_USER=${ROOT_USER:Q} ROOT_GROUP=${ROOT_GROUP:Q} +SUBST_CLASSES+= config +SUBST_MESSAGE.config= Fixing path to config directory. +SUBST_STAGE.config= post-build +SUBST_FILES.config= dropbear.8 dropbearkey.8 +SUBST_SED.config= -e "s,/etc/dropbear/,"${PKG_SYSCONFDIR:Q}"/dropbear/,g" + INSTALLATION_DIRS= ${PKGMANDIR}/man1 ${PKGMANDIR}/man8 post-install: |