View | Details | Raw Unified | Return to bug 192983 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-5 / +9 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	squid
4
PORTNAME=	squid
5
PORTVERSION=	3.3.${SQUID_STABLE_VER}
5
PORTVERSION=	3.3.${SQUID_STABLE_VER}
6
PORTREVISION=	6
7
CATEGORIES=	www ipv6
6
CATEGORIES=	www ipv6
8
MASTER_SITES=	http://www.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \
7
MASTER_SITES=	http://www.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \
9
		http://www2.us.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \
8
		http://www2.us.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \
Lines 21-27 Link Here
21
		http://www1.jp.squid-cache.org/%SUBDIR%/ \
20
		http://www1.jp.squid-cache.org/%SUBDIR%/ \
22
		http://master.squid-cache.org/~amosjeffries/patches/:nosid
21
		http://master.squid-cache.org/~amosjeffries/patches/:nosid
23
PATCH_SITE_SUBDIR=	Versions/v3/${PORTVERSION:R}/changesets
22
PATCH_SITE_SUBDIR=	Versions/v3/${PORTVERSION:R}/changesets
24
PATCHFILES=	FreeBSD_silence_nosuid_mk1.patch:nosid
23
PATCHFILES=	FreeBSD_silence_nosuid_mk1.patch:nosid \
24
		${PORTNAME}-${PORTVERSION:R}-12679.patch
25
25
26
MAINTAINER=	ports@FreeBSD.org
26
MAINTAINER=	ports@FreeBSD.org
27
COMMENT=	HTTP Caching Proxy
27
COMMENT=	HTTP Caching Proxy
Lines 29-35 Link Here
29
LICENSE=	GPLv2
29
LICENSE=	GPLv2
30
LICENSE_FILE=	${WRKSRC}/COPYING
30
LICENSE_FILE=	${WRKSRC}/COPYING
31
31
32
SQUID_STABLE_VER=	11
32
SQUID_STABLE_VER=	12
33
33
34
CONFLICTS_INSTALL=	squid-2.[0-9].* squid32-* cacheboy-[0-9]* lusca-head-[0-9]*
34
CONFLICTS_INSTALL=	squid-2.[0-9].* squid32-* cacheboy-[0-9]* lusca-head-[0-9]*
35
USES=		perl5 tar:bzip2 shebangfix
35
USES=		perl5 tar:bzip2 shebangfix
Lines 68-78 Link Here
68
DEBUG_DESC=	Build with extended debugging support
68
DEBUG_DESC=	Build with extended debugging support
69
DELAY_POOLS_DESC=	Enable delay pools (bandwidth limiting)
69
DELAY_POOLS_DESC=	Enable delay pools (bandwidth limiting)
70
DNS_HELPER_DESC=	Use external dnsserver processes for DNS
70
DNS_HELPER_DESC=	Use external dnsserver processes for DNS
71
ECAP_DESC=	Enable loadable content adaptation modules
71
ECAP_DESC=	Enable loadable content adaptation modules (broken on FreeBSD 10+)
72
ESI_DESC=	Enable support for ESI
72
ESI_DESC=	Enable support for ESI
73
FOLLOW_XFF_DESC=	Enable support for the X-Following-For header
73
FOLLOW_XFF_DESC=	Enable support for the X-Following-For header
74
FS_AUFS_DESC=	Enable AUFS (async-io) support
74
FS_AUFS_DESC=	Enable AUFS (async-io) support
75
FS_COSS_DESC=	Enable COSS (not stable yet)
75
FS_COSS_DESC=	Enable COSS (not stable yet and broken)
76
HTCP_DESC=	Enable HTCP support
76
HTCP_DESC=	Enable HTCP support
77
ICAP_DESC=	Enable the ICAP client
77
ICAP_DESC=	Enable the ICAP client
78
ICMP_DESC=	Enable ICMP pinging and network measurement
78
ICMP_DESC=	Enable ICMP pinging and network measurement
Lines 238-243 Link Here
238
CONFIGURE_ARGS+=	--without-pthreads
238
CONFIGURE_ARGS+=	--without-pthreads
239
.endif
239
.endif
240
.if ${PORT_OPTIONS:MFS_COSS}
240
.if ${PORT_OPTIONS:MFS_COSS}
241
BROKEN=			FS_COSS does not compile
241
storage_schemes+=	coss
242
storage_schemes+=	coss
242
.endif
243
.endif
243
CONFIGURE_ARGS+=	--enable-storeio="${storage_schemes}"\
244
CONFIGURE_ARGS+=	--enable-storeio="${storage_schemes}"\
Lines 270-275 Link Here
270
CONFIGURE_ARGS+=	--disable-internal-dns
271
CONFIGURE_ARGS+=	--disable-internal-dns
271
.endif
272
.endif
272
.if ${PORT_OPTIONS:MECAP}
273
.if ${PORT_OPTIONS:MECAP}
274
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000000
275
BROKEN=		ECAP and clang are not friendly
276
.endif
273
LIB_DEPENDS+=	libecap.so:${PORTSDIR}/www/libecap
277
LIB_DEPENDS+=	libecap.so:${PORTSDIR}/www/libecap
274
CFLAGS+=	-I${LOCALBASE}/include
278
CFLAGS+=	-I${LOCALBASE}/include
275
LDFLAGS+=	-L${LOCALBASE}/lib
279
LDFLAGS+=	-L${LOCALBASE}/lib
(-)distinfo (-2 / +4 lines)
Lines 1-4 Link Here
1
SHA256 (squid3.3/squid-3.3.11.tar.bz2) = 6b314cd706693522f01d5ab1930f3aa7a9b03a913bc0e699def16cca8d15ea54
1
SHA256 (squid3.3/squid-3.3.12.tar.bz2) = 18781e700b950f58a1b669a8be4c60d5ca218131f6a2fc1263c2a453befa05a0
2
SIZE (squid3.3/squid-3.3.11.tar.bz2) = 2989941
2
SIZE (squid3.3/squid-3.3.12.tar.bz2) = 2990435
3
SHA256 (squid3.3/FreeBSD_silence_nosuid_mk1.patch) = 6fd9e55812e18463e92c83d1376e65ca54b2857606f59f4aa1b7d2716af2b72c
3
SHA256 (squid3.3/FreeBSD_silence_nosuid_mk1.patch) = 6fd9e55812e18463e92c83d1376e65ca54b2857606f59f4aa1b7d2716af2b72c
4
SIZE (squid3.3/FreeBSD_silence_nosuid_mk1.patch) = 1295
4
SIZE (squid3.3/FreeBSD_silence_nosuid_mk1.patch) = 1295
5
SHA256 (squid3.3/squid-3.3-12679.patch) = 3e8d3bca71646cb592e0762ec0502ef3cd3ce7476d1c349f3b16492c75dbfa83
6
SIZE (squid3.3/squid-3.3-12679.patch) = 2461
(-)files/patch-configure (-2 / +92 lines)
Lines 1-5 Link Here
1
--- configure.orig	2013-11-30 07:56:05.000000000 -0600
1
--- configure.orig	2014-03-09 09:25:22.000000000 +0400
2
+++ configure	2014-02-12 10:53:47.000000000 -0600
2
+++ configure	2014-08-25 11:21:37.000000000 +0400
3
@@ -11856,7 +11856,7 @@
4
       hardcode_shlibpath_var=no
5
       ;;
6
 
7
-    freebsd1*)
8
+    freebsd1.*)
9
       ld_shlibs=no
10
       ;;
11
 
12
@@ -11872,7 +11872,7 @@
13
       ;;
14
 
15
     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16
-    freebsd2*)
17
+    freebsd2.*)
18
       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19
       hardcode_direct=yes
20
       hardcode_minus_L=yes
21
@@ -12778,7 +12778,7 @@
22
   shlibpath_var=LD_LIBRARY_PATH
23
   ;;
24
 
25
-freebsd1*)
26
+freebsd1.*)
27
   dynamic_linker=no
28
   ;;
29
 
30
@@ -12789,7 +12789,7 @@
31
     objformat=`/usr/bin/objformat`
32
   else
33
     case $host_os in
34
-    freebsd[123]*) objformat=aout ;;
35
+    freebsd[123].*) objformat=aout ;;
36
     *) objformat=elf ;;
37
     esac
38
   fi
39
@@ -12807,7 +12807,7 @@
40
   esac
41
   shlibpath_var=LD_LIBRARY_PATH
42
   case $host_os in
43
-  freebsd2*)
44
+  freebsd2.*)
45
     shlibpath_overrides_runpath=yes
46
     ;;
47
   freebsd3.[01]* | freebsdelf3.[01]*)
48
@@ -14673,7 +14673,7 @@
49
         esac
50
         ;;
51
 
52
-      freebsd[12]*)
53
+      freebsd[12].*)
54
         # C++ shared libraries reported to be fairly broken before
55
 	# switch to ELF
56
         ld_shlibs_CXX=no
57
@@ -16441,7 +16441,7 @@
58
   shlibpath_var=LD_LIBRARY_PATH
59
   ;;
60
 
61
-freebsd1*)
62
+freebsd1.*)
63
   dynamic_linker=no
64
   ;;
65
 
66
@@ -16452,7 +16452,7 @@
67
     objformat=`/usr/bin/objformat`
68
   else
69
     case $host_os in
70
-    freebsd[123]*) objformat=aout ;;
71
+    freebsd[123].*) objformat=aout ;;
72
     *) objformat=elf ;;
73
     esac
74
   fi
75
@@ -16470,7 +16470,7 @@
76
   esac
77
   shlibpath_var=LD_LIBRARY_PATH
78
   case $host_os in
79
-  freebsd2*)
80
+  freebsd2.*)
81
     shlibpath_overrides_runpath=yes
82
     ;;
83
   freebsd3.[01]* | freebsdelf3.[01]*)
84
@@ -18550,7 +18550,7 @@
85
    squid_cv_cc_arg_pipe=""
86
    ;;
87
   clang)
88
-   squid_cv_cxx_option_werror="-Werror -Qunused-arguments"
89
+   squid_cv_cxx_option_werror="-Qunused-arguments"
90
    squid_cv_cc_option_werror="$squid_cv_cxx_option_werror"
91
    squid_cv_cc_option_wall="-Wall"
92
    squid_cv_cc_option_optimize="-O2"
3
@@ -22964,7 +22964,7 @@
93
@@ -22964,7 +22964,7 @@
4
 
94
 
5
 done
95
 done

Return to bug 192983