head 1.11; access; symbols OPENPKG_E1_MP_HEAD:1.9 OPENPKG_E1_MP:1.9 OPENPKG_E1_MP_2_STABLE:1.8.2.2 OPENPKG_E1_FP:1.8.2.2 OPENPKG_2_STABLE_MP:1.8 OPENPKG_2_STABLE_20061018:1.8.2.2 OPENPKG_2_STABLE:1.8.0.2; locks; strict; comment @-- @; 1.11 date 2009.04.18.13.09.39; author rse; state Exp; branches; next 1.10; commitid 4pHXU27WTIGCZuKt; 1.10 date 2008.01.01.14.52.34; author rse; state Exp; branches; next 1.9; commitid B8esaHJHoduuKILs; 1.9 date 2007.01.01.17.37.20; author rse; state Exp; branches; next 1.8; commitid BicZD6VUl7GuqP0s; 1.8 date 2006.10.13.17.27.31; author thl; state Exp; branches 1.8.2.1; next 1.7; commitid q5GSxzsSDX29XxQr; 1.7 date 2006.10.12.11.08.27; author rse; state Exp; branches; next 1.6; commitid LKX3nJ9mwV1HUnQr; 1.6 date 2006.08.25.19.16.09; author rse; state Exp; branches; next 1.5; commitid Tvsj1UyQ8rQ89gKr; 1.5 date 2006.01.22.17.12.40; author rse; state Exp; branches; next 1.4; commitid Ey8dVXiQ8ciMnCir; 1.4 date 2006.01.11.13.48.11; author rse; state Exp; branches; next 1.3; commitid X1nG6v9gtGLxBbhr; 1.3 date 2006.01.01.13.12.58; author rse; state Exp; branches; next 1.2; commitid otZG8yKMCw1JFTfr; 1.2 date 2005.09.09.21.35.02; author steve; state Exp; branches; next 1.1; 1.1 date 2005.07.23.21.10.35; author rse; state Exp; branches; next ; 1.8.2.1 date 2006.10.13.17.27.31; author rse; state dead; branches; next 1.8.2.2; commitid iZxwRSmmWscPXUQr; 1.8.2.2 date 2006.10.16.14.49.20; author rse; state Exp; branches; next ; commitid iZxwRSmmWscPXUQr; desc @@ 1.11 log @bump years in copyright messages @ text @## ## dante.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2009 OpenPKG Foundation e.V. ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package information Name: dante Summary: SOCKS Proxy Toolkit URL: http://www.inet.no/dante/ Vendor: Inferno Nettverk A/S Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Network License: BSD/CMU-type Version: 1.1.19 Release: 20080101 # list of sources Source0: ftp://ftp.inet.no/pub/socks/dante-%{version}.tar.gz Source1: sockd.conf Source2: socks.conf Source3: rc.dante # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20060823 PreReq: OpenPKG, openpkg >= 20060823 AutoReq: no AutoReqProv: no %description Dante is a RFC1928 (SOCKS v5) based circuit-level firewall/proxy that can be used to provide convenient and secure network connectivity to a wide range of hosts while requiring only the server Dante runs on to have external network connectivity. Dante relays TCP and UDP both from outside the network to inside, and from inside to outside. %track prog dante = { version = %{version} url = ftp://ftp.inet.no/pub/socks/ regex = dante-(\d+\.\d+\.\d+)\.tar\.gz } %prep %setup -q %build # configure CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ CPPFLAGS="%{l_cppflags}" \ LDFLAGS="%{l_ldflags}" \ ./configure \ --prefix=%{l_prefix} \ --with-socks-conf=%{l_prefix}/etc/dante/socks.conf \ --with-sockd-conf=%{l_prefix}/etc/dante/sockd.conf \ --with-pidfile=%{l_prefix}/var/dante/sockd.pid \ --disable-libwrap \ --disable-preload # build %{l_make} %{l_mflags -O} %install # install rm -rf $RPM_BUILD_ROOT %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" # strip down installation rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/libsocks.so* %{l_shtool} subst \ -e 's;^\(dlname=.\).*\(.\);\1\2;' \ -e 's;^\(library_names=.\).*\(.\);\1\2;' \ $RPM_BUILD_ROOT%{l_prefix}/lib/libsocks.la # install default configurations %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/dante %{l_shtool} install -c -m 644 %{l_value -s -a} \ %{SOURCE sockd.conf} %{SOURCE socks.conf} \ $RPM_BUILD_ROOT%{l_prefix}/etc/dante/ # install run-command script %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d %{l_shtool} install -c -m 755 %{l_value -s -a} \ %{SOURCE rc.dante} \ $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/ # create run-time directory %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/var/dante/tmp # determine installation files %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%config %{l_prefix}/etc/dante/*' %files -f files %clean rm -rf $RPM_BUILD_ROOT %post # after upgrade, restart service [ $1 -eq 2 ] || exit 0 eval `%{l_rc} dante status 2>/dev/null` [ ".$dante_active" = .yes ] && %{l_rc} dante restart exit 0 %preun # before erase, stop service and remove log files [ $1 -eq 0 ] || exit 0 %{l_rc} dante stop 2>/dev/null rm -f $RPM_INSTALL_PREFIX/var/dante/sockd.log >/dev/null 2>&1 || true rm -f $RPM_INSTALL_PREFIX/var/dante/sockd.pid >/dev/null 2>&1 || true rm -f $RPM_INSTALL_PREFIX/var/dante/tmp/* >/dev/null 2>&1 || true exit 0 @ 1.10 log @Update package specifications according to OpenPKG year 2008 world order: http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html @ text @d3 1 a3 1 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. @ 1.9 log @Welcome Year 2007! @ text @d3 1 a3 2 ## Copyright (c) 2000-2007 OpenPKG Foundation e.V. ## Copyright (c) 2000-2007 Ralf S. Engelschall d35 1 a35 1 Release: 20061013 @ 1.8 log @new world order for "Packager" and "Distribution" headers @ text @d3 2 a4 2 ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. ## Copyright (c) 2000-2006 Ralf S. Engelschall @ 1.8.2.1 log @file dante.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:49:20 +0000 @ text @d1 142 @ 1.8.2.2 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @a0 142 ## ## dante.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. ## Copyright (c) 2000-2006 Ralf S. Engelschall ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package information Name: dante Summary: SOCKS Proxy Toolkit URL: http://www.inet.no/dante/ Vendor: Inferno Nettverk A/S Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Network License: BSD/CMU-type Version: 1.1.19 Release: 2.20061018 # list of sources Source0: ftp://ftp.inet.no/pub/socks/dante-%{version}.tar.gz Source1: sockd.conf Source2: socks.conf Source3: rc.dante # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 2.20061018 PreReq: OpenPKG, openpkg >= 2.20061018 AutoReq: no AutoReqProv: no %description Dante is a RFC1928 (SOCKS v5) based circuit-level firewall/proxy that can be used to provide convenient and secure network connectivity to a wide range of hosts while requiring only the server Dante runs on to have external network connectivity. Dante relays TCP and UDP both from outside the network to inside, and from inside to outside. %track prog dante = { version = %{version} url = ftp://ftp.inet.no/pub/socks/ regex = dante-(\d+\.\d+\.\d+)\.tar\.gz } %prep %setup -q %build # configure CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ CPPFLAGS="%{l_cppflags}" \ LDFLAGS="%{l_ldflags}" \ ./configure \ --prefix=%{l_prefix} \ --with-socks-conf=%{l_prefix}/etc/dante/socks.conf \ --with-sockd-conf=%{l_prefix}/etc/dante/sockd.conf \ --with-pidfile=%{l_prefix}/var/dante/sockd.pid \ --disable-libwrap \ --disable-preload # build %{l_make} %{l_mflags -O} %install # install rm -rf $RPM_BUILD_ROOT %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" # strip down installation rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/libsocks.so* %{l_shtool} subst \ -e 's;^\(dlname=.\).*\(.\);\1\2;' \ -e 's;^\(library_names=.\).*\(.\);\1\2;' \ $RPM_BUILD_ROOT%{l_prefix}/lib/libsocks.la # install default configurations %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/dante %{l_shtool} install -c -m 644 %{l_value -s -a} \ %{SOURCE sockd.conf} %{SOURCE socks.conf} \ $RPM_BUILD_ROOT%{l_prefix}/etc/dante/ # install run-command script %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d %{l_shtool} install -c -m 755 %{l_value -s -a} \ %{SOURCE rc.dante} \ $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/ # create run-time directory %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/var/dante/tmp # determine installation files %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%config %{l_prefix}/etc/dante/*' %files -f files %clean rm -rf $RPM_BUILD_ROOT %post # after upgrade, restart service [ $1 -eq 2 ] || exit 0 eval `%{l_rc} dante status 2>/dev/null` [ ".$dante_active" = .yes ] && %{l_rc} dante restart exit 0 %preun # before erase, stop service and remove log files [ $1 -eq 0 ] || exit 0 %{l_rc} dante stop 2>/dev/null rm -f $RPM_INSTALL_PREFIX/var/dante/sockd.log >/dev/null 2>&1 || true rm -f $RPM_INSTALL_PREFIX/var/dante/sockd.pid >/dev/null 2>&1 || true rm -f $RPM_INSTALL_PREFIX/var/dante/tmp/* >/dev/null 2>&1 || true exit 0 @ 1.7 log @disable libdsock.so preloading as it makes problems during building on some platforms @ text @d30 2 a31 2 Packager: OpenPKG Distribution: OpenPKG d36 1 a36 1 Release: 20061012 @ 1.6 log @replace '@@l_prefix@@/lib/openpkg/bash @@l_prefix@@/etc/rc' in shebang with '@@l_prefix@@/bin/openpkg rc' to allow people who run the rc.xxx scripts directly (as executables) to leverage from the Set-UID functionality @ text @d36 1 a36 1 Release: 20060825 d81 2 a82 1 --disable-libwrap @ 1.5 log @upgrading package: dante 1.1.18 -> 1.1.19 @ text @d36 1 a36 1 Release: 20060122 d47 2 a48 2 BuildPreReq: OpenPKG, openpkg >= 20040130 PreReq: OpenPKG, openpkg >= 20040130 @ 1.4 log @track releases only @ text @d35 2 a36 2 Version: 1.1.18 Release: 20060111 @ 1.3 log @adjust copyrights for new year 2006 @ text @d36 1 a36 1 Release: 20050909 d64 1 a64 1 regex = dante-(__VER__)\.tar\.gz @ 1.2 log @upgrading package: dante 1.1.17 -> 1.1.18 @ text @d3 2 a4 2 ## Copyright (c) 2000-2005 OpenPKG Foundation e.V. ## Copyright (c) 2000-2005 Ralf S. Engelschall @ 1.1 log @new package: dante 1.1.17 (SOCKS Proxy Toolkit) @ text @d35 2 a36 2 Version: 1.1.17 Release: 20050723 @