Author: pawelz Date: Wed Aug 26 09:43:33 2009 GMT Module: packages Tag: TINYPROXY_1_6 ---- Log message: - up to 1.6.4 - backported some changes from devel: - enable transparent proxy - use %service macro - dependencies - adapterized, utfized - this is last stable version, not HEAD. Should we move this to HEAD, and HEAD to DEVEL?
---- Files affected: packages/tinyproxy: tinyproxy.spec (1.16 -> 1.16.2.1) ---- Diffs: ================================================================ Index: packages/tinyproxy/tinyproxy.spec diff -u packages/tinyproxy/tinyproxy.spec:1.16 packages/tinyproxy/tinyproxy.spec:1.16.2.1 --- packages/tinyproxy/tinyproxy.spec:1.16 Fri Oct 24 01:37:20 2003 +++ packages/tinyproxy/tinyproxy.spec Wed Aug 26 11:43:27 2009 @@ -1,19 +1,22 @@ # $Revision$, $Date$ Summary: Small HTTP/SSL proxy deamon -Summary(pl): Ma�y demon proxy +Summary(pl): Mały demon proxy Name: tinyproxy -Version: 1.6.2 -Release: 3 +Version: 1.6.4 +Release: 1 License: GPL v2 -Group: Networking/Daemons -Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -# Source0-md5: 08abe93ebd3a229a68e471bb5e013c46 -Source1: tinyproxy.init -Patch0: tinyproxy-config.patch +Group: Networking/Daemons/HTTP +Source0: https://www.banu.com/pub/tinyproxy/1.6/%{name}-%{version}.tar.gz +# Source0-md5: 3157b9159a8d005f4248cf4d4d6c65e2 +Source1: %{name}.init +Patch0: %{name}-config.patch URL: http://tinyproxy.sourceforge.net/ BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool +BuildRequires: rpmbuild(macros) >= 1.228 +Requires(post,preun): /sbin/chkconfig +Requires: rc-scripts BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -21,8 +24,8 @@ very useful in a small network. %description -l pl -Tinyproxy jest ma�ym, wydajnym demonem proxy. Jest bardzo przydatny w -ma�ych sieciach lokalnych. +Tinyproxy jest małym, wydajnym demonem proxy. Jest bardzo przydatny w +małych sieciach lokalnych. %prep %setup -q @@ -34,7 +37,8 @@ %{__autoconf} %{__autoheader} %{__automake} -%configure +%configure \ + --enable-transparent-proxy %{__make} @@ -52,17 +56,11 @@ %post /sbin/chkconfig --add tinyproxy -if [ -f /var/lock/subsys/tinyproxy ]; then - /etc/rc.d/init.d/tinyproxy restart 1>&2 -else - echo "Run \"/etc/rc.d/init.d/tinyproxy start\" to start tinyproxy daemon." -fi +%service tinyproxy restart "tinyproxy daemon" %preun if [ "$1" = "0" ]; then - if [ -f /var/lock/subsys/tinyproxy ]; then - /etc/rc.d/init.d/tinyproxy stop 1>&2 - fi + %service tinyproxy stop /sbin/chkconfig --del tinyproxy fi @@ -70,9 +68,10 @@ %defattr(644,root,root,755) %doc AUTHORS README TODO %attr(755,root,root) %{_bindir}/* -%attr(644,root,root) %{_sysconfdir}/tinyproxy +%dir %{_sysconfdir}/tinyproxy +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tinyproxy %attr(754,root,root) /etc/rc.d/init.d/tinyproxy -%{_mandir}/man8/tinyproxy* +%{_mandir}/man8/tinyproxy.8* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -80,6 +79,16 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.16.2.1 2009/08/26 09:43:27 pawelz +- up to 1.6.4 +- backported some changes from devel: + - enable transparent proxy + - use %service macro + - dependencies +- adapterized, utfized +- this is last stable version, not HEAD. Should we move this to HEAD, and HEAD + to DEVEL? + Revision 1.16 2003/10/23 23:37:20 adamg - updated to 1.6.2 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tinyproxy/tinyproxy.spec?r1=1.16&r2=1.16.2.1&f=u
_______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
