pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/qmqtool Non-set[ug]id permssions are not so speci...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a3f52ce0233
branches:  trunk
changeset: 530026:3a3f52ce0233
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Jun 15 14:57:10 2007 +0000

description:
Non-set[ug]id permssions are not so special.  Get rid of SPECIAL_PERMS
setting and instead just chmod the qmqtool script to 0700 at install
time.

diffstat:

 mail/qmqtool/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 45f1f3c10527 -r 3a3f52ce0233 mail/qmqtool/Makefile
--- a/mail/qmqtool/Makefile     Fri Jun 15 14:47:06 2007 +0000
+++ b/mail/qmqtool/Makefile     Fri Jun 15 14:57:10 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/03/24 07:10:43 schmonz Exp $
+# $NetBSD: Makefile,v 1.3 2007/06/15 14:57:10 jlam Exp $
 #
 
 DISTNAME=      qmqtool-current
@@ -16,7 +16,6 @@
 USE_TOOLS+=    perl:run
 NO_BUILD=      yes
 REPLACE_PERL=  qmqtool
-SPECIAL_PERMS+=        ${PREFIX}/sbin/qmqtool ${ROOT_USER} ${ROOT_GROUP} 0700
 
 SUBST_CLASSES+=                paths
 SUBST_FILES.paths=     ${WRKSRC}/qmqtool
@@ -34,5 +33,6 @@
        cp qmqtool ${PREFIX}/sbin; \
        cp Artistic ChangeLog FAQ README ${PREFIX}/share/doc/qmqtool; \
        cp -Rp contrib ${PREFIX}/share/examples/qmqtool
+       ${CHMOD} 0700 ${PREFIX}/sbin/qmqtool
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index