Bug 107102 - [NEW PORT] www/sams Squid Accounting and Management System
Summary: [NEW PORT] www/sams Squid Accounting and Management System
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-22 16:50 UTC by dindin
Modified: 2006-12-29 20:20 UTC (History)
0 users

See Also:


Attachments
file.shar (35.76 KB, text/plain)
2006-12-22 16:50 UTC, dindin
no flags Details
sams.patch (1.19 KB, patch)
2006-12-25 12:17 UTC, dindin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dindin 2006-12-22 16:50:16 UTC
add Squid Accounting and Management System (http://sams.irc.perm.ru/) into ports tree

How-To-Repeat: --
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2006-12-22 17:16:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2006-12-23 23:48:28 UTC
State Changed
From-To: open->feedback

Ask for maintainer fix.
Comment 3 dindin 2006-12-25 09:42:47 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Good day, Martin.

I think this patch is solution.

Best regards, Denis Barov.
dindin@freebsd.org,ua



- ---- Patch Begins ----
diff -urN files/patch-Makefile.in.orig files/patch-Makefile.in
- --- files/patch-Makefile.in.orig    Mon Dec 25 12:28:12 2006
+++ files/patch-Makefile.in Mon Dec 25 12:26:25 2006
@@ -1,5 +1,5 @@
- ---- Makefile.in.orig   Mon Apr 17 08:51:33 2006
- -+++ Makefile.in    Thu Dec 21 17:40:00 2006
+--- 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; \
@@ -14,3 +14,14 @@
    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;
diff -urN sams/pkg-plist.orig sams/pkg-plist
- --- sams/pkg-plist.orig Mon Dec 25 12:28:12 2006
+++ sams/pkg-plist  Mon Dec 25 11:26:40 2006
@@ -4,6 +4,7 @@
 bin/samsf
 bin/samsredir
 etc/rc.d/sams
+etc/sams.conf.sample
 share/nls/POSIX
 share/nls/en_US.US-ASCII
 share/sams/admin.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRY+dF7QNqrxww2yeAQKl4gQAmNwlxYgjpt/Vj/dkLQV6fLf+JThANSot
7nOsuK/eYFpoK09FMzuIQjt/kkr3AvqsN91HYshO//0vfRruSkc/yhpKwfzj9NuE
4X59plMuNbA+dA5ys7QdHf+dRJBJIBbrhNqeM2fzbvBUAnRTzNaBv5EWMV/PYWnw
frJciU0wYs8=
=X4va
-----END PGP SIGNATURE-----
Comment 4 dindin 2006-12-25 12:17:52 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Wilke wrote:
> On Mon, 25 Dec 2006 10:10:20 GMT
> Denis Barov <dindin@freebsd.org.ua> wrote:
> 
>>>  Good day, Martin.
>>>  
>>>  I think this patch is solution.
>>>  
> 
> Hi Denis, 
> 
> could you me please send this diff as attachment ?
> 
> - Martin
> 
ïk. Here it is.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRY/BcLQNqrxww2yeAQLzMwP9H3nL8npc2BnH61fugYm8GCZ81CbOM+jN
5xx0tvxRfOnRsJVVJm/Ku5zZJpLXCTLJB2cVqT0dyvH6ZmG7stGuoyZtMCqLF0q4
SIjtcEnmkMuyU0sCSCsJBAcUNoAceqaQqnwvt+LSwhdd32uNoeGpJf5wSdqYIdXf
uigIYbFUaA8=
=jUn+
-----END PGP SIGNATURE-----
Comment 5 Martin Wilke freebsd_committer freebsd_triage 2006-12-29 20:18:30 UTC
State Changed
From-To: feedback->closed

New port added. Thanks!
Comment 6 dfilter service freebsd_committer freebsd_triage 2006-12-29 20:18:53 UTC
miwi        2006-12-29 20:18:35 UTC

  FreeBSD ports repository

  Modified files:
    www                  Makefile 
  Added files:
    www/sams             Makefile distinfo pkg-descr pkg-plist 
    www/sams/files       patch-Makefile.in patch-configure 
                         patch-sams.conf pkg-message.in sams.sh.in 
                         setup.sh 
  Log:
  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>
  
  Revision  Changes    Path
  1.1653    +1 -0      ports/www/Makefile
  1.1       +66 -0     ports/www/sams/Makefile (new)
  1.1       +3 -0      ports/www/sams/distinfo (new)
  1.1       +27 -0     ports/www/sams/files/patch-Makefile.in (new)
  1.1       +34 -0     ports/www/sams/files/patch-configure (new)
  1.1       +29 -0     ports/www/sams/files/patch-sams.conf (new)
  1.1       +36 -0     ports/www/sams/files/pkg-message.in (new)
  1.1       +29 -0     ports/www/sams/files/sams.sh.in (new)
  1.1       +140 -0    ports/www/sams/files/setup.sh (new)
  1.1       +16 -0     ports/www/sams/pkg-descr (new)
  1.1       +668 -0    ports/www/sams/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"