rpms/Pound/EL-5 .cvsignore, 1.6, 1.7 Pound.spec, 1.6, 1.7 sources, 1.6, 1.7

Ruben Kerkhof ruben at fedoraproject.org
Fri Oct 10 15:22:14 UTC 2008


Author: ruben

Update of /cvs/pkgs/rpms/Pound/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25592

Modified Files:
	.cvsignore Pound.spec sources 
Log Message:
* Fri Oct 10 2008 Ruben Kerkhof <ruben at rubenkerkhof.com> 2.4-2
- Upstream released new version



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/Pound/EL-5/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore	11 Apr 2007 21:48:31 -0000	1.6
+++ .cvsignore	10 Oct 2008 15:21:44 -0000	1.7
@@ -1 +1 @@
-Pound-2.3.tgz
+Pound-2.4.tgz


Index: Pound.spec
===================================================================
RCS file: /cvs/pkgs/rpms/Pound/EL-5/Pound.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Pound.spec	11 Apr 2007 21:48:31 -0000	1.6
+++ Pound.spec	10 Oct 2008 15:21:44 -0000	1.7
@@ -1,28 +1,29 @@
-%define pound_user	pound
-%define pound_group	%{pound_user}
-%define pound_home	%{_localstatedir}/lib/pound
-
-Name:		Pound          
-Version:	2.3
-Release:	1%{?dist}
-Summary:	Reverse proxy and load balancer        
-
-Group:		System Environment/Daemons
-License:	GPL        
-URL:		http://apsis.ch/pound
-
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:	openssl-devel, pcre-devel
-
-Requires(pre):		%{_sbindir}/useradd
-Requires(post):		/sbin/chkconfig
-Requires(preun):	/sbin/chkconfig, /sbin/service
-Requires(postun):	/sbin/service
-
-Source0:	http://apsis.ch/pound/%{name}-%{version}.tgz       
-Source1:	pound.init
-Source2:	pound.cfg
-Patch0:		pound-remove-owner.patch
+%define pound_user   pound
+%define pound_group  pound
+%define pound_home   %{_localstatedir}/lib/pound
+
+Name:        Pound
+Version:     2.4
+Release:     2%{?dist}
+Summary:     Reverse proxy and load balancer
+
+Group:       System Environment/Daemons
+License:     GPLv3
+URL:         http://www.apsis.ch/pound
+BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+
+BuildRequires: openssl-devel, pcre-devel
+
+Requires(pre):          %{_sbindir}/useradd
+Requires(post):         /sbin/chkconfig
+Requires(preun):        /sbin/chkconfig, /sbin/service
+Requires(postun):       /sbin/service
+
+Source0:        http://www.apsis.ch/pound/%{name}-%{version}.tgz       
+Source1:        pound.init
+Source2:        pound.cfg
+Patch0:         pound-remove-owner.patch
 
 %description
 The Pound program is a reverse proxy, load balancer and
@@ -56,8 +57,10 @@
 rm -rf %{buildroot}
 
 %pre
-%{_sbindir}/useradd -c "Pound user" -s /bin/false -r -d %{pound_home} \
-	%{pound_user} 2>/dev/null || :
+%{_sbindir}/groupadd -f -r %{pound_group}
+id %{pound_user} >/dev/null 2>&1 || \
+    %{_sbindir}/useradd -r -g %{pound_group} -d %{pound_home} -s /sbin/nologin \
+    -c "Pound user" %{pound_user}
 
 %post
 /sbin/chkconfig --add pound
@@ -84,18 +87,18 @@
 
 %preun
 if [ $1 = 0 ]; then
-	/sbin/service pound stop >/dev/null 2>&1
-	/sbin/chkconfig --del pound
+    /sbin/service pound stop >/dev/null 2>&1
+    /sbin/chkconfig --del pound
 fi
 
 %postun
 if [ $1 -ge 1 ] ; then
-	/sbin/service pound condrestart > /dev/null 2>&1 || :
+    /sbin/service pound condrestart > /dev/null 2>&1 || :
 fi
 
 %files
 %defattr(-,root,root,-)
-%doc CHANGELOG FAQ GPL.html README
+%doc CHANGELOG FAQ GPL.txt README
 %{_mandir}/man8/pound.8*
 %{_mandir}/man8/poundctl.8*
 %{_sbindir}/pound
@@ -106,6 +109,9 @@
 %attr(-,%{pound_user},%{pound_group}) %dir %{pound_home}
 
 %changelog
+* Fri Oct 10 2008 Ruben Kerkhof <ruben at rubenkerkhof.com> 2.4-2
+- Upstream released new version
+
 * Wed Apr 11 2007 Ruben Kerkhof <ruben at rubenkerkhof.com> 2.3-1
 - Update to 2.3
 * Sun Dec 17 2006 <ruben at rubenkerkhof.com> 2.2-2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/Pound/EL-5/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	11 Apr 2007 21:48:31 -0000	1.6
+++ sources	10 Oct 2008 15:21:44 -0000	1.7
@@ -1 +1 @@
-94251bfc0d38e7aa4d50bff971ddc72e  Pound-2.3.tgz
+94e4a9a0b60c5e547d81dfd62f72f9ef  Pound-2.4.tgz




More information about the fedora-extras-commits mailing list