SPECS: quagga.spec - fixed typo in Source34 and Source35 - build I...

wiget wiget at pld-linux.org
Thu Jun 16 14:07:47 CEST 2005


Author: wiget                        Date: Thu Jun 16 12:07:47 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed typo in Source34 and Source35
- build IS-IS deamon and package it in isisd subpackage  
- enable ICMP Router Discovery Protocol  
- release 2

---- Files affected:
SPECS:
   quagga.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/quagga.spec
diff -u SPECS/quagga.spec:1.26 SPECS/quagga.spec:1.27
--- SPECS/quagga.spec:1.26	Fri May  6 11:09:03 2005
+++ SPECS/quagga.spec	Thu Jun 16 14:07:42 2005
@@ -4,7 +4,7 @@
 Summary(pl):	Zestaw oprogramowania do routingu
 Name:		quagga
 Version:	0.99.1
-Release:	1
+Release:	2
 License:	GPL
 Group:		Networking/Daemons
 Source0:	http://www.quagga.net/download/%{name}-%{version}.tar.gz
@@ -16,18 +16,21 @@
 Source13:	%{name}-ospfd.init
 Source14:	%{name}-ripd.init
 Source15:	%{name}-ripngd.init
+Source16:	%{name}-isisd.init
 Source20:	%{name}-zebra.sysconfig
 Source21:	%{name}-bgpd.sysconfig
 Source22:	%{name}-ospf6d.sysconfig
 Source23:	%{name}-ospfd.sysconfig
 Source24:	%{name}-ripd.sysconfig
 Source25:	%{name}-ripngd.sysconfig
+Source26:	%{name}-isisd.sysconfig
 Source30:	%{name}-zebra.logrotate
 Source31:	%{name}-bgpd.logrotate
 Source32:	%{name}-ospfd.logrotate
 Source33:	%{name}-ospf6d.logrotate
-Source34:	%{name}-ripngd.logrotate
-Source35:	%{name}-ripd.logrotate
+Source34:	%{name}-ripd.logrotate
+Source35:	%{name}-ripngd.logrotate
+Source36:	%{name}-isisd.logrotate
 Patch0:		%{name}-info.patch
 Patch1:		%{name}-proc.patch
 Patch2:		%{name}-ospf_lsdb.patch
@@ -154,6 +157,16 @@
 %description ripngd -l pl
 Demon obsługi protokołu RIP w sieciach IPv6.
 
+%package isisd
+Summary:	IS-IS routing daemon
+Summary(pl):	Demon routingu IS-IS
+Group:		Networking/Daemons
+Requires:	%{name} = %{version}-%{release}
+Requires(post,preun):	/sbin/chkconfig
+
+%description isisd
+IS-IS routing daemon.
+
 %package devel
 Summary:	Header files for quagga libraries
 Summary(pl):	Pliki nagłówkowe bibliotek quagga
@@ -206,6 +219,9 @@
 	--enable-group=quagga \
 	--enable-vty-group=quaggavty \
 	--enable-rtadv \
+	--enable-isisd \
+	--disable-isis-topology \
+	--enable-irdp \
         --disable-watchquagga \
 	--with-libpam
 
@@ -229,6 +245,7 @@
 install %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/ospfd
 install %{SOURCE14} $RPM_BUILD_ROOT/etc/rc.d/init.d/ripd
 install %{SOURCE15} $RPM_BUILD_ROOT/etc/rc.d/init.d/ripngd
+install %{SOURCE16} $RPM_BUILD_ROOT/etc/rc.d/init.d/isisd
 
 install %{SOURCE20} $RPM_BUILD_ROOT/etc/sysconfig/zebra
 install %{SOURCE21} $RPM_BUILD_ROOT/etc/sysconfig/bgpd
@@ -236,6 +253,7 @@
 install %{SOURCE23} $RPM_BUILD_ROOT/etc/sysconfig/ospfd
 install %{SOURCE24} $RPM_BUILD_ROOT/etc/sysconfig/ripd
 install %{SOURCE25} $RPM_BUILD_ROOT/etc/sysconfig/ripngd
+install %{SOURCE26} $RPM_BUILD_ROOT/etc/sysconfig/isisd
 
 install %{SOURCE30} $RPM_BUILD_ROOT/etc/logrotate.d/zebra
 install %{SOURCE31} $RPM_BUILD_ROOT/etc/logrotate.d/bgpd
@@ -243,10 +261,11 @@
 install %{SOURCE33} $RPM_BUILD_ROOT/etc/logrotate.d/ospf6d
 install %{SOURCE34} $RPM_BUILD_ROOT/etc/logrotate.d/ripd
 install %{SOURCE35} $RPM_BUILD_ROOT/etc/logrotate.d/ripngd
+install %{SOURCE36} $RPM_BUILD_ROOT/etc/logrotate.d/isisd
 
-touch $RPM_BUILD_ROOT/var/log/%{name}/{zebra,bgpd,ospf6d,ospfd,ripd,ripngd}.log
+touch $RPM_BUILD_ROOT/var/log/%{name}/{zebra,bgpd,ospf6d,ospfd,ripd,ripngd,isisd}.log
 
-touch $RPM_BUILD_ROOT%{_sysconfdir}/{vtysh,zebra,bgpd,ospf6d,ospfd,ripd,ripngd}.conf
+touch $RPM_BUILD_ROOT%{_sysconfdir}/{vtysh,zebra,bgpd,ospf6d,ospfd,ripd,ripngd,isisd}.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -325,6 +344,17 @@
 	echo "Run '/etc/rc.d/init.d/ripngd start' to start ripngd routing deamon." >&2
 fi
 
+%post isisd
+/sbin/chkconfig --add isisd >&2
+if [ ! -s %{_sysconfdir}/isisd.conf ]; then
+	echo "hostname `hostname`" > %{_sysconfdir}/isisd.conf
+fi
+if [ -f /var/lock/subsys/isisd ]; then
+	/etc/rc.d/init.d/isisd restart >&2
+else
+	echo "Run '/etc/rc.d/init.d/isisd start' to start IS-IS routing deamon." >&2
+fi
+
 %preun
 if [ "$1" = "0" ]; then
 	if [ -f /var/lock/subsys/zebra ]; then
@@ -373,6 +403,14 @@
 	/sbin/chkconfig --del ripngd >&2
 fi
 
+%preun isisd
+if [ "$1" = "0" ]; then
+	if [ -f /var/lock/subsys/isisd ]; then
+		/etc/rc.d/init.d/isisd stop >&2
+	fi
+	/sbin/chkconfig --del isisd >&2
+fi
+
 %postun
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 if [ "$1" = "0" ]; then
@@ -459,6 +497,17 @@
 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) /etc/logrotate.d/ripngd
 %ghost /var/log/%{name}/ripngd*
 
+%files isisd
+%defattr(644,root,root,755)
+%doc isisd/*sample*
+%{_mandir}/man8/isisd*
+%attr(755,root,root) %{_sbindir}/isisd
+%attr(754,root,root) /etc/rc.d/init.d/isisd
+%config(noreplace) %verify(not md5 mtime size) %attr(660,root,quagga) %{_sysconfdir}/isisd.conf
+%config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) /etc/sysconfig/isisd
+%config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) /etc/logrotate.d/isisd
+%ghost /var/log/%{name}/isisd*
+
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so
@@ -475,6 +524,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2005/06/16 12:07:42  wiget
+- fixed typo in Source34 and Source35
+- build IS-IS deamon and package it in isisd subpackage
+- enable ICMP Router Discovery Protocol
+- release 2
+
 Revision 1.26  2005/05/06 09:09:03  kosmo
 - updated to 0.99.1
 - removed outdated quagga-netlink.patch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/quagga.spec?r1=1.26&r2=1.27&f=u




More information about the pld-cvs-commit mailing list