commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2020-08-21 19:00:42 Comparing /work/SRC/openSUSE:Factory/radvd (Old) and /work/SRC/openSUSE:Factory/.radvd.new.3399 (New) Package is "radvd" Fri Aug 21 19:00:42 2020 rev:36 rq:827794 version:2.18 Changes: --- /work/SRC/openSUSE:Factory/radvd/radvd.changes 2019-11-18 20:02:23.929833649 +0100 +++ /work/SRC/openSUSE:Factory/.radvd.new.3399/radvd.changes2020-08-21 19:01:00.252243097 +0200 @@ -1,0 +2,5 @@ +Wed Aug 19 09:13:46 UTC 2020 - Dominique Leuenberger + +- Fix invalid usage of %{_libexecdir}. + +--- Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.ECbKrr/_old 2020-08-21 19:01:01.812244024 +0200 +++ /var/tmp/diff_new_pack.ECbKrr/_new 2020-08-21 19:01:01.816244026 +0200 @@ -1,7 +1,7 @@ # # spec file for package radvd # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,7 +31,7 @@ Summary:Router ADVertisement Daemon for IPv6 License:BSD-3-Clause Group: Productivity/Networking/Routing -Url:http://v6web.litech.org/radvd +URL:http://v6web.litech.org/radvd Source0:http://www.litech.org/radvd/dist/%{name}-%{version}.tar.xz Source2:sysconfig.radvd Source3:system-user-radvd.conf @@ -86,7 +86,7 @@ install -D -m 644 %{SOURCE3} %{buildroot}%{_sysusersdir}/system-user-radvd.conf install -D -m 0644 redhat/systemd/radvd.service %{buildroot}%{_unitdir}/%{name}.service -install -D -m 0644 redhat/systemd/radvd-tmpfs.conf %{buildroot}%{_libexecdir}/tmpfiles.d/%name.conf +install -D -m 0644 redhat/systemd/radvd-tmpfs.conf %{buildroot}%{_tmpfilesdir}/%name.conf ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcradvd %pre -f radvd.pre @@ -150,8 +150,7 @@ %doc radvd.conf.example %{_sbindir}/rcradvd %{_unitdir}/%{name}.service -%dir %{_libexecdir}/tmpfiles.d -%{_libexecdir}/tmpfiles.d/%{name}.conf +%{_tmpfilesdir}/%{name}.conf %{_sysusersdir}/system-user-radvd.conf %changelog
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2019-11-18 20:02:22 Comparing /work/SRC/openSUSE:Factory/radvd (Old) and /work/SRC/openSUSE:Factory/.radvd.new.26869 (New) Package is "radvd" Mon Nov 18 20:02:22 2019 rev:35 rq:748434 version:2.18 Changes: --- /work/SRC/openSUSE:Factory/radvd/radvd.changes 2019-10-28 16:46:08.524683758 +0100 +++ /work/SRC/openSUSE:Factory/.radvd.new.26869/radvd.changes 2019-11-18 20:02:23.929833649 +0100 @@ -1,0 +2,5 @@ +Wed Nov 13 08:05:39 UTC 2019 - Jiri Bohac + +- the previous fix for (bsc#1149037) did not work correctly, fix it + +--- Other differences: -- ++ system-user-radvd.conf ++ --- /var/tmp/diff_new_pack.W8wQRf/_old 2019-11-18 20:02:25.041833092 +0100 +++ /var/tmp/diff_new_pack.W8wQRf/_new 2019-11-18 20:02:25.041833092 +0100 @@ -1,6 +1,7 @@ # Type Name ID GECOS [HOME] u radvd - "Router ADVertisement Daemon for IPv6" /var/lib/empty # for upgrades where user radvd already exists and group radvd does not +g radvd m radvd radvd # for compat with pre 15.2 m radvd daemon
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2019-10-28 16:46:05 Comparing /work/SRC/openSUSE:Factory/radvd (Old) and /work/SRC/openSUSE:Factory/.radvd.new.2990 (New) Package is "radvd" Mon Oct 28 16:46:05 2019 rev:34 rq:742207 version:2.18 Changes: --- /work/SRC/openSUSE:Factory/radvd/radvd.changes 2019-08-19 20:48:01.417090304 +0200 +++ /work/SRC/openSUSE:Factory/.radvd.new.2990/radvd.changes2019-10-28 16:46:08.524683758 +0100 @@ -1,0 +2,5 @@ +Wed Oct 23 15:21:21 UTC 2019 - Jiri Bohac + +- create the radvd group on upgrades (bsc#1149037) + +--- Other differences: -- ++ system-user-radvd.conf ++ --- /var/tmp/diff_new_pack.3uG5a0/_old 2019-10-28 16:46:09.648685187 +0100 +++ /var/tmp/diff_new_pack.3uG5a0/_new 2019-10-28 16:46:09.652685193 +0100 @@ -1,4 +1,6 @@ # Type Name ID GECOS [HOME] u radvd - "Router ADVertisement Daemon for IPv6" /var/lib/empty +# for upgrades where user radvd already exists and group radvd does not +m radvd radvd # for compat with pre 15.2 m radvd daemon
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2019-08-19 20:47:59 Comparing /work/SRC/openSUSE:Factory/radvd (Old) and /work/SRC/openSUSE:Factory/.radvd.new.22127 (New) Package is "radvd" Mon Aug 19 20:47:59 2019 rev:33 rq:724121 version:2.18 Changes: --- /work/SRC/openSUSE:Factory/radvd/radvd.changes 2017-11-29 10:49:45.322972662 +0100 +++ /work/SRC/openSUSE:Factory/.radvd.new.22127/radvd.changes 2019-08-19 20:48:01.417090304 +0200 @@ -1,0 +2,21 @@ +Thu Aug 15 11:42:43 UTC 2019 - Ludwig Nussel + +- new version 2.18: + * Fix double-free scenario in case if duplicate interface was specified + * Separate systemd and SysV packaging + * Update fedora packaging files + * No router advertisements on tunnel interfaces + * Add nodaemon option to the manpage + * Write to stderr in non-daemonized mode + * Fixes memory leak in add_ra_options_dnssl + * Allow quoted strings in config. + * nd_opt_6co endianness fix +- new keyid 0x6FE19F21451C9A2B used for signing. Upstream confirmed + that he changed computers and changed his key. +- do not strictly require systemd +- use upstream service file +- use system user framework to create user. Leads to using a dedicated radvd + group after all (boo#1060032) +- rename patch radvd-tmpfile-grpname.patch -> radvd-systemd.patch + +--- Old: radvd-2.17.tar.xz radvd-2.17.tar.xz.asc radvd-tmpfile-grpname.patch radvd.service New: radvd-2.18.tar.xz radvd-2.18.tar.xz.asc radvd-systemd.patch system-user-radvd.conf Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.uqHdeL/_old 2019-08-19 20:48:03.641089828 +0200 +++ /var/tmp/diff_new_pack.uqHdeL/_new 2019-08-19 20:48:03.673089821 +0200 @@ -1,7 +1,7 @@ # # spec file for package radvd # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -26,7 +26,7 @@ %endif Name: radvd -Version:2.17 +Version:2.18 Release:0 Summary:Router ADVertisement Daemon for IPv6 License:BSD-3-Clause @@ -34,19 +34,20 @@ Url:http://v6web.litech.org/radvd Source0:http://www.litech.org/radvd/dist/%{name}-%{version}.tar.xz Source2:sysconfig.radvd -Source3:radvd.service +Source3:system-user-radvd.conf 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 dims...@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). -Patch3: radvd-tmpfile-grpname.patch +Patch3: radvd-systemd.patch BuildRequires: automake BuildRequires: bison BuildRequires: flex BuildRequires: libdaemon-devel BuildRequires: pkgconfig BuildRequires: systemd-rpm-macros +BuildRequires: sysuser-tools BuildRequires: xz BuildRequires: pkgconfig(check) Requires(pre): %fillup_prereq @@ -55,7 +56,6 @@ Requires(pre): group(daemon) %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{?systemd_requires} %description RADVD is the Router ADVertisement Daemon. It sends IPv6 RA packets @@ -63,10 +63,7 @@ configuration of IPv6 clients. %prep -%setup -q -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 +%autosetup -p1 %build autoreconf -fiv @@ -75,6 +72,8 @@ --with-configfile=%{_sysconfdir}/radvd.conf \ --with-pidfile=%{_rundir}/radvd/radvd.pid make %{?_smp_mflags} +# +%sysusers_generate_pre %{SOURCE3} radvd %install make DESTDIR=%{buildroot} install %{?_smp_mflags} @@ -84,12 +83,13 @@ install -m 644 %{SOURCE2} %{buildroot}%{_fillupdir}/ install -m 644 /dev/null %{buildroot}%{_sysconfdir}/radvd.conf -install -D -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}.service -install -D -m 0644 redhat/radvd-tmpfs.conf %{buildroot}%{_libexecdir}/tmpfiles.d/%name.conf +install -D -m 644 %{SOURCE3} %{buildroot}%{_sysusersdir}/system-user-radvd.conf + +install -D -m 0644 redhat/systemd/
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2017-11-29 10:49:44 Comparing /work/SRC/openSUSE:Factory/radvd (Old) and /work/SRC/openSUSE:Factory/.radvd.new (New) Package is "radvd" Wed Nov 29 10:49:44 2017 rev:32 rq:545121 version:2.17 Changes: --- /work/SRC/openSUSE:Factory/radvd/radvd.changes 2017-10-05 11:49:37.265965487 +0200 +++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2017-11-29 10:49:45.322972662 +0100 @@ -1,0 +2,6 @@ +Thu Nov 23 13:39:06 UTC 2017 - rbr...@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + +--- Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.EWzGXX/_old 2017-11-29 10:49:46.006947848 +0100 +++ /var/tmp/diff_new_pack.EWzGXX/_new 2017-11-29 10:49:46.010947703 +0100 @@ -16,6 +16,11 @@ # +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + %if ! %{defined _rundir} %define _rundir %{_localstatedir}/run %endif @@ -74,9 +79,9 @@ %install make DESTDIR=%{buildroot} install %{?_smp_mflags} mkdir -p %{buildroot}/run/radvd -mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates +mkdir -p %{buildroot}%{_fillupdir} mkdir -p %{buildroot}%{_sysconfdir} -install -m 644 %{SOURCE2} %{buildroot}%{_localstatedir}/adm/fillup-templates/ +install -m 644 %{SOURCE2} %{buildroot}%{_fillupdir}/ install -m 644 /dev/null %{buildroot}%{_sysconfdir}/radvd.conf install -D -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}.service @@ -135,7 +140,7 @@ %defattr(-,root,root) %ghost %dir %attr(0755,radvd,daemon) /run/radvd/ %ghost %config(noreplace) %{_sysconfdir}/radvd.conf -%{_localstatedir}/adm/fillup-templates/sysconfig.radvd +%{_fillupdir}/sysconfig.radvd %{_sbindir}/radvd %{_sbindir}/radvdump %{_mandir}/man8/radvd.8.gz
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2017-10-05 11:49:36 Comparing /work/SRC/openSUSE:Factory/radvd (Old) and /work/SRC/openSUSE:Factory/.radvd.new (New) Package is "radvd" Thu Oct 5 11:49:36 2017 rev:31 rq:530886 version:2.17 Changes: --- /work/SRC/openSUSE:Factory/radvd/radvd.changes 2017-09-29 11:49:24.173427693 +0200 +++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2017-10-05 11:49:37.265965487 +0200 @@ -1,0 +2,5 @@ +Mon Oct 2 21:53:40 UTC 2017 - jeng...@inai.de + +- Clear assumptions from description. + +--- Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.KRo91r/_old 2017-10-05 11:49:38.845743190 +0200 +++ /var/tmp/diff_new_pack.KRo91r/_new 2017-10-05 11:49:38.849742627 +0200 @@ -53,8 +53,9 @@ %{?systemd_requires} %description -RADVD is the Router ADVertisement Daemon. It is used for automated -configuration of IPv6 networks. Most people will not need this. +RADVD is the Router ADVertisement Daemon. It sends IPv6 RA packets +to advertise available IPv6 networks, and is used for automated +configuration of IPv6 clients. %prep %setup -q
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2017-09-29 11:49:21 Comparing /work/SRC/openSUSE:Factory/radvd (Old) and /work/SRC/openSUSE:Factory/.radvd.new (New) Package is "radvd" Fri Sep 29 11:49:21 2017 rev:30 rq:528786 version:2.17 Changes: --- /work/SRC/openSUSE:Factory/radvd/radvd.changes 2015-05-16 19:01:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2017-09-29 11:49:24.173427693 +0200 @@ -1,0 +2,33 @@ +Tue Sep 26 11:34:15 UTC 2017 - dmuel...@suse.com + +- only do group prereq on new style distro + +--- +Tue Sep 26 08:23:23 UTC 2017 - dmuel...@suse.com + +- update to 2.17: + * Fix STDERR_SYSLOG log level bug. + * Always close stdout and stderr when daemonizing. + * Implement RFC 7772 Section 5.1.1, 5.1.2, defaulted to on. + * Fixed ExecReload in systemd service file + * Merged ARPHRD_6LOWPAN netlink query from + * Add systemd service file + * Fixed bug in new vs old address list comparison when +responding to netlink messages. + * Fix netlink bug where RADVD reacts to RTM_NEWADDR +messages when there weren't actually any new addresses +to be found. Those RTM_NEWADDR messages were only + * process.c: fixup ugly overflow check +radvd.conf.5.man: minor fixup to 'client' option +radvd.conf.5.man: update abro usage +gram.y: deprecate abro prefix length +device-linux.c: IEEE 802.15.4 musl libc fix +send.c: seconds/miliseconds comparison fix +send.c: preferred lifetime RFC 4862, 5.5.3 fix +defaults.h: remaining lifetime RFC 4862 fix +radvdump: show routes with prefixlen > 64 +- run tmpfiles_create in post to ensure creation of rundir +- depend on daemon group to be created before adding user +- fix rundir group permission + +--- Old: radvd-2.11.tar.xz radvd-2.11.tar.xz.asc New: radvd-2.17.tar.xz radvd-2.17.tar.xz.asc Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.b70kqv/_old 2017-09-29 11:49:24.877328430 +0200 +++ /var/tmp/diff_new_pack.b70kqv/_new 2017-09-29 11:49:24.877328430 +0200 @@ -1,7 +1,7 @@ # # spec file for package radvd # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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,12 +15,13 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %if ! %{defined _rundir} %define _rundir %{_localstatedir}/run %endif Name: radvd -Version:2.11 +Version:2.17 Release:0 Summary:Router ADVertisement Daemon for IPv6 License:BSD-3-Clause @@ -45,6 +46,9 @@ BuildRequires: pkgconfig(check) Requires(pre): %fillup_prereq Requires(pre): shadow +%if 0%{?suse_version} >= 1330 +Requires(pre): group(daemon) +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %{?systemd_requires} @@ -75,7 +79,7 @@ install -m 644 /dev/null %{buildroot}%{_sysconfdir}/radvd.conf install -D -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}.service -install -D -m 0644 redhat/radvd-tmpfs.conf %{buildroot}%{_libexecdir}/tmpfiles.d/radvd-tmpfs.conf +install -D -m 0644 redhat/radvd-tmpfs.conf %{buildroot}%{_libexecdir}/tmpfiles.d/%name.conf ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcradvd %pre @@ -116,6 +120,7 @@ fi # install -d -m 755 -o radvd /run/radvd +%tmpfiles_create %{_tmpfilesdir}/%name.conf %service_add_post %{name}.service @@ -127,7 +132,7 @@ %files %defattr(-,root,root) -%ghost %dir %attr(0755,radvd,root) /run/radvd/ +%ghost %dir %attr(0755,radvd,daemon) /run/radvd/ %ghost %config(noreplace) %{_sysconfdir}/radvd.conf %{_localstatedir}/adm/fillup-templates/sysconfig.radvd %{_sbindir}/radvd @@ -140,6 +145,6 @@ %{_sbindir}/rcradvd %{_unitdir}/%{name}.service %dir %{_libexecdir}/tmpfiles.d -%{_libexecdir}/tmpfiles.d/%{name}-tmpfs.conf +%{_libexecdir}/tmpfiles.d/%{name}.conf %changelog ++ radvd-2.11.tar.xz -> radvd-2.17.tar.xz ++ 8540 lines of diff (skipped)
commit radvd for openSUSE:Factory
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.0 +0100 +++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2015-05-16 19:01:22.0 +0200 @@ -1,0 +2,16 @@ +Mon Apr 20 16:09:01 UTC 2015 - mplus...@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 - mplus...@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.0 +0200 +++ /var/tmp/diff_new_pack.lfAaua/_new 2015-05-16 19:01:23.0 +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 dims...@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}/rcra
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2015-03-18 13:08:27 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 2014-11-18 22:45:58.0 +0100 +++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2015-03-18 13:08:29.0 +0100 @@ -1,0 +2,10 @@ +Sun Mar 15 16:49:20 UTC 2015 - p.drou...@gmail.com + +- Update to version 2.10 + * Reverted random delay work because it broke detecting new +interfaces in a timely manor. +- Update radvd-configure.patch +- Do not provide both sysvinit/systemd init files; it's redundant +- Add a backward compatibility link for systemd + +--- Old: radvd-2.2.tar.xz radvd-2.2.tar.xz.asc New: radvd-2.10.tar.xz radvd-2.10.tar.xz.asc Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.cIoaBC/_old 2015-03-18 13:08:29.0 +0100 +++ /var/tmp/diff_new_pack.cIoaBC/_new 2015-03-18 13:08:29.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package radvd # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: radvd -Version:2.2 +Version:2.10 Release:0 Summary:Router ADVertisement Daemon for IPv6 License:BSD-3-Clause @@ -40,13 +40,14 @@ BuildRequires: xz BuildRequires: pkgconfig(check) PreReq: %fillup_prereq -PreReq: %insserv_prereq PreReq: /usr/sbin/useradd 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 @@ -66,17 +67,20 @@ %install %makeinstall -mkdir -p %{buildroot}%{_sysconfdir}/init.d mkdir -p %{buildroot}/run/radvd -install -m 0755 %{SOURCE1} %{buildroot}%{_initddir}/radvd -ln -sf /etc/init.d/radvd %{buildroot}%{_sbindir}/rcradvd 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 %pre @@ -127,18 +131,18 @@ %endif %postun -%restart_on_update radvd -%insserv_cleanup - %if 0%{?i_can_has_systemd} %service_del_postun %{name}.service +%else +%restart_on_update radvd +%insserv_cleanup %endif %preun -%stop_on_removal radvd - %if 0%{?i_can_has_systemd} %service_del_preun %{name}.service +%else +%stop_on_removal radvd %endif %files @@ -148,16 +152,17 @@ %{_localstatedir}/adm/fillup-templates/sysconfig.radvd %{_sbindir}/radvd %{_sbindir}/radvdump -%doc %{_mandir}/man8/radvd.8.gz -%doc %{_mandir}/man8/radvdump.8.gz -%doc %{_mandir}/man5/radvd.conf.5.gz +%{_mandir}/man8/radvd.8.gz +%{_mandir}/man8/radvdump.8.gz +%{_mandir}/man5/radvd.conf.5.gz %doc CHANGES COPYRIGHT TODO INTRO.html %doc radvd.conf.example -%config %{_sysconfdir}/init.d/radvd %{_sbindir}/rcradvd %if 0%{?i_can_has_systemd} %{_unitdir}/%{name}.service /usr/lib/tmpfiles.d/%{name}-tmpfs.conf +%else +%config %{_sysconfdir}/init.d/radvd %endif %changelog ++ radvd-2.2.tar.xz -> radvd-2.10.tar.xz ++ 2209 lines of diff (skipped) ++ radvd-configure.patch ++ --- /var/tmp/diff_new_pack.cIoaBC/_old 2015-03-18 13:08:30.0 +0100 +++ /var/tmp/diff_new_pack.cIoaBC/_new 2015-03-18 13:08:30.0 +0100 @@ -1,7 +1,7 @@ -diff -rupN radvd-2.2.old/configure.ac radvd-2.2/configure.ac radvd-2.2.old/configure.ac 2014-07-29 08:26:43.0 -0700 -+++ radvd-2.2/configure.ac 2014-07-29 19:23:38.842918895 -0700 -@@ -47,7 +47,9 @@ you must specifiy it with --target on th +diff -rupN radvd.old/configure.ac radvd/configure.ac +--- radvd.old/configure.ac 2014-07-29 08:26:43.0 -0700 radvd/configure.ac 2014-07-29 19:23:38.842918895 -0700 +@@ -47,7 +47,9 @@ esac dnl Determin
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2014-11-18 22:45:18 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 2014-07-31 21:50:58.0 +0200 +++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2014-11-18 22:45:58.0 +0100 @@ -1,0 +2,5 @@ +Sun Nov 09 23:29:00 UTC 2014 - Led + +- fix bashisms in post script + +--- Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.xPazX3/_old 2014-11-18 22:46:00.0 +0100 +++ /var/tmp/diff_new_pack.xPazX3/_new 2014-11-18 22:46:00.0 +0100 @@ -92,10 +92,13 @@ test -f /etc/sysconfig/radvd && sed -ie '/^RADVD_OPTIONS/s/-u daemon//' /etc/sysconfig/radvd %{fillup_only radvd} # +random() { + od -An -d -N2 /dev/urandom +} if [ ! -e /etc/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` + prefix=`printf "fd%%02x:%%04x:%%04x:0001::/64\n" $(($(random) %% 256)) $(random) $(random)` cat > /etc/radvd.conf <
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2014-07-31 21:50:37 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 2014-03-14 15:17:57.0 +0100 +++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2014-07-31 21:50:58.0 +0200 @@ -1,0 +2,39 @@ +Wed Jul 30 17:09:01 UTC 2014 - sfal...@opensuse.org + +- Update to version 2.2 + minor fixes: +Netlink: set setup_iface fix for down interface coming up +split send_ra into smaller function +orgainize struct Interface with nested structures +time: Use clock_gettime and monotonic clock +add disable_ipv6_autoconfig function so an interface radvd + is using won't autoconfig itself using its own advert +improved netlink message processing to *only* reinit an + interface that changed. + build fixes: +Revert bison locations in order to support byacc +Amend DIST_EXTRA with the make check files +Add command line option parsing to the check unit test application +Add make check target based on the check unit testing framework +Add check in configure.ac for clock_gettime +Makefile.am: Fix out of tree builds +disable struct-overflow warning +Add compiler attributes to type check format strings + +--- +Wed Jul 30 02:28:13 UTC 2014 - sfal...@opensuse.org + +- Update to version 2.2 + * Updated specfile to change /var/run to /run, in order to fix rpmlint check failures + * Added: + radvd-2.2.tar.xz +radvd-2.2.tar.xz.asc + * Removed: + radvd-1.9.7.tar.xz +radvd-1.9.7.tar.xz.asc + * Updated: + 0001-run-as-user-radvd-by-default.diff +radvd-configure.patch +radvd.spec + +--- Old: radvd-1.9.7.tar.xz radvd-1.9.7.tar.xz.asc New: radvd-2.2.tar.xz radvd-2.2.tar.xz.asc Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.1pyZCB/_old 2014-07-31 21:50:59.0 +0200 +++ /var/tmp/diff_new_pack.1pyZCB/_new 2014-07-31 21:50:59.0 +0200 @@ -17,7 +17,7 @@ Name: radvd -Version:1.9.7 +Version:2.2 Release:0 Summary:Router ADVertisement Daemon for IPv6 License:BSD-3-Clause @@ -38,6 +38,7 @@ BuildRequires: libdaemon-devel BuildRequires: pkgconfig BuildRequires: xz +BuildRequires: pkgconfig(check) PreReq: %fillup_prereq PreReq: %insserv_prereq PreReq: /usr/sbin/useradd @@ -60,13 +61,13 @@ %build autoreconf -fiv -%configure --disable-silent-rules --with-configfile=%{_sysconfdir}/radvd.conf --with-pidfile=/var/run/radvd/radvd.pid +%configure --disable-silent-rules --with-configfile=%{_sysconfdir}/radvd.conf --with-pidfile=/run/radvd/radvd.pid make %{?_smp_mflags} %install %makeinstall mkdir -p %{buildroot}%{_sysconfdir}/init.d -mkdir -p %{buildroot}%{_localstatedir}/run/radvd +mkdir -p %{buildroot}/run/radvd install -m 0755 %{SOURCE1} %{buildroot}%{_initddir}/radvd ln -sf /etc/init.d/radvd %{buildroot}%{_sbindir}/rcradvd mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates @@ -116,7 +117,7 @@ echo "created /etc/radvd.conf with ULA prefix $prefix" fi # -install -d -m 755 -o radvd /var/run/radvd +install -d -m 755 -o radvd /run/radvd %if 0%{?i_can_has_systemd} %service_add_post %{name}.service @@ -139,7 +140,7 @@ %files %defattr(-,root,root) -%ghost %dir %attr(0755,radvd,root) %{_localstatedir}/run/radvd/ +%ghost %dir %attr(0755,radvd,root) /run/radvd/ %ghost %config(noreplace) %{_sysconfdir}/radvd.conf %{_localstatedir}/adm/fillup-templates/sysconfig.radvd %{_sbindir}/radvd ++ 0001-run-as-user-radvd-by-default.diff ++ --- /var/tmp/diff_new_pack.1pyZCB/_old 2014-07-31 21:50:59.0 +0200 +++ /var/tmp/diff_new_pack.1pyZCB/_new 2014-07-31 21:50:59.0 +0200 @@ -1,20 +1,15 @@ From 3ff72b5f5bccad1418441485177488f64dc4a135 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Tue, 3 May 2011 15:42:36 +0200 -Subject: [PATCH 1/2] run as user radvd by default +Subject: [Patch 1/2] run as user radvd by default - radvd.c |3 +++ - 1 files changed, 3 insertions(+), 0 deletions(-) - -Index: radvd-1.8.3/radvd.c -=== radvd-1.8.3.orig/radvd.c -+++ radvd-1.8.3/radvd.c -@@ -200,6 +200,9 @@ main(int argc, char *argv[]) - } - } +diff -rupN radvd-2.2.old/radvd.c radvd-2.2/radvd.c +--- radvd-2.2.old/radvd.c
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2014-03-14 15:17:55 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 2014-01-14 15:09:40.0 +0100 +++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2014-03-14 15:17:57.0 +0100 @@ -1,0 +2,6 @@ +Thu Mar 13 11:36:22 CET 2014 - jbo...@suse.cz + +- fix the radvd.service file to use /etc/sysconfig/radvd + (bnc#854316) + +--- Other differences: -- ++ radvd.service ++ --- /var/tmp/diff_new_pack.rBaOKX/_old 2014-03-14 15:17:57.0 +0100 +++ /var/tmp/diff_new_pack.rBaOKX/_new 2014-03-14 15:17:57.0 +0100 @@ -3,9 +3,9 @@ After=syslog.target [Service] -EnvironmentFile-=/etc/sysconfig/radvd +EnvironmentFile=-/etc/sysconfig/radvd ExecStart=/usr/sbin/radvd --nodaemon $RADVD_OPTIONS ExecReload=/bin/kill -HUP $MAINPID [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2014-01-14 15:09:39 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 2013-11-12 20:14:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2014-01-14 15:09:40.0 +0100 @@ -1,0 +2,28 @@ +Fri Jan 10 14:19:44 CET 2014 - jbo...@suse.cz + +- Update to version 1.9.7 + * ioctl bug fix for getting the hardware address and mtu of an interface +- Update to version 1.9.6 + * Check AdvSendAdvert before sending an advertisement +- Update to version 1.9.5 + * IPv6 forwarding setting should be 1 or 2 + * Performance fix in netlink message processing + * fix for kernels with no NETLINK_NO_ENOBUFS defined + * distributing gz, bz2 and xz tarballs + * also distributing md5, sha1, sha256 and gpg signatures +- Update to version 1.9.4 + * IPv6 forwarding setting should be 1 or 2 + * Performance fix in netlink message processing + * fix for kernels with no NETLINK_NO_ENOBUFS defined + * distributing gz, bz2 and xz tarballs + * also distributing md5, sha1, sha256 and gpg signatures +- Update to version 1.9.3 + * check for sys/sysctl.h availability + * radvdump fix to interpret MTU and Route +- Update to version 1.9.2 + * A few minor Makefile.am fixes +- Update to version 1.9.1 + * Replacing a '==' in configure with '=' for better shell portability +- added .asc (gpg key not yet found) + +--- Old: radvd-1.9.rc1_git201206030100.tar.xz New: radvd-1.9.7.tar.xz radvd-1.9.7.tar.xz.asc Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.1KVgNS/_old 2014-01-14 15:09:41.0 +0100 +++ /var/tmp/diff_new_pack.1KVgNS/_new 2014-01-14 15:09:41.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package radvd # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,14 @@ Name: radvd -Version:1.9.rc1_git201206030100 +Version:1.9.7 Release:0 Summary:Router ADVertisement Daemon for IPv6 License:BSD-3-Clause Group: Productivity/Networking/Routing Url:http://v6web.litech.org/radvd -Source0:%{name}-%{version}.tar.xz +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 Source2:sysconfig.radvd Source3:radvd.service ++ radvd-1.9.rc1_git201206030100.tar.xz -> radvd-1.9.7.tar.xz ++ 16318 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2013-11-12 20:14:03 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 2012-12-08 15:53:16.0 +0100 +++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2013-11-12 20:14:04.0 +0100 @@ -1,0 +2,10 @@ +Tue Nov 5 12:44:38 UTC 2013 - speili...@suse.com + +- Don't start daemon after package installation, the default config is almost + useless and previous package versions installed even bad ones into + /etc/radvd.conf (it would never be fixed since the file is + %ghost %config(noreplace) +- Fix try-restart to only restart the daemon if it's actually running. Allow + condrestart, which is LSB + +--- Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.Cwry47/_old 2013-11-12 20:14:05.0 +0100 +++ /var/tmp/diff_new_pack.Cwry47/_new 2013-11-12 20:14:05.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package radvd # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -88,7 +88,7 @@ %post # zap old (<= 11.4) default test -f /etc/sysconfig/radvd && sed -ie '/^RADVD_OPTIONS/s/-u daemon//' /etc/sysconfig/radvd -%{fillup_and_insserv radvd} +%{fillup_only radvd} # if [ ! -e /etc/radvd.conf ]; then # yeah, not quite the rfc4193 algorithm but hopefully @@ -136,9 +136,6 @@ %service_del_preun %{name}.service %endif -%clean -rm -rf %{buildroot} - %files %defattr(-,root,root) %ghost %dir %attr(0755,radvd,root) %{_localstatedir}/run/radvd/ ++ radvd.init ++ --- /var/tmp/diff_new_pack.Cwry47/_old 2013-11-12 20:14:05.0 +0100 +++ /var/tmp/diff_new_pack.Cwry47/_new 2013-11-12 20:14:05.0 +0100 @@ -49,10 +49,6 @@ killproc -p $DAEMON_PIDFILE -TERM $DAEMON_BIN rc_status -v ;; -try-restart) - $0 stop && $0 start - rc_status - ;; restart) $0 stop $0 start @@ -76,6 +72,18 @@ probe) test "$DAEMON_CONF" -nt "$DAEMON_PIDFILE" && echo reload ;; +try-restart|condrestart) +if test "$1" = "condrestart"; then +echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" +fi +$0 status +if test $? = 0; then +$0 restart +else +rc_reset # Not running is not a failure. +fi +rc_status # Remember status and be quiet +;; *) echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe}" exit 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2012-12-08 15:53:14 Comparing /work/SRC/openSUSE:Factory/radvd (Old) and /work/SRC/openSUSE:Factory/.radvd.new (New) Package is "radvd", Maintainer is "jbo...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/radvd/radvd.changes 2012-06-25 12:46:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2012-12-08 15:53:16.0 +0100 @@ -1,0 +2,9 @@ +Wed Dec 5 19:24:34 UTC 2012 - dims...@opensuse.org + +- Add radvd-tmpfile-grpname.patch: On openSUSE, the radvd user is + added to the 'daemon' group (not a specific 'radvd' group). Thus + adjusting the groupname in for the file to be installed in + tmpfiles.d. Otherwise, the systemd-tmpfiles service fails to + start (and radvd can't find the /var/run folder). + +--- New: radvd-tmpfile-grpname.patch Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.XYbxt2/_old 2012-12-08 15:53:17.0 +0100 +++ /var/tmp/diff_new_pack.XYbxt2/_new 2012-12-08 15:53:17.0 +0100 @@ -29,6 +29,8 @@ Source3:radvd.service Patch1: 0001-run-as-user-radvd-by-default.diff Patch2: radvd-configure.patch +# PATCH-FIX-OPENSUSE radvd-tmpfile-grpname.patch dims...@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). +Patch3: radvd-tmpfile-grpname.patch BuildRequires: automake BuildRequires: bison BuildRequires: flex @@ -53,6 +55,7 @@ %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build autoreconf -fiv ++ radvd-tmpfile-grpname.patch ++ Index: radvd-1.9.rc1_git201206030100/redhat/radvd-tmpfs.conf === --- radvd-1.9.rc1_git201206030100.orig/redhat/radvd-tmpfs.conf +++ radvd-1.9.rc1_git201206030100/redhat/radvd-tmpfs.conf @@ -1 +1 @@ -d /var/run/radvd 0755 radvd radvd +d /var/run/radvd 0755 radvd daemon -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2012-06-25 12:45:43 Comparing /work/SRC/openSUSE:Factory/radvd (Old) and /work/SRC/openSUSE:Factory/.radvd.new (New) Package is "radvd", Maintainer is "jbo...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/radvd/radvd.changes 2011-12-08 11:54:17.0 +0100 +++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2012-06-25 12:46:23.0 +0200 @@ -1,0 +2,15 @@ +Thu Jun 14 16:14:42 UTC 2012 - crrodrig...@opensuse.org + +- Remove URL from source as this is a git snapshot + +--- +Thu Jun 14 01:00:56 UTC 2012 - crrodrig...@opensuse.org + +- Update to version 1.9rc1.xxx + * Support systemd tmpfiles.d + * add Native systemd units for this service + * Uses libdaemon to deamonize and store PID file. + * Use setsockopt NETLINK_NO_ENOBUFS + * fixes debian bug 634485 + +--- Old: radvd-1.8.3.tar.gz New: radvd-1.9.rc1_git201206030100.tar.xz radvd-configure.patch radvd.service Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.ig1MEE/_old 2012-06-25 12:46:26.0 +0200 +++ /var/tmp/diff_new_pack.ig1MEE/_new 2012-06-25 12:46:26.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package radvd # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products 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,24 +15,35 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: radvd -Version:1.8.3 +Version:1.9.rc1_git201206030100 Release:0 -License:BSD-3-Clause Summary:Router ADVertisement Daemon for IPv6 -Url:http://v6web.litech.org/radvd +License:BSD-3-Clause Group: Productivity/Networking/Routing -Source0:http://www.litech.org/radvd/dist/%{name}-%{version}.tar.gz +Url:http://v6web.litech.org/radvd +Source0:%{name}-%{version}.tar.xz Source1:radvd.init Source2:sysconfig.radvd +Source3:radvd.service Patch1: 0001-run-as-user-radvd-by-default.diff +Patch2: radvd-configure.patch BuildRequires: automake BuildRequires: bison BuildRequires: flex +BuildRequires: libdaemon-devel +BuildRequires: pkgconfig +BuildRequires: xz PreReq: %fillup_prereq PreReq: %insserv_prereq PreReq: /usr/sbin/useradd BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} >= 1210 +BuildRequires: systemd +%{?systemd_requires} +%define i_can_has_systemd 1 +%endif %description RADVD is the Router ADVertisement Daemon. It is used for automated @@ -41,10 +52,10 @@ %prep %setup -q %patch1 -p1 +%patch2 -p1 %build -autoreconf -fi -CFLAGS="%{optflags} -fno-strict-aliasing" +autoreconf -fiv %configure --disable-silent-rules --with-configfile=%{_sysconfdir}/radvd.conf --with-pidfile=/var/run/radvd/radvd.pid make %{?_smp_mflags} @@ -58,10 +69,18 @@ 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 +%endif + %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} +%service_add_pre %{name}.service +%endif %post # zap old (<= 11.4) default @@ -95,13 +114,25 @@ # install -d -m 755 -o radvd /var/run/radvd +%if 0%{?i_can_has_systemd} +%service_add_post %{name}.service +%endif + %postun %restart_on_update radvd %insserv_cleanup +%if 0%{?i_can_has_systemd} +%service_del_postun %{name}.service +%endif + %preun %stop_on_removal radvd +%if 0%{?i_can_has_systemd} +%service_del_preun %{name}.service +%endif + %clean rm -rf %{buildroot} @@ -119,5 +150,9 @@ %doc radvd.conf.example %config %{_sysconfdir}/init.d/radvd %{_sbindir}/rcradvd +%if 0%{?i_can_has_systemd} +%{_unitdir}/%{name}.service +/usr/lib/tmpfiles.d/%{name}-tmpfs.conf +%endif %changelog ++ radvd-configure.patch ++ diff --git a/configure.ac b/configure.ac index 3ab6667..afbdc5a 100644 --- a/configure.ac +++ b/configure.ac @@ -44,7 +44,9 @@ you must specifiy it with --target on
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2011-12-08 11:52:18 Comparing /work/SRC/openSUSE:Factory/radvd (Old) and /work/SRC/openSUSE:Factory/.radvd.new (New) Package is "radvd", Maintainer is "jbo...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/radvd/radvd.changes 2011-11-22 17:49:37.0 +0100 +++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2011-12-08 11:54:17.0 +0100 @@ -1,0 +2,5 @@ +Fri Dec 2 16:43:39 UTC 2011 - co...@suse.com + +- add automake as buildrequire to avoid implicit dependency + +--- Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.Kze5O6/_old 2011-12-08 11:54:21.0 +0100 +++ /var/tmp/diff_new_pack.Kze5O6/_new 2011-12-08 11:54:21.0 +0100 @@ -15,12 +15,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: radvd Version:1.8.3 -Release:1 -License:BSD 3-clause (or similar) +Release:0 +License:BSD-3-Clause Summary:Router ADVertisement Daemon for IPv6 Url:http://v6web.litech.org/radvd Group: Productivity/Networking/Routing @@ -28,6 +26,7 @@ Source1:radvd.init Source2:sysconfig.radvd Patch1: 0001-run-as-user-radvd-by-default.diff +BuildRequires: automake BuildRequires: bison BuildRequires: flex PreReq: %fillup_prereq -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at 2011-11-22 17:49:29 Comparing /work/SRC/openSUSE:Factory/radvd (Old) and /work/SRC/openSUSE:Factory/.radvd.new (New) Package is "radvd", Maintainer is "jbo...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/radvd/radvd.changes 2011-10-21 16:35:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2011-11-22 17:49:37.0 +0100 @@ -1,0 +2,7 @@ +Wed Nov 16 14:23:54 UTC 2011 - dims...@opensuse.org + +- Update to version 1.8.3: + + proper tracking of buffer usage in send_ra +- Drop diff_release_1_8_2..44ee01c7.patch: fixed upstream. + +--- Old: diff_release_1_8_2..44ee01c7.patch radvd-1.8.2.tar.gz New: radvd-1.8.3.tar.gz Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.GiBAqv/_old 2011-11-22 17:49:39.0 +0100 +++ /var/tmp/diff_new_pack.GiBAqv/_new 2011-11-22 17:49:39.0 +0100 @@ -18,7 +18,7 @@ Name: radvd -Version:1.8.2 +Version:1.8.3 Release:1 License:BSD 3-clause (or similar) Summary:Router ADVertisement Daemon for IPv6 @@ -27,7 +27,6 @@ Source0:http://www.litech.org/radvd/dist/%{name}-%{version}.tar.gz Source1:radvd.init Source2:sysconfig.radvd -Patch0: diff_release_1_8_2..44ee01c7.patch Patch1: 0001-run-as-user-radvd-by-default.diff BuildRequires: bison BuildRequires: flex @@ -42,7 +41,6 @@ %prep %setup -q -%patch0 -p1 %patch1 -p1 %build ++ 0001-run-as-user-radvd-by-default.diff ++ --- /var/tmp/diff_new_pack.GiBAqv/_old 2011-11-22 17:49:39.0 +0100 +++ /var/tmp/diff_new_pack.GiBAqv/_new 2011-11-22 17:49:39.0 +0100 @@ -7,11 +7,11 @@ radvd.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) -diff --git a/radvd.c b/radvd.c -index a84793e..90acc88 100644 a/radvd.c -+++ b/radvd.c -@@ -172,6 +172,9 @@ main(int argc, char *argv[]) +Index: radvd-1.8.3/radvd.c +=== +--- radvd-1.8.3.orig/radvd.c radvd-1.8.3/radvd.c +@@ -200,6 +200,9 @@ main(int argc, char *argv[]) } } @@ -21,6 +21,3 @@ if (chrootdir) { if (!username) { fprintf(stderr, "Chroot as root is not safe, exiting\n"); --- -1.7.3.4 - ++ radvd-1.8.2.tar.gz -> radvd-1.8.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/radvd-1.8.2/CHANGES new/radvd-1.8.3/CHANGES --- old/radvd-1.8.2/CHANGES 2011-10-06 12:52:20.0 +0200 +++ new/radvd-1.8.3/CHANGES 2011-10-14 15:48:06.0 +0200 @@ -1,3 +1,10 @@ +14/08/2011 1.8.3 release + +08/10/2011 More careful checking of iface name + +06/10/2011 Updating buffer usage tracking in send_ra to track buffer usage BEFORE + the buffer is used rather than after in order to prevent buffer overflow + 06/10/2011 1.8.2 release 04/10/2011 1) A privilege escalation flaw was found in radvd, due to a buffer overflow diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/radvd-1.8.2/VERSION new/radvd-1.8.3/VERSION --- old/radvd-1.8.2/VERSION 2011-10-06 12:52:20.0 +0200 +++ new/radvd-1.8.3/VERSION 2011-10-11 18:42:03.0 +0200 @@ -3,4 +3,4 @@ # # this file is automatically processed by configure # -1.8.2 +1.8.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/radvd-1.8.2/defaults.h new/radvd-1.8.3/defaults.h --- old/radvd-1.8.2/defaults.h 2011-10-06 12:52:20.0 +0200 +++ new/radvd-1.8.3/defaults.h 2011-10-06 17:32:36.0 +0200 @@ -200,7 +200,7 @@ uint8_t nd_opt_dnssli_len; uint16_tnd_opt_dnssli_reserved; uint32_tnd_opt_dnssli_lifetime; - charnd_opt_dnssli_suffixes[]; + unsigned char nd_opt_dnssli_suffixes[]; }; /* Flags */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/radvd-1.8.2/device-linux.c new/radvd-1.8.3/device-linux.c --- old/radvd-1.8.2/device-linux.c 2011-10-06 12:52:20.0 +0200 +++ new/radvd-1.8.3/device-linux.c 2011-10-08 18:25:59.0 +0200 @@ -244,7 +244,7 @@ return -1; /* No path traversal */ - if (strstr(name, "..") || strchr(name, '/')) + if (!iface[0] || !strcmp(iface, ".") || !strcmp(iface, "..") || strchr(ifac
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at Thu Oct 13 19:43:34 CEST 2011. --- openSUSE:Factory/radvd/radvd.changes2011-09-23 12:44:03.0 +0200 +++ /mounts/work_src_done/STABLE/radvd/radvd.changes2011-09-29 04:16:52.0 +0200 @@ -1,0 +2,8 @@ +Thu Sep 29 02:15:09 UTC 2011 - crrodrig...@opensuse.org + +- Update to version 1.8.1 for details see NEWS +- Fix package building in factory, creating /var/run/radvd before + being marked as %ghost +- Run spec cleaner + +--- calling whatdependson for head-i586 Old: 0002-continue-even-if-forwarding-is-off.diff radvd-1.7.tar.gz New: radvd-1.8.1.tar.gz Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.mAm0ZB/_old 2011-10-13 19:43:30.0 +0200 +++ /var/tmp/diff_new_pack.mAm0ZB/_new 2011-10-13 19:43:30.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package radvd (Version 1.3) +# spec file for package radvd # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products 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,51 +15,49 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: radvd -BuildRequires: bison flex +Version:1.8.1 +Release:1 License:BSD 3-clause (or similar) -Group: Productivity/Networking/Routing -PreReq: %insserv_prereq %fillup_prereq -AutoReqProv:on Summary:Router ADVertisement Daemon for IPv6 -Version:1.7 -Release:1 +Url:http://v6web.litech.org/radvd +Group: Productivity/Networking/Routing Source0:http://www.litech.org/radvd/dist/%{name}-%{version}.tar.gz Source1:radvd.init Source2:sysconfig.radvd Patch0: 0001-run-as-user-radvd-by-default.diff -Patch1: 0002-continue-even-if-forwarding-is-off.diff -Url:http://v6web.litech.org/radvd -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: bison +BuildRequires: flex +PreReq: %fillup_prereq +PreReq: %insserv_prereq PreReq: /usr/sbin/useradd +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description RADVD is the Router ADVertisement Daemon. It is used for automated configuration of IPv6 networks. Most people will not need this. - - %prep %setup -q %patch0 -p1 -%patch1 -p1 %build autoreconf -fi -CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure --prefix=%{_prefix} --mandir=%{_mandir} --sysconfdir=%{_sysconfdir} --with-configfile=%{_sysconfdir}/radvd.conf --with-pidfile=/var/run/radvd/radvd.pid -make +CFLAGS="%{optflags} -fno-strict-aliasing" +%configure --disable-silent-rules --with-configfile=%{_sysconfdir}/radvd.conf --with-pidfile=/var/run/radvd/radvd.pid +make %{?_smp_mflags} %install -make install DESTDIR=$RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/etc/init.d -install -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/etc/init.d/radvd -ln -sf /etc/init.d/radvd $RPM_BUILD_ROOT/usr/sbin/rcradvd -mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates -install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates/ -install -m 644 /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/radvd.conf +%makeinstall +mkdir -p %{buildroot}%{_sysconfdir}/init.d +mkdir -p %{buildroot}%{_localstatedir}/run/radvd +install -m 0755 %{SOURCE1} %{buildroot}%{_initddir}/radvd +ln -sf /etc/init.d/radvd %{buildroot}%{_sbindir}/rcradvd +mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates +install -m 644 %{SOURCE2} %{buildroot}%{_localstatedir}/adm/fillup-templates/ +install -m 644 /dev/null %{buildroot}%{_sysconfdir}/radvd.conf %pre getent passwd radvd >/dev/null || \ @@ -68,7 +66,7 @@ %post # zap old (<= 11.4) default -sed -ie '/^RADVD_OPTIONS/s/-u daemon//' /etc/sysconfig/radvd +test -f /etc/sysconfig/radvd && sed -ie '/^RADVD_OPTIONS/s/-u daemon//' /etc/sysconfig/radvd %{fillup_and_insserv radvd} # if [ ! -e /etc/radvd.conf ]; then @@ -106,21 +104,21 @@ %stop_on_removal radvd %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %files %defattr(-,root,root) -%ghost %dir %attr(0755,radvd,root) /var/run/radvd/ +%ghost %dir %attr(0755,radvd,root) %{_localstatedir}/run/radvd/ %ghost %config(noreplace) %{_sysconfdir}/radvd.conf -/var/adm/fillup-templates/sysconfig.radvd -/usr/sbin/radvd -/usr/sbin/radvdump +%{_localstatedir}/adm/fillup-templates/sysconfig.radvd +%{_sbindir}/radvd +%{_sbindir}/radvdump %doc %{_mandir}/man8/radvd.8.gz %doc %{_mandir}/man8/radvdump.8.gz %doc %{_mandir}/man5/radvd.conf.5.gz %doc CHANGES COPYRIGHT TODO INTRO.html %doc radvd.conf.example
commit radvd for openSUSE:Factory
Hello community, here is the log from the commit of package radvd for openSUSE:Factory checked in at Tue Sep 20 09:35:41 CEST 2011. --- radvd/radvd.changes 2009-07-29 12:03:33.0 +0200 +++ /mounts/work_src_done/STABLE/radvd/radvd.changes2011-05-05 09:25:04.0 +0200 @@ -1,0 +2,21 @@ +Tue May 3 14:36:57 UTC 2011 - lnus...@suse.de + +- new version 1.7: + - Fix an unintentional change in 1.3: RAs were accidentally often unicast to +solicitors instead of being multicast. This is still compliant with the +specification but is not optimal. + - Allow radvd.conf prefix, clients, route, and RDNSS options to be in any order. + - exit if the number of prefixes/routes/etc. would grow too much. + - Fix radvd skipping multiple interfaces when UnicastOnly is on or +AdvSendAdvert is off. This got broken in radvd 1.3. + - Fix a segmentation fault on reload_config() timer list corruption that only +occurs with multiple interfaces. + - Add '-c' flag to test configuration. + - Deprecate old, pre-RFC5006 parameters. Support RFC6106 by adding DNS Search List support. +- run as user radvd by default (bnc#691456) +- clean up init script +- install a small default config that advertises ULAs. Default prefix is + autogenerated to get a different for on each installation. +- start even if forwarding is not on to be able to work with ULAs only + +--- calling whatdependson for head-i586 Old: radvd-1.3.tar.bz2 New: 0001-run-as-user-radvd-by-default.diff 0002-continue-even-if-forwarding-is-off.diff radvd-1.7.tar.gz Other differences: -- ++ radvd.spec ++ --- /var/tmp/diff_new_pack.Ks76jz/_old 2011-09-20 09:35:34.0 +0200 +++ /var/tmp/diff_new_pack.Ks76jz/_new 2011-09-20 09:35:34.0 +0200 @@ -25,13 +25,16 @@ PreReq: %insserv_prereq %fillup_prereq AutoReqProv:on Summary:Router ADVertisement Daemon for IPv6 -Version:1.3 +Version:1.7 Release:1 -Source0:%{name}-%{version}.tar.bz2 +Source0:http://www.litech.org/radvd/dist/%{name}-%{version}.tar.gz Source1:radvd.init Source2:sysconfig.radvd +Patch0: 0001-run-as-user-radvd-by-default.diff +Patch1: 0002-continue-even-if-forwarding-is-off.diff Url:http://v6web.litech.org/radvd BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: /usr/sbin/useradd %description RADVD is the Router ADVertisement Daemon. It is used for automated @@ -41,27 +44,63 @@ %prep %setup -q +%patch0 -p1 +%patch1 -p1 %build autoreconf -fi -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --mandir=%{_mandir} --sysconfdir=%{_sysconfdir} --with-configfile=%{_sysconfdir}/radvd.conf --with-pidfile=/var/run/radvd/radvd.pid +CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure --prefix=%{_prefix} --mandir=%{_mandir} --sysconfdir=%{_sysconfdir} --with-configfile=%{_sysconfdir}/radvd.conf --with-pidfile=/var/run/radvd/radvd.pid make %install make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/etc/init.d -install -m 0755 $RPM_SOURCE_DIR/radvd.init $RPM_BUILD_ROOT/etc/init.d/radvd +install -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/etc/init.d/radvd ln -sf /etc/init.d/radvd $RPM_BUILD_ROOT/usr/sbin/rcradvd mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates -install -m 644 $RPM_SOURCE_DIR/sysconfig.radvd $RPM_BUILD_ROOT/var/adm/fillup-templates/ -install -m 644 $RPM_BUILD_DIR/radvd-%{version}/radvd.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/radvd.conf -mkdir -p $RPM_BUILD_ROOT/var/run/radvd +install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates/ +install -m 644 /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/radvd.conf + +%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 || : %post +# zap old (<= 11.4) default +sed -ie '/^RADVD_OPTIONS/s/-u daemon//' /etc/sysconfig/radvd %{fillup_and_insserv radvd} +# +if [ ! -e /etc/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