Hello community,
here is the log from the commit of package radvd for openSUSE:Factory checked in at 2015-05-16 19:01:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/radvd (Old)
and /work/SRC/openSUSE:Factory/.radvd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "radvd"
Changes:
--------
--- /work/SRC/openSUSE:Factory/radvd/radvd.changes 2015-03-18 13:08:29.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2015-05-16 19:01:22.000000000 +0200
@@ -1,0 +2,16 @@
+Mon Apr 20 16:09:01 UTC 2015 - mpluskal@suse.com
+
+- As radvd does not build on older releases removing conditions and
+ radvd.init
+- Use /var/run instead of /run
+- Depend on shadow for useradd
+
+-------------------------------------------------------------------
+Sat Apr 18 16:58:29 UTC 2015 - mpluskal@suse.com
+
+- Update to 2.11
+ * added --without-check option to configure
+- Cleanup spec-file with spec-cleaner
+- Add keyring for gpg signature
+
+-------------------------------------------------------------------
Old:
----
radvd-2.10.tar.xz
radvd-2.10.tar.xz.asc
radvd.init
New:
----
radvd-2.11.tar.xz
radvd-2.11.tar.xz.asc
radvd.keyring
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ radvd.spec ++++++
--- /var/tmp/diff_new_pack.lfAaua/_old 2015-05-16 19:01:23.000000000 +0200
+++ /var/tmp/diff_new_pack.lfAaua/_new 2015-05-16 19:01:23.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package radvd
#
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,19 +15,22 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+%if ! %{defined _rundir}
+%define _rundir %{_localstatedir}/run
+%endif
Name: radvd
-Version: 2.10
+Version: 2.11
Release: 0
Summary: Router ADVertisement Daemon for IPv6
License: BSD-3-Clause
Group: Productivity/Networking/Routing
Url: http://v6web.litech.org/radvd
-Source0: http://www.litech.org/radvd/dist/%name-%version.tar.xz
-Source42: http://www.litech.org/radvd/dist/%name-%version.tar.xz.asc
-Source1: radvd.init
+Source0: http://www.litech.org/radvd/dist/%{name}-%{version}.tar.xz
Source2: sysconfig.radvd
Source3: radvd.service
+Source42: http://www.litech.org/radvd/dist/%{name}-%{version}.tar.xz.asc
+Source43: %{name}.keyring
Patch1: 0001-run-as-user-radvd-by-default.diff
Patch2: radvd-configure.patch
# PATCH-FIX-OPENSUSE radvd-tmpfile-grpname.patch dimstar@opensuse.org -- On openSUSE, we add the radvd user to the group daemon. Thus, we also need to create the folders with the respective group owner (otherwise, the systemd-tmpfiles service fails).
@@ -37,18 +40,13 @@
BuildRequires: flex
BuildRequires: libdaemon-devel
BuildRequires: pkgconfig
+BuildRequires: systemd-rpm-macros
BuildRequires: xz
BuildRequires: pkgconfig(check)
-PreReq: %fillup_prereq
-PreReq: /usr/sbin/useradd
+Requires(pre): %fillup_prereq
+Requires(pre): shadow
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} >= 1210
-BuildRequires: systemd
%{?systemd_requires}
-%define i_can_has_systemd 1
-%else
-PreReq: %insserv_prereq
-%endif
%description
RADVD is the Router ADVertisement Daemon. It is used for automated
@@ -62,48 +60,41 @@
%build
autoreconf -fiv
-%configure --disable-silent-rules --with-configfile=%{_sysconfdir}/radvd.conf --with-pidfile=/run/radvd/radvd.pid
+%configure \
+ --disable-silent-rules \
+ --with-configfile=%{_sysconfdir}/radvd.conf \
+ --with-pidfile=%{_rundir}/radvd/radvd.pid
make %{?_smp_mflags}
%install
-%makeinstall
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
mkdir -p %{buildroot}/run/radvd
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
mkdir -p %{buildroot}%{_sysconfdir}
install -m 644 %{SOURCE2} %{buildroot}%{_localstatedir}/adm/fillup-templates/
install -m 644 /dev/null %{buildroot}%{_sysconfdir}/radvd.conf
-%if 0%{?i_can_has_systemd}
install -D -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}.service
-install -D -m 0644 redhat/radvd-tmpfs.conf %{buildroot}/usr/lib/tmpfiles.d/radvd-tmpfs.conf
-ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcradvd
-%else
-mkdir -p %{buildroot}%{_sysconfdir}/init.d
-install -m 0755 %{SOURCE1} %{buildroot}%{_initddir}/radvd
-ln -sf /etc/init.d/radvd %{buildroot}%{_sbindir}/rcradvd
-%endif
+install -D -m 0644 redhat/radvd-tmpfs.conf %{buildroot}%{_libexecdir}/tmpfiles.d/radvd-tmpfs.conf
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcradvd
%pre
-getent passwd radvd >/dev/null || \
- /usr/sbin/useradd -r -d /var/lib/empty -s /bin/false \
- -c "Router ADVertisement Daemon for" -g daemon radvd 2>/dev/null || :
-%if 0%{?i_can_has_systemd}
+getent passwd %{name} >/dev/null || useradd -r -d %{_localstatedir}/lib/empty -s /sbin/nologin -c "Router ADVertisement Daemon for" %{name}
%service_add_pre %{name}.service
-%endif
%post
# zap old (<= 11.4) default
-test -f /etc/sysconfig/radvd && sed -ie '/^RADVD_OPTIONS/s/-u daemon//' /etc/sysconfig/radvd
+test -f %{_sysconfdir}/sysconfig/radvd && sed -ie '/^RADVD_OPTIONS/s/-u daemon//' %{_sysconfdir}/sysconfig/radvd
%{fillup_only radvd}
#
random() {
od -An -d -N2 /dev/urandom
}
-if [ ! -e /etc/radvd.conf ]; then
+if [ ! -e %{_sysconfdir}/radvd.conf ]; then
# yeah, not quite the rfc4193 algorithm but hopefully
# random enough
prefix=`printf "fd%%02x:%%04x:%%04x:0001::/64\n" $(($(random) %% 256)) $(random) $(random)`
- cat > /etc/radvd.conf < %{_sysconfdir}/radvd.conf < radvd-2.11.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/radvd-2.10/CHANGES new/radvd-2.11/CHANGES
--- old/radvd-2.10/CHANGES 2015-01-22 23:59:59.000000000 +0100
+++ new/radvd-2.11/CHANGES 2015-04-09 17:50:02.000000000 +0200
@@ -1,5 +1,10 @@
+2015/04/09 added --without-check option to configure <James Guthrie>
+ Release v2.11
+
2015/01/22 Reverted random delay work because it broke detecting new
interfaces in a timely manor. <Lonnie>
+ Release v2.10
+ Drop md5sum and bz2 packages
2014/12/31 Fix new interface coming up such that it is setup immediately.
This fixes a regression in the 2.x branch from 1.x <volker>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/radvd-2.10/INTRO.html new/radvd-2.11/INTRO.html
--- old/radvd-2.10/INTRO.html 2014-07-31 02:13:24.000000000 +0200
+++ new/radvd-2.11/INTRO.html 2015-04-09 17:49:44.000000000 +0200
@@ -94,7 +94,7 @@
</p>
<p>
-So, when an interface on a hosts is UPed and a RA is received, the host
+So, when an interface on a host is UPed and a RA is received, the host
can configure an address on the interface by using the prefix and
appending the EUI-64 identifier derived from the hardware address
(also called link-layer token). The EUI-64 identifier is simply appended
@@ -116,7 +116,7 @@
<p>
The host can also choose a default router by examining the RA.
-the rest works automatically.
+The rest works automatically.
</p>
<p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/radvd-2.10/Makefile.am new/radvd-2.11/Makefile.am
--- old/radvd-2.10/Makefile.am 2015-01-05 17:08:20.000000000 +0100
+++ new/radvd-2.11/Makefile.am 2015-04-09 18:33:16.000000000 +0200
@@ -165,7 +165,7 @@
test/util.c
EXTENSIONS = gz bz2 lz lzma xz tarZ shar zip
-HASHES = md5 sha1 sha256
+HASHES = sha1 sha256 sha512
sign:
$(AM_V_GEN)for e in $(EXTENSIONS); do \
@@ -207,9 +207,8 @@
$(MAKE) dist-gzip
rm -rf radvd-$(VERSION)
tar zfx radvd-$(VERSION).tar.gz
- cd radvd-$(VERSION) && ./configure && $(MAKE) check
+ cd radvd-$(VERSION) && ./configure --with-check && $(MAKE) check
rm -rf radvd-$(VERSION)
- $(MAKE) dist-bzip2
$(MAKE) dist-xz
$(MAKE) sign
$(MAKE) verify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/radvd-2.10/Makefile.in new/radvd-2.11/Makefile.in
--- old/radvd-2.10/Makefile.in 2015-01-23 00:00:19.000000000 +0100
+++ new/radvd-2.11/Makefile.in 2015-04-09 18:33:34.000000000 +0200
@@ -685,7 +685,7 @@
test/util.c
EXTENSIONS = gz bz2 lz lzma xz tarZ shar zip
-HASHES = md5 sha1 sha256
+HASHES = sha1 sha256 sha512
CLEANFILES = \
radvd.8 \
radvd.conf.5 \
@@ -1801,9 +1801,8 @@
$(MAKE) dist-gzip
rm -rf radvd-$(VERSION)
tar zfx radvd-$(VERSION).tar.gz
- cd radvd-$(VERSION) && ./configure && $(MAKE) check
+ cd radvd-$(VERSION) && ./configure --with-check && $(MAKE) check
rm -rf radvd-$(VERSION)
- $(MAKE) dist-bzip2
$(MAKE) dist-xz
$(MAKE) sign
$(MAKE) verify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/radvd-2.10/configure new/radvd-2.11/configure
--- old/radvd-2.10/configure 2015-01-23 00:00:20.000000000 +0100
+++ new/radvd-2.11/configure 2015-04-09 18:33:33.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for radvd 2.10.
+# Generated by GNU Autoconf 2.69 for radvd 2.11.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@
# Identity of this package.
PACKAGE_NAME='radvd'
PACKAGE_TARNAME='radvd'
-PACKAGE_VERSION='2.10'
-PACKAGE_STRING='radvd 2.10'
+PACKAGE_VERSION='2.11'
+PACKAGE_STRING='radvd 2.11'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -746,6 +746,7 @@
enable_option_checking
enable_silent_rules
enable_dependency_tracking
+with_check
with_logfile
with_pidfile
with_configfile
@@ -1307,7 +1308,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures radvd 2.10 to adapt to many kinds of systems.
+\`configure' configures radvd 2.11 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1378,7 +1379,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of radvd 2.10:";;
+ short | recursive ) echo "Configuration of radvd 2.11:";;
esac
cat <<\_ACEOF
@@ -1396,6 +1397,7 @@
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --without-check Build without check unit testing framework
--with-logfile Path to the radvd logfile /var/log/radvd.log
--with-pidfile Path to the radvd pidfile /var/run/radvd.pid
--with-configfile Path to the radvd config file SYSCONF/radvd.conf
@@ -1491,7 +1493,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-radvd configure 2.10
+radvd configure 2.11
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1856,7 +1858,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by radvd $as_me 2.10, which was
+It was created by radvd $as_me 2.11, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2831,7 +2833,7 @@
# Define the identity of the package.
PACKAGE='radvd'
- VERSION='2.10'
+ VERSION='2.11'
cat >>confdefs.h <<_ACEOF
@@ -4307,7 +4309,14 @@
fi
-if test "$arch" = "linux" ; then
+
+# Check whether --with-check was given.
+if test "${with_check+set}" = set; then :
+ withval=$with_check;
+else
+ with_check=no
+fi
+
@@ -4428,6 +4437,10 @@
PKG_CONFIG=""
fi
fi
+if test "x$with_check" = "xyes"; then :
+
+ if test "x$arch" = "xlinux"; then :
+
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
@@ -4519,6 +4532,9 @@
$as_echo "yes" >&6; }
fi
+
+fi
+
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking netlink" >&5
@@ -6282,7 +6298,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by radvd $as_me 2.10, which was
+This file was extended by radvd $as_me 2.11, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -6348,7 +6364,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-radvd config.status 2.10
+radvd config.status 2.11
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/radvd-2.10/configure.ac new/radvd-2.11/configure.ac
--- old/radvd-2.10/configure.ac 2015-01-23 00:00:17.000000000 +0100
+++ new/radvd-2.11/configure.ac 2015-04-09 18:29:15.000000000 +0200
@@ -13,7 +13,7 @@
dnl
dnl If adding rcX to version, be sure to separate with a '-'
-AC_INIT(radvd, [2.10])
+AC_INIT(radvd, [2.11])
AC_CONFIG_SRCDIR(radvd.c)
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE
@@ -50,9 +50,12 @@
AC_PROG_CC_C99
AC_PROG_RANLIB
-if test "$arch" = "linux" ; then
-PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
-fi
+AC_ARG_WITH([check], AS_HELP_STRING([--without-check], [Build without check unit testing framework]),[],[with_check=no])
+AS_IF([test "x$with_check" = "xyes"], [
+ AS_IF([test "x$arch" = "xlinux"], [
+ PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
+ ])
+])
dnl Determine of netlink is available
AC_MSG_CHECKING(netlink)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/radvd-2.10/redhat/radvd.spec new/radvd-2.11/redhat/radvd.spec
--- old/radvd-2.10/redhat/radvd.spec 2015-01-23 00:00:24.000000000 +0100
+++ new/radvd-2.11/redhat/radvd.spec 2015-04-09 18:33:38.000000000 +0200
@@ -5,7 +5,7 @@
Summary: A Router Advertisement daemon
Name: radvd
-Version: 2.10
+Version: 2.11
Release: 1
# The code includes the advertising clause, so it's GPL-incompatible
License: BSD with advertising
++++++ radvd-configure.patch ++++++
--- /var/tmp/diff_new_pack.lfAaua/_old 2015-05-16 19:01:23.000000000 +0200
+++ /var/tmp/diff_new_pack.lfAaua/_new 2015-05-16 19:01:23.000000000 +0200
@@ -1,7 +1,8 @@
-diff -rupN radvd.old/configure.ac radvd/configure.ac
---- radvd.old/configure.ac 2014-07-29 08:26:43.000000000 -0700
-+++ radvd/configure.ac 2014-07-29 19:23:38.842918895 -0700
-@@ -47,7 +47,9 @@
+Index: radvd-2.11/configure.ac
+===================================================================
+--- radvd-2.11.orig/configure.ac
++++ radvd-2.11/configure.ac
+@@ -47,7 +47,9 @@ you must specify it with --target on the
esac
dnl Determine CC and preset CFLAGS
@@ -11,4 +12,4 @@
+AC_SYS_LARGEFILE
AC_PROG_RANLIB
- if test "$arch" = "linux" ; then
+ AC_ARG_WITH([check], AS_HELP_STRING([--without-check], [Build without check unit testing framework]),[],[with_check=no])