pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/squid Adding missing files to be added. (Oops!)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fecd2d828125
branches:  trunk
changeset: 547130:fecd2d828125
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Sep 12 16:03:05 2008 +0000

description:
Adding missing files to be added. (Oops!)

Noted by Klaus Klein via private mail.

diffstat:

 www/squid/MESSAGE              |  12 ++++++
 www/squid/Makefile.squid       |  77 ++++++++++++++++++++++++++++++++++++++++++
 www/squid/files/README.FreeBSD |  13 +++++++
 www/squid/files/README.NetBSD  |  16 ++++++++
 www/squid/files/README.OpenBSD |  13 +++++++
 www/squid/files/README.Solaris |   8 ++++
 6 files changed, 139 insertions(+), 0 deletions(-)

diffs (163 lines):

diff -r 2cfc44578c34 -r fecd2d828125 www/squid/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/squid/MESSAGE Fri Sep 12 16:03:05 2008 +0000
@@ -0,0 +1,12 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.6 2008/09/12 16:03:05 taca Exp $
+
+You DO need running nameservice to start and run ${PKGNAME}.
+
+Please note that to use the diskd storage method, you'll likely have to
+change SYSV-IPC parameters in the kernel config file (see
+http://wiki.squid-cache.org/SquidFaq/DiskDaemon for details)
+
+And please read some documents at ${PREFIX}/share/doc/squid.
+
+===========================================================================
diff -r 2cfc44578c34 -r fecd2d828125 www/squid/Makefile.squid
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/squid/Makefile.squid  Fri Sep 12 16:03:05 2008 +0000
@@ -0,0 +1,77 @@
+# $NetBSD: Makefile.squid,v 1.1 2008/09/12 16:03:05 taca Exp $
+
+.include "Makefile.common"
+
+PKG_SYSCONFSUBDIR?=            squid
+
+SQUID_USER?=                   squid
+SQUID_GROUP?=                  squid
+
+PKG_GROUPS_VARS+=              SQUID_GROUP
+PKG_USERS_VARS+=               SQUID_USER
+
+PKG_GROUPS=                    ${SQUID_GROUP}
+PKG_USERS=                     ${SQUID_USER}:${SQUID_GROUP}
+PKG_GECOS.${SQUID_USER}=       Squid Web-Cache pseudo-user
+
+#
+PLIST_SRC=     ${WRKDIR}/PLIST
+
+MESSAGE_SRC=           ../squid/MESSAGE
+RCD_SCRIPTS=           squid
+RCD_SCRIPT_SRC.squid?= ../squid/files/squid.sh
+
+CONFS=         cachemgr.conf mime.conf squid.conf msntauth.conf
+.for f in ${CONFS}
+CONF_FILES+=   ${PREFIX}/${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
+.endfor
+OWN_DIRS=      ${SQUID_DATADIR}
+OWN_DIRS_PERMS+= \
+               ${SQUID_DATADIR}/cache ${SQUID_USER} ${SQUID_GROUP} 0750 \
+               ${SQUID_DATADIR}/logs ${SQUID_USER} ${SQUID_GROUP} 0750
+
+DOCFILES=      ChangeLog RELEASENOTES.html doc/debug-sections.txt
+READMES=       README.FreeBSD README.NetBSD README.OpenBSD README.Solaris
+EGFILES=       src/mime.conf.default src/squid.conf.default \
+               helpers/basic_auth/MSNT/msntauth.conf.default \
+               tools/cachemgr.conf
+
+SUBST_CLASSES+=                confs
+SUBST_STAGE.confs=     pre-configure
+SUBST_FILES.confs=     src/cf.data.pre
+SUBST_SED.confs=       -e "s/@USER@/${SQUID_USER}/"
+SUBST_MESSAGE.confs=   Fixing configuration files.
+
+CHECK_PORTABILITY_SKIP+=       icons/icons.shar
+
+INSTALL_TARGET=                install install-pinger
+INSTALLATION_DIRS=     bin libexec ${PKGMANDIR}/man8 sbin ${DOCDIR} \
+                       ${EGDIR} share/squid/errors share/squid/icons
+
+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
+       ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+       (                                                       \
+       cd ${WRKSRC}/errors;                                    \
+       for i in *; do                                          \
+               ${TEST} -d $$i &&                               \
+               (${LS} $$i/ERR_* |                              \
+               ${SED} -e 's@^@share/squid/errors/@';           \
+               ${ECHO} "@dirrm share/squid/errors/$$i");       \
+       done;                                                   \
+       ${ECHO} "@dirrm share/squid/errors";                    \
+       cd ${WRKSRC}/icons;                                     \
+       ${LS} anthony-*.gif |                                   \
+               ${SED} -e 's@^@share/squid/icons/@';            \
+       ) >>${PLIST_SRC}
+       ${CAT} ${PKGDIR}/PLIST.common_end >>${PLIST_SRC}
diff -r 2cfc44578c34 -r fecd2d828125 www/squid/files/README.FreeBSD
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/squid/files/README.FreeBSD    Fri Sep 12 16:03:05 2008 +0000
@@ -0,0 +1,13 @@
+
+$NetBSD: README.FreeBSD,v 1.1 2008/09/12 16:03:05 taca Exp $
+
+The following parameters should work for FreeBSD:
+
+options         SYSVMSG         # System V-like message queues
+options         SYSVSEM         # System V-like semaphores
+options         SYSVSHM         # System V-like memory sharing
+
+options         SHMMAXPGS=8192
+options         MSGMNB=8192
+options         MSGSSZ=64
+options         MSGTQL=2048
diff -r 2cfc44578c34 -r fecd2d828125 www/squid/files/README.NetBSD
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/squid/files/README.NetBSD     Fri Sep 12 16:03:05 2008 +0000
@@ -0,0 +1,16 @@
+
+$NetBSD: README.NetBSD,v 1.1 2008/09/12 16:03:05 taca Exp $
+
+The following parameters should work for NetBSD:
+
+options         SYSVMSG         # System V-like message queues
+options         SYSVSEM         # System V-like semaphores
+options         SYSVSHM         # System V-like memory sharing
+
+options         SHMMAXPGS=8192
+options         MSGMNB=16384
+options         MSGSSZ=64
+options         MSGTQL=512
+
+After 4.99.35, you might set these parameter kern.ipc.* variables
+via sysctl(8).
diff -r 2cfc44578c34 -r fecd2d828125 www/squid/files/README.OpenBSD
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/squid/files/README.OpenBSD    Fri Sep 12 16:03:05 2008 +0000
@@ -0,0 +1,13 @@
+
+$NetBSD: README.OpenBSD,v 1.1 2008/09/12 16:03:05 taca Exp $
+
+The following parameters should work for OpenBSD:
+
+options         SYSVMSG         # System V-like message queues
+options         SYSVSEM         # System V-like semaphores
+options         SYSVSHM         # System V-like memory sharing
+
+options         SHMMAXPGS=8192
+options         MSGMNB=16384
+options         MSGSSZ=64
+options         MSGTQL=1024
diff -r 2cfc44578c34 -r fecd2d828125 www/squid/files/README.Solaris
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/squid/files/README.Solaris    Fri Sep 12 16:03:05 2008 +0000
@@ -0,0 +1,8 @@
+
+$NetBSD: README.Solaris,v 1.1 2008/09/12 16:03:05 taca Exp $
+
+The following parameters in /etc/system should work for Solaris:
+
+set shmsys:shminfo_shmmax=2097152
+set shmsys:shminfo_shmmni=32
+set shmsys:shminfo_shmseg=16



Home | Main Index | Thread Index | Old Index