]> git.pld-linux.org Git - packages/gated.git/commitdiff
almost raw
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 19 Aug 1999 20:07:26 +0000 (20:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gated.spec -> 1.1

gated.spec [new file with mode: 0644]

diff --git a/gated.spec b/gated.spec
new file mode 100644 (file)
index 0000000..9aae567
--- /dev/null
@@ -0,0 +1,99 @@
+Summary: The GateD routing daemon.
+Name: gated
+Version: 3.5.10
+Release: 9
+Copyright: distributable
+Group: System Environment/Daemons
+Source0: ftp://ftp.gated.org/net-research/gated/gated-3-5-10.tar.gz
+Source1: gated-3.5.10-init
+Source2: gated-3.5.10-Config
+Source3: gated-3.5.10-gated.conf
+Source4: gated-3.5.9-krt_ifread_ioctl.c
+Patch0: gated-3.5.7-linux.patch
+Patch1: gated-3.5.10-glibc.patch
+Patch2: gated-3.5.10-config.patch
+Patch4: gated-3.5.10-dump.patch
+Patch5: gated-3.5.x-linuxmc.patch
+Patch6: gated-3.5.10-ospfmonauth.patch
+Patch7: gated-3.5.10-kern22.patch
+
+Buildroot: /var/tmp/%{name}-root
+Prereq: /sbin/chkconfig
+Url: http://www.gated.org/
+
+%description
+GateD is a modular software program consisting of core services, a
+routing database, and protocol modules which support multiple routing
+protocols (RIP versions 1 and 2, DCN HELLO, OSPF version 2, EGP version 2,
+BGP versions 2 through 4).  GateD is designed to handle dynamic routing
+with a routing database built from the information exchanged by routing
+protocols.
+
+Install gated if you need a routing daemon.
+
+%prep
+%setup -q -n gated-3-5-10
+
+# patch0 not applied
+%patch1 -p1 -b .glibc
+%patch2 -p1 -b .config
+# patch3 doesn't exist
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1 -b .kern22
+
+cd src
+cp %SOURCE4 krt_ifread_ioctl.c
+
+mkdir obj.`util/archtype`
+#cp configs/linux-2.0 obj.`util/archtype`/Config
+cp %SOURCE2 obj.`util/archtype`/Config
+
+%build
+cd src
+make config
+make CC=egcs
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/{usr/{sbin,bin,man/man8},etc/rc.d/init.d}
+
+make -C src \
+    BINDIR=$RPM_BUILD_ROOT/usr/bin \
+    SBINDIR=$RPM_BUILD_ROOT/usr/sbin \
+       install
+
+make MANDIR=$RPM_BUILD_ROOT/usr/man install-man
+
+install -m 0755 -d $RPM_BUILD_ROOT/var/gated
+install -m 0755 %SOURCE1 $RPM_BUILD_ROOT/etc/rc.d/init.d/gated
+install -m 0644 %SOURCE3 $RPM_BUILD_ROOT/etc/gated.conf.sample
+
+%post
+/sbin/ldconfig
+/sbin/chkconfig --add gated
+
+%preun
+if [ $1 = 0 ] ; then
+        /sbin/chkconfig --del gated
+fi
+
+%files
+%defattr(-,root,root)
+/usr/sbin/gated
+%attr(755,root,root) /usr/bin/*
+/usr/man/man8/*
+/var/gated
+
+%doc Acknowledgements BUGS CHANGES CHANGES.1
+%doc Consortium_Agreeemnt Copyright Copyright.ISIS Copyright.OSPF Licensing
+%doc INSTALL ISIS-config.ps README README.bgp README.make RELEASE TODO
+%doc conf doc src/configs/linux-README
+%doc man/gated-2.0-impl.txt
+
+/etc/rc.d/init.d/gated
+%config /etc/gated.conf.sample
+
+%clean
+rm -rf $RPM_BUILD_ROOT
This page took 0.072915 seconds and 4 git commands to generate.