- updated to latest upstream version
This commit is contained in:
parent
67a7bce90e
commit
26c8aa8fb7
@ -1 +1 @@
|
||||
radvd-1.2.tar.gz
|
||||
radvd-1.3.tar.gz
|
||||
|
@ -1,35 +0,0 @@
|
||||
diff -up radvd-1.2/redhat/radvd.init.posix radvd-1.2/redhat/radvd.init
|
||||
--- radvd-1.2/redhat/radvd.init.posix 2008-02-27 14:02:59.000000000 +0100
|
||||
+++ radvd-1.2/redhat/radvd.init 2009-06-03 15:53:08.000000000 +0200
|
||||
@@ -28,12 +28,6 @@
|
||||
|
||||
[ -f /etc/sysconfig/radvd ] && . /etc/sysconfig/radvd
|
||||
|
||||
-if [ "$1" == "status" ]; then
|
||||
- [ -f /usr/sbin/radvd ] || exit 4
|
||||
-else
|
||||
- [ -f /usr/sbin/radvd ] || exit 1
|
||||
-fi
|
||||
-
|
||||
RETVAL=0
|
||||
PROG="radvd"
|
||||
LOCKFILE=/var/lock/subsys/radvd
|
||||
@@ -41,10 +35,14 @@ LOCKFILE=/var/lock/subsys/radvd
|
||||
# See how we were called.
|
||||
case "$1" in
|
||||
start)
|
||||
-
|
||||
- # Check that networking is up.
|
||||
- [ "${NETWORKING_IPV6}" = "yes" ] || exit 1
|
||||
-
|
||||
+ if [ ! -f /etc/radvd.conf ]; then
|
||||
+ echo $"Configuration file /etc/radvd.conf missing" 1>&2
|
||||
+ exit 6
|
||||
+ fi
|
||||
+ if [ `id -u` -ne 0 ]; then
|
||||
+ echo $"Insufficient privilege" 1>&2
|
||||
+ exit 4
|
||||
+ fi
|
||||
echo -n $"Starting $PROG: "
|
||||
daemon radvd $OPTIONS
|
||||
RETVAL=$?
|
10
radvd.spec
10
radvd.spec
@ -4,8 +4,8 @@
|
||||
%define RADVD_UID 75
|
||||
Summary: A Router Advertisement daemon
|
||||
Name: radvd
|
||||
Version: 1.2
|
||||
Release: 3%{?dist}
|
||||
Version: 1.3
|
||||
Release: 1%{?dist}
|
||||
# The code includes the advertising clause, so it's GPL-incompatible
|
||||
License: BSD with advertising
|
||||
Group: System Environment/Daemons
|
||||
@ -18,8 +18,6 @@ Requires(pre): /usr/sbin/useradd
|
||||
BuildRequires: flex, byacc
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Patch0: radvd-1.2-posix.patch
|
||||
|
||||
%description
|
||||
radvd is the router advertisement daemon for IPv6. It listens to router
|
||||
solicitations and sends router advertisements as described in "Neighbor
|
||||
@ -33,7 +31,6 @@ services.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .posix
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIE"
|
||||
@ -95,6 +92,9 @@ fi
|
||||
%{_sbindir}/radvdump
|
||||
|
||||
%changelog
|
||||
* Fri Jul 10 2009 Jiri Skala <jskala@redhat.com> - 1.3-1
|
||||
- updated to latest upstream version
|
||||
|
||||
* Wed Jun 03 2009 Jiri Skala <jskala@redhat.com> - 1.2-3
|
||||
- changed echos to be able to accept localization
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user