[csw-devel] SF.net SVN: gar:[4390] csw/mgar/pkg
valholla at users.sourceforge.net
valholla at users.sourceforge.net
Fri Apr 17 23:33:26 CEST 2009
Revision: 4390
http://gar.svn.sourceforge.net/gar/?rev=4390&view=rev
Author: valholla
Date: 2009-04-17 21:33:24 +0000 (Fri, 17 Apr 2009)
Log Message:
-----------
initial checkin
Added Paths:
-----------
csw/mgar/pkg/ss5/
csw/mgar/pkg/ss5/Makefile
csw/mgar/pkg/ss5/branch/
csw/mgar/pkg/ss5/tags/
csw/mgar/pkg/ss5/trunk/
csw/mgar/pkg/ss5/trunk/Makefile
csw/mgar/pkg/ss5/trunk/checksums
csw/mgar/pkg/ss5/trunk/files/
csw/mgar/pkg/ss5/trunk/files/ss5.init
Added: csw/mgar/pkg/ss5/Makefile
===================================================================
--- csw/mgar/pkg/ss5/Makefile (rev 0)
+++ csw/mgar/pkg/ss5/Makefile 2009-04-17 21:33:24 UTC (rev 4390)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+ @echo "You are in the pkg/ directory."
+
+%:
+ $(MAKE) -C trunk $*
+
+paranoid-%:
+ $(MAKE) -C trunk $* || exit 2
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+ $(MAKE) -C trunk $* || echo " *** make $* in $$i failed ***" >> $(BUILDLOG)
Added: csw/mgar/pkg/ss5/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ss5/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/ss5/trunk/Makefile 2009-04-17 21:33:24 UTC (rev 4390)
@@ -0,0 +1,59 @@
+GARNAME = ss5
+GARVERSION = 3.6.7-1
+CATEGORIES = lib
+
+DESCRIPTION = A SOCKS server that implements SOCKS v4 and v5 protocol
+define BLURB
+ SS5 is a socks server that implements the SOCKS v4 and v5 protocol.
+ As a proxy server, SS5 authenticates, profiles and processes network
+ requests for clients. It establishes connections to application
+ hosts for client applications. When the client attempts to access
+ the network, the client connects to the SS5 daemon instead of the
+ application host.
+endef
+
+MASTER_SITES = $(SF_MIRRORS)
+DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
+
+DISTNAME = $(GARNAME)-$(shell gecho $(GARVERSION) |gsed -e 's/-[0-9]//')
+
+PACKAGES = CSWss5
+CATALOGNAME_CSWss5 = ss5
+SPKG_DESC_CSWss5 = $(DESCRIPTION)
+
+#REQUIRED_PKGS_CSWss5 =
+
+# We define upstream file regex so we can be notifed of
+# new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*(-\d)*).tar.bz2
+
+GARCOMPILER = GNU
+TEST_SCRIPTS = skip
+
+test-skip:
+ @$(DONADA)
+
+#BUILD64 = 1
+#NO_ISAEXEC = 1
+
+prefix = $(DESTDIR)
+
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --with-configfile=/opt/csw/etc/ss5/ss5.conf
+CONFIGURE_ARGS += --with-passwordfile=/opt/csw/etc/ss5/ss5.passwd
+CONFIGURE_ARGS += --with-logfile=/opt/csw/var/log/ss5/ss5.log
+CONFIGURE_ARGS += --with-profilepath=/opt/csw/etc/ss5
+CONFIGURE_ARGS += --with-libpath=/opt/csw/lib
+CONFIGURE_ARGS += --with-tracepath=/opt/csw/var/log/ss5
+
+CONFIGURE_ARGS += --with-confpathbase=/opt/csw/etc
+CONFIGURE_ARGS += --with-binpathbase=/opt/csw/sbin
+CONFIGURE_ARGS += --with-docpathbase=/opt/csw/share/doc
+CONFIGURE_ARGS += --with-manpathbase=/opt/csw/man
+CONFIGURE_ARGS += --with-logpathbase=/opt/csw/var/log/ss5
+CONFIGURE_ARGS += --with-tracepathbase=/opt/csw/var/log/ss5
+
+post-install-modulated:
+ @(gcp downlad/ss5.init $(DESTDIR)/etc/init.d/ss5
+
+include gar/category.mk
Added: csw/mgar/pkg/ss5/trunk/checksums
===================================================================
--- csw/mgar/pkg/ss5/trunk/checksums (rev 0)
+++ csw/mgar/pkg/ss5/trunk/checksums 2009-04-17 21:33:24 UTC (rev 4390)
@@ -0,0 +1 @@
+34c8188c28b25a393e51f6938e4b7806 download/ss5-3.6.7-1.tar.gz
Added: csw/mgar/pkg/ss5/trunk/files/ss5.init
===================================================================
--- csw/mgar/pkg/ss5/trunk/files/ss5.init (rev 0)
+++ csw/mgar/pkg/ss5/trunk/files/ss5.init 2009-04-17 21:33:24 UTC (rev 4390)
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+case "$1" in
+ start)
+ # Start daemon
+ echo -n "Starting ss5... "
+ /opt/csw/sbin/ss5 -t
+ ;;
+ stop)
+ # Stop daemon
+ /usr/sbin/killall ss5
+ ;;
+ reload)
+ # Reload configuration
+ /usr/bin/pkill -HUP ss5
+ ;;
+ restart)
+ # restart daemon
+ $0 stop
+ $0 start
+ ;;
+ *)
+ echo "Usage: ss5 {start|stop|restart|reload}"
+ exit 1
+ ;;
+esac
+exit 0
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list