pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Fix the permissions on some binaries and directories t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88e953830536
branches:  trunk
changeset: 533622:88e953830536
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Sep 21 22:42:00 2007 +0000

description:
Fix the permissions on some binaries and directories to match the
generated permissions.dat file used to create RPMs by the author.

Bump the PKGREVISIONs:

        meta-pkg/courier        --> 4
        mail/courier-mta        --> 8
        mail/sqwebmail          --> 3

diffstat:

 mail/courier-mta/Makefile  |  7 +++++--
 mail/sqwebmail/Makefile    |  9 +++++----
 meta-pkgs/courier/Makefile |  8 ++++----
 3 files changed, 14 insertions(+), 10 deletions(-)

diffs (80 lines):

diff -r 58586eb6d6b9 -r 88e953830536 mail/courier-mta/Makefile
--- a/mail/courier-mta/Makefile Fri Sep 21 22:28:46 2007 +0000
+++ b/mail/courier-mta/Makefile Fri Sep 21 22:42:00 2007 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2007/09/21 14:12:19 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2007/09/21 22:42:00 jlam Exp $
 
 DISTNAME=      courier-${COURIER_VERSION}
 PKGNAME=       ${DISTNAME:S/-/-mta-/}
-PKGREVISION=   7
+PKGREVISION=   8
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=courier/}
 EXTRACT_SUFX=  .tar.bz2
@@ -94,6 +94,9 @@
 post-install:
        cd ${WRKSRC}/courier && \
                ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install-permissions
+       ${CHOWN} ${COURIER_USER}:${COURIER_GROUP} \
+               ${DATADIR}/filterctl ${PREFIX}/sbin/courierfilter
+       ${CHMOD} 0500 ${DATADIR}/filterctl ${PREFIX}/sbin/courierfilter
        ${INSTALL_DATA} ${WRKDIR}/mailer.conf ${EGDIR}
        ${INSTALL_DATA} ${WRKDIR}/locallowercase ${EGDIR}/locallowercase
 
diff -r 58586eb6d6b9 -r 88e953830536 mail/sqwebmail/Makefile
--- a/mail/sqwebmail/Makefile   Fri Sep 21 22:28:46 2007 +0000
+++ b/mail/sqwebmail/Makefile   Fri Sep 21 22:42:00 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.57 2007/09/11 17:50:14 jlam Exp $
+# $NetBSD: Makefile,v 1.58 2007/09/21 22:42:00 jlam Exp $
 
 DISTNAME=      sqwebmail-5.1.6
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    mail www
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=courier/}
 EXTRACT_SUFX=  .tar.bz2
@@ -76,8 +76,9 @@
                        ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700
 MAKE_DIRS+=            ${VARBASE}/run ${LOCALSTATEDIR}
 OWN_DIRS+=             ${SQWEBMAIL_STATEDIR}
-OWN_DIRS+=             ${SQWEBMAIL_CACHEDIR}
-OWN_DIRS_PERMS=                ${SQWEBMAIL_CALENDARDIR}                        \
+OWN_DIRS_PERMS=                ${SQWEBMAIL_CACHEDIR}                           \
+                       ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700
+OWN_DIRS_PERMS+=       ${SQWEBMAIL_CALENDARDIR}                        \
                        ${REAL_ROOT_USER} ${COURIER_GROUP} 0755
 OWN_DIRS_PERMS+=       ${SQWEBMAIL_CALENDARDIR}/public                 \
                        ${REAL_ROOT_USER} ${COURIER_GROUP} 0755
diff -r 58586eb6d6b9 -r 88e953830536 meta-pkgs/courier/Makefile
--- a/meta-pkgs/courier/Makefile        Fri Sep 21 22:28:46 2007 +0000
+++ b/meta-pkgs/courier/Makefile        Fri Sep 21 22:42:00 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2007/09/21 14:12:19 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2007/09/21 22:42:00 jlam Exp $
 
 DISTNAME=      courier-${COURIER_VERSION}
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    meta-pkgs mail
 MASTER_SITES=  # empty
 DISTFILES=     # empty
@@ -22,7 +22,7 @@
 #
 DEPENDS+=      couriertcpd>=${COURIER_VERSION}nb2:../../net/couriertcpd
 DEPENDS+=      courier-maildir>=${COURIER_VERSION}:../../mail/courier-maildir
-DEPENDS+=      courier-mta>=${COURIER_VERSION}nb7:../../mail/courier-mta
+DEPENDS+=      courier-mta>=${COURIER_VERSION}nb8:../../mail/courier-mta
 
 # The following packages must be from the same lineage as the version
 # of Courier:
@@ -31,7 +31,7 @@
 #
 DEPENDS+=      maildrop>=2.0.4nb2:../../mail/maildrop
 DEPENDS+=      courier-imap>=4.1.3nb1:../../mail/courier-imap
-DEPENDS+=      sqwebmail>=5.1.6nb1:../../mail/sqwebmail
+DEPENDS+=      sqwebmail>=5.1.6nb3:../../mail/sqwebmail
 
 EXTRACT_ONLY=  # empty
 NO_CHECKSUM=   yes



Home | Main Index | Thread Index | Old Index