Lines 77-82
Link Here
|
77 |
|
77 |
|
78 |
PORTNAME= squid |
78 |
PORTNAME= squid |
79 |
PORTVERSION= 2.7.${SQUID_STABLE_VER} |
79 |
PORTVERSION= 2.7.${SQUID_STABLE_VER} |
|
|
80 |
PORTREVISION= 1 |
80 |
CATEGORIES= www |
81 |
CATEGORIES= www |
81 |
MASTER_SITES= ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ |
82 |
MASTER_SITES= ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ |
82 |
http://mirrors.ccs.neu.edu/Squid/ \ |
83 |
http://mirrors.ccs.neu.edu/Squid/ \ |
Lines 107-114
Link Here
|
107 |
http://www1.jp.squid-cache.org/%SUBDIR%/ \ |
108 |
http://www1.jp.squid-cache.org/%SUBDIR%/ \ |
108 |
http://www2.tw.squid-cache.org/%SUBDIR%/ |
109 |
http://www2.tw.squid-cache.org/%SUBDIR%/ |
109 |
PATCH_SITE_SUBDIR= Versions/v2/2.7/changesets |
110 |
PATCH_SITE_SUBDIR= Versions/v2/2.7/changesets |
110 |
PATCHFILES= |
|
|
111 |
PATCH_DIST_STRIP= -p1 |
111 |
PATCH_DIST_STRIP= -p1 |
|
|
112 |
PATCHFILES= # empty |
112 |
|
113 |
|
113 |
MAINTAINER= tmseck@web.de |
114 |
MAINTAINER= tmseck@web.de |
114 |
COMMENT= HTTP Caching Proxy |
115 |
COMMENT= HTTP Caching Proxy |
Lines 199-208
Link Here
|
199 |
|
200 |
|
200 |
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin \ |
201 |
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin \ |
201 |
--sbindir=${PREFIX}/sbin \ |
202 |
--sbindir=${PREFIX}/sbin \ |
202 |
--datadir=${PREFIX}/etc/squid \ |
203 |
--datadir=${ETCDIR} \ |
203 |
--libexecdir=${PREFIX}/libexec/squid \ |
204 |
--libexecdir=${PREFIX}/libexec/squid \ |
204 |
--localstatedir=/var/squid \ |
205 |
--localstatedir=/var/squid \ |
205 |
--sysconfdir=${PREFIX}/etc/squid \ |
206 |
--sysconfdir=${ETCDIR} \ |
206 |
--enable-removal-policies="lru heap" \ |
207 |
--enable-removal-policies="lru heap" \ |
207 |
--disable-linux-netfilter \ |
208 |
--disable-linux-netfilter \ |
208 |
--disable-linux-tproxy \ |
209 |
--disable-linux-tproxy \ |
Lines 383-402
Link Here
|
383 |
# Finally, add additional user specified configuration options: |
384 |
# Finally, add additional user specified configuration options: |
384 |
CONFIGURE_ARGS+= ${SQUID_CONFIGURE_ARGS} |
385 |
CONFIGURE_ARGS+= ${SQUID_CONFIGURE_ARGS} |
385 |
|
386 |
|
386 |
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" \ |
387 |
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" \ |
387 |
CPPFLAGS="${CPPFLAGS}"\ |
|
|
388 |
LDFLAGS="${LDFLAGS}" \ |
389 |
GREP="${GREP}" |
388 |
GREP="${GREP}" |
390 |
|
389 |
|
391 |
PLIST_DIRS= etc/squid/icons libexec/squid |
390 |
PLIST_DIRS= %%ETCDIR%%/icons libexec/squid |
392 |
PLIST_FILES= ${etc_files:S,^,etc/,} ${icon_files:S,^,etc/squid/icons/,} \ |
391 |
PLIST_FILES= ${etc_files:S,^,etc/,} ${icon_files:S,^,%%ETCDIR%%/icons/,} \ |
393 |
${libexec:S,^,libexec/squid/,} ${sbin:S,^,sbin/,} |
392 |
${libexec:S,^,libexec/squid/,} ${sbin:S,^,sbin/,} |
394 |
|
393 |
|
395 |
.for d in ${SQUID_LANGUAGES} |
394 |
.for d in ${SQUID_LANGUAGES} |
396 |
PLIST_DIRS+= etc/squid/errors/${d} |
395 |
PLIST_DIRS+= %%ETCDIR%%/errors/${d} |
397 |
PLIST_FILES+= ${error_files:S,^,etc/squid/errors/${d}/,} |
396 |
PLIST_FILES+= ${error_files:S,^,%%ETCDIR%%/errors/${d}/,} |
398 |
.endfor |
397 |
.endfor |
399 |
PLIST_DIRS+= etc/squid/errors etc/squid |
398 |
PLIST_DIRS+= %%ETCDIR%%/errors |
|
|
399 |
PLIST_DIRSTRY+= %%ETCDIR%% |
400 |
|
400 |
|
401 |
post-patch: |
401 |
post-patch: |
402 |
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ |
402 |
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ |