diff options
author | Daniel Black <dragonheart@gentoo.org> | 2006-10-29 02:21:31 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2006-10-29 02:21:31 +0000 |
commit | 9ec3155944fb023aa6dc69259dc869af3f721f0a (patch) | |
tree | 048c36ebd4f95f03b1631447ea25b96e3e60fd1b /net-dns/noip-updater | |
parent | new version, bump libgnomeui and libgnomemm deps. (diff) | |
download | gentoo-2-9ec3155944fb023aa6dc69259dc869af3f721f0a.tar.gz gentoo-2-9ec3155944fb023aa6dc69259dc869af3f721f0a.tar.bz2 gentoo-2-9ec3155944fb023aa6dc69259dc869af3f721f0a.zip |
version bump thanks to Martin von Gagern bug #145635
(Portage version: 2.1.2_pre3-r8)
Diffstat (limited to 'net-dns/noip-updater')
-rw-r--r-- | net-dns/noip-updater/ChangeLog | 8 | ||||
-rw-r--r-- | net-dns/noip-updater/files/digest-noip-updater-2.1.3 | 3 | ||||
-rw-r--r-- | net-dns/noip-updater/files/noip-2.1.3-cflags.patch | 11 | ||||
-rw-r--r-- | net-dns/noip-updater/noip-updater-2.1.3.ebuild | 60 |
4 files changed, 81 insertions, 1 deletions
diff --git a/net-dns/noip-updater/ChangeLog b/net-dns/noip-updater/ChangeLog index 6b19bce19bff..c839083dd210 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/ChangeLog,v 1.18 2006/05/23 20:01:24 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/ChangeLog,v 1.19 2006/10/29 02:21:31 dragonheart Exp $ + +*noip-updater-2.1.3 (29 Oct 2006) + + 29 Oct 2006; Daniel Black <dragonheart@gentoo.org> + +files/noip-2.1.3-cflags.patch, +noip-updater-2.1.3.ebuild: + version bump thanks to Martin von Gagern bug #145635 23 May 2006; Markus Rothe <corsair@gentoo.org> noip-updater-2.1.1-r1.ebuild: diff --git a/net-dns/noip-updater/files/digest-noip-updater-2.1.3 b/net-dns/noip-updater/files/digest-noip-updater-2.1.3 new file mode 100644 index 000000000000..37937f3b9154 --- /dev/null +++ b/net-dns/noip-updater/files/digest-noip-updater-2.1.3 @@ -0,0 +1,3 @@ +MD5 550601f1891c8900439e2404b7d27418 noip-2.1.3.tar.gz 101286 +RMD160 f256b9161f0a835a2307cdf32bf46aacf63482a5 noip-2.1.3.tar.gz 101286 +SHA256 1b72ab33cd9b84b19eb08ca7c4358ce192789255e656d105cb8b508f6c5c1395 noip-2.1.3.tar.gz 101286 diff --git a/net-dns/noip-updater/files/noip-2.1.3-cflags.patch b/net-dns/noip-updater/files/noip-2.1.3-cflags.patch new file mode 100644 index 000000000000..307100c72175 --- /dev/null +++ b/net-dns/noip-updater/files/noip-2.1.3-cflags.patch @@ -0,0 +1,11 @@ +--- noip-2.1.3.orig/Makefile 2006-09-07 09:52:55.000000000 +0200 ++++ noip-2.1.3/Makefile 2006-09-07 09:54:54.000000000 +0200 +@@ -21,7 +21,7 @@ + # ARCH=sun + + ${TGT}: Makefile ${TGT}.c +- ${CC} -Wall -g -O2 -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS} ++ ${CC} ${CFLAGS} -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS} + + install: ${TGT} + if [ ! -d ${BINDIR} ]; then mkdir -p ${BINDIR};fi diff --git a/net-dns/noip-updater/noip-updater-2.1.3.ebuild b/net-dns/noip-updater/noip-updater-2.1.3.ebuild new file mode 100644 index 000000000000..265c1933a872 --- /dev/null +++ b/net-dns/noip-updater/noip-updater-2.1.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/noip-updater-2.1.3.ebuild,v 1.1 2006/10/29 02:21:31 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" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="virtual/libc" + +DEPEND="${RDEPEND} sys-devel/gcc" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/noip-2.1.3-cflags.patch || die + sed -i \ + -e "s:\(#define CONFIG_FILEPATH\).*:\1 \"/etc\":" \ + -e "s:\(#define CONFIG_FILENAME\).*:\1 \"/etc/no-ip2.conf\":" \ + noip2.c || die +} + +src_compile() { + emake \ + PREFIX=/usr \ + CONFDIR=/etc || 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." +} + +pkg_config() { + cd /tmp + einfo "Answer the following questions." + noip2 -C || die +} + |