diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-15 17:06:18 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-15 17:06:18 +0000 |
commit | 8204e18749766fbed2fdcba0c1f97af56431e109 (patch) | |
tree | 508aab7105aa8ae9a3c7f0f286ee44e8ce21972e /security/priv | |
parent | 069a16e6868956e82c22c79dad10120ef67857db (diff) | |
download | pkgsrc-8204e18749766fbed2fdcba0c1f97af56431e109.tar.gz |
Use SETUID_ROOT_PERMS and allow building as normal user. Bump revision.
Diffstat (limited to 'security/priv')
-rw-r--r-- | security/priv/Makefile | 6 | ||||
-rw-r--r-- | security/priv/distinfo | 3 | ||||
-rw-r--r-- | security/priv/patches/patch-aa | 18 |
3 files changed, 24 insertions, 3 deletions
diff --git a/security/priv/Makefile b/security/priv/Makefile index a1de53554c6..6f5a6f0cb31 100644 --- a/security/priv/Makefile +++ b/security/priv/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.17 2010/01/27 17:02:16 joerg Exp $ +# $NetBSD: Makefile,v 1.18 2010/02/15 17:06:18 joerg Exp $ # DISTNAME= priv-1.0-beta2 PKGNAME= priv-1.0beta2 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= security MASTER_SITES= ftp://ftp.thistledown.com.au/pub/simonb/ @@ -24,6 +24,8 @@ SUBST_SED.sysconfdir= -e "s|/usr/local/etc/|${PKG_SYSCONFDIR}/|g" INSTALL_MAKE_FLAGS= bindir=${DESTDIR}${PREFIX}/bin \ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 +SPECIAL_PERMS+= bin/priv ${SETUID_ROOT_PERMS} + OWN_DIRS= ${PKG_SYSCONFDIR}/priv .include "../../mk/bsd.pkg.mk" diff --git a/security/priv/distinfo b/security/priv/distinfo index 31e71d0658c..16707d53924 100644 --- a/security/priv/distinfo +++ b/security/priv/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.6 2005/02/24 13:10:11 agc Exp $ +$NetBSD: distinfo,v 1.7 2010/02/15 17:06:18 joerg Exp $ SHA1 (priv-1.0-beta2.tar.gz) = dee75baaf320c5dee112376cca0bb08a635f2806 RMD160 (priv-1.0-beta2.tar.gz) = 635e0e2cf64c0bdbbdc790a4833e650700473448 Size (priv-1.0-beta2.tar.gz) = 34507 bytes +SHA1 (patch-aa) = 2a1252d2593333ceb048baa269dbe1b2e9a5d1e4 SHA1 (patch-ab) = e6f89b30954ac9dbe0243e755287f5f8a37011bd diff --git a/security/priv/patches/patch-aa b/security/priv/patches/patch-aa new file mode 100644 index 00000000000..b123988b0ad --- /dev/null +++ b/security/priv/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.3 2010/02/15 17:06:18 joerg Exp $ + +--- Makefile.in.orig 1997-07-08 06:19:04.000000000 +0000 ++++ Makefile.in +@@ -75,11 +75,11 @@ priv: ${OBJ} @LIBOBJS@ + ${OBJ}: ${srcdir}/priv.h config.h + + install: all ${srcdir}/priv.1 installdirs +- ${INSTALL_PROGRAM} -o root -m ${BINMODE} priv ${bindir}/${binprefix}priv ++ ${BSD_INSTALL_PROGRAM} priv ${bindir}/${binprefix}priv + ${INSTALL_DATA} ${srcdir}/priv.1 ${mandir}/${manprefix}priv.${manext} + + installdirs: mkinstalldirs +- ${srcdir}/mkinstalldirs ${bindir} ${mandir} ${sysconfdir}/priv ++ ${srcdir}/mkinstalldirs ${bindir} ${mandir} + + uninstall: + rm -f ${bindir}/${binprefix}priv |