freebsd-ports/www/sams/files/patch-Makefile.in
Martin Wilke 2d93ec971c SAMS (Squid Account Management System) is a WEB-based interface and tool to
manage users of SQUID proxy server. Main features are:

    * manage users access to SQUID - proxy with NTLM, NCSA authorization
      or IP address
    * manage prohibition of users to access to URL
    * manage to rewrite requested URL to graphical resources (banners,
      counters)
    * save and build reports of users statistic
    * switch of users access to SQUID proxy if his traffic quota is off
    * manage a delay pools for users groups

WWW: http://sams.irc.perm.ru/

- Dindin
dindin@freebsd.org.ua

PR:		ports/107102
Submitted by:	Denis Barov<dindin@freebsd.org.ua>
2006-12-29 20:18:36 +00:00

27 lines
839 B
Text

--- Makefile.in.orig Mon Dec 25 11:22:30 2006
+++ Makefile.in Mon Dec 25 11:23:23 2006
@@ -201,12 +201,11 @@
echo "move old sams.conf to sams.conf.old"; \
mv /etc/sams.conf /etc/sams.conf.old; \
fi
- cp ./etc/sams.conf $(sysconfdir);
+ cp ./etc/sams.conf $(sysconfdir).sample;
cp ./sams $(bindir);
cp ./samsf $(bindir);
cp ./samsredir $(bindir);
cp ./samsdaemon $(bindir);
- cp ./etc/samsd $(RCDPATH);
cp ./mysql/recover_admin_passwd $(bindir);
-@if test ! -d $(datadir); then \
echo "creating $(datadir)"; \
@@ -235,10 +234,6 @@
chmod 777 $(datadir)/sams/data;
rm -f $(datadir)/sams/data/*;
cp -R doc $(datadir)/sams/;
- -@if test ! -d $(HTTPDPATH)/sams; then \
- echo "creating symlink to sams directory"; \
- ln -s $(datadir)/sams $(HTTPDPATH)/sams; \
- fi
uninstall-binPROGRAMS:
rm $(bindir)/sams;