Hello community, here is the log from the commit of package ddclient for openSUSE:12.1:Update:Test checked in at 2012-03-16 18:23:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.1:Update:Test/ddclient (Old) and /work/SRC/openSUSE:12.1:Update:Test/.ddclient.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ddclient", Maintainer is "ro@suse.com" Changes: -------- New Changes file: --- /dev/null 2012-03-04 14:46:25.491534019 +0100 +++ /work/SRC/openSUSE:12.1:Update:Test/.ddclient.new/ddclient.changes 2012-03-16 18:23:27.000000000 +0100 @@ -0,0 +1,232 @@ +------------------------------------------------------------------- +Thu Mar 8 18:01:44 CET 2012 - ro@suse.de + +- fix issue with updating ip on renewal (bnc#730519) + +------------------------------------------------------------------- +Wed Oct 19 15:06:08 CEST 2011 - ro@suse.de + +- remove leftover debug line in init script + +------------------------------------------------------------------- +Sat Oct 15 10:34:17 CEST 2011 - ro@suse.de + +- upgrade Suggests for perl-IO-Socket-SSL to Recommends + (bnc#723688) + +------------------------------------------------------------------- +Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile + (cf. packaging guidelines) + +------------------------------------------------------------------- +Mon Aug 29 15:22:47 CEST 2011 - ro@suse.de + +- work on init-script so that start/status/stop at least work + (bnc#267306) + +------------------------------------------------------------------- +Tue Sep 1 11:01:31 UTC 2009 - chris@computersalat.de + +- rework config patch + o now one patch + o merged + - ddclient-3.6.3-config.patch + - ddclient-3.7.1-config.patch + - ddclient-3.7.1-sysconfig.patch + to ddclient-3.8.0-config.patch + o defaults for ppp0 +- added update_nic.patch + * opt('use') should have priority to global-defaults +- init script + o beautify + o should start rp-pppoe + o ppp0 as a "use=" default if not set in ddclient.conf +- sysconfig + o added argument list for DDCLIENT_OPTIONS +- cleanup spec + +------------------------------------------------------------------- +Sun Aug 30 20:12:52 CEST 2009 - coolo@novell.com + +- use %patch0 + +------------------------------------------------------------------- +Wed Aug 26 12:53:54 CEST 2009 - mls@suse.de + +- make patch0 usage consistent + +------------------------------------------------------------------- +Mon Feb 2 14:57:23 CET 2009 - kssingvo@suse.de + +- made rpmlint more happy +- removed unneccessary .orig file to avoid build issue + +------------------------------------------------------------------- +Wed Jan 28 14:18:40 CET 2009 - kssingvo@suse.de + +- new version 3.8.0: + * better password handling + * ddclient wrapper now included + * some remarks concerning postscript in sample config file + * support for multiple IP adresses + * namecheap patch + * Preventing error while reading cache when ip wasn't set correctly + before + * Preventing an error when trying to send a message on mail-failure + * mail-on-kill functionality + * documentation changes + +------------------------------------------------------------------- +Tue Jan 27 18:12:39 CET 2009 - kukuk@suse.de + +- Add PreRequires + +------------------------------------------------------------------- +Thu Aug 30 15:01:09 CEST 2007 - kssingvo@suse.de + +- config file ddclient.conf now with noreplace (bugzilla#305533) + +------------------------------------------------------------------- +Tue Aug 7 11:08:19 CEST 2007 - kssingvo@suse.de + +- upgrade to version 3.7.3: + * fixed typo for dnspark + * Renamed dyndns.org to dyndns.com + * opendns support added + * several debian/ubuntu patches included + * Readme changes + * signature modified + * typo in namecheap support + +------------------------------------------------------------------- +Thu Jun 14 12:14:12 CEST 2007 - kssingvo@suse.de + +- upgrade to version 3.7.2: + * updated easydns support + * fix for 'fw' in case of debug + * ssl call changed + * easydns.patch and eurodns.patch now included +- enable_fw patch removed, now in upstream version included + +------------------------------------------------------------------- +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) + +------------------------------------------------------------------- +Tue Apr 3 20:38:18 CEST 2007 - kssingvo@suse.de + +- fixed issue in debug messages (bugzilla#250170) + +------------------------------------------------------------------- +Tue Feb 13 09:43:01 CET 2007 - kssingvo@suse.de + +- disabled ssl in default config (bugzilla#232005) + +------------------------------------------------------------------- +Mon Feb 12 16:11:18 CET 2007 - kssingvo@suse.de + +- update to version 3.7.1: + * URL of zoneedit has changed (see bug #1558483) + * Added initscript for Ubuntu (posted by Paolo Martinelli) + * Added patch "Patch: Treat --daemon values as intervals" + (submitted by James deBoer) + * Don't send any mail when in not running daemon mode (patch + submitted by Daniel Thaler) + * Changed Changelog syntax + * Applied patches submitted by Torsten: + abuse_msg.diff: ddclient still reports the email to contact + dyndns.org but they prefer a web form today (IIRC). This patch + adjusts the abuse warning printed by ddclient. + cachedir.diff: Original ddclient stores a cache file in /etc + which would belong in /var/cache in my opinion and according + to the FHS. + help_nonroot.diff: Allow calling the help function as non-root. + update-new-config.patch: Force update if config has changed + smc-barricade-7401bra.patch: Support for SMC Barricade 7401BRA + FW firewall + cisco_fw.diff: Use configured hostname for firewall access with + -use=cisco (closes: #345712). Thanks to Per Carlson for the + patch! See http://bugs.debian.org/345712. + maxinterval.diff: Increase max interval for updates. + See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=129370 + http://www.dyndns.com/support/services/dyndns/faq.html#q15 +- added Suggests: for perl-IO-SSL-Socket (bugzilla#232005) +- adapted /etc config patch to new version + +------------------------------------------------------------------- +Mon Jan 8 12:31:20 CET 2007 - kssingvo@suse.de + +- fixed checkproc in init script (bugzilla#229460) + +------------------------------------------------------------------- +Wed Sep 20 16:56:41 CEST 2006 - kssingvo@suse.de + +- added init script (bugzilla#201548) + +------------------------------------------------------------------- +Wed Jun 28 16:46:05 CEST 2006 - kssingvo@suse.de + +- update to version 3.7.0: +- support of many new routers +- fix to have a '#' char in the password +- renamed .orig to _orig in %doc section + +------------------------------------------------------------------- +Wed Jan 25 21:35:24 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Jan 11 14:32:12 CET 2006 - kssingvo@suse.de + +- update to version 3.6.7 + +------------------------------------------------------------------- +Tue Jul 26 15:49:56 CEST 2005 - kssingvo@suse.de + +- update to version 3.6.6 + +------------------------------------------------------------------- +Tue Mar 29 14:17:01 CEST 2005 - kssingvo@suse.de + +- fix of config directory location (bugzilla#74539) + ++++ 35 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.1:Update:Test/.ddclient.new/ddclient.changes New: ---- _link ddclient-3.8.0-config.patch ddclient-3.8.0-update_nic.patch ddclient-3.8.0.tar.bz2 ddclient-bug730519.patch ddclient.changes ddclient.spec ddclient.sysconfig rc.ddclient ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ddclient.spec ++++++ # # spec file for package ddclient # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # Name: ddclient Summary: A Perl Client to Update Dynamic DNS Entries License: GPL-2.0+ Group: Productivity/Networking/DNS/Utilities Version: 3.8.0 Release: 0 Url: http://ddclient.sourceforge.net/ Source0: http://switch.dl.sourceforge.net/sourceforge/ddclient/%{name}-%{version}.tar.bz2 Source1: rc.ddclient Source2: %{name}.sysconfig Patch0: %{name}-3.8.0-config.patch Patch1: %{name}-3.8.0-update_nic.patch Patch2: ddclient-bug730519.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq Requires: perl >= 5.004 Recommends: perl-IO-Socket-SSL %description ddclient is a small full-featured client requiring only Perl. Supported features include daemon operation, manual and automatic updates, static and dynamic updates, optimized updates for multiple addresses, MX, wild cards, abuse avoidance, retry for failed updates, and status updates to syslog and through e-mail. ddclient can obtain the IP address from any interface, through a Web-based IP detection service, and for multiple routers using custom FW definitions. It also provides full support for DynDNS.org's NIC2 protocol. Support is also included for other dynamic DNS services. Comes with sample scripts for use with DHCP, PPP, and cron. %prep %setup %patch0 -p1 %patch1 -p1 %patch2 rm -f sample-etc_ddclient.conf.orig chmod a-x sample-etc* mkdir examples mv sample-ddclient-wrapper.sh examples %build #%%configure #make # If the package provides automatic testing #make test # nothing to do here (yet) %install #make DESTDIR=$RPM_BUILD_ROOT install %{__mkdir_p} $RPM_BUILD_ROOT%{_sbindir} %{__mkdir_p} $RPM_BUILD_ROOT/%{_sysconfdir}/init.d %{__install} -m 755 %{name} $RPM_BUILD_ROOT%{_sbindir}/ %{__install} -m 644 sample-etc_ddclient.conf $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}.conf # init script and config file %{__install} -m 755 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/%{name} %{__ln_s} %{_sysconfdir}/init.d/%{name} $RPM_BUILD_ROOT%{_sbindir}/rc%{name} %{__install} -d -m 755 $RPM_BUILD_ROOT/var/adm/fillup-templates %{__install} -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.%{name} %{__install} -d -m 755 $RPM_BUILD_ROOT/var/cache/%{name} %post %{fillup_only} %preun %stop_on_removal ddclient %postun %restart_on_update ddclient %insserv_cleanup %files %defattr(-, root, root) %doc COPY* README* sample* examples %config(noreplace) %attr(600,root,root) %{_sysconfdir}/%{name}.conf %config %attr(0755,root,root) /etc/init.d/%{name} %{_sbindir}/%{name} %{_sbindir}/rc%{name} /var/adm/fillup-templates/sysconfig.%{name} %dir /var/cache/%{name} %changelog ++++++ _link ++++++ <link project="openSUSE:12.1" baserev="f23f0a08842d1ae9843a33138cf8aa44"> <patches> <branch/> </patches> </link> ++++++ ddclient-3.8.0-config.patch ++++++ diff -ruN ddclient-3.8.0-orig/ddclient ddclient-3.8.0/ddclient --- ddclient-3.8.0-orig/ddclient 2009-01-27 19:14:02.000000000 +0000 +++ ddclient-3.8.0/ddclient 2009-04-29 21:37:27.690282779 +0000 @@ -27,7 +27,7 @@ $program =~ s/d$//; my $now = time; my $hostname = hostname(); -my $etc = ($program =~ /test/i) ? './' : '/etc/ddclient/'; +my $etc = ($program =~ /test/i) ? './' : '/etc/'; my $cachedir = ($program =~ /test/i) ? './' : '/var/cache/ddclient/'; my $savedir = ($program =~ /test/i) ? 'URL/' : '/tmp/'; my $msgs = ''; diff -ruN ddclient-3.8.0-orig/sample-etc_ddclient.conf ddclient-3.8.0/sample-etc_ddclient.conf --- ddclient-3.8.0-orig/sample-etc_ddclient.conf 2008-11-19 20:20:34.000000000 +0000 +++ ddclient-3.8.0/sample-etc_ddclient.conf 2009-04-30 14:14:47.793725557 +0000 @@ -18,12 +18,16 @@ ## 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 +#mail=root # mail all msgs to root mail-failure=root # mail failed update msgs to root pid=/var/run/ddclient.pid # record PID in file. -ssl=yes # use ssl-support. Works with +ssl=no # use ssl-support. Works with # ssl-library # postscript=script # run script after updating. The # new IP is added as argument. @@ -52,10 +56,17 @@ ## To obtain an IP address from Web status page (using the proxy if defined) #use=web, web=checkip.dyndns.org/, web-skip='IP Address' # found after IP Address # +###################################################################### +# you do not need to define use= if you are using DSL (ppp0) +# rc.ddclient is using "use=if, if=ppp0" as default +# #use=ip, ip=127.0.0.1 # via static IP's #use=if, if=eth0 # via interfaces +#use=if, if=ippp0 # when using ISDN +#use=if, if=ppp0 # when using DSL #use=web # via web # +###################################################################### #protocol=dyndns2 # default protocol #proxy=fasthttp.sympatico.ca:80 # default proxy #server=members.dyndns.org # default server ++++++ ddclient-3.8.0-update_nic.patch ++++++ diff -ruN ddclient-3.8.0-orig/ddclient ddclient-3.8.0/ddclient --- ddclient-3.8.0-orig/ddclient 2009-01-27 19:14:02.000000000 +0000 +++ ddclient-3.8.0/ddclient 2009-05-01 20:55:20.386630124 +0000 @@ -726,7 +726,7 @@ foreach my $h (sort keys %config) { next if $config{$h}{'protocol'} ne lc($s); $examined{$h} = 1; - my $use = $config{$h}{'use'} || opt('use'); + my $use = $opt{'use'} || $config{$h}{'use'}; local $opt{$use} = $config{$h}{$use} if $config{$h}{$use}; my $ip = get_ip($use); if (!defined $ip || !$ip) { ++++++ ddclient-bug730519.patch ++++++ --- ddclient +++ ddclient @@ -841,9 +841,9 @@ %opt = %saved; foreach my $h (keys %cache) { - if (exists $config{$h}) { + if (exists $config->{$h}) { foreach (qw(atime mtime wtime ip status)) { - $config{$h}{$_} = $cache{$h}{$_} if exists $cache{$h}{$_}; + $config->{$h}{$_} = $cache{$h}{$_} if exists $cache{$h}{$_}; } } } @@ -1093,7 +1093,7 @@ ## merge options into host definitions or globals if (@hosts) { foreach my $h (@hosts) { - $config{$h} = %{ merge(\%options, $config{$h}) }; + $config{$h} = merge(\%options, $config{$h}); } $opt{'host'} = join(',', @hosts); } else { ++++++ ddclient.sysconfig ++++++ ## Path: Network/DNS/Utilities ## Description: ddclient intervall option ## Type: integer ## Default: 300 ## ServiceRestart: ddclient # # intervall to check (in daemon mode) # DDCLIENT_INTERVALL="300" ## Description: ddclient start options ## Type: string ## Default: "" ## ServiceRestart: ddclient # # optional per-service arguments (see below). # # -{no}retry : retry failed updates. (default: noretry). # -{no}force : force an update even if the update may be unnecessary (default: noforce). # -timeout max : wait at most 'max' seconds for the host to respond (default: 0). # -{no}syslog : log messages to syslog (default: nosyslog). # -facility {type} : log messages to syslog to facility {type} (default: daemon). # -priority {pri} : log messages to syslog with priority {pri} (default: notice). # -{no}exec : do {not} execute; just show what would be done (default: exec). # -{no}debug : print {no} debugging information (default: nodebug). # -{no}verbose : print {no} verbose information (default: noverbose). # -{no}quiet : print {no} messages for unnecessary updates (default: noquiet). # -help : this message (default: 0). # -{no}query : print {no} ip addresses and exit. # DDCLIENT_OPTIONS="" ++++++ rc.ddclient ++++++ #!/bin/sh # Copyright (c) 2005-2006 SUSE Linux AG, Nuernberg, Germany. # All rights reserved. # # Author: Klaus Singvogel. # Please send feedback to http://www.suse.de/feedback # # ddclient This shell script takes care of starting and stopping # ddclient. # # ### BEGIN INIT INFO # Provides: ddclient # Required-Start: $syslog $local_fs $network # Should-Start: $time ypbind sendmail $remote_fs rp-pppoe # Required-Stop: $syslog $local_fs # Should-Stop: $time ypbind sendmail $remote_fs rp-pppoe # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: ddclient a daemon to update dynamic DNS entries # Description: ddclient is a Perl client used to update dynamic DNS # entries for accounts on many dynamic DNS services and # can be used on many types of firewalls ### END INIT INFO # DDCLIENT_BIN=/usr/sbin/ddclient DDCLIENT_CONFIG=/etc/ddclient.conf DDCLIENT_SYSCONFIG=/etc/sysconfig/ddclient [ -x $DDCLIENT_BIN ] || exit 5 [ -s $DDCLIENT_CONFIG ] || exit 6 [ -s $DDCLIENT_SYSCONFIG ] && . $DDCLIENT_SYSCONFIG # some defaults dd_intervall=${DDCLIENT_INTERVALL:-300} # if no "use=" is set in ddclient.conf try 'ppp0' as a default if [ `/bin/cat $DDCLIENT_CONFIG | grep -e "^use=" >/dev/null; echo $?` -eq 0 ]; then dd_use= else dd_use="-use=if -if ppp0" fi # Shell functions sourced from /etc/rc.status: # rc_check check and set local and overall rc status # rc_status check and set local and overall rc status # rc_status -v ditto but be verbose in local rc status # rc_status -v -r ditto and clear the local rc status # rc_failed set local and overall rc status to failed # rc_failed <num> set local and overall rc status to <num><num> # rc_reset clear local rc status (overall remains) # rc_exit exit appropriate to overall rc status . /etc/rc.status # First reset status of this service rc_reset # Return values acc. to LSB for all commands but status: # 0 - success # 1 - generic or unspecified error # 2 - invalid or excess argument(s) # 3 - unimplemented feature (e.g. "reload") # 4 - insufficient privilege # 5 - program is not installed # 6 - program is not configured # 7 - program is not running # # Note that starting an already running service, stopping # or restarting a not-running service as well as the restart # with force-reload (in case signalling is not supported) are # considered a success. case "$1" in start) echo -n "Starting ddclient daemon :" /sbin/startproc "$DDCLIENT_BIN" -daemon $dd_intervall "$dd_use" $DDCLIENT_OPTIONS -pid /var/run/ddclient.pid # remember status and be verbose rc_status -v ;; stop) echo -n "Shutting down ddclient daemon :" /sbin/killproc -p /var/run/ddclient.pid -TERM /usr/bin/perl # remember status and be verbose rc_status -v ;; try-restart) $0 status >/dev/null && $0 restart # Remember status and be quiet rc_status ;; restart) $0 stop $0 start # Remember status and be quiet rc_status ;; force-reload) # echo -n "Reload service ddclient" rc_failed 3 # remember status and be verbose rc_status -v ;; reload) rc_failed 3 # remember status and be verbose rc_status -v ;; status) echo -n "Checking for service ddclient :" /sbin/checkproc -p /var/run/ddclient.pid /usr/bin/perl # remember status and be verbose rc_status -v ;; *) echo "Usage: ddclient {start|stop|try-restart|restart|status}" exit 1 esac rc_exit -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org