SPECS: ipac-ng.spec, ipband.spec, iplog.spec, ippl.spec, ipxripd.s...

glen glen at pld-linux.org
Fri Mar 3 00:01:18 CET 2006


Author: glen                         Date: Thu Mar  2 23:01:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %service and adapterize

---- Files affected:
SPECS:
   ipac-ng.spec (1.44 -> 1.45) , ipband.spec (1.16 -> 1.17) , iplog.spec (1.37 -> 1.38) , ippl.spec (1.61 -> 1.62) , ipxripd.spec (1.38 -> 1.39) , ipxtund.spec (1.20 -> 1.21) , ircd-hybrid.spec (1.46 -> 1.47) , ircd-ptlink.spec (1.15 -> 1.16) , ircd.spec (1.82 -> 1.83) , irqbalance.spec (1.12 -> 1.13) , jabber-aim-transport.spec (1.7 -> 1.8) , jabber-msn-transport.spec (1.9 -> 1.10) , jabber-mu-conference.spec (1.21 -> 1.22) , jabberd.spec (1.92 -> 1.93) , janchor.spec (1.12 -> 1.13) , jit.spec (1.26 -> 1.27) , kdebase.spec (1.492 -> 1.493) , kdenetwork.spec (1.211 -> 1.212) , kudzu.spec (1.33 -> 1.34) , laptop-mode-tools.spec (1.7 -> 1.8) , linux-atm.spec (1.35 -> 1.36) , lm_sensors.spec (1.149 -> 1.150) , lms.spec (1.77 -> 1.78) , lvcool.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/ipac-ng.spec
diff -u SPECS/ipac-ng.spec:1.44 SPECS/ipac-ng.spec:1.45
--- SPECS/ipac-ng.spec:1.44	Sat Dec 24 20:57:47 2005
+++ SPECS/ipac-ng.spec	Fri Mar  3 00:01:11 2006
@@ -28,13 +28,13 @@
 BuildRequires:	mysql-devel
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	perl-base
-BuildRequires:	postgresql-devel
 BuildRequires:	postgresql-backend-devel
+BuildRequires:	postgresql-devel
 BuildRequires:	rpm-perlprov >= 3.0.3-16
-BuildRequires:	rpmbuild(macros) >= 1.176
+BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	sqlite-devel
-PreReq:		rc-scripts
 Requires(post,preun):	/sbin/chkconfig
+Requires:	rc-scripts
 Obsoletes:	ipac-ng-cgi
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -88,19 +88,11 @@
 
 %post
 /sbin/chkconfig --add ipac-ng
-if [ -f /var/lock/subsys/ipac-ng ]; then
-	/etc/rc.d/init.d/ipac-ng restart 1>&2
-else
-	%banner %{name} -e <<EOF
-Run \"/etc/rc.d/init.d/ipac-ng start\" to setup ipac-ng rules.
-EOF
-fi
+%service ipac-ng restart
 
 %preun
 if [ "$1" = "0" ]; then
-	if [ -f /var/lock/subsys/ipac-ng ]; then
-		/etc/rc.d/init.d/ipac-ng stop 1>&2
-	fi
+	%service ipac-ng stop
 	/sbin/chkconfig --del ipac-ng
 fi
 
@@ -123,6 +115,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.45  2006/03/02 23:01:11  glen
+- use %service and adapterize
+
 Revision 1.44  2005/12/24 19:57:47  arekm
 - rel 4; builds; running untested
 

================================================================
Index: SPECS/ipband.spec
diff -u SPECS/ipband.spec:1.16 SPECS/ipband.spec:1.17
--- SPECS/ipband.spec:1.16	Mon Dec 12 17:24:19 2005
+++ SPECS/ipband.spec	Fri Mar  3 00:01:11 2006
@@ -11,8 +11,9 @@
 Patch0:		%{name}-DESTDIR.patch
 Patch1:		%{name}-PLD_rc.patch
 Patch2:		%{name}-paths.patch
-URL:		http://ipband.sf.net/
+URL:		http://ipband.sourceforge.net/
 BuildRequires:	libpcap-devel
+BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(post,preun):	/sbin/chkconfig
 Requires:	rc-scripts
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -64,17 +65,11 @@
 
 %post
 /sbin/chkconfig --add ipband
-if [ -f /var/lock/subsys/ipband ]; then
-	/etc/rc.d/init.d/ipband restart 1>&2
-else
-	echo "Run \"/etc/rc.d/init.d/ipband start\" to start ipband daemon."
-fi
+%service ipband restart "ipband daemon"
 
 %preun
 if [ "$1" = "0" ]; then
-	if [ -f /var/lock/subsys/ipband ]; then
-		/etc/rc.d/init.d/ipband stop 1>&2
-	fi
+	%service ipband stop
 	/sbin/chkconfig --del ipband
 fi
 
@@ -93,6 +88,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2006/03/02 23:01:11  glen
+- use %service and adapterize
+
 Revision 1.16  2005/12/12 16:24:19  glen
 - adapterized (sorted %verify attrs)
 

================================================================
Index: SPECS/iplog.spec
diff -u SPECS/iplog.spec:1.37 SPECS/iplog.spec:1.38
--- SPECS/iplog.spec:1.37	Sun Dec  4 23:58:06 2005
+++ SPECS/iplog.spec	Fri Mar  3 00:01:11 2006
@@ -14,6 +14,7 @@
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libpcap-devel
+BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(post,preun):	/sbin/chkconfig
 Requires:	rc-scripts
 Obsoletes:	ippl
@@ -54,17 +55,11 @@
 
 %post
 /sbin/chkconfig --add iplog
-if [ -f /var/lock/subsys/iplog ]; then
-	/etc/rc.d/init.d/iplog restart >&2
-else
-	echo "Run \"/etc/rc.d/init.d/iplog start\" to start iplog daemon."
-fi
+%service iplog restart "iplog daemon"
 
 %preun
 if [ "$0" = "1" ]; then
-	if [ -f /var/lock/subsys/iplog ]; then
-		/etc/rc.d/init.d/iplog stop >&2
-	fi
+	%service iplog stop
 	/sbin/chkconfig --del iplog
 fi
 
@@ -82,6 +77,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.38  2006/03/02 23:01:11  glen
+- use %service and adapterize
+
 Revision 1.37  2005/12/04 22:58:06  glen
 - adapterized (sorted %verify flags)
 

================================================================
Index: SPECS/ippl.spec
diff -u SPECS/ippl.spec:1.61 SPECS/ippl.spec:1.62
--- SPECS/ippl.spec:1.61	Mon Jun  6 19:07:33 2005
+++ SPECS/ippl.spec	Fri Mar  3 00:01:11 2006
@@ -7,7 +7,6 @@
 Version:	1.99.5
 Release:	10
 License:	GPL
-Vendor:		Hugo Haas & Etienne Bernard <ippl at via.ecp.fr>
 Group:		Networking
 Source0:	http://pltplp.net/ippl/archive/dev/%{name}-%{version}.tar.gz
 # Source0-md5:	68349a916ed5fa20b43d1712ca70fbbf
@@ -20,10 +19,11 @@
 BuildRequires:	bison
 BuildRequires:	flex
 BuildRequires:	libpcap-devel
-PreReq:		rc-scripts
+BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(post,preun):	/sbin/chkconfig
 Requires:	logrotate
 Requires:	psmisc >= 20.1
+Requires:	rc-scripts
 Obsoletes:	iplog
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -74,17 +74,11 @@
 
 %post
 /sbin/chkconfig --add ippl
-if [ -f /var/lock/subsys/ippl ]; then
-	/etc/rc.d/init.d/ippl restart >&2
-else
-	echo "Run \"/etc/rc.d/init.d/ippl start\" to start ippld daemon."
-fi
+%service ippl restart "ippld daemon"
 
 %preun
 if [ "$0" = "1" ]; then
-	if [ -f /var/lock/subsys/ippl ]; then
-		/etc/rc.d/init.d/ippl stop >&2
-	fi
+	%service ippl sto
 	/sbin/chkconfig --del ippl
 fi
 
@@ -105,6 +99,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.62  2006/03/02 23:01:11  glen
+- use %service and adapterize
+
 Revision 1.61  2005/06/06 17:07:33  zbyniu
 - BR: libpcap-devel; sorted verify() flags
 

================================================================
Index: SPECS/ipxripd.spec
diff -u SPECS/ipxripd.spec:1.38 SPECS/ipxripd.spec:1.39
--- SPECS/ipxripd.spec:1.38	Mon Dec 12 17:24:19 2005
+++ SPECS/ipxripd.spec	Fri Mar  3 00:01:11 2006
@@ -7,7 +7,6 @@
 Release:	9
 License:	GPL
 Group:		Networking/Daemons
-Vendor:		Volker Lendecke <lendecke at namu01.gwdg.de>
 Source0:	ftp://ftp.gwdg.de/pub/linux/misc/ncpfs/%{name}-%{version}.tar.gz
 # Source0-md5:	5e1ae45421d45eca67a435c6e5467ea1
 Source1:	%{name}.init
@@ -16,6 +15,7 @@
 Patch0:		%{name}-glibc2.1.patch
 Patch1:		%{name}-gcc33.patch
 Patch2:		%{name}-kernel26.patch
+BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(post,preun):	/sbin/chkconfig
 Requires:	rc-scripts >= 0.2.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -43,7 +43,8 @@
 %patch2 -p1
 
 %build
-%{__make} CFLAGS="%{rpmcflags}"
+%{__make} \
+	CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -65,18 +66,15 @@
 
 %post
 /sbin/chkconfig --add ipxripd
-if [ -f /var/lock/subsys/ipxripd ]; then
-	/etc/rc.d/init.d/ipxripd restart >&2
-else
-	echo "Run \"/etc/rc.d/init.d/ipxripd start\" to start IPX routing daemon."
+if [ ! -f /var/log/ipxd ]; then
+	umask 002
+	touch /var/log/ipxd
 fi
-touch /var/log/ipxd
+%service ipxripd restart "IPX routing daemon"
 
 %preun
 if [ "$1" = "0" ]; then
-	if [ -f /var/lock/subsys/ipxripd ]; then
-		/etc/rc.d/init.d/ipxripd stop >&2
-	fi
+	%service ipxripd stop
 	/sbin/chkconfig --del ipxripd
 fi
 
@@ -100,6 +98,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2006/03/02 23:01:11  glen
+- use %service and adapterize
+
 Revision 1.38  2005/12/12 16:24:19  glen
 - adapterized (sorted %verify attrs)
 
@@ -134,7 +135,7 @@
 - massive attack s/pld.org.pl/pld-linux.org/
 
 Revision 1.27  2002/11/27 21:10:39  juandon
-- new %%doc
+- new %doc
 
 Revision 1.26  2002/09/24 16:57:39  baggins
 - release 6
@@ -142,7 +143,7 @@
 - changed log name to be consistent with package name
 
 Revision 1.25  2002/04/25 16:37:29  arturs
-fixed a small typo
+- fixed a small typo
 
 Revision 1.24  2002/02/22 23:29:04  kloczek
 - removed all Group fields translations (our rpm now can handle translating
@@ -155,7 +156,7 @@
 - ugly words replaced with "?" ;-)
 
 Revision 1.21  2002/01/18 02:13:21  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.20  2001/09/24 15:13:48  kloczek
 - adapterized and added pt_BR translation stolen from CNV.
@@ -173,13 +174,13 @@
 - don't fuck with someone elses files
 
 Revision 1.15  2001/05/02 16:29:06  qboosh
-- adapterized and made spec %%debug ready or added using %%rpm*flags macros
+- adapterized and made spec %debug ready or added using %rpm*flags macros
 
 Revision 1.14  2001/02/01 16:27:34  kloczek
 - Requires for rc-scripts changed to Prereq.
 
 Revision 1.13  2000/06/09 07:23:03  kloczek
-- added using %%{__make} macro.
+- added using %{__make} macro.
 
 Revision 1.12  2000/05/21 01:39:51  kloczek
 - spec adapterized.

================================================================
Index: SPECS/ipxtund.spec
diff -u SPECS/ipxtund.spec:1.20 SPECS/ipxtund.spec:1.21
--- SPECS/ipxtund.spec:1.20	Mon Dec 12 17:24:19 2005
+++ SPECS/ipxtund.spec	Fri Mar  3 00:01:11 2006
@@ -6,7 +6,6 @@
 Release:	5
 License:	GPL
 Group:		Daemons
-Vendor:		Hinrich Eilts  <eilts at tor.muc.de>
 Source0:	ftp://sunsite.unc.edu/pub/Linux/system/network/daemons/%{name}-%{version}.tgz
 # Source0-md5:	28bd6adeefafc2a3cd0ee39a44098bec
 Source1:	%{name}.init
@@ -37,9 +36,8 @@
 %patch1 -p1
 
 %build
-OPT="%{rpmcflags}"; export OPT
+export OPT="%{rpmcflags}"
 ./Configure
-
 %{__make}
 
 %install
@@ -51,7 +49,7 @@
 install examples/ipxtund.conf	$RPM_BUILD_ROOT%{_sysconfdir}
 install	*.7			$RPM_BUILD_ROOT%{_mandir}/man7
 install %{SOURCE1}		$RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
-install %{SOURCE2}		$RPM_BUILD_ROOT/etc//sysconfig/%{name}
+install %{SOURCE2}		$RPM_BUILD_ROOT/etc/sysconfig/%{name}
 echo ".so %{name}.7" >	$RPM_BUILD_ROOT%{_mandir}/man5/%{name}.conf.5
 touch				$RPM_BUILD_ROOT%{_var}/log/%{name}.log
 
@@ -60,12 +58,11 @@
 
 %post
 /sbin/chkconfig --add %{name}
+%service %{name} restart
 
 %preun
 if [ "$1" = "0" ]; then
-	if [ -f /var/lock/subsys/%{name} ]; then
-		/etc/rc.d/init.d/%{name} stop 1>&2
-	fi
+	%service %{name} stop
 	/sbin/chkconfig --del %{name}
 fi
 
@@ -85,6 +82,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2006/03/02 23:01:11  glen
+- use %service and adapterize
+
 Revision 1.20  2005/12/12 16:24:19  glen
 - adapterized (sorted %verify attrs)
 
@@ -104,13 +104,13 @@
 - massive attack s/pld.org.pl/pld-linux.org/
 
 Revision 1.14  2002/12/07 14:33:06  ankry
-- fix improper usage of %%{_sysconfdir}
+- fix improper usage of %{_sysconfdir}
 
 Revision 1.13  2002/11/27 21:10:39  juandon
-- new %%doc
+- new %doc
 
 Revision 1.12  2002/04/25 16:37:30  arturs
-fixed a small typo
+- fixed a small typo
 
 Revision 1.11  2002/04/09 19:34:14  ankry
 - removed man section from .so redirections
@@ -121,7 +121,7 @@
   Group field using gettext).
 
 Revision 1.9  2002/01/18 02:13:21  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.8  2001/09/24 14:04:45  qboosh
 - release 3: Prereq: /sbin/chkconfig (rc-scripts does not require it)
@@ -137,7 +137,7 @@
 - prereq chkconfig
 
 Revision 1.3  2001/05/02 16:29:06  qboosh
-- adapterized and made spec %%debug ready or added using %%rpm*flags macros
+- adapterized and made spec %debug ready or added using %rpm*flags macros
 
 Revision 1.2  2000/08/27 16:06:31  kloczek
 - adapterized and some cosmetics.

================================================================
Index: SPECS/ircd-hybrid.spec
diff -u SPECS/ircd-hybrid.spec:1.46 SPECS/ircd-hybrid.spec:1.47
--- SPECS/ircd-hybrid.spec:1.46	Mon Dec 12 17:24:19 2005
+++ SPECS/ircd-hybrid.spec	Fri Mar  3 00:01:11 2006
@@ -6,10 +6,8 @@
 # Conditional build:
 %bcond_with	ipv6		# - enable ipv6 support - do not use for v4-only machines.
 %bcond_with	ssl		# - enable use ssl
-%bcond_with	longnicks	# - enable long nicknames.  All servers on the network
-				#   must use the same length.
-%bcond_with	longtopics	# - enable long topics.  All servers on the network
-				#   must use the same length.
+%bcond_with	longnicks	# - enable long nicknames.  All servers on the network must use the same length.
+%bcond_with	longtopics	# - enable long topics.  All servers on the network must use the same length.
 #
 Summary:	Internet Relay Chat Server
 Summary(pl):	Serwer IRC
@@ -33,7 +31,7 @@
 BuildRequires:	bison
 BuildRequires:	flex
 BuildRequires:	gettext-devel
-BuildRequires:	rpmbuild(macros) >= 1.202
+BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	zlib-devel
 Requires(post,preun):	/sbin/chkconfig
 Requires(postun):	/usr/sbin/groupdel
@@ -47,8 +45,8 @@
 Provides:	user(ircd)
 Obsoletes:	bircd
 Obsoletes:	ircd
-Obsoletes:	ircd6
 Obsoletes:	ircd-ptlink
+Obsoletes:	ircd6
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_sysconfdir	/etc/ircd
@@ -78,15 +76,15 @@
 %{__autoconf}
 CFLAGS="%{rpmcflags} %{?debug:-DDEBUGMODE}"
 %configure \
-		--enable-zlib \
-		%{?with_ipv6:--enable-ipv6} \
-		--enable-small-net \
-		%{?with_longnicks:--with-nicklen=20} \
-		%{?with_longtopics:--with-topiclen=500} \
-		%{?with_ssl:--enable-openssl} \
-		%{!?with_ssl:--disable-openssl} \
-		--enable-shared-modules \
-		--with-maxclients=512
+	--enable-zlib \
+	%{?with_ipv6:--enable-ipv6} \
+	--enable-small-net \
+	%{?with_longnicks:--with-nicklen=20} \
+	%{?with_longtopics:--with-topiclen=500} \
+	%{?with_ssl:--enable-openssl} \
+	%{!?with_ssl:--disable-openssl} \
+	--enable-shared-modules \
+	--with-maxclients=512
 %{__make}
 
 %install
@@ -129,17 +127,11 @@
 
 %post
 /sbin/chkconfig --add ircd
-if [ -f /var/lock/subsys/ircd ]; then
-	/etc/rc.d/init.d/ircd restart 1>&2
-else
-	echo "Run \"/etc/rc.d/init.d/ircd start\" to start IRC daemon."
-fi
+%service ircd restart "IRC daemon"
 
 %preun
 if [ "$1" = "0" ]; then
-	if [ -f /var/lock/subsys/ircd ]; then
-		/etc/rc.d/init.d/ircd stop 1>&2
-	fi
+	%service ircd stop
 	/sbin/chkconfig --del ircd
 fi
 
@@ -180,6 +172,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.47  2006/03/02 23:01:11  glen
+- use %service and adapterize
+
 Revision 1.46  2005/12/12 16:24:19  glen
 - adapterized (sorted %verify attrs)
 

================================================================
Index: SPECS/ircd-ptlink.spec
diff -u SPECS/ircd-ptlink.spec:1.15 SPECS/ircd-ptlink.spec:1.16
--- SPECS/ircd-ptlink.spec:1.15	Mon Dec 12 17:24:19 2005
+++ SPECS/ircd-ptlink.spec	Fri Mar  3 00:01:11 2006
@@ -1,6 +1,6 @@
 # $Revision$, $Date$
 # TODO:
-# - add modyfications for use system avalaible shared adns library.
+# - add modifications for use system avalaible shared adns library.
 # - rewrite ipv6 support to work with non-v6 systems
 #
 # Conditional build:
@@ -21,7 +21,7 @@
 URL:		http://www.ptlink.net/Coders/
 BuildRequires:	autoconf
 BuildRequires:	automake
-BuildRequires:	rpmbuild(macros) >= 1.202
+BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	zlib-devel
 Requires(post,preun):	/sbin/chkconfig
 Requires(postun):	/usr/sbin/groupdel
@@ -35,8 +35,8 @@
 Provides:	user(ircd)
 Obsoletes:	bircd
 Obsoletes:	ircd
-Obsoletes:	ircd6
 Obsoletes:	ircd-hybrid
+Obsoletes:	ircd6
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_sysconfdir	/etc/ircd
@@ -93,17 +93,11 @@
 
 %post
 /sbin/chkconfig --add ircd
-if [ -f /var/lock/subsys/ircd ]; then
-	/etc/rc.d/init.d/ircd restart 1>&2
-else
-	echo "Run \"/etc/rc.d/init.d/ircd start\" to start IRC daemon."
-fi
+%service ircd restart "IRC daemon"
 
 %preun
 if [ "$1" = "0" ]; then
-	if [ -f /var/lock/subsys/ircd ]; then
-		/etc/rc.d/init.d/ircd stop 1>&2
-	fi
+	%service ircd stop
 	/sbin/chkconfig --del ircd
 fi
 
@@ -133,6 +127,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2006/03/02 23:01:11  glen
+- use %service and adapterize
+
 Revision 1.15  2005/12/12 16:24:19  glen
 - adapterized (sorted %verify attrs)
 

================================================================
Index: SPECS/ircd.spec
diff -u SPECS/ircd.spec:1.82 SPECS/ircd.spec:1.83
--- SPECS/ircd.spec:1.82	Wed Mar  1 00:53:22 2006
+++ SPECS/ircd.spec	Fri Mar  3 00:01:11 2006
@@ -25,7 +25,7 @@
 #BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	ncurses-devel
-BuildRequires:	rpmbuild(macros) >= 1.202
+BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	textutils
 BuildRequires:	zlib-devel
 Requires(post):	fileutils
@@ -134,26 +134,18 @@
 
 %post
 /sbin/chkconfig --add ircd
-if [ -f /var/lock/subsys/ircd ]; then
-	/etc/rc.d/init.d/ircd restart 1>&2
-else
-	echo "Run \"/etc/rc.d/init.d/ircd start\" to start IRC daemon."
-fi
+%service ircd restart "IRC daemon"
 touch /var/log/ircd/ircd.{auth,opers,rejects,users,log}
 chmod 640 /var/log/ircd/*
 chown ircd:ircd /var/log/ircd/*
 
 %preun
-# If package is being erased for the last time.
 if [ "$1" = "0" ]; then
-	if [ -f /var/lock/subsys/ircd ]; then
-		/etc/rc.d/init.d/ircd stop 1>&2
-	fi
+	%service ircd stop
 	/sbin/chkconfig --del ircd
 fi
 
 %postun
-# If package is being erased for the last time.
 if [ "$1" = "0" ]; then
 	%userremove ircd
 	%groupremove ircd
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ipac-ng.spec?r1=1.44&r2=1.45&f=u
    http://cvs.pld-linux.org/SPECS/ipband.spec?r1=1.16&r2=1.17&f=u
    http://cvs.pld-linux.org/SPECS/iplog.spec?r1=1.37&r2=1.38&f=u
    http://cvs.pld-linux.org/SPECS/ippl.spec?r1=1.61&r2=1.62&f=u
    http://cvs.pld-linux.org/SPECS/ipxripd.spec?r1=1.38&r2=1.39&f=u
    http://cvs.pld-linux.org/SPECS/ipxtund.spec?r1=1.20&r2=1.21&f=u
    http://cvs.pld-linux.org/SPECS/ircd-hybrid.spec?r1=1.46&r2=1.47&f=u
    http://cvs.pld-linux.org/SPECS/ircd-ptlink.spec?r1=1.15&r2=1.16&f=u
    http://cvs.pld-linux.org/SPECS/ircd.spec?r1=1.82&r2=1.83&f=u
    http://cvs.pld-linux.org/SPECS/irqbalance.spec?r1=1.12&r2=1.13&f=u
    http://cvs.pld-linux.org/SPECS/jabber-aim-transport.spec?r1=1.7&r2=1.8&f=u
    http://cvs.pld-linux.org/SPECS/jabber-msn-transport.spec?r1=1.9&r2=1.10&f=u
    http://cvs.pld-linux.org/SPECS/jabber-mu-conference.spec?r1=1.21&r2=1.22&f=u
    http://cvs.pld-linux.org/SPECS/jabberd.spec?r1=1.92&r2=1.93&f=u
    http://cvs.pld-linux.org/SPECS/janchor.spec?r1=1.12&r2=1.13&f=u
    http://cvs.pld-linux.org/SPECS/jit.spec?r1=1.26&r2=1.27&f=u
    http://cvs.pld-linux.org/SPECS/kdebase.spec?r1=1.492&r2=1.493&f=u
    http://cvs.pld-linux.org/SPECS/kdenetwork.spec?r1=1.211&r2=1.212&f=u
    http://cvs.pld-linux.org/SPECS/kudzu.spec?r1=1.33&r2=1.34&f=u
    http://cvs.pld-linux.org/SPECS/laptop-mode-tools.spec?r1=1.7&r2=1.8&f=u
    http://cvs.pld-linux.org/SPECS/linux-atm.spec?r1=1.35&r2=1.36&f=u
    http://cvs.pld-linux.org/SPECS/lm_sensors.spec?r1=1.149&r2=1.150&f=u
    http://cvs.pld-linux.org/SPECS/lms.spec?r1=1.77&r2=1.78&f=u
    http://cvs.pld-linux.org/SPECS/lvcool.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list