|
Lines 6-13
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= squid |
8 |
PORTNAME= squid |
| 9 |
PORTVERSION= 2.5 |
9 |
PORTVERSION= 2.5.4 |
| 10 |
PORTREVISION= 4 |
10 |
PORTREVISION= |
| 11 |
CATEGORIES= www |
11 |
CATEGORIES= www |
| 12 |
MASTER_SITES= \ |
12 |
MASTER_SITES= \ |
| 13 |
ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ |
13 |
ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ |
|
Lines 16-49
Link Here
|
| 16 |
ftp://ftp.net.lut.ac.uk/squid/%SUBDIR%/ \ |
16 |
ftp://ftp.net.lut.ac.uk/squid/%SUBDIR%/ \ |
| 17 |
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/squid/&,} |
17 |
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/squid/&,} |
| 18 |
MASTER_SITE_SUBDIR= squid-2/STABLE |
18 |
MASTER_SITE_SUBDIR= squid-2/STABLE |
| 19 |
DISTNAME= squid-2.5.STABLE3 |
19 |
DISTNAME= squid-2.5.STABLE4 |
| 20 |
EXTRACT_SUFX= .tar.bz2 |
20 |
EXTRACT_SUFX= .tar.bz2 |
| 21 |
DIST_SUBDIR= squid2.5 |
21 |
DIST_SUBDIR= squid2.5 |
| 22 |
|
22 |
|
| 23 |
PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.5/bugs/ |
23 |
PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.5/bugs/ |
| 24 |
PATCHFILES= squid-2.5.STABLE3-deny_info.patch \ |
24 |
PATCHFILES= squid-2.5.STABLE4-reconfigure_message.patch \ |
| 25 |
squid-2.5.STABLE3-cache_dir_doc.patch \ |
25 |
squid-2.5.STABLE4-digest_auth_pwchange.patch \ |
| 26 |
squid-2.5.STABLE3-devnull.patch \ |
26 |
squid-2.5.STABLE4-redirect_login_space.patch \ |
| 27 |
squid-2.5.STABLE3-log_quote.patch \ |
27 |
squid-2.5.STABLE4-fqdnnegcache.patch \ |
| 28 |
squid-2.5.STABLE3-rfc_reference.patch \ |
28 |
pam_auth-2.2.patch \ |
| 29 |
squid-2.5.STABLE3-external_acl_ident.patch \ |
29 |
squid-2.5.STABLE4_auth_param_doc.patch \ |
| 30 |
squid-2.5.STABLE3-gcc-3_3.patch \ |
30 |
squid-2.5.STABLE4-errorpages.patch \ |
| 31 |
squid-2.5.STABLE3-carpfactor.patch \ |
31 |
squid-2.5.STABLE4-error_load_text.patch \ |
| 32 |
squid-2.5.STABLE3-neighbor_type_domain.patch \ |
32 |
squid-2.5.STABLE4-xpi_mime.patch \ |
| 33 |
squid-2.5.STABLE3-header_access_peer.patch \ |
33 |
squid-2.5.STABLE4-size_overflow.patch \ |
| 34 |
squid-2.5.STABLE3-memwarnsbrk.patch \ |
34 |
squid-2.5.STABLE4-extacl_auth_loop.patch \ |
| 35 |
squid-2.5.STABLE3-hostscomments.patch \ |
35 |
squid-2.5.STABLE4-squid_ldap_group.patch \ |
| 36 |
squid-2.5.STABLE3-store_check_cachable_stats.patch \ |
36 |
squid-2.5.STABLE4-positive_dns_ttl.patch \ |
| 37 |
squid-2.5.STABLE3-cachePeerPingsSentsnmp.patch \ |
37 |
squid-2.5.STABLE4-gopherhtml.patch \ |
| 38 |
squid-2.5.STABLE3-minimum_retry_timeout.patch \ |
38 |
squid-2.5.STABLE4-netroute.patch \ |
| 39 |
squid-2.5.STABLE3-tcp_reset_leak.patch \ |
39 |
squid-2.5.STABLE4-synflood.patch \ |
| 40 |
squid-2.5.STABLE3-hostheader.patch \ |
40 |
squid-2.5.STABLE4-fqdn.patch \ |
| 41 |
squid-2.5.STABLE3-reply_body_max_size.patch \ |
41 |
squid-2.5.STABLE4-connect_cleanup.patch \ |
| 42 |
squid-2.5.STABLE3-ie_refresh.patch \ |
42 |
squid-2.5.STABLE4-pconn_post.patch \ |
| 43 |
squid-2.5.STABLE3-http_reply_access-denied.patch \ |
43 |
squid-2.5.STABLE4-ftp_put.patch \ |
| 44 |
squid-2.5.STABLE3-SENT_PASV.patch \ |
44 |
squid-2.5.STABLE4-pconn-load.patch \ |
| 45 |
squid-2.5.STABLE3-peer_digest_not_found_assertion.patch \ |
45 |
squid-2.5.STABLE4-icon_urls.patch \ |
| 46 |
squid-2.5.STABLE3-round_robin_max_size.patch |
46 |
squid-2.5.STABLE4-redirector_access.patch \ |
|
|
47 |
squid-2.5.STABLE4-pconn-lifo.patch |
| 47 |
PATCH_DIST_STRIP= -p1 |
48 |
PATCH_DIST_STRIP= -p1 |
| 48 |
|
49 |
|
| 49 |
MAINTAINER= adrian@freebsd.org |
50 |
MAINTAINER= adrian@freebsd.org |
|
Lines 106-112
Link Here
|
| 106 |
#CONFIGURE_ARGS+= --enable-htcp |
107 |
#CONFIGURE_ARGS+= --enable-htcp |
| 107 |
# - Enable Forw/Via database |
108 |
# - Enable Forw/Via database |
| 108 |
#CONFIGURE_ARGS+= --enable-forw-via-db |
109 |
#CONFIGURE_ARGS+= --enable-forw-via-db |
| 109 |
# - Use Cache Digests - see http://squid.nlanr.net/Squid/FAQ/FAQ-16.html |
110 |
# - Use Cache Digests - see http://www.squid-cache.org/Doc/FAQ/FAQ-16.html |
| 110 |
#CONFIGURE_ARGS+= --enable-cache-digests |
111 |
#CONFIGURE_ARGS+= --enable-cache-digests |
| 111 |
# - Select language for Error pages (see errors dir) |
112 |
# - Select language for Error pages (see errors dir) |
| 112 |
#CONFIGURE_ARGS+= --enable-err-language=lang |
113 |
#CONFIGURE_ARGS+= --enable-err-language=lang |
|
Lines 130-135
Link Here
|
| 130 |
post-patch: |
131 |
post-patch: |
| 131 |
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure |
132 |
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure |
| 132 |
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/doc/squid.8 |
133 |
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/doc/squid.8 |
|
|
134 |
# Prevent installation of .orig files by deleting them. |
| 135 |
@${FIND} ${WRKSRC} -name \*.orig -delete |
| 133 |
|
136 |
|
| 134 |
post-install: |
137 |
post-install: |
| 135 |
# I don't think many people use the pinger nowadays, and if you |
138 |
# I don't think many people use the pinger nowadays, and if you |