freebsd-ports/www/tinyproxy/pkg-plist
Ion-Mihai Tetcu 8b0082350e - Now users an rcNG script.
- Removes the (now) un-necessary pkg-message.
- Moves the configuration file to ${PREFIX}/etc/tinyproxy.conf
- bump PORTREVISION for above
- Pass maintainership to submiter.

Tinyproxy now installs a rcNG script.  To enable tinyproxy at boot
time, set the following in rc.conf(5):
  tinyproxy_enable="YES"
The confiration file for tinyproxy has been moved to
${PREFIX}/etc/tinyproxy.conf.  Any old configuration files will need
to be migrated over to the new location.

PR:		ports/96720
Submitted by:	Wesley Shields <wxs@csh.rit.edu> (new maintainer)
Approved by:	lawrance (mentor)
2006-05-16 12:29:42 +00:00

12 lines
428 B
Text

@unexec if cmp -s %D/etc/tinyproxy.conf-dist %D/etc/tinyproxy.conf; then rm -f %D/etc/tinyproxy.conf; fi
etc/tinyproxy.conf-dist
@exec if [ ! -f %D/etc/tinyproxy.conf ] ; then cp -p %D/%F %B/tinyproxy.conf; fi
sbin/tinyproxy
%%DATADIR%%/HTML_VARIABLES
%%DATADIR%%/debug.html
%%DATADIR%%/debug.html.dist
%%DATADIR%%/default.html
%%DATADIR%%/default.html.dist
%%DATADIR%%/stats.html
%%DATADIR%%/stats.html.dist
@dirrm %%DATADIR%%