diff options
author | Jared H.Hudson <jhhudso@gentoo.org> | 2003-06-15 13:13:14 +0000 |
---|---|---|
committer | Jared H.Hudson <jhhudso@gentoo.org> | 2003-06-15 13:13:14 +0000 |
commit | c96c46312437a1003efab13f9430b168ab8cb944 (patch) | |
tree | 1dbf5888d1481e6405678020f05410fd63e75455 /net-dns | |
parent | Bumped to latest version and set older version to x86 (stable) (diff) | |
download | gentoo-2-c96c46312437a1003efab13f9430b168ab8cb944.tar.gz gentoo-2-c96c46312437a1003efab13f9430b168ab8cb944.tar.bz2 gentoo-2-c96c46312437a1003efab13f9430b168ab8cb944.zip |
Bumped to latest version and set older version to x86 (stable)
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/noip-updater/ChangeLog | 8 | ||||
-rw-r--r-- | net-dns/noip-updater/Manifest | 6 | ||||
-rw-r--r-- | net-dns/noip-updater/files/digest-noip-updater-2.0.12 | 1 | ||||
-rw-r--r-- | net-dns/noip-updater/files/noip-2.0.12.patch | 25 | ||||
-rw-r--r-- | net-dns/noip-updater/files/noip2.start | 34 | ||||
-rw-r--r-- | net-dns/noip-updater/noip-updater-1.6.ebuild | 4 | ||||
-rw-r--r-- | net-dns/noip-updater/noip-updater-2.0.12.ebuild | 50 |
7 files changed, 122 insertions, 6 deletions
diff --git a/net-dns/noip-updater/ChangeLog b/net-dns/noip-updater/ChangeLog index 52e4fce74ba3..d150724f74ab 100644 --- a/net-dns/noip-updater/ChangeLog +++ b/net-dns/noip-updater/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for net-dns/noip-updater # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/ChangeLog,v 1.3 2003/02/12 07:55:35 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/ChangeLog,v 1.4 2003/06/15 13:13:10 jhhudso Exp $ +*noip-update-2.0.12 (15 Jun 2003) + + 15 Jun 2003; Jared Hudson <jhhudso@gentoo.org> : Incremented to latest + version and set older version as stable (x86). Credit goes to Low Zhen Lin + <lowzl@hotmail.com> for providing the updated ebuild. + *noip-updater-1.6 (15 Dec 2002) 15 Dec 2002; Seemant Kulleen <seemant@gentoo.org> noip-updater-1.6.ebuild diff --git a/net-dns/noip-updater/Manifest b/net-dns/noip-updater/Manifest index a29e12520f55..c9ba59fad4da 100644 --- a/net-dns/noip-updater/Manifest +++ b/net-dns/noip-updater/Manifest @@ -1,6 +1,6 @@ -MD5 9478239b2874ee4708b873e81e349d94 ChangeLog 749 -MD5 d3ccc509b77403a8abf10f66331bbd3f noip-updater-1.6.ebuild 1195 -MD5 09df1acbea2b95edb9d75d6304f76f17 noip-updater-2.0.12.ebuild 1155 +MD5 e7245b755748647fd251adf78aa28f66 ChangeLog 782 +MD5 29e4960bebfb2f9822681894d6de04c8 noip-updater-1.6.ebuild 1196 +MD5 0806b8a9c1514e36909ab03c105ad196 noip-updater-2.0.12.ebuild 1158 MD5 b6525d36838e7db757ee152a1bbdc8f6 files/digest-noip-updater-1.6 68 MD5 72fe1de71cd094fa1a00d0e1bc742dcd files/noip.c.patch 234 MD5 dbba0145cdeb92a600483d7addcd8837 files/noip.start 692 diff --git a/net-dns/noip-updater/files/digest-noip-updater-2.0.12 b/net-dns/noip-updater/files/digest-noip-updater-2.0.12 new file mode 100644 index 000000000000..c90f36f14fad --- /dev/null +++ b/net-dns/noip-updater/files/digest-noip-updater-2.0.12 @@ -0,0 +1 @@ +MD5 72053672a5125d39b861a130aa4532f1 noip-2.0.12.tar.gz 68089 diff --git a/net-dns/noip-updater/files/noip-2.0.12.patch b/net-dns/noip-updater/files/noip-2.0.12.patch new file mode 100644 index 000000000000..44a8b9c6290c --- /dev/null +++ b/net-dns/noip-updater/files/noip-2.0.12.patch @@ -0,0 +1,25 @@ +*** noip2.c.orig Wed Jan 29 07:21:46 2003 +--- noip2.c Fri Jan 31 12:01:18 2003 +*************** +*** 147,156 **** + #define HOST 1 + #define GROUP 2 + #ifndef PREFIX +! #define PREFIX "/usr/local" + #endif +! #define CONFIG_FILEPATH PREFIX"/etc" +! #define CONFIG_FILENAME PREFIX"/etc/no-ip2.conf" + #define CONFSTRLEN 1024 + #define MAX_DEVLEN 16 + #define MAX_INSTANCE 4 +--- 147,156 ---- + #define HOST 1 + #define GROUP 2 + #ifndef PREFIX +! #define PREFIX "/usr" + #endif +! #define CONFIG_FILEPATH "/etc" +! #define CONFIG_FILENAME "/etc/no-ip2.conf" + #define CONFSTRLEN 1024 + #define MAX_DEVLEN 16 + #define MAX_INSTANCE 4 diff --git a/net-dns/noip-updater/files/noip2.start b/net-dns/noip-updater/files/noip2.start new file mode 100644 index 000000000000..9994d9968ca9 --- /dev/null +++ b/net-dns/noip-updater/files/noip2.start @@ -0,0 +1,34 @@ +#! /sbin/runscript + +depend() { + need localmount + need net + need dns +} + +checkconfig() { + if [ ! -f /etc/no-ip2.conf ] + then + einfo "Answer the following questions about your no-ip account." + noip2 -C || return 1 + fi +} + +start() { + checkconfig || return 1 + ebegin "Starting noip" + start-stop-daemon --quiet --start -x /usr/sbin/noip2 -- -c /etc/no-ip2.conf + eend $? "noip did not start, error code $?" +} + +stop() { + ebegin "Stopping noip" + start-stop-daemon --oknodo --quiet --stop -x /usr/sbin/noip2 + noip_ecode=$? + eend $noip_ecode "Error stopping the noip daemon, error $noip_ecode" + checkconfig || return 1 + ebegin "Setting noip addresses to 0.0.0.0" + noip2 -c /etc/no-ip2.conf -i 0.0.0.0 >& /dev/null + eend $? "Failed to set noip addresses to 0.0.0.0, error $?" + return $noip_ecode +} diff --git a/net-dns/noip-updater/noip-updater-1.6.ebuild b/net-dns/noip-updater/noip-updater-1.6.ebuild index 98d4ca5622ad..601d3b26f33b 100644 --- a/net-dns/noip-updater/noip-updater-1.6.ebuild +++ b/net-dns/noip-updater/noip-updater-1.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/noip-updater-1.6.ebuild,v 1.2 2003/02/13 13:58:03 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/noip-updater-1.6.ebuild,v 1.3 2003/06/15 13:13:10 jhhudso Exp $ IUSE="" @@ -12,7 +12,7 @@ SRC_URI="http://www.no-ip.com/client/linux/${MY_P}.tar.gz" SLOT="0" LICENSE="GPL-2" -KEYWORDS="~x86" +KEYWORDS="x86" DEPEND="virtual/glibc" diff --git a/net-dns/noip-updater/noip-updater-2.0.12.ebuild b/net-dns/noip-updater/noip-updater-2.0.12.ebuild new file mode 100644 index 000000000000..e046ddcf87df --- /dev/null +++ b/net-dns/noip-updater/noip-updater-2.0.12.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/noip-updater-2.0.12.ebuild,v 1.1 2003/06/15 13:13:10 jhhudso Exp $ + +inherit base + +IUSE="" + +MY_P=noip-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="no-ip.com dynamic DNS updater" +HOMEPAGE="http://www.no-ip.com" +SRC_URI="http://www.no-ip.com/client/linux/${MY_P}.tar.gz" +PATCHES="${FILESDIR}/${MY_P}.patch" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" + +DEPEND="virtual/glibc" + +pkg_config() { + cd /tmp + einfo "Answer the following questions." + noip2 -C || die +} + +src_compile() { + emake PREFIX=/usr || die +} + +src_install() { + into /usr + dosbin noip2 + dodoc README.FIRST COPYING + exeinto /etc/init.d + newexe ${FILESDIR}/noip2.start noip + prepalldocs +} + +pkg_postinst() { + + einfo "Configuration can be done manually via:" + einfo "/usr/sbin/noip2 -C or " + einfo "first time you use the /etc/init.d/noip script; or" + einfo "by using this ebuild's config option." + einfo + einfo "You must update the /etc/init.d/noip script, the " + einfo "binary name and the command line options have " + einfo "changed." +} |