SPECS: pound.spec - multiple instance support; rel 2

glen glen at pld-linux.org
Tue Sep 11 13:08:22 CEST 2007


Author: glen                         Date: Tue Sep 11 11:08:22 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- multiple instance support; rel 2

---- Files affected:
SPECS:
   pound.spec (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: SPECS/pound.spec
diff -u SPECS/pound.spec:1.49 SPECS/pound.spec:1.50
--- SPECS/pound.spec:1.49	Tue May 29 17:15:48 2007
+++ SPECS/pound.spec	Tue Sep 11 13:08:16 2007
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Pound - reverse-proxy i load-balancer
 Name:		pound
 Version:	2.3.2
-Release:	1
+Release:	2
 License:	GPL
 Group:		Networking/Daemons
 Source0:	http://www.apsis.ch/pound/Pound-%{version}.tgz
@@ -44,17 +44,17 @@
 
 %{__make} \
 	CC="%{__cc}" \
-	F_CONF=%{_sysconfdir}/pound/pound.cfg
+	F_CONF=%{_sysconfdir}/%{name}/pound.cfg
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_sysconfdir}/pound,/etc/rc.d/init.d}
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_sysconfdir}/pound,/var/run/%{name},/etc/rc.d/init.d}
 
 install pound    $RPM_BUILD_ROOT%{_sbindir}
 install poundctl $RPM_BUILD_ROOT%{_sbindir}
 install pound.8  $RPM_BUILD_ROOT%{_mandir}/man8
 install poundctl.8 $RPM_BUILD_ROOT%{_mandir}/man8
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pound
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 
 %clean
@@ -78,6 +78,7 @@
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pound/*
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %{_mandir}/man8/*
+%dir %attr(755,root,root) /var/run/%{name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -85,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.50  2007/09/11 11:08:16  glen
+- multiple instance support; rel 2
+
 Revision 1.49  2007/05/29 15:15:48  areq
 - 2.3.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pound.spec?r1=1.49&r2=1.50&f=u



More information about the pld-cvs-commit mailing list