rpms/ez-ipupdate/EL-5 ez-ipupdate-3.0.11b8-zoneedit-server.patch, NONE, 1.1 import.log, NONE, 1.1 ez-ipupdate.init, 1.2, 1.3 ez-ipupdate.spec, 1.14, 1.15

Itamar Reis Peixoto itamarjp at fedoraproject.org
Mon Sep 14 05:13:50 UTC 2009


Author: itamarjp

Update of /cvs/pkgs/rpms/ez-ipupdate/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26686/EL-5

Modified Files:
	ez-ipupdate.init ez-ipupdate.spec 
Added Files:
	ez-ipupdate-3.0.11b8-zoneedit-server.patch import.log 
Log Message:
sync with fedora


ez-ipupdate-3.0.11b8-zoneedit-server.patch:
 ez-ipupdate.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE ez-ipupdate-3.0.11b8-zoneedit-server.patch ---
diff --git a/ez-ipupdate.c b/ez-ipupdate.c
index 9aea495..a6d2528 100644
--- a/ez-ipupdate.c
+++ b/ez-ipupdate.c
@@ -95,7 +95,7 @@
 #define HN_DEFAULT_PORT "80"
 #define HN_REQUEST "/vanity/update"
 
-#define ZONEEDIT_DEFAULT_SERVER "www.zoneedit.com"
+#define ZONEEDIT_DEFAULT_SERVER "dynamic.zoneedit.com"
 #define ZONEEDIT_DEFAULT_PORT "80"
 #define ZONEEDIT_REQUEST "/auth/dynamic.html"
 


--- NEW FILE import.log ---
ez-ipupdate-3_0_11-0_22_b8_fc12:EL-5:ez-ipupdate-3.0.11-0.22.b8.fc12.src.rpm:1252905075


Index: ez-ipupdate.init
===================================================================
RCS file: /cvs/pkgs/rpms/ez-ipupdate/EL-5/ez-ipupdate.init,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- ez-ipupdate.init	2 Jul 2006 21:16:44 -0000	1.2
+++ ez-ipupdate.init	14 Sep 2009 05:13:50 -0000	1.3
@@ -2,10 +2,17 @@
 #
 # ez-ipupdate     Starts and stops the ez-ipupdate daemon
 #
-# chkconfig: - 55 45
 #
+# chkconfig: - 55 45
 # processname: ez-ipupdate
 # description: Check and update your IP to dynamic DNS Server.
+### BEGIN INIT INFO
+# Short-Description: Check and update your IP to dynamic DNS Server
+# Provides: ez-ipupdate
+# Required-Start: $local_fs $network
+# Required-Stop: $local_fs
+# Should-Start: $time
+### END INIT INFO
 
 ez_configdir=/etc/ez-ipupdate
 ez_piddir=/var/run/ez-ipupdate
@@ -35,12 +42,15 @@ start() {
 	    # Don't run configurations that run in foreground
 	    if grep -q '^ *foreground' ${ez_configfile}; then continue; fi
 	    ez_name=`basename $ez_configfile .conf`
+	    if [ -f $ez_piddir/$ez_name.pid ]; then
+		if status -p $ez_piddir/$ez_name.pid; then
+		    continue
+		fi
+	    fi	
 	    echo -n $"Starting $prog for $ez_name: "
 	    daemon $ez_bin --daemon --config-file $ez_configfile --pid-file $ez_piddir/$ez_name.pid
-	    error=$?
+	    [ $? -ne 0 ] && RETVAL=1
 	    echo
-	    [ $error -eq 0 ] && touch /var/lock/subsys/$prog-$ez_name
-	    [ $RETVAL -eq 0 ] && RETVAL=$error
 	fi
     done
 }
@@ -52,10 +62,8 @@ stop() {
 	    ez_name=`basename $pidfile .pid`
 	    echo -n $"Shutting down $prog for $ez_name: "
 	    killproc -p $pidfile $prog -QUIT
-	    error=$?
+    	    [ $? -ne 0 ] && RETVAL=1
 	    echo
-    	    [ $error -eq 0 ] && rm -f /var/lock/subsys/$prog-$ez_name && rm -f $ez_piddir/$ez_name
-	    [ $RETVAL -eq 0 ] && RETVAL=$error
 	fi
     done
 }
@@ -67,16 +75,14 @@ reload() {
 	    ez_name=`basename $pidfile .pid`
 	    echo -n $"Reloading $prog for $ez_name: "
 	    killproc -p $pidfile $prog -HUP
-	    error=$?
-	    [ $RETVAL -eq 0 ] && RETVAL=$error
+	    [ $? -ne 0 ] && RETVAL=1
 	    echo
 	fi
     done
 }
 
 restart() {
-    stop
-    start
+    stop && start
     RETVAL=$?
 }
 
@@ -95,7 +101,7 @@ case "$1" in
     reload
     ;;
   condrestart|try-restart)
-    ls /var/lock/subsys/$prog-* 1>/dev/null 2>&1 && restart
+    ls ${ez_piddir}/*.pid >/dev/null && restart
     ;;
   status)
     status $prog


Index: ez-ipupdate.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ez-ipupdate/EL-5/ez-ipupdate.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- ez-ipupdate.spec	17 Jun 2007 02:26:57 -0000	1.14
+++ ez-ipupdate.spec	14 Sep 2009 05:13:50 -0000	1.15
@@ -1,15 +1,16 @@
 Name:           ez-ipupdate
 Version:        3.0.11
-Release:        0.14.b8%{?dist}
+Release:        0.22.b8%{?dist}
 Summary:        Client for Dynamic DNS Services
 
 Group:          Applications/Internet
-License:        GPL
+License:        GPLv2+
 URL:            http://www.gusnet.cx/proj/ez-ipupdate/
 Source0:        http://www.gusnet.cx/proj/ez-ipupdate/dist/ez-ipupdate-3.0.11b8.tar.gz
 Source1:        %{name}.init
 Patch0:         http://ftp.debian.org/debian/pool/main/e/ez-ipupdate/ez-ipupdate_3.0.11b8-10.diff.gz
 Patch1:         %{name}-pidfile.patch
+Patch2:		ez-ipupdate-3.0.11b8-zoneedit-server.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires(post):   /sbin/chkconfig
@@ -40,12 +41,14 @@ You can find some examples in %{_docdir}
 %setup -q -n %{name}-%{version}b8
 %patch0 -p1
 %patch1 -p0
+%patch2 -p1
 touch *.in aclocal.m4 configure
 chmod +x missing
 chmod a-x example*.conf
 
 
 %build
+export CFLAGS="-D_FILE_OFFSET_BITS=64 $RPM_OPT_FLAGS"
 %configure
 make %{?_smp_mflags}
 
@@ -118,6 +121,32 @@ fi
 %ghost %attr(0640,root,ez-ipupd) %config(noreplace,missingok) %{_sysconfdir}/ez-ipupdate/default.conf
 
 %changelog
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.11-0.22.b8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.11-0.21.b8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Fri Jul 18 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 3.0.11-0.20.b8
+- fix license tag
+
+* Mon Jun 16 2008 Jeff Layton <jlayton at redhat.com> - 3.0.11-0.19.b8
+- compile with -D_FILE_OFFSET_BITS=64 so we can handle 64-bit inode numbers
+  in stat() calls
+
+* Sun Jun  8 2008 Jeff Layton <jlayton at redhat.com> - 3.0.11-0.18.b8
+- default server for zoneedit has changed to dynamic.zoneedit.com (BZ#449375)
+
+* Tue Mar 11 2008 Jeff Layton <jlayton at redhat.com> - 3.0.11-0.17.b8
+- ez-ipupdate would be started a second time on runlevel changes (BZ#436616)
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 3.0.11-0.16.b8
+- Autorebuild for GCC 4.3
+
+* Sun Jul 15 2007 Jeff Layton <jlayton at redhat.com> - 3.0.11-0.15.b8
+- initscript: add LSB header and fix return values
+- initscript: remove /var/lock/subsys references
+
 * Fri Jun 15 2007 J. Randall Owens <jrowens at ghiapet.homeip.net> - 3.0.11-0.14.b8
 - fix doc directory permissions
 




More information about the fedora-extras-commits mailing list