diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-10-06 18:47:55 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-10-06 18:47:55 +0000 |
commit | c5799da9bebaee9b7dca61fb8578fd4b6d0a46ad (patch) | |
tree | 6c676f9112a195688a2ff12e05a66c12829a63f1 /www/squid30 | |
parent | cc1140b9a58c8d7b41b7d82c8b5414c787abc7bc (diff) | |
download | ports-c5799da9bebaee9b7dca61fb8578fd4b6d0a46ad.tar.gz ports-c5799da9bebaee9b7dca61fb8578fd4b6d0a46ad.zip |
Notes
Diffstat (limited to 'www/squid30')
-rw-r--r-- | www/squid30/Makefile | 5 | ||||
-rw-r--r-- | www/squid30/files/patch-helpers-basic_auth-SMB-Makefile.in | 11 | ||||
-rw-r--r-- | www/squid30/files/patch-helpers-basic_auth-SMB-smb_auth.sh | 2 |
3 files changed, 16 insertions, 2 deletions
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 |