Hello community, here is the log from the commit of package ddclient checked in at Thu May 3 23:57:41 CEST 2007. -------- --- ddclient/ddclient.changes 2007-04-03 20:38:43.000000000 +0200 +++ /mounts/work_src_done/STABLE/ddclient/ddclient.changes 2007-05-03 14:28:35.877923000 +0200 @@ -1,0 +2,6 @@ +Thu May 3 14:26:56 CEST 2007 - kssingvo@suse.de + +- added sysconfig file, as suggested in bugzilla#268138 +- added /var/cache/ddclient (bugzilla#268138) + +------------------------------------------------------------------- New: ---- ddclient-3.7.1-sysconfig.patch ddclient.sysconfig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ddclient.spec ++++++ --- /var/tmp/diff_new_pack.S29669/_old 2007-05-03 23:54:35.000000000 +0200 +++ /var/tmp/diff_new_pack.S29669/_new 2007-05-03 23:54:35.000000000 +0200 @@ -17,15 +17,17 @@ Suggests: perl-IO-Socket-SSL Autoreqprov: on Version: 3.7.1 -Release: 9 +Release: 15 URL: http://ddclient.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A Perl Client to Update Dynamic DNS Entries Source0: http://switch.dl.sourceforge.net/sourceforge/ddclient/%{name}-%{version}.tar.bz2 Source1: rc.ddclient +Source2: ddclient.sysconfig Patch0: ddclient-3.6.3-config.patch Patch1: ddclient-3.7.1-config.patch Patch2: ddclient-3.7.1-fw_debug.patch +Patch3: ddclient-3.7.1-sysconfig.patch %description ddclient is a small full-featured client requiring only Perl. Supported @@ -51,6 +53,7 @@ %patch0 -p1 -b _orig %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build #export CFLAGS="$RPM_OPT_FLAGS" @@ -72,10 +75,15 @@ mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/init.d install -m 755 %{name} $RPM_BUILD_ROOT/usr/sbin/ install -m 644 sample-etc_ddclient.conf $RPM_BUILD_ROOT/%{_sysconfdir}/ddclient.conf -# init script +# init script and config file install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/ddclient ln -s %{_sysconfdir}/init.d/ddclient $RPM_BUILD_ROOT/usr/sbin/rcddclient +install -d -m 755 $RPM_BUILD_ROOT/var/adm/fillup-templates +install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.ddclient +install -d -m 755 $RPM_BUILD_ROOT/var/cache/ddclient +%post +%{fillup_only} %preun %stop_on_removal ddclient @@ -94,9 +102,14 @@ %config %attr(0755,root,root) /etc/init.d/ddclient /usr/sbin/%{name} /usr/sbin/rcddclient +/var/adm/fillup-templates/sysconfig.ddclient +%dir /var/cache/ddclient %doc COPY* README* sample* %changelog +* Thu May 03 2007 - kssingvo@suse.de +- added sysconfig file, as suggested in bugzilla#268138 +- added /var/cache/ddclient (bugzilla#268138) * Tue Apr 03 2007 - kssingvo@suse.de - fixed issue in debug messages (bugzilla#250170) * Tue Feb 13 2007 - kssingvo@suse.de ++++++ ddclient-3.7.1-sysconfig.patch ++++++ --- ddclient-3.7.1/sample-etc_ddclient.conf.orig 2007-05-03 14:25:43.000000000 +0200 +++ ddclient-3.7.1/sample-etc_ddclient.conf 2007-05-03 14:29:36.000000000 +0200 @@ -18,6 +18,7 @@ ## are mentioned here. ## ###################################################################### +# daemon: consider to use /etc/sysconfig/ddclient instead of modifying here daemon=300 # check every 300 seconds syslog=yes # log update msgs to syslog #mail=root # mail all msgs to root ++++++ rc.ddclient ++++++ --- ddclient/rc.ddclient 2007-01-08 12:31:15.000000000 +0100 +++ /mounts/work_src_done/STABLE/ddclient/rc.ddclient 2007-05-03 14:25:18.611387000 +0200 @@ -28,17 +28,22 @@ # Source SuSE config, only if exists with size greater zero test -s /etc/rc.status && . /etc/rc.status +DDCLIENT_SYSCONFIG=/etc/sysconfig/ddclient DDCLIENT_CONFIG=/etc/ddclient.conf DDCLIENT_BIN=/usr/sbin/ddclient test -s "$DDCLIENT_CONFIG" || exit 6 +test -s "$DDCLIENT_SYSCONFIG" && . "$DDCLIENT_SYSCONFIG" + +dd_intervall=${DDCLIENT_INTERVALL:-300} + rc_reset case "$1" in start) echo -n "Starting ddclient daemon" - startproc "$DDCLIENT_BIN" -daemon 300 + startproc "$DDCLIENT_BIN" -daemon $dd_intervall $DDCLIENT_OPTIONS rc_status -v ;; stop) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de