diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2008-12-14 15:52:59 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2008-12-14 15:52:59 +0000 |
commit | 215ac58f9806f1f1ce58627f2f4c0d46c315756e (patch) | |
tree | 4ec0c0cc0532438f196576ebe19850c439afacd4 /net-dns/noip-updater | |
parent | stable amd64, bug 250793 (diff) | |
download | historical-215ac58f9806f1f1ce58627f2f4c0d46c315756e.tar.gz historical-215ac58f9806f1f1ce58627f2f4c0d46c315756e.tar.bz2 historical-215ac58f9806f1f1ce58627f2f4c0d46c315756e.zip |
Bump to 2.1.9 for security bug #248709 and bug #248758.
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64
Diffstat (limited to 'net-dns/noip-updater')
-rw-r--r-- | net-dns/noip-updater/ChangeLog | 9 | ||||
-rw-r--r-- | net-dns/noip-updater/Manifest | 16 | ||||
-rw-r--r-- | net-dns/noip-updater/files/noip-2.1.9-daemon.patch | 21 | ||||
-rw-r--r-- | net-dns/noip-updater/files/noip-2.1.9-flags.patch | 11 | ||||
-rw-r--r-- | net-dns/noip-updater/noip-updater-2.1.9.ebuild | 57 |
5 files changed, 112 insertions, 2 deletions
diff --git a/net-dns/noip-updater/ChangeLog b/net-dns/noip-updater/ChangeLog index 5308d61c1ea9..0d0c9652937d 100644 --- a/net-dns/noip-updater/ChangeLog +++ b/net-dns/noip-updater/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-dns/noip-updater # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/ChangeLog,v 1.32 2008/05/01 21:19:04 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/ChangeLog,v 1.33 2008/12/14 15:52:59 eva Exp $ + +*noip-updater-2.1.9 (14 Dec 2008) + + 14 Dec 2008; Gilles Dartiguelongue <eva@gentoo.org> + +files/noip-2.1.9-daemon.patch, +files/noip-2.1.9-flags.patch, + +noip-updater-2.1.9.ebuild: + Bump to 2.1.9 for security bug #248709 and bug #248758. *noip-updater-2.1.7-r1 (02 May 2008) diff --git a/net-dns/noip-updater/Manifest b/net-dns/noip-updater/Manifest index 53b422696065..1e468c13ad1f 100644 --- a/net-dns/noip-updater/Manifest +++ b/net-dns/noip-updater/Manifest @@ -1,8 +1,22 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX noip-2.1.3-cflags.patch 416 RMD160 6f11e988b02019073f5a275e7767654476f6ca96 SHA1 6354ae10a199d0fbe6ea87ecd3d2a9657c6ff4d4 SHA256 dcea8144789e8ba70bbe48b0422b2623a244cf291a619c16c4558f92e7e27cb5 AUX noip-2.1.4-daemon.patch 520 RMD160 4ae358e42cbc3b5394870e086627d4d057ec6747 SHA1 9ee8e166daac3a7ca816d89b750b722befaf0468 SHA256 e19deb330fbf7d477e8543ef25fcb3b39163375f7df030500a0a77d05121bd71 +AUX noip-2.1.9-daemon.patch 533 RMD160 6ca89607efd2bc1fb7b0bad8ff789c4215cd20d9 SHA1 75ad822338354b62ed064c03cf3d4cf1cf452eea SHA256 45dd37bae7a896780a9631cd2ffd9c910d37b0459b87dab915d75337a958ce8b +AUX noip-2.1.9-flags.patch 400 RMD160 51a4e0f9bf7ea261f2371ad1ab1b4c427a22f51a SHA1 45c33d911454b555dc69d5e8334851c955192962 SHA256 2d5bd08f1e2bf3697b75358ccb9ff0e39414d5abe22644dd1129fc24100af769 AUX noip2.start 785 RMD160 6d49735adc9a20772a603338d323129eb5488a64 SHA1 4bdc0150e311175006ab469cbf8403f73c0b6f79 SHA256 5158df6547ddeed8c1a690c01ff61a0d39384d14359ce4c5f73a1ddea1e76900 DIST noip-2.1.7.tar.gz 147640 RMD160 ba5501c38972a657dd55c56a0eae5e46e077c02e SHA1 f43356a37a81a538382a9a5d9b6204f96cc0fe57 SHA256 1105a23cb0a957c4b1e7c47bd9bfed00f1a089bdddd2a69f69bf4f8047f7a237 +DIST noip-2.1.9.tar.gz 152995 RMD160 503f1a6a52c1c753c87f35b9f9616f5f03f2dbab SHA1 bbaee2a4f7dea25111f5104b6a3494804840d6ac SHA256 86ad0a6362263a33f59a658d1b1ce428e255556ddad0d062aa0ee4b7f412f98a EBUILD noip-updater-2.1.7-r1.ebuild 1340 RMD160 81d271ffa493738b16b4e654299872c15573f05b SHA1 ecb2d68fc46f7305cf300234534cc1f55af02706 SHA256 20fbcc416bfc620f8eb87a03b36dcdab8d2cd1337300a3cda58dae93156f3f57 EBUILD noip-updater-2.1.7.ebuild 1334 RMD160 9b38813c8240716eed08bc76df8ef845f99ff827 SHA1 14bcfefece28a4b9df45f073d23e5a75b284b13b SHA256 5e55e1132dc05ad99ca5e7e1e1dd19f0d987e4a277ab9c0056f0475d768848e6 -MISC ChangeLog 5182 RMD160 17cce3aa36e6df67e4ed8c49402adaafa1f788cc SHA1 c174c8d75fe793c4053879c710b0e770aa4e8705 SHA256 b76ef09e51f01dd31b3ada181c505b16c8cfb90d2cfe313b5db10a0bcaa79499 +EBUILD noip-updater-2.1.9.ebuild 1347 RMD160 4e7b7c7c8388066d90119d5925e2a5125b8f32a3 SHA1 c4a417114976f5dc397b406e305a7fc646abdfdf SHA256 2c0565ceadaa56768997f8eb9cf8065ba81190caf345b8235d577e03a288bd12 +MISC ChangeLog 5417 RMD160 f7eae636a1ee029c824ab56fce536edb6c9379f1 SHA1 b6bced1cdd1fd9effbb752434e01c34d71c10f58 SHA256 e18192735301775a23db1cf8b6fe7120a2078570e6ac116aaddbcbf5a0545e90 MISC metadata.xml 339 RMD160 ddf381146fede028897c0c51e053f5285de7da34 SHA1 13cba5e32609c8aa8a5bdbda81a3795b8625bbb6 SHA256 906d2f88dff89a4cebd151a47f8a7f1aa8d33d37df98224c06485dbf511cc7ac +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAklFOfsACgkQ1fmVwcYIWAYDIQCgtoIwEAL5d3HiDqSxVcDkaRkS +Z3UAoKr0WOI7/mBnU7tyS+iVgCxAvlBW +=sd/R +-----END PGP SIGNATURE----- diff --git a/net-dns/noip-updater/files/noip-2.1.9-daemon.patch b/net-dns/noip-updater/files/noip-2.1.9-daemon.patch new file mode 100644 index 000000000000..b2fb4e66d0c7 --- /dev/null +++ b/net-dns/noip-updater/files/noip-2.1.9-daemon.patch @@ -0,0 +1,21 @@ +diff -ur a/noip2.c b/noip2.c +--- a/noip2.c 2004-01-09 14:18:39.000000000 +0000 ++++ b/noip2.c 2007-07-20 14:02:41.100377515 +0100 +@@ -895,16 +895,13 @@ + char *err_string; + static int startup = 1; + +- x = fork(); ++ x = daemon (0, 0); + switch (x) { + case -1: // error + err_string = strerror(errno); + Msg( "Can't fork!! (%s) Ending!\n", err_string); + return FATALERR; +- default: // parent +- exit(0); + case 0: //child +- setsid(); + if (get_shm_info() == FATALERR) + return FATALERR; + log2syslog++; diff --git a/net-dns/noip-updater/files/noip-2.1.9-flags.patch b/net-dns/noip-updater/files/noip-2.1.9-flags.patch new file mode 100644 index 000000000000..9fe05f36ac2d --- /dev/null +++ b/net-dns/noip-updater/files/noip-2.1.9-flags.patch @@ -0,0 +1,11 @@ +--- a/Makefile 2006-09-07 09:52:55.000000000 +0200 ++++ b/Makefile 2006-09-07 09:54:54.000000000 +0200 +@@ -21,7 +21,7 @@ + # ARCH=sun + + ${TGT}: Makefile ${TGT}.c +- ${CC} -Wall -g -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS} ++ ${CC} ${CFLAGS} -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS} ${LDFLAGS} + + install: ${TGT} + if [ ! -d ${BINDIR} ]; then mkdir -p ${BINDIR};fi diff --git a/net-dns/noip-updater/noip-updater-2.1.9.ebuild b/net-dns/noip-updater/noip-updater-2.1.9.ebuild new file mode 100644 index 000000000000..b30492144d6c --- /dev/null +++ b/net-dns/noip-updater/noip-updater-2.1.9.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2008 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.9.ebuild,v 1.1 2008/12/14 15:52:59 eva Exp $ + +inherit eutils toolchain-funcs + +MY_P=${P/-updater/} +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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="sys-devel/gcc" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/noip-2.1.9-flags.patch + epatch "${FILESDIR}"/noip-2.1.9-daemon.patch + sed -i \ + -e "s:\(#define CONFIG_FILEPATH\).*:\1 \"/etc\":" \ + -e "s:\(#define CONFIG_FILENAME\).*:\1 \"/etc/no-ip2.conf\":" \ + noip2.c || die "sed failed" +} + +src_compile() { + emake \ + CC=$(tc-getCC) \ + PREFIX=/usr \ + CONFDIR=/etc || die "emake failed" +} + +src_install() { + dosbin noip2 + dodoc README.FIRST + newinitd "${FILESDIR}"/noip2.start noip +} + +pkg_postinst() { + elog "Configuration can be done manually via:" + elog "/usr/sbin/noip2 -C or " + elog "first time you use the /etc/init.d/noip script; or" + elog "by using this ebuild's config option." +} + +pkg_config() { + cd /tmp + einfo "Answer the following questions." + noip2 -C || die +} |