pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www Don't use the "install-pinger" target to change th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7bb86fc0506
branches:  trunk
changeset: 572144:c7bb86fc0506
user:      tron <tron%pkgsrc.org@localhost>
date:      Sat Feb 20 15:11:40 2010 +0000

description:
Don't use the "install-pinger" target to change the permissions of
"libexec/pinger", simply use "SPECIAL_PERMS".

Now all three "squid" packages support user destination dir installation.

diffstat:

 www/squid/Makefile.squid |  6 ++++--
 www/squid27/Makefile     |  3 +--
 www/squid30/Makefile     |  3 +--
 www/squid31/Makefile     |  3 +--
 4 files changed, 7 insertions(+), 8 deletions(-)

diffs (74 lines):

diff -r 3b77d5daf178 -r c7bb86fc0506 www/squid/Makefile.squid
--- a/www/squid/Makefile.squid  Sat Feb 20 14:58:44 2010 +0000
+++ b/www/squid/Makefile.squid  Sat Feb 20 15:11:40 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.squid,v 1.15 2009/11/02 15:43:20 taca Exp $
+# $NetBSD: Makefile.squid,v 1.16 2010/02/20 15:11:40 tron Exp $
 #
 # used by www/squid27/Makefile
 # used by www/squid30/Makefile
@@ -60,10 +60,12 @@
 
 CHECK_PORTABILITY_SKIP+=       icons/icons.shar
 
-INSTALL_TARGET=                install install-pinger
 INSTALLATION_DIRS=     bin libexec ${PKGMANDIR}/man8 sbin \
                        share/squid share/squid/errors share/squid/icons \
                        ${DOCDIR} ${EGDIR}
+SPECIAL_PERMS+=                libexec/pinger ${SETUID_ROOT_PERMS}
+
+PKG_DESTDIR_SUPPORT?=  user-destdir
 
 POST_INSTALL_EXTRA?=
 
diff -r 3b77d5daf178 -r c7bb86fc0506 www/squid27/Makefile
--- a/www/squid27/Makefile      Sat Feb 20 14:58:44 2010 +0000
+++ b/www/squid27/Makefile      Sat Feb 20 15:11:40 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2010/02/14 13:27:52 taca Exp $
+# $NetBSD: Makefile,v 1.13 2010/02/20 15:11:40 tron Exp $
 
 DISTNAME=      squid-2.7.STABLE7
 PKGNAME=       ${DISTNAME:S/STABLE//}
@@ -15,7 +15,6 @@
 
 USE_TOOLS+=            perl
 GNU_CONFIGURE=         yes
-PKG_DESTDIR_SUPPORT=   destdir
 MESSAGE_SRC=           ../squid/MESSAGE MESSAGE
 
 .include "../../www/squid/Makefile.squid"
diff -r 3b77d5daf178 -r c7bb86fc0506 www/squid30/Makefile
--- a/www/squid30/Makefile      Sat Feb 20 14:58:44 2010 +0000
+++ b/www/squid30/Makefile      Sat Feb 20 15:11:40 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2010/02/14 13:37:02 taca Exp $
+# $NetBSD: Makefile,v 1.21 2010/02/20 15:11:40 tron Exp $
 
 DISTNAME=      squid-3.0.STABLE24
 PKGNAME=       ${DISTNAME:S/STABLE//}
@@ -15,7 +15,6 @@
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            perl
 GNU_CONFIGURE=         yes
-PKG_DESTDIR_SUPPORT=   destdir
 
 .include "../../www/squid/Makefile.squid"
 .include "../../www/squid/options.mk"
diff -r 3b77d5daf178 -r c7bb86fc0506 www/squid31/Makefile
--- a/www/squid31/Makefile      Sat Feb 20 14:58:44 2010 +0000
+++ b/www/squid31/Makefile      Sat Feb 20 15:11:40 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2010/02/02 13:57:49 tron Exp $
+# $NetBSD: Makefile,v 1.18 2010/02/20 15:11:40 tron Exp $
 
 DISTNAME=      squid-3.1.0.16
 PKGNAME=       ${DISTNAME}     # Necessary for "pkgsrc/www/squid/options.mk"
@@ -15,7 +15,6 @@
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            perl gmake
 GNU_CONFIGURE=         yes
-PKG_DESTDIR_SUPPORT=   destdir
 
 .include "../../www/squid/Makefile.squid"
 



Home | Main Index | Thread Index | Old Index