diff options
author | veego <veego> | 2000-07-26 15:12:08 +0000 |
---|---|---|
committer | veego <veego> | 2000-07-26 15:12:08 +0000 |
commit | 225e39fa1e992095c7cddde07d52b0bf5f562d1e (patch) | |
tree | 7b14e741e0892942cb342eaa1a973eac9bde318e /security/sudo | |
parent | a6d3fd7c726634f55fd55aa297a11c1a0e5927cb (diff) | |
download | pkgsrc-225e39fa1e992095c7cddde07d52b0bf5f562d1e.tar.gz |
Make it work on Solaris.
Diffstat (limited to 'security/sudo')
-rw-r--r-- | security/sudo/Makefile | 5 | ||||
-rw-r--r-- | security/sudo/pkg/PLIST.common (renamed from security/sudo/pkg/PLIST) | 5 | ||||
-rw-r--r-- | security/sudo/pkg/PLIST.netbsd | 4 | ||||
-rw-r--r-- | security/sudo/pkg/PLIST.solaris | 4 |
4 files changed, 13 insertions, 5 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile index 18c26695f12..056a039b83c 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2000/06/06 11:07:19 mjl Exp $ +# $NetBSD: Makefile,v 1.24 2000/07/26 15:12:08 veego Exp $ # FreeBSD Id: Makefile,v 1.9 1997/11/12 03:24:41 obrien Exp # @@ -44,6 +44,8 @@ CONFIGURE_ARGS+=--without-kerb5 CONFIGURE_ARGS+=--with-nbsdops --disable-path-info +PLIST_SRC= ${WRKDIR}/.PLIST_SRC + # The UPGRADE file has important information on upgrading from a previous # version of sudo. # @@ -53,6 +55,7 @@ pre-configure: cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf post-install: + ${CAT} ${PKGDIR}/PLIST.common ${PKGDIR}/PLIST.${LOWER_OPSYS} > ${PLIST_SRC} ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sudo ${INSTALL_DATA} ${WRKSRC}/sudoers ${PREFIX}/share/examples/sudo/sudoers ${INSTALL_DATA} ${WRKSRC}/sample.sudoers \ diff --git a/security/sudo/pkg/PLIST b/security/sudo/pkg/PLIST.common index 7c929fc95eb..4e08e1687ac 100644 --- a/security/sudo/pkg/PLIST +++ b/security/sudo/pkg/PLIST.common @@ -1,8 +1,5 @@ -@comment $NetBSD: PLIST,v 1.4 1999/08/31 19:26:41 jlam Exp $ +@comment $NetBSD: PLIST.common,v 1.1 2000/07/26 15:12:10 veego Exp $ bin/sudo -man/man5/sudoers.5 -man/man8/sudo.8 -man/man8/visudo.8 sbin/visudo share/examples/sudo/sudoers @exec if [ ! -f /etc/sudoers ]; then cp %D/%F /etc/sudoers; fi; chown 0:0 /etc/sudoers; chmod 0440 /etc/sudoers diff --git a/security/sudo/pkg/PLIST.netbsd b/security/sudo/pkg/PLIST.netbsd new file mode 100644 index 00000000000..b03c9f04392 --- /dev/null +++ b/security/sudo/pkg/PLIST.netbsd @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST.netbsd,v 1.1 2000/07/26 15:12:10 veego Exp $ +man/man5/sudoers.5 +man/man8/sudo.8 +man/man8/visudo.8 diff --git a/security/sudo/pkg/PLIST.solaris b/security/sudo/pkg/PLIST.solaris new file mode 100644 index 00000000000..2b014f9b124 --- /dev/null +++ b/security/sudo/pkg/PLIST.solaris @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST.solaris,v 1.1 2000/07/26 15:12:11 veego Exp $ +man/man1m/sudo.1m +man/man1m/visudo.1m +man/man4/sudoers.4 |