diff --git a/aiccu-lsb-initscript.patch b/aiccu-lsb-initscript.patch new file mode 100644 index 0000000..0e361f1 --- /dev/null +++ b/aiccu-lsb-initscript.patch @@ -0,0 +1,33 @@ +--- aiccu/doc/aiccu.init.rpm.orig 2007-09-21 21:15:04.000000000 -0500 ++++ aiccu/doc/aiccu.init.rpm 2007-09-21 21:19:19.000000000 -0500 +@@ -8,6 +8,20 @@ + # config: /etc/aiccu.conf + # chkconfig: - 59 73 + # processname: aiccu ++# ++### BEGIN INIT INFO ++# Provides: aiccu ++# Required-Start: $local_fs $remote_fs $network $time $named ++# Required-Stop: $local_fs $remote_fs $network $time $named ++# Default-Start: ++# Default-Stop: ++# Short-Description: hearbeat daemon for IPv6-in-IPv4 (Proto-41, AYIYA, Heartbeat) tunnels ++# Description: aiccu automatically gives one IPv6 connectivity ++# without having to manually configure interfaces etc. ++# One does need a SixXS account and at least a tunnel. These ++# can be freely & gratis requested from the SixXS website. ++# For more information about SixXS check http://www.sixxs.net ++### END INIT INFO + + # Source function library. + if [ -f /etc/init.d/functions ] ; then +@@ -90,6 +104,9 @@ + reload) + restart + ;; ++ force-reload) ++ restart ++ ;; + status) + rhstatus + ;; diff --git a/aiccu.spec b/aiccu.spec index aeba6c2..0ad67a5 100644 --- a/aiccu.spec +++ b/aiccu.spec @@ -9,12 +9,13 @@ Summary: AICCU - SixXS Automatic IPv6 Connectivity Client Utility Name: aiccu Version: 2007.01.15 -Release: 2%{?dist} +Release: 3%{?dist} License: BSD Group: System Environment/Daemons URL: http://www.sixxs.net/tools/aiccu/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source: http://www.sixxs.net/archive/sixxs/aiccu/unix/aiccu_20070115.tar.gz +Patch0: aiccu-lsb-initscript.patch BuildRequires: gnutls-devel Requires: iproute Requires(post): chkconfig @@ -30,6 +31,7 @@ For more information about SixXS check http://www.sixxs.net %prep %setup -q -n %{name} +%patch0 -p1 # fix executable permissions on non-executable content # so debuginfo can pick them up properly find . -type f -not -name rules -and -not -name *init* -exec chmod a-x \{\} \; @@ -70,6 +72,9 @@ make clean %{_sysconfdir}/init.d/aiccu %changelog +* Fri Sep 21 2007 Matt Domsch 2007.01.15-3 +- add LSB initscript header (BZ#246861) + * Wed Sep 19 2007 Matt Domsch 2007.01.15-2 - rebuild