summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2008-06-30 10:16:33 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2008-06-30 10:16:33 +0000
commit50819de8bc5635b06b0a49faa0cf383c105dbf7b (patch)
tree0ab16da3d73ec396a4c1be2bebd2cc875d45e1db /net-dns
parentMake it compile with gcc-4.3, bug #228891 (diff)
downloadhistorical-50819de8bc5635b06b0a49faa0cf383c105dbf7b.tar.gz
historical-50819de8bc5635b06b0a49faa0cf383c105dbf7b.tar.bz2
historical-50819de8bc5635b06b0a49faa0cf383c105dbf7b.zip
*** empty log message ***
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/ez-ipupdate/ChangeLog16
-rw-r--r--net-dns/ez-ipupdate/Manifest18
-rw-r--r--net-dns/ez-ipupdate/ez-ipupdate-3.0.11_beta8-r1.ebuild33
-rw-r--r--net-dns/ez-ipupdate/ez-ipupdate-3.0.11_beta8-r5.ebuild104
-rw-r--r--net-dns/ez-ipupdate/files/ez-ipupdate-3.0.11_beta8-syslog.patch11
-rw-r--r--net-dns/ez-ipupdate/files/ez-ipupdate-3.0.11_beta8-zoneedit.diff11
-rw-r--r--net-dns/ez-ipupdate/files/ez-ipupdate.rc650
7 files changed, 133 insertions, 110 deletions
diff --git a/net-dns/ez-ipupdate/ChangeLog b/net-dns/ez-ipupdate/ChangeLog
index 80dd39b8eb1b..51d589f75612 100644
--- a/net-dns/ez-ipupdate/ChangeLog
+++ b/net-dns/ez-ipupdate/ChangeLog
@@ -1,6 +1,20 @@
# ChangeLog for net-dns/ez-ipupdate
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/ez-ipupdate/ChangeLog,v 1.27 2008/06/29 10:04:41 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ez-ipupdate/ChangeLog,v 1.28 2008/06/30 10:16:33 sbriesen Exp $
+
+ 30 Jun 2008; Stefan Briesenick <sbriesen@gentoo.org>
+ -files/ez-ipupdate-3.0.11_beta8-syslog.patch,
+ +files/ez-ipupdate-3.0.11_beta8-zoneedit.diff, -files/ez-ipupdate.rc6,
+ -ez-ipupdate-3.0.11_beta8-r1.ebuild, +ez-ipupdate-3.0.11_beta8-r5.ebuild:
+ removing old version
+
+*ez-ipupdate-3.0.11_beta8-r5 (30 Jun 2008)
+
+ 30 Jun 2008; Stefan Briesenick <sbriesen@gentoo.org>
+ +files/ez-ipupdate-3.0.11_beta8-zoneedit.diff,
+ +ez-ipupdate-3.0.11_beta8-r5.ebuild:
+ update ZONEEDIT_DEFAULT_SERVER from www.zoneedit.com to
+ dynamic.zoneedit.com (see bug #227083).
29 Jun 2008; Torsten Veller <tove@gentoo.org>
ez-ipupdate-3.0.11_beta8-r4.ebuild:
diff --git a/net-dns/ez-ipupdate/Manifest b/net-dns/ez-ipupdate/Manifest
index 944ea64f605e..3cfbfa6064e9 100644
--- a/net-dns/ez-ipupdate/Manifest
+++ b/net-dns/ez-ipupdate/Manifest
@@ -1,22 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX ez-ipupdate-3.0.11_beta8-3322.diff 1881 RMD160 5e8177d418cbc2f654c9a97d4f671796d2484494 SHA1 9355723833ef85cf7cdeb8fdb96adc37e52764db SHA256 ee7b5a1bc9807a0b6e1b5885c5a757d73b8aa083f8f1f610d7346b83b9ab6554
AUX ez-ipupdate-3.0.11_beta8-dnsexit.diff 6721 RMD160 e8b018e0fca9506c905a021cb1c101c9a5372156 SHA1 32c6999ae07129a6db8bf4d3758deebf1cae00bd SHA256 beb76bd1362bee077d90b67ec8c7251d13b5c08e2d565d8ffb3f000f48a41198
-AUX ez-ipupdate-3.0.11_beta8-syslog.patch 300 RMD160 518a93e2e1add19895cc88a1e88b332db5d04394 SHA1 38eb8658ac26c36cb7f337976d5bc3795b7b5aa0 SHA256 d938f6366aa9fd71259f2ad909a0959ddb6160bcfe97d71d2cf0f3adbaece548
+AUX ez-ipupdate-3.0.11_beta8-zoneedit.diff 395 RMD160 57dc5c9723dd47b69bc1c05a0f37735a52401b16 SHA1 ad52cf47fffa02dbcd9acae83c3aecca35bfef03 SHA256 0ecddea907a8ac62a693f043d114920cb6d1900d899ff3a2cdc44438b2031c7f
AUX ez-ipupdate.initd 2660 RMD160 9df544e6d6e93f2938438906d475f606bbfa0246 SHA1 d0cb27d3a5f4c7f08ee954526cda81975cf05d88 SHA256 0cedee45e46cfd2e6ee3ebb5a30fe2f1a39d550d580c91d29f5b1a3f2a61577c
-AUX ez-ipupdate.rc6 1226 RMD160 c1620048a471f4b721acf44bb5b5899b336f27a1 SHA1 3370b2d918a12d69d8a80093746a24894da02ea3 SHA256 cbf7934f767fddd4cb8a49e632f56fc05769a0c352cadee03552b7f64ce4aec4
-DIST ez-ipupdate-3.0.11b8.tar.gz 81975 RMD160 f193969c5d3c9faa1b6fec41d530557614d62c55 SHA1 bcb0b919067bb235bd195936e85ceca90b4323c0 SHA256 bf5b8d11ffe055c5891d0ab64bbfa86e99cbda645d40f346146b939fec8d962d
DIST ez-ipupdate_3.0.11b8-10.diff.gz 58420 RMD160 916da2553c2901bae62de43a09ee4ad9da492c95 SHA1 c16ad9a6c8b32d56841a9760c9e41daf95a2fa86 SHA256 a380abc3173ef49be5cf8600278e1bc941b4503129dd9e682707bb79e1538175
DIST ez-ipupdate_3.0.11b8.orig.tar.gz 81975 RMD160 f193969c5d3c9faa1b6fec41d530557614d62c55 SHA1 bcb0b919067bb235bd195936e85ceca90b4323c0 SHA256 bf5b8d11ffe055c5891d0ab64bbfa86e99cbda645d40f346146b939fec8d962d
-EBUILD ez-ipupdate-3.0.11_beta8-r1.ebuild 908 RMD160 624e6fcfb396fbda41e643b7e0fb6e9462eedbe3 SHA1 7f646a9d04905a91d8631516cb14b1e03b06b55e SHA256 6abc7a9aac4d157e78e9e60854e592f7277d82b7a5e5049bf587f382bae4e23d
EBUILD ez-ipupdate-3.0.11_beta8-r4.ebuild 2924 RMD160 7c18ac1128a333ad09e3058f0c4ae5cf5849aad9 SHA1 44cab8a0a69b721d279e87bc5248dbdac7fb53e7 SHA256 3907fec018509b7d1dbe388485707a7efcc676435c50c7c5908d305f0520a8ed
-MISC ChangeLog 4728 RMD160 d5d507aae625529776370001b82721fe498ec3f2 SHA1 1fe3135a3479d6eb768ac5e7d315577d79f99509 SHA256 cd70f63a9ea1565aed8546067bb7e12584efa10e856f7dde715aef67b0066d1b
+EBUILD ez-ipupdate-3.0.11_beta8-r5.ebuild 2969 RMD160 07ea27ac2d1e8e7639fad7fb6461581821da3464 SHA1 8817a5d41e2c0b3f2cb6b6883f367e12d193dff8 SHA256 821c012f92215e0752d19f4ef806f6d425fa5a17da120c04d4f982b1a8c15e5b
+MISC ChangeLog 5292 RMD160 678df5c97ea2106cd435b912c02a86ecbd29b25e SHA1 d431cac1dad6a030db1ad4791c02ae6ff193a4c5 SHA256 f2e1b57cdb872b5dca41cc22d5e45833797b00327e8d594d9dc510e6abc3ea74
MISC metadata.xml 497 RMD160 92b0aae309f59fbe7ae0c6359355aa2abf0308a9 SHA1 203ae4e8d9abea53e4c54ee8dfa8594737991dfa SHA256 9d9ae7d8782c5eedfef88238baa233c1c2ed7c6832ba7ed6a6328bddf41699ba
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkhnXj8ACgkQV3J2n04EauwaAwCgi/wfvMD6tONqY3AT71/fJQhN
-8kAAnjLou9zYskwbOgFuwUcWadbn40g0
-=Rj73
------END PGP SIGNATURE-----
diff --git a/net-dns/ez-ipupdate/ez-ipupdate-3.0.11_beta8-r1.ebuild b/net-dns/ez-ipupdate/ez-ipupdate-3.0.11_beta8-r1.ebuild
deleted file mode 100644
index e07e36cf3f3d..000000000000
--- a/net-dns/ez-ipupdate/ez-ipupdate-3.0.11_beta8-r1.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/ez-ipupdate/ez-ipupdate-3.0.11_beta8-r1.ebuild,v 1.2 2004/12/11 20:18:38 swegener Exp $
-
-inherit eutils
-
-MY_PV=${PV/_beta/b}
-S="${WORKDIR}/${PN}-${MY_PV}"
-DESCRIPTION="Dynamic DNS client for lots of dynamic dns services"
-HOMEPAGE="http://gusnet.cx/proj/ez-ipupdate"
-SRC_URI="http://gusnet.cx/proj/ez-ipupdate/dist/${PN}-${MY_PV}.tar.gz
- mirror://gentoo/${PN}-${MY_PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc sparc amd64"
-IUSE=""
-
-DEPEND="virtual/libc"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch $FILESDIR/${PN}-3.0.11_beta8-syslog.patch
-}
-
-src_install() {
- make DESTDIR=${D} install || die
- sed -i 's#/usr/local/bin/ez-ipupdate#/usr/bin/ez-ipupdate#g' *.conf
- dodoc *.conf CHANGELOG README
-
- newinitd ${FILESDIR}/ez-ipupdate.rc6 ez-ipupdate
-}
diff --git a/net-dns/ez-ipupdate/ez-ipupdate-3.0.11_beta8-r5.ebuild b/net-dns/ez-ipupdate/ez-ipupdate-3.0.11_beta8-r5.ebuild
new file mode 100644
index 000000000000..50583fd030bb
--- /dev/null
+++ b/net-dns/ez-ipupdate/ez-ipupdate-3.0.11_beta8-r5.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ez-ipupdate/ez-ipupdate-3.0.11_beta8-r5.ebuild,v 1.1 2008/06/30 10:16:33 sbriesen Exp $
+
+inherit eutils
+
+PATCH_VERSION="10"
+MY_PV="${PV/_beta/b}"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+DESCRIPTION="Dynamic DNS client for lots of dynamic dns services"
+HOMEPAGE="http://ez-ipupdate.com/"
+SRC_URI="mirror://debian/pool/main/e/ez-ipupdate/${PN}_${MY_PV}.orig.tar.gz
+ mirror://debian/pool/main/e/ez-ipupdate/${PN}_${MY_PV}-${PATCH_VERSION}.diff.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${WORKDIR}/${PN}_${MY_PV}-${PATCH_VERSION}.diff"
+ epatch "${FILESDIR}/${P}-zoneedit.diff"
+ epatch "${FILESDIR}/${P}-dnsexit.diff"
+ epatch "${FILESDIR}/${P}-3322.diff"
+
+ # comment out obsolete options
+ sed -i -e "s:^\(run-as-user.*\):#\1:g" \
+ -e "s:^\(cache-file.*\):#\1:g" ex*conf
+
+ # make 'missing' executable (bug #103480)
+ chmod +x missing
+}
+
+src_compile() {
+ econf --bindir=/usr/sbin || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ newinitd "${FILESDIR}/ez-ipupdate.initd" ez-ipupdate
+ keepdir /etc/ez-ipupdate /var/cache/ez-ipupdate
+
+ # install docs
+ dodoc README
+ newdoc debian/README.Debian README.debian
+ newdoc debian/changelog ChangeLog.debian
+ newdoc CHANGELOG ChangeLog
+
+ # install example configs
+ docinto examples
+ dodoc ex*conf
+}
+
+pkg_preinst() {
+ enewgroup ez-ipupd
+ enewuser ez-ipupd -1 -1 /var/cache/ez-ipupdate ez-ipupd
+}
+
+pkg_postinst() {
+ chmod 750 /etc/ez-ipupdate /var/cache/ez-ipupdate
+ chown ez-ipupd:ez-ipupd /etc/ez-ipupdate /var/cache/ez-ipupdate
+
+ elog
+ elog "Please create one or more config files in"
+ elog "/etc/ez-ipupdate/. A bunch of samples can"
+ elog "be found in the doc directory."
+ elog
+ elog "All config files must have a '.conf' extension."
+ elog
+ elog "Please do not use the 'run-as-user', 'run-as-euser',"
+ elog "'cache-file' and 'pidfile' options, since these are"
+ elog "handled internally by the init-script!"
+ elog
+ elog "If you want to use ez-ipupdate in daemon mode,"
+ elog "please add 'daemon' to the config file(s) and"
+ elog "add the ez-ipupdate init-script to the default"
+ elog "runlevel."
+ elog
+ elog "Without the 'daemon' option, you can run the"
+ elog "init-script with the 'update' parameter inside"
+ elog "your PPP ip-up script."
+ elog
+
+ if [ -f /etc/ez-ipupdate.conf ]; then
+ elog "!!! IMPORTANT UPDATE NOTICE !!!"
+ elog
+ elog "The ez-ipupdate init-script can now handle more"
+ elog "than one config file. New config file location is"
+ elog "/etc/ez-ipupdate/*.conf"
+ elog
+ if [ ! -f /etc/ez-ipupdate/default.conf ]; then
+ mv -f /etc/ez-ipupdate.conf /etc/ez-ipupdate/default.conf
+ elog "Your old configuration has been moved to"
+ elog "/etc/ez-ipupdate/default.conf"
+ elog
+ fi
+ fi
+}
diff --git a/net-dns/ez-ipupdate/files/ez-ipupdate-3.0.11_beta8-syslog.patch b/net-dns/ez-ipupdate/files/ez-ipupdate-3.0.11_beta8-syslog.patch
deleted file mode 100644
index 48153e1aabfa..000000000000
--- a/net-dns/ez-ipupdate/files/ez-ipupdate-3.0.11_beta8-syslog.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ez-ipupdate.c.old 2004-10-21 23:44:57.000000000 +0200
-+++ ez-ipupdate.c 2004-10-22 23:56:05.000000000 +0200
-@@ -805,7 +805,7 @@
- sprintf(buf, "message incomplete because your OS sucks: %s\n", fmt);
- #endif
-
-- syslog(LOG_NOTICE, buf);
-+ syslog(LOG_NOTICE, "%s", buf);
- }
- else
- {
diff --git a/net-dns/ez-ipupdate/files/ez-ipupdate-3.0.11_beta8-zoneedit.diff b/net-dns/ez-ipupdate/files/ez-ipupdate-3.0.11_beta8-zoneedit.diff
new file mode 100644
index 000000000000..98fd4907fee8
--- /dev/null
+++ b/net-dns/ez-ipupdate/files/ez-ipupdate-3.0.11_beta8-zoneedit.diff
@@ -0,0 +1,11 @@
+--- ez-ipupdate.c.orig 2008-06-29 22:44:44.000000000 +0200
++++ ez-ipupdate.c 2008-06-29 22:46:24.000000000 +0200
+@@ -101,7 +101,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"
+
diff --git a/net-dns/ez-ipupdate/files/ez-ipupdate.rc6 b/net-dns/ez-ipupdate/files/ez-ipupdate.rc6
deleted file mode 100644
index 071f6f437b38..000000000000
--- a/net-dns/ez-ipupdate/files/ez-ipupdate.rc6
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/ez-ipupdate/files/ez-ipupdate.rc6,v 1.1 2004/08/15 11:06:00 aliz Exp $
-
-opts="${opts} reload update"
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [ ! -e /etc/ez-ipupdate.conf ]; then
- eerror "You need a /etc/ez-ipupdate.conf containing"
- eerror "your username and password or the service"
- eerror "you wish to utilize."
- return 1
- fi
-
- return 0
-}
-
-start() {
- checkconfig || exit 1
-
- local host=$( egrep "^host=" /etc/ez-ipupdate.conf | awk -F'=' '{print $2}' )
- local interface=$( egrep "^interface=" /etc/ez-ipupdate.conf | awk -F'=' '{print $2}' )
-
- ebegin "Starting ez-ipupdate for ${host} on ${interface}"
- start-stop-daemon -p /var/run/ez-ipupdate.pid --start --quiet --exec /usr/bin/ez-ipupdate -- -c /etc/ez-ipupdate.conf -d -F /var/run/ez-ipupdate.pid
- eend $?
-}
-
-stop() {
- ebegin "Stopping ez-ipupdate"
- kill -QUIT `cat /var/run/ez-ipupdate.pid`
- eend $?
-}
-
-reload() {
- ebegin "Reloading configfile"
- kill -HUP `cat /var/run/ez-ipupdate.pid`
- eend $?
-}
-
-update() {
- ebegin "Forcing update"
- kill -TERM `cat /var/run/ez-ipupdate.pid`
- eend $?
-}