FreeBSD Bugzilla – Attachment 139767 Details for
Bug 186077
[MAINTAINER-UPDATE] pkg-plist fix for www/privoxy 3.0.21
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch.txt
patch.txt (text/plain; charset=us-ascii), 4.25 KB, created by
Alex Kozlov
on 2014-01-25 16:01:27 UTC
(
hide
)
Description:
patch.txt
Filename:
MIME Type:
Creator:
Alex Kozlov
Created:
2014-01-25 16:01:27 UTC
Size:
4.25 KB
patch
obsolete
>- Use options helpers >- Unmute install commands >- Install DOCS files unconditionally >Index: www/privoxy/Makefile >@@ -1,5 +1,5 @@ > # Created by: John von Essen >-# $FreeBSD: www/privoxy/Makefile 339760 2014-01-15 07:21:17Z miwi $ >+# $FreeBSD: head/www/privoxy/Makefile 339760 2014-01-15 07:21:17Z miwi $ > > PORTNAME= privoxy > PORTVERSION= 3.0.21 >@@ -47,46 +47,25 @@ > > OPTIONS_DEFAULT= BROKEN_STRPTIME EDITOR DOCS FORCE TOGGLE > >-.include <bsd.port.options.mk> >+OPTIONS_SUB= yes > >-.if ${PORT_OPTIONS:MACCEPT_FILTER} >-CONFIGURE_ARGS+= --enable-accept-filter >-.endif >- >-.if ${PORT_OPTIONS:MCOMPRESSION} >-CONFIGURE_ARGS+= --enable-compression >-.endif >- >-.if ${PORT_OPTIONS:MDEBUG} >-CONFIGURE_ARGS+= --with-debug >-.endif >- >-.if ! ${PORT_OPTIONS:MEDITOR} >-CONFIGURE_ARGS+= --disable-editor >-.endif >- >-.if ! ${PORT_OPTIONS:MFORCE} >-CONFIGURE_ARGS+= --disable-force >-.endif >- >-.if ${PORT_OPTIONS:MBROKEN_STRPTIME} >-CONFIGURE_ARGS+= --enable-strptime-sanity-checks >-.endif >- >-.if ! ${PORT_OPTIONS:MTOGGLE} >-CONFIGURE_ARGS+= --disable-toggle >-.endif >- >-.if ${PORT_OPTIONS:MPRIVOXY_TOOLS} >-USES+= perl5 >-USE_PERL5= run >-RUN_DEPENDS+= curl:${PORTSDIR}/ftp/curl >-PLIST_SUB+= PRIVOXY_TOOLS="" >-.else >-PLIST_SUB+= PRIVOXY_TOOLS="@comment " >-.endif >+ACCEPT_FILTER_CONFIGURE_ON= --enable-accept-filter > >-PLIST_SUB+= MAN1PREFIX=${MAN1PREFIX} >+BROKEN_STRPTIME_CONFIGURE_ON= --enable-strptime-sanity-checks >+ >+COMPRESSION_CONFIGURE_ON= --enable-compression >+ >+DEBUG_CONFIGURE_ON= --with-debug >+ >+EDITOR_CONFIGURE_OFF= --disable-editor >+ >+FORCE_CONFIGURE_OFF= --disable-force >+ >+TOGGLE_CONFIGURE_OFF= --disable-toggle >+ >+PRIVOXY_TOOLS_USES= perl5 >+PRIVOXY_TOOLS_USE= PERL5=run >+PRIVOXY_TOOLS_RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl > > post-patch: > ${REINPLACE_CMD} \ >@@ -94,39 +73,33 @@ > -e 's,^\(logdir\) \.,\1 /var/log/privoxy,' \ > -e 's,^\(actionsfile user\),#\1,' \ > -e 's,^\(filterfile user\),#\1,' \ >- ${WRKSRC}/config >-.if ${PORT_OPTIONS:MDOCS} >+ ${WRKSRC}/config > ${REINPLACE_CMD} \ > -e 's,^#\(user-manual\) http://www.privoxy.org/user-manual/,\1 ${DOCSDIR}/user-manual,' \ >- ${WRKSRC}/config >-.endif >+ ${WRKSRC}/config > ${REINPLACE_CMD} \ > -e 's,\(/etc/privoxy\),${PREFIX}\1,' ${WRKSRC}/tools/uagen.pl > > pre-configure: >- @cd ${WRKSRC}; ${AUTOHEADER} >+ @(cd ${WRKSRC}; ${AUTOHEADER}) > > do-install: > @${MKDIR} ${STAGEDIR}${PREFIX}/etc/privoxy/templates >- @${INSTALL_PROGRAM} ${WRKSRC}/privoxy ${STAGEDIR}${PREFIX}/sbin >- @${INSTALL_DATA} ${WRKSRC}/templates/[a-z]* ${STAGEDIR}${PREFIX}/etc/privoxy/templates >-.if ${PORT_OPTIONS:MPRIVOXY_TOOLS} >+ ${INSTALL_PROGRAM} ${WRKSRC}/privoxy ${STAGEDIR}${PREFIX}/sbin >+ ${INSTALL_DATA} ${WRKSRC}/templates/[a-z]* ${STAGEDIR}${PREFIX}/etc/privoxy/templates > .for privoxy_tool in privoxy-log-parser.pl privoxy-regression-test.pl uagen.pl >- @${INSTALL_SCRIPT} ${WRKSRC}/tools/${privoxy_tool} ${STAGEDIR}${PREFIX}/bin >+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/${privoxy_tool} ${STAGEDIR}${PREFIX}/bin > .endfor >-.endif > .for defaultfile in default.action default.filter regression-tests.action >- @${INSTALL_DATA} ${WRKSRC}/${defaultfile} ${STAGEDIR}${PREFIX}/etc/privoxy >+ ${INSTALL_DATA} ${WRKSRC}/${defaultfile} ${STAGEDIR}${PREFIX}/etc/privoxy > .endfor > @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} > .for examplefile in config match-all.action trust user.action >- @${INSTALL_DATA} ${WRKSRC}/${examplefile} ${STAGEDIR}${EXAMPLESDIR}/ >+ ${INSTALL_DATA} ${WRKSRC}/${examplefile} ${STAGEDIR}${EXAMPLESDIR}/ > .endfor >- @${INSTALL_MAN} ${WRKSRC}/privoxy.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 >-.if ${PORT_OPTIONS:MDOCS} >+ ${INSTALL_MAN} ${WRKSRC}/privoxy.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 > @${MKDIR} ${STAGEDIR}${DOCSDIR}/user-manual >- @${INSTALL_DATA} ${WRKSRC}/doc/webserver/user-manual/[a-z]* ${STAGEDIR}${DOCSDIR}/user-manual >- @${INSTALL_DATA} ${WRKSRC}/doc/webserver/p_doc.css ${STAGEDIR}${DOCSDIR}/user-manual >-.endif >+ ${INSTALL_DATA} ${WRKSRC}/doc/webserver/user-manual/[a-z]* ${STAGEDIR}${DOCSDIR}/user-manual >+ ${INSTALL_DATA} ${WRKSRC}/doc/webserver/p_doc.css ${STAGEDIR}${DOCSDIR}/user-manual > > .include <bsd.port.mk> >Index: www/privoxy/pkg-plist >@@ -2,7 +2,7 @@ > %%PRIVOXY_TOOLS%%bin/privoxy-regression-test.pl > %%PRIVOXY_TOOLS%%bin/uagen.pl > sbin/privoxy >-%%MAN1PREFIX%%/man/man1/privoxy.1.gz >+man/man1/privoxy.1.gz > etc/privoxy/default.action > etc/privoxy/default.filter > etc/privoxy/regression-tests.action
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 186077
:
139766
| 139767