Changeset View
Changeset View
Standalone View
Standalone View
www/squid/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= squid | PORTNAME= squid | ||||
PORTVERSION= 3.5.24 | PORTVERSION= 3.5.24 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= www ipv6 | CATEGORIES= www ipv6 | ||||
MASTER_SITES= http://www.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \ | MASTER_SITES= http://www.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \ | ||||
http://www2.us.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \ | http://www2.us.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \ | ||||
http://www1.at.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \ | http://www1.at.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \ | ||||
http://www.eu.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \ | http://www.eu.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \ | ||||
http://www1.jp.squid-cache.org/Versions/v3/${PORTVERSION:R}/ | http://www1.jp.squid-cache.org/Versions/v3/${PORTVERSION:R}/ | ||||
DIST_SUBDIR= squid${PORTVERSION:R} | DIST_SUBDIR= squid${PORTVERSION:R} | ||||
Show All 28 Lines | |||||
MYDOCS= QUICKSTART README RELEASENOTES.html doc/debug-sections.txt | MYDOCS= QUICKSTART README RELEASENOTES.html doc/debug-sections.txt | ||||
PORTDOCS= ${MYDOCS:T} | PORTDOCS= ${MYDOCS:T} | ||||
PORTEXAMPLES= * | PORTEXAMPLES= * | ||||
SUB_FILES+= pkg-install pkg-message | SUB_FILES+= pkg-install pkg-message | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
OPTIONS_GROUP= AUTH | OPTIONS_GROUP= AUTH | ||||
OPTIONS_RADIO= SMB FW | OPTIONS_RADIO= FW | ||||
OPTIONS_GROUP_AUTH=AUTH_LDAP AUTH_NIS AUTH_SASL AUTH_SQL | OPTIONS_GROUP_AUTH=AUTH_LDAP AUTH_NIS AUTH_SASL AUTH_SMB AUTH_SQL | ||||
OPTIONS_RADIO_SMB=AUTH_SMB3 AUTH_SMB4 | |||||
OPTIONS_RADIO_FW=TP_IPF TP_IPFW TP_PF | OPTIONS_RADIO_FW=TP_IPF TP_IPFW TP_PF | ||||
OPTIONS_DEFINE= ARP_ACL CACHE_DIGESTS DEBUG DELAY_POOLS ECAP ESI \ | OPTIONS_DEFINE= ARP_ACL CACHE_DIGESTS DEBUG DELAY_POOLS ECAP ESI \ | ||||
FOLLOW_XFF FS_AUFS FS_DISKD FS_ROCK HTCP ICAP ICMP IDENT IPV6 \ | FOLLOW_XFF FS_AUFS FS_DISKD FS_ROCK HTCP ICAP ICMP IDENT IPV6 \ | ||||
KQUEUE LARGEFILE NETTLE SNMP SSL SSL_CRTD STACKTRACES LAX_HTTP \ | KQUEUE LARGEFILE NETTLE SNMP SSL SSL_CRTD STACKTRACES LAX_HTTP \ | ||||
VIA_DB WCCP WCCPV2 DOCS EXAMPLES | VIA_DB WCCP WCCPV2 DOCS EXAMPLES | ||||
OPTIONS_SINGLE= GSSAPI | OPTIONS_SINGLE= GSSAPI | ||||
OPTIONS_SINGLE_GSSAPI= GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT | OPTIONS_SINGLE_GSSAPI= GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT | ||||
OPTIONS_DEFAULT=ARP_ACL AUTH_NIS CACHE_DIGESTS DELAY_POOLS FOLLOW_XFF \ | OPTIONS_DEFAULT=ARP_ACL AUTH_NIS CACHE_DIGESTS DELAY_POOLS FOLLOW_XFF \ | ||||
FS_AUFS FS_DISKD FS_ROCK HTCP ICAP ICMP IDENT KQUEUE LARGEFILE \ | FS_AUFS FS_DISKD FS_ROCK HTCP ICAP ICMP IDENT KQUEUE LARGEFILE \ | ||||
LAX_HTTP SNMP SSL SSL_CRTD TP_IPFW VIA_DB WCCP WCCPV2 GSSAPI_BASE | LAX_HTTP SNMP SSL SSL_CRTD TP_IPFW VIA_DB WCCP WCCPV2 GSSAPI_BASE | ||||
ARP_ACL_CONFIGURE_ENABLE= eui | ARP_ACL_CONFIGURE_ENABLE= eui | ||||
AUTH_LDAP_CFLAGS= -I${LOCALBASE}/include | AUTH_LDAP_CFLAGS= -I${LOCALBASE}/include | ||||
AUTH_LDAP_LDFLAGS= -L${LOCALBASE}/lib | AUTH_LDAP_LDFLAGS= -L${LOCALBASE}/lib | ||||
AUTH_LDAP_USE= OPENLDAP=yes | AUTH_LDAP_USE= OPENLDAP=yes | ||||
AUTH_LDAP_VARS= BASIC_AUTH+=LDAP EXTERNAL_ACL+=LDAP_group | AUTH_LDAP_VARS= BASIC_AUTH+=LDAP EXTERNAL_ACL+=LDAP_group | ||||
AUTH_SASL_CFLAGS= -I${LOCALBASE}/include | AUTH_SASL_CFLAGS= -I${LOCALBASE}/include | ||||
AUTH_SASL_CPPFLAGS= -I${LOCALBASE}/include | AUTH_SASL_CPPFLAGS= -I${LOCALBASE}/include | ||||
AUTH_SASL_LDFLAGS= -L${LOCALBASE}/lib | AUTH_SASL_LDFLAGS= -L${LOCALBASE}/lib | ||||
AUTH_SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 | AUTH_SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 | ||||
AUTH_SASL_VARS= BASIC_AUTH+=SASL | AUTH_SASL_VARS= BASIC_AUTH+=SASL | ||||
AUTH_SMB3_RUN_DEPENDS= smbclient:net/samba36 | AUTH_SMB_USES= samba:run | ||||
AUTH_SMB3_VARS= BASIC_AUTH+=SMB EXTERNAL_ACL+=wbinfo_group | AUTH_SMB_VARS= BASIC_AUTH+=SMB EXTERNAL_ACL+=wbinfo_group | ||||
AUTH_SMB3_PLIST_SUB= AUTH_SMB="" | |||||
AUTH_SMB4_RUN_DEPENDS= smbclient:net/samba42 | |||||
AUTH_SMB4_VARS= BASIC_AUTH+=SMB EXTERNAL_ACL+=wbinfo_group | |||||
AUTH_SMB4_PLIST_SUB= AUTH_SMB="" | |||||
AUTH_SQL_RUN_DEPENDS= p5-DBI>=1.08:databases/p5-DBI | AUTH_SQL_RUN_DEPENDS= p5-DBI>=1.08:databases/p5-DBI | ||||
AUTH_SQL_VARS= EXTERNAL_ACL+=SQL_session | AUTH_SQL_VARS= EXTERNAL_ACL+=SQL_session | ||||
CACHE_DIGESTS_CONFIGURE_ENABLE= cache-digests | CACHE_DIGESTS_CONFIGURE_ENABLE= cache-digests | ||||
DELAY_POOLS_CONFIGURE_ENABLE= delay-pools | DELAY_POOLS_CONFIGURE_ENABLE= delay-pools | ||||
ECAP_CFLAGS= -I${LOCALBASE}/include | ECAP_CFLAGS= -I${LOCALBASE}/include | ||||
ECAP_CONFIGURE_ENABLE= ecap | ECAP_CONFIGURE_ENABLE= ecap | ||||
ECAP_LDFLAGS= -L${LOCALBASE}/lib | ECAP_LDFLAGS= -L${LOCALBASE}/lib | ||||
ECAP_LIB_DEPENDS= libecap.so:www/libecap | ECAP_LIB_DEPENDS= libecap.so:www/libecap | ||||
▲ Show 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||
# TODO: | # TODO: | ||||
# add an option for external_acl/session (requires some kind of external | # add an option for external_acl/session (requires some kind of external | ||||
# Berkeley DB support, unsure which one) | # Berkeley DB support, unsure which one) | ||||
ARP_ACL_DESC= ARP/MAC/EUI based authentification | ARP_ACL_DESC= ARP/MAC/EUI based authentification | ||||
AUTH_DESC= Authentication helpers | AUTH_DESC= Authentication helpers | ||||
AUTH_LDAP_DESC= Install LDAP authentication helpers | AUTH_LDAP_DESC= Install LDAP authentication helpers | ||||
AUTH_NIS_DESC= Install NIS/YP authentication helpers | AUTH_NIS_DESC= Install NIS/YP authentication helpers | ||||
AUTH_SASL_DESC= Install SASL authentication helpers | AUTH_SASL_DESC= Install SASL authentication helpers | ||||
AUTH_SMB3_DESC= Install SMB3 auth. helpers (req. net/samba36) | AUTH_SMB_DESC= Samba authentication helpers | ||||
AUTH_SMB4_DESC= Install SMB4 auth. helpers (req. net/samba42) | |||||
AUTH_SQL_DESC= Install SQL based auth | AUTH_SQL_DESC= Install SQL based auth | ||||
CACHE_DIGESTS_DESC= Use cache digests | CACHE_DIGESTS_DESC= Use cache digests | ||||
DEBUG_DESC= Build with extended debugging support | DEBUG_DESC= Build with extended debugging support | ||||
DELAY_POOLS_DESC= Delay pools (bandwidth limiting) | DELAY_POOLS_DESC= Delay pools (bandwidth limiting) | ||||
ECAP_DESC= Loadable content adaptation modules | ECAP_DESC= Loadable content adaptation modules | ||||
ESI_DESC= ESI support | ESI_DESC= ESI support | ||||
FOLLOW_XFF_DESC= Support for the X-Following-For header | FOLLOW_XFF_DESC= Support for the X-Following-For header | ||||
FS_AUFS_DESC= AUFS (threaded-io) support | FS_AUFS_DESC= AUFS (threaded-io) support | ||||
FS_DISKD_DESC= DISKD storage engine controlled by separate service | FS_DISKD_DESC= DISKD storage engine controlled by separate service | ||||
FS_ROCK_DESC= ROCK storage engine | FS_ROCK_DESC= ROCK storage engine | ||||
HTCP_DESC= HTCP support | HTCP_DESC= HTCP support | ||||
ICAP_DESC= the ICAP client | ICAP_DESC= the ICAP client | ||||
ICMP_DESC= ICMP pinging and network measurement | ICMP_DESC= ICMP pinging and network measurement | ||||
IDENT_DESC= Ident lookups (RFC 931) | IDENT_DESC= Ident lookups (RFC 931) | ||||
KQUEUE_DESC= Kqueue(2) support | KQUEUE_DESC= Kqueue(2) support | ||||
LARGEFILE_DESC= Support large (>2GB) cache and log files | LARGEFILE_DESC= Support large (>2GB) cache and log files | ||||
NETTLE_DESC= Nettle MD5 algorithm support | NETTLE_DESC= Nettle MD5 algorithm support | ||||
SMB_DESC= Samba authentication helpers | |||||
SNMP_DESC= SNMP support | SNMP_DESC= SNMP support | ||||
SSL_CRTD_DESC= Use ssl_crtd to handle SSL cert requests | SSL_CRTD_DESC= Use ssl_crtd to handle SSL cert requests | ||||
SSL_DESC= SSL gatewaying support | SSL_DESC= SSL gatewaying support | ||||
STACKTRACES_DESC= Enable automatic backtraces on fatal errors | STACKTRACES_DESC= Enable automatic backtraces on fatal errors | ||||
LAX_HTTP_DESC= Do not enforce strict HTTP compliance | LAX_HTTP_DESC= Do not enforce strict HTTP compliance | ||||
TP_IPFW_DESC= Transparent proxying with IPFW | TP_IPFW_DESC= Transparent proxying with IPFW | ||||
TP_IPF_DESC= Transparent proxying with IPFilter | TP_IPF_DESC= Transparent proxying with IPFilter | ||||
TP_PF_DESC= Transparent proxying with PF | TP_PF_DESC= Transparent proxying with PF | ||||
▲ Show 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | CONFIGURE_ARGS= --with-default-user=squid \ | ||||
--disable-arch-native | --disable-arch-native | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
# Authentication methods and modules: | # Authentication methods and modules: | ||||
BASIC_AUTH+= DB SMB_LM MSNT-multi-domain NCSA PAM POP3 RADIUS fake getpwnam | BASIC_AUTH+= DB SMB_LM MSNT-multi-domain NCSA PAM POP3 RADIUS fake getpwnam | ||||
EXTERNAL_ACL+= file_userip time_quota unix_group | EXTERNAL_ACL+= file_userip time_quota unix_group | ||||
.if !defined(AUTH_SMB) | |||||
PLIST_SUB+= AUTH_SMB="@comment " | |||||
.endif | |||||
# POLA: allow the old global make.conf(5) (pre src.conf(5)) defines, too: | # POLA: allow the old global make.conf(5) (pre src.conf(5)) defines, too: | ||||
.if ${PORT_OPTIONS:MAUTH_NIS} && !defined(NO_NIS) && !defined(WITHOUT_NIS) | .if ${PORT_OPTIONS:MAUTH_NIS} && !defined(NO_NIS) && !defined(WITHOUT_NIS) | ||||
BASIC_AUTH+= NIS | BASIC_AUTH+= NIS | ||||
.endif | .endif | ||||
# POLA: allow the old global make.conf(5) (pre src.conf(5)) defines, too: | # POLA: allow the old global make.conf(5) (pre src.conf(5)) defines, too: | ||||
.if ${PORT_OPTIONS:MGSSAPI_NONE} || defined(NO_KERBEROS) || defined(WITHOUT_KERBEROS) | .if ${PORT_OPTIONS:MGSSAPI_NONE} || defined(NO_KERBEROS) || defined(WITHOUT_KERBEROS) | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |