diff options
18 files changed, 96 insertions, 12 deletions
diff --git a/www/squid/Makefile b/www/squid/Makefile index 12d4a662a617..f4abc3f3c588 100644 --- a/www/squid/Makefile +++ b/www/squid/Makefile @@ -70,7 +70,7 @@ PORTNAME= squid PORTVERSION= 2.5.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= \ ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ @@ -348,6 +348,9 @@ post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%SQUID_UID%%|${SQUID_UID}|g' \ -e 's|%%SQUID_GID%%|${SQUID_GID}|g' ${WRKSRC}/src/cf.data.pre + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/helpers/basic_auth/SMB/Makefile.in \ + ${WRKSRC}/helpers/basic_auth/SMB/smb_auth.sh pre-install: # Prevent installation of .orig files by deleting them. diff --git a/www/squid/files/patch-helpers-basic_auth-SMB-Makefile.in b/www/squid/files/patch-helpers-basic_auth-SMB-Makefile.in new file mode 100644 index 000000000000..09a82638fd3c --- /dev/null +++ b/www/squid/files/patch-helpers-basic_auth-SMB-Makefile.in @@ -0,0 +1,11 @@ +--- helpers/basic_auth/SMB/Makefile.in.orig Tue Oct 4 07:29:26 2005 ++++ helpers/basic_auth/SMB/Makefile.in Tue Oct 4 07:29:49 2005 +@@ -129,7 +129,7 @@ + makesnmplib = @makesnmplib@ + + SMB_AUTH_HELPER = smb_auth.sh +-SAMBAPREFIX = /usr/local/samba ++SAMBAPREFIX = %%LOCALBASE%% + SMB_AUTH_HELPER_PATH = $(libexecdir)/$(SMB_AUTH_HELPER) + + libexec_SCRIPTS = $(SMB_AUTH_HELPER) diff --git a/www/squid/files/patch-helpers-basic_auth-SMB-smb_auth.sh b/www/squid/files/patch-helpers-basic_auth-SMB-smb_auth.sh index 8115ac0b7938..8f41fa2ff024 100644 --- a/www/squid/files/patch-helpers-basic_auth-SMB-smb_auth.sh +++ b/www/squid/files/patch-helpers-basic_auth-SMB-smb_auth.sh @@ -6,7 +6,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -+ SAMBAPREFIX=${SAMBAPREFIX:-/usr/local/bin} ++ SAMBAPREFIX=${SAMBAPREFIX:-%%LOCALBASE%%} + read DOMAINNAME read PASSTHROUGH diff --git a/www/squid25/Makefile b/www/squid25/Makefile index 12d4a662a617..f4abc3f3c588 100644 --- a/www/squid25/Makefile +++ b/www/squid25/Makefile @@ -70,7 +70,7 @@ PORTNAME= squid PORTVERSION= 2.5.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= \ ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ @@ -348,6 +348,9 @@ post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%SQUID_UID%%|${SQUID_UID}|g' \ -e 's|%%SQUID_GID%%|${SQUID_GID}|g' ${WRKSRC}/src/cf.data.pre + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/helpers/basic_auth/SMB/Makefile.in \ + ${WRKSRC}/helpers/basic_auth/SMB/smb_auth.sh pre-install: # Prevent installation of .orig files by deleting them. diff --git a/www/squid25/files/patch-helpers-basic_auth-SMB-Makefile.in b/www/squid25/files/patch-helpers-basic_auth-SMB-Makefile.in new file mode 100644 index 000000000000..09a82638fd3c --- /dev/null +++ b/www/squid25/files/patch-helpers-basic_auth-SMB-Makefile.in @@ -0,0 +1,11 @@ +--- helpers/basic_auth/SMB/Makefile.in.orig Tue Oct 4 07:29:26 2005 ++++ helpers/basic_auth/SMB/Makefile.in Tue Oct 4 07:29:49 2005 +@@ -129,7 +129,7 @@ + makesnmplib = @makesnmplib@ + + SMB_AUTH_HELPER = smb_auth.sh +-SAMBAPREFIX = /usr/local/samba ++SAMBAPREFIX = %%LOCALBASE%% + SMB_AUTH_HELPER_PATH = $(libexecdir)/$(SMB_AUTH_HELPER) + + libexec_SCRIPTS = $(SMB_AUTH_HELPER) diff --git a/www/squid25/files/patch-helpers-basic_auth-SMB-smb_auth.sh b/www/squid25/files/patch-helpers-basic_auth-SMB-smb_auth.sh index 8115ac0b7938..8f41fa2ff024 100644 --- a/www/squid25/files/patch-helpers-basic_auth-SMB-smb_auth.sh +++ b/www/squid25/files/patch-helpers-basic_auth-SMB-smb_auth.sh @@ -6,7 +6,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -+ SAMBAPREFIX=${SAMBAPREFIX:-/usr/local/bin} ++ SAMBAPREFIX=${SAMBAPREFIX:-%%LOCALBASE%%} + read DOMAINNAME read PASSTHROUGH diff --git a/www/squid26/Makefile b/www/squid26/Makefile index 12d4a662a617..f4abc3f3c588 100644 --- a/www/squid26/Makefile +++ b/www/squid26/Makefile @@ -70,7 +70,7 @@ PORTNAME= squid PORTVERSION= 2.5.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= \ ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ @@ -348,6 +348,9 @@ post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%SQUID_UID%%|${SQUID_UID}|g' \ -e 's|%%SQUID_GID%%|${SQUID_GID}|g' ${WRKSRC}/src/cf.data.pre + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/helpers/basic_auth/SMB/Makefile.in \ + ${WRKSRC}/helpers/basic_auth/SMB/smb_auth.sh pre-install: # Prevent installation of .orig files by deleting them. diff --git a/www/squid26/files/patch-helpers-basic_auth-SMB-Makefile.in b/www/squid26/files/patch-helpers-basic_auth-SMB-Makefile.in new file mode 100644 index 000000000000..09a82638fd3c --- /dev/null +++ b/www/squid26/files/patch-helpers-basic_auth-SMB-Makefile.in @@ -0,0 +1,11 @@ +--- helpers/basic_auth/SMB/Makefile.in.orig Tue Oct 4 07:29:26 2005 ++++ helpers/basic_auth/SMB/Makefile.in Tue Oct 4 07:29:49 2005 +@@ -129,7 +129,7 @@ + makesnmplib = @makesnmplib@ + + SMB_AUTH_HELPER = smb_auth.sh +-SAMBAPREFIX = /usr/local/samba ++SAMBAPREFIX = %%LOCALBASE%% + SMB_AUTH_HELPER_PATH = $(libexecdir)/$(SMB_AUTH_HELPER) + + libexec_SCRIPTS = $(SMB_AUTH_HELPER) diff --git a/www/squid26/files/patch-helpers-basic_auth-SMB-smb_auth.sh b/www/squid26/files/patch-helpers-basic_auth-SMB-smb_auth.sh index 8115ac0b7938..8f41fa2ff024 100644 --- a/www/squid26/files/patch-helpers-basic_auth-SMB-smb_auth.sh +++ b/www/squid26/files/patch-helpers-basic_auth-SMB-smb_auth.sh @@ -6,7 +6,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -+ SAMBAPREFIX=${SAMBAPREFIX:-/usr/local/bin} ++ SAMBAPREFIX=${SAMBAPREFIX:-%%LOCALBASE%%} + read DOMAINNAME read PASSTHROUGH diff --git a/www/squid27/Makefile b/www/squid27/Makefile index 12d4a662a617..f4abc3f3c588 100644 --- a/www/squid27/Makefile +++ b/www/squid27/Makefile @@ -70,7 +70,7 @@ PORTNAME= squid PORTVERSION= 2.5.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= \ ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ @@ -348,6 +348,9 @@ post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%SQUID_UID%%|${SQUID_UID}|g' \ -e 's|%%SQUID_GID%%|${SQUID_GID}|g' ${WRKSRC}/src/cf.data.pre + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/helpers/basic_auth/SMB/Makefile.in \ + ${WRKSRC}/helpers/basic_auth/SMB/smb_auth.sh pre-install: # Prevent installation of .orig files by deleting them. diff --git a/www/squid27/files/patch-helpers-basic_auth-SMB-Makefile.in b/www/squid27/files/patch-helpers-basic_auth-SMB-Makefile.in new file mode 100644 index 000000000000..09a82638fd3c --- /dev/null +++ b/www/squid27/files/patch-helpers-basic_auth-SMB-Makefile.in @@ -0,0 +1,11 @@ +--- helpers/basic_auth/SMB/Makefile.in.orig Tue Oct 4 07:29:26 2005 ++++ helpers/basic_auth/SMB/Makefile.in Tue Oct 4 07:29:49 2005 +@@ -129,7 +129,7 @@ + makesnmplib = @makesnmplib@ + + SMB_AUTH_HELPER = smb_auth.sh +-SAMBAPREFIX = /usr/local/samba ++SAMBAPREFIX = %%LOCALBASE%% + SMB_AUTH_HELPER_PATH = $(libexecdir)/$(SMB_AUTH_HELPER) + + libexec_SCRIPTS = $(SMB_AUTH_HELPER) diff --git a/www/squid27/files/patch-helpers-basic_auth-SMB-smb_auth.sh b/www/squid27/files/patch-helpers-basic_auth-SMB-smb_auth.sh index 8115ac0b7938..8f41fa2ff024 100644 --- a/www/squid27/files/patch-helpers-basic_auth-SMB-smb_auth.sh +++ b/www/squid27/files/patch-helpers-basic_auth-SMB-smb_auth.sh @@ -6,7 +6,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -+ SAMBAPREFIX=${SAMBAPREFIX:-/usr/local/bin} ++ SAMBAPREFIX=${SAMBAPREFIX:-%%LOCALBASE%%} + read DOMAINNAME read PASSTHROUGH diff --git a/www/squid30/Makefile b/www/squid30/Makefile index 12d4a662a617..f4abc3f3c588 100644 --- a/www/squid30/Makefile +++ b/www/squid30/Makefile @@ -70,7 +70,7 @@ PORTNAME= squid PORTVERSION= 2.5.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= \ ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ @@ -348,6 +348,9 @@ post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%SQUID_UID%%|${SQUID_UID}|g' \ -e 's|%%SQUID_GID%%|${SQUID_GID}|g' ${WRKSRC}/src/cf.data.pre + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/helpers/basic_auth/SMB/Makefile.in \ + ${WRKSRC}/helpers/basic_auth/SMB/smb_auth.sh pre-install: # Prevent installation of .orig files by deleting them. diff --git a/www/squid30/files/patch-helpers-basic_auth-SMB-Makefile.in b/www/squid30/files/patch-helpers-basic_auth-SMB-Makefile.in new file mode 100644 index 000000000000..09a82638fd3c --- /dev/null +++ b/www/squid30/files/patch-helpers-basic_auth-SMB-Makefile.in @@ -0,0 +1,11 @@ +--- helpers/basic_auth/SMB/Makefile.in.orig Tue Oct 4 07:29:26 2005 ++++ helpers/basic_auth/SMB/Makefile.in Tue Oct 4 07:29:49 2005 +@@ -129,7 +129,7 @@ + makesnmplib = @makesnmplib@ + + SMB_AUTH_HELPER = smb_auth.sh +-SAMBAPREFIX = /usr/local/samba ++SAMBAPREFIX = %%LOCALBASE%% + SMB_AUTH_HELPER_PATH = $(libexecdir)/$(SMB_AUTH_HELPER) + + libexec_SCRIPTS = $(SMB_AUTH_HELPER) diff --git a/www/squid30/files/patch-helpers-basic_auth-SMB-smb_auth.sh b/www/squid30/files/patch-helpers-basic_auth-SMB-smb_auth.sh index 8115ac0b7938..8f41fa2ff024 100644 --- a/www/squid30/files/patch-helpers-basic_auth-SMB-smb_auth.sh +++ b/www/squid30/files/patch-helpers-basic_auth-SMB-smb_auth.sh @@ -6,7 +6,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -+ SAMBAPREFIX=${SAMBAPREFIX:-/usr/local/bin} ++ SAMBAPREFIX=${SAMBAPREFIX:-%%LOCALBASE%%} + read DOMAINNAME read PASSTHROUGH diff --git a/www/squid31/Makefile b/www/squid31/Makefile index 12d4a662a617..f4abc3f3c588 100644 --- a/www/squid31/Makefile +++ b/www/squid31/Makefile @@ -70,7 +70,7 @@ PORTNAME= squid PORTVERSION= 2.5.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= \ ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ @@ -348,6 +348,9 @@ post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%SQUID_UID%%|${SQUID_UID}|g' \ -e 's|%%SQUID_GID%%|${SQUID_GID}|g' ${WRKSRC}/src/cf.data.pre + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/helpers/basic_auth/SMB/Makefile.in \ + ${WRKSRC}/helpers/basic_auth/SMB/smb_auth.sh pre-install: # Prevent installation of .orig files by deleting them. diff --git a/www/squid31/files/patch-helpers-basic_auth-SMB-Makefile.in b/www/squid31/files/patch-helpers-basic_auth-SMB-Makefile.in new file mode 100644 index 000000000000..09a82638fd3c --- /dev/null +++ b/www/squid31/files/patch-helpers-basic_auth-SMB-Makefile.in @@ -0,0 +1,11 @@ +--- helpers/basic_auth/SMB/Makefile.in.orig Tue Oct 4 07:29:26 2005 ++++ helpers/basic_auth/SMB/Makefile.in Tue Oct 4 07:29:49 2005 +@@ -129,7 +129,7 @@ + makesnmplib = @makesnmplib@ + + SMB_AUTH_HELPER = smb_auth.sh +-SAMBAPREFIX = /usr/local/samba ++SAMBAPREFIX = %%LOCALBASE%% + SMB_AUTH_HELPER_PATH = $(libexecdir)/$(SMB_AUTH_HELPER) + + libexec_SCRIPTS = $(SMB_AUTH_HELPER) diff --git a/www/squid31/files/patch-helpers-basic_auth-SMB-smb_auth.sh b/www/squid31/files/patch-helpers-basic_auth-SMB-smb_auth.sh index 8115ac0b7938..8f41fa2ff024 100644 --- a/www/squid31/files/patch-helpers-basic_auth-SMB-smb_auth.sh +++ b/www/squid31/files/patch-helpers-basic_auth-SMB-smb_auth.sh @@ -6,7 +6,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -+ SAMBAPREFIX=${SAMBAPREFIX:-/usr/local/bin} ++ SAMBAPREFIX=${SAMBAPREFIX:-%%LOCALBASE%%} + read DOMAINNAME read PASSTHROUGH |