Hello community, here is the log from the commit of package ez-ipupdate for openSUSE:Factory checked in at 2013-11-01 14:38:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ez-ipupdate (Old) and /work/SRC/openSUSE:Factory/.ez-ipupdate.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ez-ipupdate" Changes: -------- --- /work/SRC/openSUSE:Factory/ez-ipupdate/ez-ipupdate.changes 2013-04-12 20:29:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ez-ipupdate.new/ez-ipupdate.changes 2013-11-01 14:38:32.000000000 +0100 @@ -1,0 +2,17 @@ +Wed Oct 30 16:11:00 CET 2013 - pth@suse.de + +- Modify the creation of the service symlink. +- Use %builroot instead of $RPM_OPT_FLAGS. + +------------------------------------------------------------------- +Tue Oct 29 13:55:29 CET 2013 - pth@suse.de + +- Remove dist-xz from the options to AM_INIT_AUTOMAKE to make + it build on SLE. + +------------------------------------------------------------------- +Sun Oct 27 17:57:26 UTC 2013 - p.drouand@gmail.com + +- Add systemd support for openSUSE >= 12.3 + +------------------------------------------------------------------- New: ---- ez-ipupdate.service ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ez-ipupdate.spec ++++++ --- /var/tmp/diff_new_pack.GzCsb7/_old 2013-11-01 14:38:34.000000000 +0100 +++ /var/tmp/diff_new_pack.GzCsb7/_new 2013-11-01 14:38:34.000000000 +0100 @@ -26,6 +26,7 @@ Source0: %{name}-%{version}.tar.bz2 Source1: ez-ipupdate.init Source2: ez-ipupdate.example.conf +Source3: ez-ipupdate.service Patch: ez-ipupdate.example.conf.patch Patch1: ez-ipupdate-3.0.11b8-include.diff Patch2: ez-ipupdate-format-string-vuln.patch @@ -41,7 +42,12 @@ Patch8: ez-ipupdate-code_cleanup.patch Url: http://ez-ipupdate.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-build -PreReq: %insserv_prereq +%if 0%{?suse_version} >=1230 +BuildRequires: pkgconfig(systemd) +%{?systemd_requires} +%else +Requires(pre): %insserv_prereq +%endif %description ez-ipupdate is a small utility for updating your hostname for any of @@ -94,24 +100,45 @@ make %{?_smp_mflags} %install -make DESTDIR=$RPM_BUILD_ROOT install -install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir} -install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/init.d -install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/ez-ipupdate/ -install -m 600 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/ez-ipupdate.conf -install -m 755 %{S:1} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/ez-ipupdate -install -d $RPM_BUILD_ROOT%{_sbindir} -ln -sf /etc/init.d/ez-ipupdate $RPM_BUILD_ROOT%{_sbindir}/rcez-ipupdate +make DESTDIR=%{buildroot} install +install -m 755 -d %{buildroot}%{_sysconfdir} +install -d %{buildroot}%{_sbindir} +%if 0%{?suse_version} >=1230 +install -m 755 -d %{buildroot}%{_unitdir} +%else +install -m 755 -d %{buildroot}%{_sysconfdir}/init.d +%endif +install -m 755 -d %{buildroot}%{_localstatedir}/lib/ez-ipupdate/ +install -m 600 %{S:2} %{buildroot}%{_sysconfdir}/ez-ipupdate.conf +%if 0%{?suse_version} >=1230 +install -m 755 %{S:3} %{buildroot}%{_unitdir}/ez-ipupdate.service +ln -sf /sbin/service %{buildroot}%{_sbindir}/rcez-ipupdate +%else +install -m 755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/ez-ipupdate +ln -sf /etc/init.d/ez-ipupdate %{buildroot}%{_sbindir}/rcez-ipupdate +%endif %preun +%if 0%{?suse_version} >=1230 +%service_del_preun %{name}.service +%else %stop_on_removal %{name} +%endif %post +%if 0%{?suse_version} >=1230 +%service_add_post %{name}.service +%else %{fillup_and_insserv -f %{name}} +%endif %postun +%if 0%{?suse_version} >=1230 +%service_del_postun +%else %{name}.service %restart_on_update %{name} %insserv_cleanup +%endif %files %defattr(-, root, root) @@ -119,7 +146,11 @@ %{_bindir}/ez-ipupdate %{_sbindir}/rcez-ipupdate %config(noreplace) %{_sysconfdir}/ez-ipupdate.conf +%if 0%{?suse_version} >=1230 +%{_unitdir}/%{name}.service +%else %{_sysconfdir}/init.d/ez-ipupdate +%endif %{_localstatedir}/lib/ez-ipupdate/ %changelog ++++++ ez-ipupdate-fix_autofoo.patch ++++++ --- /var/tmp/diff_new_pack.GzCsb7/_old 2013-11-01 14:38:34.000000000 +0100 +++ /var/tmp/diff_new_pack.GzCsb7/_new 2013-11-01 14:38:34.000000000 +0100 @@ -1,12 +1,12 @@ --- Makefile.am | 11 ++++++++--- - configure.in | 59 ++++++++++++++++++++++++++++++++--------------------------- + configure.ac | 59 ++++++++++++++++++++++++++++++++--------------------------- 2 files changed, 40 insertions(+), 30 deletions(-) Index: Makefile.am =================================================================== ---- Makefile.am.orig 2001-07-07 23:19:35.000000000 +0200 -+++ Makefile.am 2013-04-11 12:05:21.086671161 +0200 +--- Makefile.am.orig 2013-10-29 13:53:18.608827074 +0100 ++++ Makefile.am 2013-10-29 13:54:03.306789770 +0100 @@ -1,8 +1,13 @@ bin_PROGRAMS = ez-ipupdate @@ -27,7 +27,7 @@ Index: configure.ac =================================================================== --- configure.ac.orig 2003-04-17 19:32:34.000000000 +0200 -+++ configure.ac 2013-04-11 12:19:08.454510832 +0200 ++++ configure.ac 2013-10-29 13:54:34.338065989 +0100 @@ -1,9 +1,10 @@ dnl Process this file with autoconf to produce a configure script. @@ -39,7 +39,7 @@ +AC_CONFIG_SRCDIR([ez-ipupdate.c]) +AC_CONFIG_HEADERS(config.h) +AC_CONFIG_FILES(Makefile) -+AM_INIT_AUTOMAKE([foreign dist-xz]) ++AM_INIT_AUTOMAKE([foreign]) dnl Checks for programs. ++++++ ez-ipupdate.service ++++++ [Unit] Description=Ez-ipupdate Check and update your IP to dynamic DNS Server After=network.target [Service] Type=forking PIDFile=/run/ez-ipupdate/ez-ipupdate.pid ExecStart=/usr/sbin/ez-ipupdate --daemon --config-file /etc/ez-ipupdate/default.conf --pid-file /run/ez-ipupdate/ez-ipupdate.pid [Install] WantedBy=multi-user.target -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org