Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76625 - new version of ddclient (3.6.6)
Summary: new version of ddclient (3.6.6)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL: http://sourceforge.net/project/showfi...
Whiteboard:
Keywords:
: 86240 87770 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-04 05:15 UTC by Giacomo Graziosi
Modified: 2005-04-06 11:29 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
suggested ebuild with correct sourceforge download site and homepage. (ddclient-3.6.5.ebuild,748 bytes, text/plain)
2005-01-16 16:43 UTC, Matthew Smith
Details
Patch to allow daemon=0 to be set in conf file (ddclient-3.6.5-daemon0inconfig.diff,581 bytes, patch)
2005-01-17 09:55 UTC, Michael Hordijk
Details | Diff
Ebuild with support for daemon0inconf patch (ddclient-3.6.5.ebuild,860 bytes, text/plain)
2005-01-17 09:58 UTC, Michael Hordijk
Details
mss1 patch from 3.6.3 (ddclient-3.6.5-mss1.diff,416 bytes, patch)
2005-01-17 09:59 UTC, Michael Hordijk
Details | Diff
ddclient-3.6.6.patch (ddclient-3.6.6.patch,1.41 KB, patch)
2005-04-02 07:45 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
ddclient-3.6.6.patch (ddclient-3.6.6.patch,1.58 KB, patch)
2005-04-03 09:00 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Giacomo Graziosi 2005-01-04 05:15:36 UTC
Please put an updated ebuild into portage.
Thank you.
Comment 1 Simon Roby 2005-01-16 14:59:26 UTC
I second that. I need a newer version because of my new router.
Comment 2 Matthew Smith 2005-01-16 16:43:43 UTC
Created attachment 48698 [details]
suggested ebuild with correct sourceforge download site and homepage.

save as ~/portage/net-dns/ddclient/ddclient-3.6.5.ebuild
set the overlay variable in make.conf to point to your home/portage tree
run ebuild ddclient-3.6.5.ebuild digest
emerge the package.
Comment 3 Matthew Smith 2005-01-16 16:45:01 UTC
oh yeah, and echo "net-dns/ddclient" >> /etc/portage/packages.keywords 
Comment 4 Michael Hordijk 2005-01-17 09:55:52 UTC
Created attachment 48765 [details, diff]
Patch to allow daemon=0 to be set in conf file

As it is now, daemon=0 cannot be set in the conf file.	If you don't have a
conf file, it defaults to 0, and you can override it from the command line, but
the conf file forces it to be 60.  This patch fixes that problem.

I've also posted the patch to the ddclient forum
(https://sourceforge.net/forum/forum.php?thread_id=1212201&forum_id=399428), so
hopefully it'll be all fixed up in the next release.

I'll also toss up my ebuild supporting the patch.
Comment 5 Michael Hordijk 2005-01-17 09:58:11 UTC
Created attachment 48766 [details]
Ebuild with support for daemon0inconf patch

Here's the ebuild I used.  I retained the "mss1" patch from 3.6.3.  Oh,
actually, I updated it for the new release.  OK, I'll send that up here as
well.
Comment 6 Michael Hordijk 2005-01-17 09:59:49 UTC
Created attachment 48767 [details, diff]
mss1 patch from 3.6.3

I updated this patch for the new relase.  It doesn't look like this patch was
directly implemented in the new release (since 3.6.3).	But I'm not sure, since
I don't use the named DNS provider that this patch was supposed to fix.
Comment 7 Matthew Smith 2005-01-17 16:44:04 UTC
I can confirm that the patch is still needed - I thought it had been fixed in the newer version but it hasn't - the patch does the trick though.  I'll send it to the ddclient project contact.
Comment 8 Richard Freeman gentoo-dev 2005-02-20 12:53:04 UTC
FYI - works on amd64.
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2005-03-22 06:30:23 UTC
*** Bug 86240 has been marked as a duplicate of this bug. ***
Comment 10 Seemant Kulleen (RETIRED) gentoo-dev 2005-04-01 14:22:18 UTC
Sparc and PPC teams, please see if you can mark 3.6.3 (NOT 3.6.6 which was just added today) stable on your respective architectures.
Comment 11 Pedro Morales 2005-04-01 22:12:30 UTC
I get sandbox violations with the ebuild currently in portage. The output is the following:

# emerge ddclient
Calculating dependencies ...done!
>>> emerge (1 of 1) net-dns/ddclient-3.6.6 to /
>>> md5 src_uri ;-) ddclient-3.6.6.tar.gz
>>> Unpacking source...
>>> Unpacking ddclient-3.6.6.tar.gz to /var/tmp/portage/ddclient-3.6.6/work
 * Applying ddclient-mss1.diff ...                                        [ ok ]
 * Applying ddclient-daemon0inconfig.diff ...                             [ ok ]
>>> Source unpacked.
>>> Test phase [not enabled]: net-dns/ddclient-3.6.6

>>> Install ddclient-3.6.6 into /var/tmp/portage/ddclient-3.6.6/image/ category net-dns
ACCESS DENIED  chmod:     /etc/ddclient/ddclient.cache
chmod: changing permissions of `/etc/ddclient/ddclient.cache': Permission denied
ACCESS DENIED  chmod:     /etc/ddclient/ddclient.conf
chmod: changing permissions of `/etc/ddclient/ddclient.conf': Permission denied
ACCESS DENIED  chmod:     /etc/ddclient/sample-etc_cron.d_ddclient
chmod: changing permissions of `/etc/ddclient/sample-etc_cron.d_ddclient': Permission denied
ACCESS DENIED  chmod:     /etc/ddclient/sample-etc_ddclient.conf
chmod: changing permissions of `/etc/ddclient/sample-etc_ddclient.conf': Permission denied
ACCESS DENIED  chmod:     /etc/ddclient/sample-etc_dhclient-enter-hooks
chmod: changing permissions of `/etc/ddclient/sample-etc_dhclient-enter-hooks': Permission denied
ACCESS DENIED  chmod:     /etc/ddclient/sample-etc_dhclient-exit-hooks
chmod: changing permissions of `/etc/ddclient/sample-etc_dhclient-exit-hooks': Permission denied
ACCESS DENIED  chmod:     /etc/ddclient/sample-etc_dhcpc_dhcpcd-eth0.exe
chmod: changing permissions of `/etc/ddclient/sample-etc_dhcpc_dhcpcd-eth0.exe': Permission denied
ACCESS DENIED  chmod:     /etc/ddclient/sample-etc_ppp_ip-up.local
chmod: changing permissions of `/etc/ddclient/sample-etc_ppp_ip-up.local': Permission denied
ACCESS DENIED  chmod:     /etc/ddclient/sample-etc_rc.d_init.d_ddclient
chmod: changing permissions of `/etc/ddclient/sample-etc_rc.d_init.d_ddclient': Permission denied
ACCESS DENIED  chmod:     /etc/ddclient/sample-etc_rc.d_init.d_ddclient.redhat
chmod: changing permissions of `/etc/ddclient/sample-etc_rc.d_init.d_ddclient.redhat': Permission denied
man:
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
strip: i686-pc-linux-gnu-strip --strip-unneeded
>>> Completed installing ddclient-3.6.6 into /var/tmp/portage/ddclient-3.6.6/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-dns_-_ddclient-3.6.6-15914.log"

chmod:     /etc/ddclient/ddclient.cache
chmod:     /etc/ddclient/ddclient.conf
chmod:     /etc/ddclient/sample-etc_cron.d_ddclient
chmod:     /etc/ddclient/sample-etc_ddclient.conf
chmod:     /etc/ddclient/sample-etc_dhclient-enter-hooks
chmod:     /etc/ddclient/sample-etc_dhclient-exit-hooks
chmod:     /etc/ddclient/sample-etc_dhcpc_dhcpcd-eth0.exe
chmod:     /etc/ddclient/sample-etc_ppp_ip-up.local
chmod:     /etc/ddclient/sample-etc_rc.d_init.d_ddclient
chmod:     /etc/ddclient/sample-etc_rc.d_init.d_ddclient.redhat
--------------------------------------------------------------------------------


If needed I can add an attachment with my emerge info and that sort of stuff.
Comment 12 Jesus Gonzalez Alvarez 2005-04-02 02:13:36 UTC
The same problem than in comment #11.
Emerge info:
Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 12:31:52)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.gigaload.org/gentoo.org/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="es_ES@euro"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi4linux adns alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups curl dbus dga directfb dvd dvdr eds emboss encode epiphany esd evo fam fbcon flac font-server foomaticdb fortran gb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib ipv6 jack java jpeg junit kde ldap libg++ libwww mad maildir mikmod mmx mono motif mozilla mp3 mpeg mysql nas ncurses nls oggvorbis opengl oss pam pcmcia pda perl png python qt quicktime readline samba sdl see2 slang snmp speex spell sqlite sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib linguas_es"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS

Comment 13 Bertrand Jacquin 2005-04-02 03:05:52 UTC
Just modify the ebuild in src_install :
- chmod 640 /etc/ddclient/*
+ chmod 640 ${D}/etc/ddclient/*
Comment 14 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-02 07:23:06 UTC
That's not the way to handle it... just a couple of minutes and i'll submit a revised ebuild..
Comment 15 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-02 07:45:36 UTC
Created attachment 55105 [details, diff]
ddclient-3.6.6.patch

This patch cleansup the ebuild and remove the sandbox error.
- As first, it uses insopt instead of chmod/chown.
- It uses newinitd to install the init.d script.
- It doesn't select an uid/gid for ddclient user/group as it could be already
took, better let enewuser/enewgroup select it.
- It removes ebeep/epause (they are most annoying and the warning is not so
important to require the user wait to read it.
- It installs the sample configuration files into docdir, as I don't think
anyone likes to etc-update useless sample configuration files.

HTH
Comment 16 Jason Wever (RETIRED) gentoo-dev 2005-04-02 08:34:54 UTC
Stable on SPARC.
Comment 17 Matteo Settenvini 2005-04-03 01:23:59 UTC
What about the pid file?
Imho, both ddclient.conf, ddclient.cache and /etc/ddclient (directory) should have owner "ddclient", too. Else I noted some errors in the mail.

--------------------
Message 1:
From ddclient@tchernobog.homelinux.org Sun Apr  3 11:18:40 2005
Date: Sun, 3 Apr 2005 11:18:40 +0200
From: added by portage for ddclient <ddclient@tchernobog.homelinux.org>
To: matteo@tchernobog.homelinux.org
Subject: status report from ddclient@tulip

WARNING:  Cannot create file '/var/run/ddclient.pid'. (Permission denied)

regards,
   ddclient@tulip (version 3.6.6)
Comment 18 Hynek Schlawack 2005-04-03 06:19:43 UTC
*** Bug 87770 has been marked as a duplicate of this bug. ***
Comment 19 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-03 09:00:25 UTC
Created attachment 55189 [details, diff]
ddclient-3.6.6.patch

About comment #17.. right ddclient can't write it there, as /var/run is 755 and
owned by root:wheel.
I haven't saw the problem because i run ddclient manually on this machine (and
the one which has it as daemon is not upgraded).

The attached patch creates a /var/run/ddclient directory to write the pid file
to.
Comment 20 Seemant Kulleen (RETIRED) gentoo-dev 2005-04-04 06:47:15 UTC
PPC Team, still with us?
Comment 21 Seemant Kulleen (RETIRED) gentoo-dev 2005-04-06 11:29:44 UTC
now that 3.6.3 is stable on all arches, I've removed 3.6.2

and so 3.6.6 is the new testing version, which should (as of 1 minute ago) be relatively bug free from a gentoo-maintainer standpoint.