Please put an updated ebuild into portage. Thank you.
I second that. I need a newer version because of my new router.
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.
oh yeah, and echo "net-dns/ddclient" >> /etc/portage/packages.keywords
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.
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.
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.
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.
FYI - works on amd64.
*** Bug 86240 has been marked as a duplicate of this bug. ***
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.
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.
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
Just modify the ebuild in src_install : - chmod 640 /etc/ddclient/* + chmod 640 ${D}/etc/ddclient/*
That's not the way to handle it... just a couple of minutes and i'll submit a revised ebuild..
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
Stable on SPARC.
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)
*** Bug 87770 has been marked as a duplicate of this bug. ***
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.
PPC Team, still with us?
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.