pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www Various improvements for the "squid31" package by ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/37e94cfe7f89
branches: trunk
changeset: 392621:37e94cfe7f89
user: tron <tron%pkgsrc.org@localhost>
date: Mon May 04 22:29:41 2009 +0000
description:
Various improvements for the "squid31" package by Michael van Elst:
- Make sure that "errorpage.css" gets installed into the correct
directory.
- Install "msntauth.conf".
- Correct default pid file location.
diffstat:
www/squid/Makefile.squid | 25 +++++++++++++------------
www/squid31/Makefile | 7 ++++++-
www/squid31/PLIST | 4 +++-
www/squid31/distinfo | 7 ++-----
www/squid31/patches/patch-ad | 18 ------------------
www/squid31/patches/patch-aj | 26 --------------------------
www/squid31/patches/patch-al | 13 -------------
www/squid31/patches/patch-aq | 13 -------------
8 files changed, 24 insertions(+), 89 deletions(-)
diffs (192 lines):
diff -r 296eb0f72d6f -r 37e94cfe7f89 www/squid/Makefile.squid
--- a/www/squid/Makefile.squid Mon May 04 22:26:56 2009 +0000
+++ b/www/squid/Makefile.squid Mon May 04 22:29:41 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.squid,v 1.5 2009/04/20 21:29:53 tron Exp $
+# $NetBSD: Makefile.squid,v 1.6 2009/05/04 22:29:41 tron Exp $
#
# used by www/squid26/Makefile
# used by www/squid27/Makefile
@@ -64,17 +64,18 @@
${DOCDIR} ${EGDIR}
post-install:
-.for f in ${EGFILES}
- ${INSTALL_DATA} ${WRKSRC}/${f} \
- ${DESTDIR}${PREFIX}/${EGDIR}/`basename ${f} .default`
-.endfor
-.for f in ${DOCFILES}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
-.endfor
-.for f in ${READMES}
- ${INSTALL_DATA} ${PKGDIR}/../squid/files/${f} \
- ${DESTDIR}${PREFIX}/${DOCDIR}
-.endfor
+ for f in ${EGFILES}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$f \
+ ${DESTDIR}${PREFIX}/${EGDIR}/`basename $$f .default`; \
+ done
+ for f in ${DOCFILES}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$f \
+ ${DESTDIR}${PREFIX}/${DOCDIR}; \
+ done
+ for f in ${READMES}; do \
+ ${INSTALL_DATA} ${PKGDIR}/../squid/files/$$f \
+ ${DESTDIR}${PREFIX}/${DOCDIR}; \
+ done
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
( \
cd ${WRKSRC}/errors; \
diff -r 296eb0f72d6f -r 37e94cfe7f89 www/squid31/Makefile
--- a/www/squid31/Makefile Mon May 04 22:26:56 2009 +0000
+++ b/www/squid31/Makefile Mon May 04 22:29:41 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/04/20 21:27:40 tron Exp $
+# $NetBSD: Makefile,v 1.2 2009/05/04 22:29:41 tron Exp $
DISTNAME= squid-3.1.0.7
PKGNAME= ${DISTNAME} # Necessary for "pkgsrc/www/squid/options.mk"
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.squid-cache.org/Versions/v3/3.1/
EXTRACT_SUFX= .tar.bz2
@@ -19,6 +20,10 @@
.include "../../www/squid/Makefile.squid"
CONFIGURE_ARGS+= --with-default-user=${SQUID_USER}
+CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/squid.pid
+
+EGFILES+= errors/errorpage.css
+CONF_FILES+= ${PREFIX}/${EGDIR}/errorpage.css ${PKG_SYSCONFDIR}/errorpage.css
SQUID_BACKENDS?= ufs
SQUID_NTLM_AUTH_HELPERS?= fakeauth
diff -r 296eb0f72d6f -r 37e94cfe7f89 www/squid31/PLIST
--- a/www/squid31/PLIST Mon May 04 22:26:56 2009 +0000
+++ b/www/squid31/PLIST Mon May 04 22:29:41 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2009/04/20 21:27:40 tron Exp $
+@comment $NetBSD: PLIST,v 1.2 2009/05/04 22:29:41 tron Exp $
bin/squidclient
libexec/cachemgr.cgi
${PLIST.da_ldap}libexec/digest_ldap_auth
@@ -37,4 +37,6 @@
share/examples/squid/mime.conf
share/examples/squid/msntauth.conf
share/examples/squid/squid.conf
+share/examples/squid/errorpage.css
+share/examples/squid/msntauth.conf
${PLIST.snmp}share/squid/mib.txt
diff -r 296eb0f72d6f -r 37e94cfe7f89 www/squid31/distinfo
--- a/www/squid31/distinfo Mon May 04 22:26:56 2009 +0000
+++ b/www/squid31/distinfo Mon May 04 22:29:41 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/04/20 21:27:40 tron Exp $
+$NetBSD: distinfo,v 1.2 2009/05/04 22:29:41 tron Exp $
SHA1 (squid-3.1.0.7.tar.bz2) = feba409242548f0ca2041ac1c968873453f3e0c6
RMD160 (squid-3.1.0.7.tar.bz2) = a58496c69ee54e8495f2f959452ef8bed51a6f9e
@@ -6,16 +6,13 @@
SHA1 (patch-aa) = 5f040d8e35cc1640633e0997363a6a615ae769b2
SHA1 (patch-ab) = 7b89982f19c97398684dfca192a56e7077bfa21f
SHA1 (patch-ac) = bf2508739b8917d9d7bebba3deae01b8b49986da
-SHA1 (patch-ad) = 6e67574732b38d2ddf8b351854abfd78a5903420
SHA1 (patch-af) = 4f584a053df4f59c55af7f06a31787c9e36c8aa6
SHA1 (patch-ag) = 1d4172d406d3e34a9582d60ebab649dbe369d985
SHA1 (patch-ah) = e4cb16cbd65f558146204e450e794ab247c7b617
SHA1 (patch-ai) = 0390e101199a81f782aa94815098351000f300cf
-SHA1 (patch-aj) = fbdde957ef10fc87dad7b4486aba5a0f3625e49b
+SHA1 (patch-aj) = 71fc177631bffb38ed2ed9f6caef8dffbd53b335
SHA1 (patch-ak) = 8cb0aaa7ea9d2241096cf82cf3640eea060ae85c
-SHA1 (patch-al) = cd8eca5a945de8901d84beb432c3be59a6814e9c
SHA1 (patch-am) = ca5280be592db8b4037f6f8e11866972cd44a6b9
SHA1 (patch-an) = 940c7a212a5ecfc3a2ae3bb545d4c3de8a6d6e08
SHA1 (patch-ao) = 38e056cbffccf0c38731403f6319cc0a51af0325
SHA1 (patch-ap) = 3b307114608b898d6462ef193c0a8be8ac074772
-SHA1 (patch-aq) = 3a13380ab91a3d4fb15ff3548c6511990cde0bbc
diff -r 296eb0f72d6f -r 37e94cfe7f89 www/squid31/patches/patch-ad
--- a/www/squid31/patches/patch-ad Mon May 04 22:26:56 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2009/04/20 21:27:40 tron Exp $
-
-Don't install configuration files.
-
---- helpers/basic_auth/MSNT/Makefile.in.orig 2008-06-22 12:35:48.000000000 +0900
-+++ helpers/basic_auth/MSNT/Makefile.in
-@@ -590,9 +590,9 @@ info: info-am
-
- info-am:
-
--install-data-am: install-data-local
-+install-data-am:
-
--install-exec-am: install-libexecPROGRAMS install-sysconfDATA
-+install-exec-am: install-libexecPROGRAMS
-
- install-info: install-info-am
-
diff -r 296eb0f72d6f -r 37e94cfe7f89 www/squid31/patches/patch-aj
--- a/www/squid31/patches/patch-aj Mon May 04 22:26:56 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-aj,v 1.1.1.1 2009/04/20 21:27:40 tron Exp $
-
---- src/Makefile.in.orig 2009-04-08 12:51:29.000000000 +0200
-+++ src/Makefile.in
-@@ -1899,7 +1899,7 @@ DEFAULT_LOG_PREFIX = @DEFAULT_LOG_DIR@
- DEFAULT_CACHE_LOG = $(DEFAULT_LOG_PREFIX)/cache.log
- DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_PREFIX)/access.log
- DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log
--DEFAULT_PID_FILE = $(DEFAULT_LOG_PREFIX)/squid.pid
-+DEFAULT_PID_FILE = $(VARBASE)/run/squid.pid
- DEFAULT_NETDB_FILE = $(DEFAULT_LOG_PREFIX)/netdb.state
- DEFAULT_SWAP_DIR = $(localstatedir)/cache
- DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
-@@ -4297,10 +4297,10 @@ info: info-recursive
-
- info-am:
-
--install-data-am: install-data-local install-dataDATA
-+install-data-am: install-dataDATA
-
- install-exec-am: install-binPROGRAMS install-libexecPROGRAMS \
-- install-sbinPROGRAMS install-sysconfDATA
-+ install-sbinPROGRAMS
-
- install-info: install-info-recursive
-
diff -r 296eb0f72d6f -r 37e94cfe7f89 www/squid31/patches/patch-al
--- a/www/squid31/patches/patch-al Mon May 04 22:26:56 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-al,v 1.1.1.1 2009/04/20 21:27:40 tron Exp $
-
---- tools/Makefile.in.orig 2008-06-22 12:35:54.000000000 +0900
-+++ tools/Makefile.in
-@@ -794,7 +794,7 @@ info: info-recursive
-
- info-am:
-
--install-data-am: install-data-local
-+install-data-am:
-
- install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
-
diff -r 296eb0f72d6f -r 37e94cfe7f89 www/squid31/patches/patch-aq
--- a/www/squid31/patches/patch-aq Mon May 04 22:26:56 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aq,v 1.1.1.1 2009/04/20 21:27:40 tron Exp $
-
---- errors/Makefile.in.orig 2009-04-08 12:51:20.000000000 +0200
-+++ errors/Makefile.in
-@@ -280,7 +280,7 @@ sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- errordir = $(datadir)/errors
- DEFAULT_ERROR_DIR = $(errordir)
--DEFAULT_STYLESHEET = $(sysconfdir)/errorpage.css
-+DEFAULT_STYLESHEET = $(EGDIR)/errorpage.css
-
- # List of automated translations possible:
- TRANSLATIONS = \
Home |
Main Index |
Thread Index |
Old Index