# New ports collection makefile for: squid24 # Date created: Tue Mar 27 14:56:08 CEST 2001 # Whom: Adrian Chadd # # $FreeBSD$ # # Tunables not (yet) configurable via 'make config': # SQUID_{U,G}ID # Which user/group squid should run as (default: squid/squid). # The user and group will be created if they do not already exist. # NOTE: before version 2.5.4_6, these settings defaulted to # nobody/nogroup. # If you wish to keep these settings, please define SQUID_UID=nobody and # SQUID_GID=nogroup in your make environment before you start the update. # SQUID_LANGUAGES # A list of languages for which error page files should be installed # (default: all) # SQUID_DEFAULT_LANG # If you define SQUID_LANGUAGES, select which language should be the default # (default: English) # SQUID_CONFIGURE_ARGS # Additional configuration options, see below for a list PORTNAME= squid PORTVERSION= 2.5.4 PORTREVISION= 9 CATEGORIES= www MASTER_SITES= \ ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ ftp://ftp.unimelb.edu.au/pub/cwis/servers/unix/squid/%SUBDIR%/ \ ftp://sunsite.auc.dk/pub/infosystems/squid/%SUBDIR%/ \ ftp://ftp.leo.org/pub/comp/general/infosys/www/servers/squid/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/squid/&,} MASTER_SITE_SUBDIR= squid-2/STABLE DISTNAME= squid-2.5.STABLE4 DIST_SUBDIR= squid2.5 PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.5/bugs/ PATCHFILES= squid-2.5.STABLE4-reconfigure_message.patch \ squid-2.5.STABLE4-digest_auth_pwchange.patch \ squid-2.5.STABLE4-redirect_login_space.patch \ squid-2.5.STABLE4-fqdnnegcache.patch \ pam_auth-2.2.patch \ squid-2.5.STABLE4_auth_param_doc.patch \ squid-2.5.STABLE4-errorpages.patch \ squid-2.5.STABLE4-error_load_text.patch \ squid-2.5.STABLE4-xpi_mime.patch \ squid-2.5.STABLE4-size_overflow.patch \ squid-2.5.STABLE4-extacl_auth_loop.patch \ squid-2.5.STABLE4-squid_ldap_group.patch \ squid-2.5.STABLE4-positive_dns_ttl.patch \ squid-2.5.STABLE4-gopherhtml.patch \ squid-2.5.STABLE4-netroute.patch \ squid-2.5.STABLE4-synflood.patch \ squid-2.5.STABLE4-fqdn.patch \ squid-2.5.STABLE4-connect_cleanup.patch \ squid-2.5.STABLE4-pconn_post.patch \ squid-2.5.STABLE4-ftp_put.patch \ squid-2.5.STABLE4-pconn-load.patch \ squid-2.5.STABLE4-icon_urls.patch \ squid-2.5.STABLE4-redirector_access.patch \ squid-2.5.STABLE4-pconn-lifo.patch \ squid-2.5.STABLE4-cache_peer_maxconn.patch \ squid-2.5.STABLE4-pid_filename_none.patch \ squid-2.5.STABLE4-dns_namelength.patch \ squid-2.5.STABLE4-urllogin_acl.patch \ squid-2.5.STABLE4-russian.patch \ squid-2.5.STABLE4-redirlog.patch \ squid-2.5.STABLE4-pinger.patch \ squid-2.5.STABLE4-partial_reload.patch \ squid-2.5.STABLE4-ldap_tls.patch \ squid-2.5.STABLE4-ldap_group_bufsize.patch \ squid-2.5.STABLE4-http_workarounds.patch \ squid-2.5.STABLE4-empty_proxy_auth.patch \ squid-2.5.STABLE4-ftp_telnet.patch \ squid-2.5.STABLE4-ntlm_auth_popups.patch \ squid-2.5.STABLE4-ldap_group-S.patch \ squid-2.5.STABLE4-ipcache_purge.patch \ squid-2.5.STABLE4-cache_peer_access_ntlm.patch PATCH_DIST_STRIP= -p1 MAINTAINER= tmseck@netcologne.de COMMENT= The successful WWW proxy cache and accelerator CONFLICTS= squid-* GNU_CONFIGURE= yes USE_BZIP2= yes USE_PERL5= yes USE_REINPLACE= yes SQUID_UID?= squid SQUID_GID?= squid MAN8= squid.8 docs= QUICKSTART README RELEASENOTES.html doc/debug-sections.txt .if !defined(NOPORTDOCS) PORTDOCS= ${docs:T} .endif OPTIONS= SQUID_LDAP_AUTH "Install LDAP authentication helpers" off \ SQUID_DELAY_POOLS "Enable delay pools" off \ SQUID_SNMP "Enable SNMP support" off \ SQUID_CARP "Enable CARP support" off \ SQUID_SSL "Enable SSL support for reverse proxies" off \ SQUID_PINGER "Install the icmp helper" off \ SQUID_DNS_HELPER "Use the old 'dnsserver' helper" off \ SQUID_HTCP "Enable HTCP support" off \ SQUID_VIA_DB "Enable forward/via database" off \ SQUID_CACHE_DIGESTS "Enable cache digests" off \ SQUID_WCCP "Enable Web Cache Coordination Protocol" on \ SQUID_UNDERSCORES "Allow underscores in hostnames" on \ SQUID_STRICT_HTTP "Be strictly HTTP compliant" off \ SQUID_IDENT "Enable ident (RFC 931) lookups" on \ SQUID_USERAGENT_LOG "Enable User-Agent-header logging" off \ SQUID_ARP_ACL "Enable ACLs based on ethernet address" off PLIST_FILES= etc/rc.d/squid.sh etc/squid/mib.txt etc/squid/mime.conf.default \ etc/squid/msntauth.conf.default etc/squid/squid.conf.default \ sbin/RunAccel sbin/RunCache sbin/squidclient sbin/squid CONFIGURE_ARGS= --bindir=${PREFIX}/sbin --sysconfdir=${PREFIX}/etc/squid \ --datadir=${PREFIX}/etc/squid \ --libexecdir=${PREFIX}/libexec/squid \ --localstatedir=${PREFIX}/squid \ --enable-storeio="ufs diskd null" \ --enable-removal-policies="lru heap" \ .include # Authentication methods and modules: basic_auth= NCSA PAM YP MSNT winbind external_acl= ip_user unix_group wbinfo_group winbind_group MAN8+= pam_auth.8 squid_unix_group.8 .if defined(WITH_SQUID_LDAP_AUTH) USE_OPENLDAP= yes CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" MAN8+= squid_ldap_auth.8 squid_ldap_group.8 basic_auth+= LDAP external_acl+= ldap_group .endif CONFIGURE_ARGS+= --enable-auth="basic ntlm digest" \ --enable-basic-auth-helpers="${basic_auth}" \ --enable-digest-auth-helpers="password" \ --enable-external-acl-helpers="${external_acl}" \ --enable-ntlm-auth-helpers="SMB winbind" # Other options set via 'make config': .if defined(WITH_SQUID_DELAY_POOLS) CONFIGURE_ARGS+= --enable-delay-pools .endif .if defined(WITH_SQUID_SNMP) CONFIGURE_ARGS+= --enable-snmp .endif .if defined(WITH_SQUID_CARP) CONFIGURE_ARGS+= --enable-carp .endif .if defined(WITH_SQUID_SSL) CONFIGURE_ARGS+= --enable-ssl .endif .if defined(WITH_SQUID_PINGER) CONFIGURE_ARGS+= --enable-icmp .endif .if defined(WITH_SQUID_DNS_HELPER) CONFIGURE_ARGS+= --disable-internal-dns .endif .if defined(WITH_SQUID_HTCP) CONFIGURE_ARGS+= --enable-htcp .endif .if defined(WITH_SQUID_VIA_DB) CONFIGURE_ARGS+= --enable-forw-via-db .endif .if defined(WITH_SQUID_CACHE_DIGESTS) CONFIGURE_ARGS+= --enable-cache-digests .endif .if defined(WITHOUT_SQUID_WCCP) CONFIGURE_ARGS+= --disable-wccp .endif .if defined(WITH_SQUID_UNDERSCORES) CONFIGURE_ARGS+= --enable-underscores .endif .if defined(WITH_SQUID_STRICT_HTTP) CONFIGURE_ARGS+= --disable-http-violations .endif .if defined(WITHOUT_SQUID_IDENT) CONFIGURE_ARGS+= --disable-ident-lookups .endif .if defined(WITH_SQUID_USERAGENT_LOG) CONFIGURE_ARGS+= --enable-useragent-log .endif .if defined(WITH_SQUID_ARP_ACL) CONFIGURE_ARGS+= --enable-arp-acl .endif # Languages: # # If you do not define SQUID_LANGUAGES yourself, all available language files # will be installed; the default language will be English. SQUID_LANGUAGES?= \ Bulgarian Catalan Czech Danish Dutch English Estonian Finnish \ French German Hebrew Hungarian Italian Japanese Korean Lithuanian \ Polish Portuguese Romanian Russian-1251 Russian-koi8-r Serbian \ Simplify_Chinese Slovak Spanish Swedish Traditional_Chinese Turkish SQUID_DEFAULT_LANG?= English CONFIGURE_ARGS+= --enable-err-languages="${SQUID_LANGUAGES}" \ --enable-default-err-language=${SQUID_DEFAULT_LANG} # Other not so common configure options you can set via SQUID_CONFIGURE_ARGS: # Please see the configure script in the squid source distribution for a # complete list. # # --enable-dlmalloc # Compile and use the malloc package from Doug Lea # --enable-gnuregex # Compile and use the supplied GNUregex routines instead of BSD regex. # --enable-xmalloc-statistics # Show malloc statistics in status page # --enable-time-hack # Optimize time updates to one per second rather than calling gettimeofday() # --enable-cachemgr-hostname=some.hostname # Set an explicit hostname in cachemgr.cgi # --enable-truncate # Use truncate() rather than unlink() # --disable-hostname-checks # Squid by default rejects any host names with odd characters in their name # to conform with internet standards. If you disagree with this you may use # this switch to turn off any such checks, provided that the resolver used by # Squid does not reject such host names. This may be required to participate # in testbeds for international domain names. # --disable-unlinkd # Do not use "unlinkd" # --enable-stacktraces # Enable automatic call backtrace on fatal errors # # This option does not yet work on FreeBSD: # # --enable-ipf-transparent # Enable Transparent Proxy support for IP-Filter systems (incl 3.0) # (IPFilter headers are not currently installed to the base system, # PRs ports/60700 and misc/44148 describe the problem; see # http://www.squid-cache.org/Doc/FAQ/FAQ-17.html for information # about how to do transparent proxying with ipfw) CONFIGURE_ARGS+= ${SQUID_CONFIGURE_ARGS} post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/doc/squid.8 # Prevent installation of .orig files by deleting them. @${FIND} ${WRKSRC} -name '*.bak' -delete @${FIND} ${WRKSRC} -name '*.orig' -delete pre-configure: @${REINPLACE_CMD} -e 's|%%SQUID_UID%%|${SQUID_UID}|g' \ -e 's|%%SQUID_GID%%|${SQUID_GID}|g' ${WRKSRC}/src/cf.data.pre pre-install: @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%SQUID_UID%%|${SQUID_UID}|g' ${FILESDIR}/squid.sh \ >${WRKDIR}/squid.sh pre-su-install: @${SETENV} SQUID_USER=${SQUID_UID} SQUID_GROUP=${SQUID_GID} \ PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-install: .if defined(WITH_SQUID_PINGER) ${CHMOD} 4510 ${PREFIX}/libexec/squid/pinger; \ ${CHGRP} ${SQUID_GID} ${PREFIX}/libexec/squid/pinger .endif ${INSTALL_SCRIPT} ${WRKDIR}/squid.sh ${PREFIX}/etc/rc.d .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${docs} ${DOCSDIR} .endif # Work around the fact that the errorpages.patch creates files in # an "Attic" subdir: .if exists(${PREFIX}/etc/squid/errors/Lithuanian) @${FIND} ${WRKSRC}/errors/Lithuanian/Attic -type f \ -exec ${INSTALL_DATA} {} ${PREFIX}/etc/squid/errors/Lithuanian/ \; .endif @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL # Create package list: @cd ${PREFIX} && ${FIND} libexec/squid -type f -o -type l | ${SORT} \ >>${TMPPLIST} @${ECHO_CMD} "@dirrm libexec/squid" >>${TMPPLIST} @cd ${PREFIX} && ${FIND} etc/squid/icons -type f -o -type l | ${SORT} \ >>${TMPPLIST} @${ECHO_CMD} "@dirrm etc/squid/icons" >>${TMPPLIST} .for d in ${SQUID_LANGUAGES} @cd ${PREFIX} && ${FIND} etc/squid/errors/${d} -type f | ${SORT} \ >>${TMPPLIST} @${ECHO_CMD} "@dirrm etc/squid/errors/${d}" >>${TMPPLIST} .endfor @${ECHO_CMD} "@dirrm etc/squid/errors" >>${TMPPLIST} .include o version 0.8.17pawel2016-08-062-5/+5 * biology/seqtools: 4.42.1 -> 4.43.0pi2016-07-313-17/+227 * Update to upstream release 0.8.16riggs2016-07-252-4/+4 * Cleanup $() variables in ports Makefiles.mat2016-07-201-1/+1 * - update libgd to 2.2.2dinoex2016-07-201-1/+1 * When there is a do-install target, do not use a post-install target, domat2016-07-193-4/+5 * Trim excess tabs, no-op changepawel2016-07-151-13/+13 * Update to version 0.8.14pawel2016-07-152-4/+4 * - Update to 0.8.11amdmi32016-07-072-5/+5 * Remove expired ports without open PRs:rene2016-07-057-161/+0 * - LICENSEamdmi32016-07-022-10/+22 * biology/diamond: update 0.8.6 -> 0.8.9junovitch2016-06-302-4/+4 * - Add missing dependency, fixing buildamdmi32016-06-241-1/+5 * - Switch to options helpersamdmi32016-06-212-7/+11 * biology/diamond: update to 0.8.6rm2016-06-182-4/+4 * - Fix run-time dependency issuesolivierd2016-06-111-2/+13 * biology/seaview: Update version 4.5.4.8=>4.6bofh2016-06-102-7/+4 * Update to 0.8.5matthew2016-06-093-34/+18 * - Update to 1.35wen2016-06-082-3/+4 * Remove unneeded usage of:mat2016-06-061-2/+1 * Deprecate ports broken for more than 6 monthsantoine2016-06-042-0/+4 * - Do install cmake and pkgconfig modulesamdmi32016-05-282-3/+8 * biology/{htslib|samtools|bcftools}: 1.3 -> 1.3.1pi2016-05-278-20/+23 * Remove useless WRKSRC definitions.mat2016-05-251-2/+0 * - Fix trailing whitespace in pkg-messagesamdmi32016-05-196-12/+12 * - Fix trailing whitespace in pkg-descrs, categories [a-f]*amdmi32016-05-1921-36/+36 * Fix DEPENDSantoine2016-05-191-2/+2 * - Convert to USES=mysqlamdmi32016-05-171-8/+4 * - Update to 4.9aamdmi32016-05-172-4/+7 * biology/bowtie2: 2.2.7 -> 2.2.8pi2016-05-142-3/+3 * Prevent collision with getline(3)bapt2016-05-141-0/+300 * Prevent collision with getline(3)bapt2016-05-141-0/+291 * Prevent collision with getline(3)bapt2016-05-124-6/+27 * biology/seqan: update 1.3.1 -> 2.1.1junovitch2016-05-1012-1915/+3706 * New port: biology/seqan-appsjunovitch2016-05-105-0/+220 * Add final slash in WWW entryolivierd2016-05-101-1/+1 * The BIOM file format (canonically pronounced biome) is designed to be aolivierd2016-05-104-0/+48 * During the exp-run in bug 208158, it was found that biology/ugene givesdim2016-05-084-0/+36 * DNA query sequences against a protein reference database (BLASTP and BLASTXwen2016-05-065-0/+71 * - Update to 1.14.8danilo2016-05-013-4/+4 * biology/seqtools: 4.41.1 -> 4.42.1pi2016-04-232-5/+5 * many ports: mark broken on powerpc64swills2016-04-221-0/+2 * - Switch to options helpersamdmi32016-04-173-16/+17 * - Update to 1.66wen2016-04-172-4/+3 * - Switch to options helpersamdmi32016-04-161-3/+8 * Upgrade from 5.12.0 to 5.13.0. Release-announcement available here:mi2016-04-163-4/+5 * Update to version 1.22.0, which now unfortunately requires Qt 5.x. Alsodanfe2016-04-149-36/+204 * - Add LICENSEamdmi32016-04-101-1/+8 * Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.mat2016-04-0138-148/+148 * - Update to 1.5.0amdmi32016-04-013-23/+11 * - Use more appropriate BROKEN instead of IGNOREamdmi32016-03-301-4/+2 * - Update to 5.12.0wen2016-03-273-5/+7 * - Clarify LICENSEamdmi32016-03-241-4/+3 * Jellyfish is a tool for fast, memory-efficient counting of k-mers in DNA.amdmi32016-03-246-0/+146 * New port: biology/bowtie2.rakuco2016-03-236-0/+134 * New port: biology/slclust.rakuco2016-03-236-0/+85 * Trimmomatic performs a variety of useful trimming tasks for illuminawen2016-03-175-0/+41 * New port: biology/p5-transdecoderpi2016-03-175-0/+88 * biology/seqtools: 4.40.0 -> 4.41.1pi2016-03-153-4/+6 * Always set the DEFAULT github DISTFILE with .tar.gz for EXTRACT_SUFX.mat2016-03-081-2/+2 * New port: biology/bowtie.rakuco2016-03-056-0/+194 * New port: biology/vcftools.rakuco2016-02-275-0/+59 * - Update to 3.2.0wen2016-02-263-34/+62 * - Update to 1.14.7danilo2016-02-212-3/+3 * - Update to 1.34wen2016-02-122-3/+3 * biology/seqtools: 4.39.3 -> 4.40.0pi2016-02-062-3/+3 * biology/mapm3: document ncurses rqmt (USES+=ncurses), respect LDFLAGSmarino2016-02-021-0/+2 * biology/samtools: document ncurses requirement (USES+=ncurses)marino2016-02-021-1/+1 * biology/molden: updated distfile, take maintainerpi2016-01-212-4/+4 * Mark BROKEN: checksum and size mismatchantoine2016-01-211-0/+1 * The bedtools utilities are a suite of tools for performing a wide range ofwen2016-01-196-0/+135 * biology/molden: 5.0.7 -> 5.4pi2016-01-195-192/+799 * mark ports that don't work with Ruby 2.3swills2016-01-171-0/+1 * Convert LICENSE= "GPLxx # or later" to "GPLxx+"amdmi32016-01-134-4/+4 * Add Public Domain support to ports license framework. You can now useamdmi32016-01-121-3/+1 * Remove deprecated PLIST_DIRSTRY and also no longer needed PLIST_DIRSpawel2016-01-101-2/+0 * biology/crux is not jobs safemarino2015-12-311-0/+2 * biology/htslib: Replace FreeBSD-specific fix with a generic onemarino2015-12-291-5/+4 * Cleanup GH_* and variables order.mat2015-12-293-3/+1 * biology/consed: undeprecate, it presumably builds fine but it is restricted.rene2015-12-261-5/+1 * - Update to 7.266wen2015-12-255-42/+133 * biology/{bcftools,htslib,samtools}: update 1.2.x -> 1.3junovitch2015-12-2527-173/+930 * mark some of the ports that don't build on powerpc64 for meswills2015-12-144-0/+7 * - Update maintainer mail addressmiwi2015-12-1112-23/+22 * - Update to 1.32wen2015-12-113-6/+8 * biology/seqtools: 4.39.2 -> 4.39.3pi2015-12-052-3/+3 * biology/seqtools: 4.39.1 -> 4.39.2pi2015-12-022-3/+3 * - Mark BROKEN: checksum mismatch:amdmi32015-11-291-0/+2 * Remove expired ports:rene2015-11-2915-933/+0 * biology/platon: fix fetchingrm2015-11-203-6/+4 * - Switch to options helpersamdmi32015-11-191-1/+1 * biology/seqtools: Fix distinfo, WWWpi2015-11-182-3/+3 * biology/seqtools: 4.39.0 -> 4.39.1pi2015-11-142-3/+3 * - Update to 1.14.6danilo2015-11-103-4/+4 * Mark a few ports BROKEN: unfetchableantoine2015-11-091-0/+2 * biology/seqtools: 4.36 -> 4.39.0pi2015-11-092-3/+3 * - Update to 1.14.5danilo2015-11-063-4/+4 * Fix ports that confused the meaning of WRKDIR and WRKSRC.mat2015-11-051-5/+5 * biology/seaview: Broken, Does not fetch (checksum mismatch)marino2015-11-021-0/+2 * - Update to 2015.09.21madpilot2015-10-285-25/+60 * Deprecate ports broken for more than 6 monthsantoine2015-10-264-0/+8