diff options
author | reed <reed> | 2004-04-23 22:07:52 +0000 |
---|---|---|
committer | reed <reed> | 2004-04-23 22:07:52 +0000 |
commit | cba182b47fc5b42f77862f4b5a18898200c81105 (patch) | |
tree | 99ee0ae766efaa16bbe63c3e83f5df60ff8f8454 /security/openssh+gssapi | |
parent | 5f1d5031ef4e868fb49bb1e93043be626d21e899 (diff) | |
download | pkgsrc-cba182b47fc5b42f77862f4b5a18898200c81105.tar.gz |
mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.
This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.
This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)
These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)
I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.
Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
hard-coded etc/rc.d. These need to be fixed.
- maybe remove from mk/${OPSYS}.pkg.dist mtree specifications too.
Diffstat (limited to 'security/openssh+gssapi')
-rw-r--r-- | security/openssh+gssapi/Makefile | 4 | ||||
-rw-r--r-- | security/openssh+gssapi/PLIST | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/security/openssh+gssapi/Makefile b/security/openssh+gssapi/Makefile index a37fe8f58cb..ef82702014c 100644 --- a/security/openssh+gssapi/Makefile +++ b/security/openssh+gssapi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2004/03/26 02:27:53 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2004/04/23 22:07:58 reed Exp $ # NOTE: This package is modeled on ../openssh, but does not share # files with it as that package may update faster than the gssapi @@ -52,10 +52,8 @@ SSH_PID_DIR= /var/run # default directory for PID files PKG_SYSCONFSUBDIR= ssh MANDIR= man -RCD_SCRIPTS_EGDIR= etc/rc.d PLIST_SUBST+= MANDIR=${MANDIR} -PLIST_SUBST+= RCD_SCRIPTS_EGDIR=${RCD_SCRIPTS_EGDIR} USE_BUILDLINK2= yes USE_PKGINSTALL= yes diff --git a/security/openssh+gssapi/PLIST b/security/openssh+gssapi/PLIST index ce179a879ef..53634976bc4 100644 --- a/security/openssh+gssapi/PLIST +++ b/security/openssh+gssapi/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/24 21:01:23 jwise Exp $ +@comment $NetBSD: PLIST,v 1.2 2004/04/23 22:07:58 reed Exp $ bin/scp bin/sftp bin/slogin @@ -7,7 +7,6 @@ bin/ssh-add bin/ssh-agent bin/ssh-keygen bin/ssh-keyscan -${RCD_SCRIPTS_EGDIR}/sshd libexec/sftp-server libexec/ssh-keysign ${MANDIR}/man1/scp.1 |