diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-04-18 00:03:16 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-04-18 00:03:16 +0000 |
commit | f88b41e5352d03e7ff1d87fe8a0acdde8c2bbb8b (patch) | |
tree | 049757281c1355990469514e53a3d7c7c7b8fa04 /net-dns/noip-updater | |
parent | Added ~sparc keyword. (Manifest recommit) (diff) | |
download | gentoo-2-f88b41e5352d03e7ff1d87fe8a0acdde8c2bbb8b.tar.gz gentoo-2-f88b41e5352d03e7ff1d87fe8a0acdde8c2bbb8b.tar.bz2 gentoo-2-f88b41e5352d03e7ff1d87fe8a0acdde8c2bbb8b.zip |
Version bump - thanks to Paulo Fidalgo <kanniball@zmail.pt> in bug #43153
Diffstat (limited to 'net-dns/noip-updater')
-rw-r--r-- | net-dns/noip-updater/ChangeLog | 10 | ||||
-rw-r--r-- | net-dns/noip-updater/files/digest-noip-updater-2.1.1 | 1 | ||||
-rw-r--r-- | net-dns/noip-updater/files/noip-2.1.1.patch | 16 | ||||
-rw-r--r-- | net-dns/noip-updater/metadata.xml | 10 | ||||
-rw-r--r-- | net-dns/noip-updater/noip-updater-2.1.1.ebuild | 54 |
5 files changed, 89 insertions, 2 deletions
diff --git a/net-dns/noip-updater/ChangeLog b/net-dns/noip-updater/ChangeLog index 344ec896c199..36661b48f383 100644 --- a/net-dns/noip-updater/ChangeLog +++ b/net-dns/noip-updater/ChangeLog @@ -1,6 +1,12 @@ # 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.7 2003/12/30 12:01:14 seemant Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/ChangeLog,v 1.8 2004/04/18 00:03:15 dragonheart Exp $ + +*noip-updater-2.1.1 (18 Apr 2004) + + 18 Apr 2004; Daniel Black <dragonheart@gentoo.org> metadata.xml, + noip-updater-2.1.1.ebuild, files/noip-2.1.1.patch: + Version bump - thanks to Paulo Fidalgo <kanniball@zmail.pt> in bug #43153 *noip-updater-2.0.15 (30 Dec 2003) diff --git a/net-dns/noip-updater/files/digest-noip-updater-2.1.1 b/net-dns/noip-updater/files/digest-noip-updater-2.1.1 new file mode 100644 index 000000000000..d30151dbab9f --- /dev/null +++ b/net-dns/noip-updater/files/digest-noip-updater-2.1.1 @@ -0,0 +1 @@ +MD5 2855ba62a8b5742a7e9d26f4e7c80b25 noip-2.1.1.tar.gz 71210 diff --git a/net-dns/noip-updater/files/noip-2.1.1.patch b/net-dns/noip-updater/files/noip-2.1.1.patch new file mode 100644 index 000000000000..8d92c1f1c47f --- /dev/null +++ b/net-dns/noip-updater/files/noip-2.1.1.patch @@ -0,0 +1,16 @@ +--- noip2.c.orig 2004-04-18 09:07:29.113079040 +0930 ++++ noip2.c 2004-04-18 09:07:49.704948600 +0930 +@@ -191,10 +191,10 @@ + #define HOST 1 + #define GROUP 2 + #ifndef PREFIX +- #define PREFIX "/usr/local" ++ #define PREFIX "/usr/" + #endif +-#define CONFIG_FILEPATH PREFIX"/etc" +-#define CONFIG_FILENAME PREFIX"/etc/no-ip2.conf" ++#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/metadata.xml b/net-dns/noip-updater/metadata.xml new file mode 100644 index 000000000000..a5b8492b06cf --- /dev/null +++ b/net-dns/noip-updater/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>bug-wranglers@gentoo.org</email> + <description>This package lacks a primary herd or maintainer.</description> + </maintainer> + <longdescription>no-ip.com dynamic DNS updater</longdescription> +</pkgmetadata> diff --git a/net-dns/noip-updater/noip-updater-2.1.1.ebuild b/net-dns/noip-updater/noip-updater-2.1.1.ebuild new file mode 100644 index 000000000000..12246cb538d8 --- /dev/null +++ b/net-dns/noip-updater/noip-updater-2.1.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2004 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.1.1.ebuild,v 1.1 2004/04/18 00:03:15 dragonheart Exp $ + +inherit eutils + +IUSE="" + +MY_P=${P/-updater/} +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 ~ppc ~sparc ~alpha ~hppa ~mips ~amd64 ~ia64 ~ppc64" + +RDEPEND="virtual/glibc" + +DEPEND="${RDEPEND} sys-devel/gcc" + +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." +} + +pkg_config() { + cd /tmp + einfo "Answer the following questions." + noip2 -C || die +} + |