diff options
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/noip-updater/Manifest | 6 | ||||
-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/files/noip.service | 12 | ||||
-rw-r--r-- | net-dns/noip-updater/files/noip2.start | 34 | ||||
-rw-r--r-- | net-dns/noip-updater/noip-updater-2.1.9-r1.ebuild | 56 |
6 files changed, 0 insertions, 140 deletions
diff --git a/net-dns/noip-updater/Manifest b/net-dns/noip-updater/Manifest deleted file mode 100644 index 67f3cae..0000000 --- a/net-dns/noip-updater/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX noip-2.1.9-daemon.patch 533 SHA256 45dd37bae7a896780a9631cd2ffd9c910d37b0459b87dab915d75337a958ce8b SHA512 11fbdcdb8f07e8b83af3251046339c20e6fb223224648e9bf42eb75f33b63a44a5ce1124bcd3a1bda53c8c596449da8b0032824ad5a1e28c275aa4ff131412a9 WHIRLPOOL ec5ff858c975e3715a35abe9efe0416469a2ae7f7f4bf7571cf6828a64c1a2931bee1af840fa3108f319472bde0faae278e3d5e52b96cbfdb507662f415295c2 -AUX noip-2.1.9-flags.patch 400 SHA256 2d5bd08f1e2bf3697b75358ccb9ff0e39414d5abe22644dd1129fc24100af769 SHA512 b76952235e968fbb1e68b5b80ebbec1280549f043ea5717fa8c5c3e880770c93615f33c113620da12b987c3c7afabcb1b47159614df6decd06946b84670ca457 WHIRLPOOL e63883edbd478c73a932548d225d7787dd6df16571fcaa14b250b840a003f97d08a7c6cff849a8151acb4dccd61cdaf0da82177e5de0b958e467ffea5284534c -AUX noip.service 219 SHA256 eec7288052cd3c2963926fb511d48c89d92ceec6a3d9dd056a51665fd209937d SHA512 75c9e96adcb9da935ff78f121ad5082b8ebe48aa7191ec5134370bfddfa2a6a9abf153e1de96d302cde3fb6f2896077ff035110090444f50df191530705c3268 WHIRLPOOL e650af87b2947b7aa2df455614de423640ca18d8b6655e6e8ff8d8ae24c157887695e811d1260ad04cf8d9eacfafcce3169cbc4a90ceb5ea8cc97c1fc488311b -AUX noip2.start 776 SHA256 a9846d645f033108e440cbf85fd7bb5dd43d8155aa2afb6dba6ce5b5958cb940 SHA512 28707a90bb490cb404f539c9cdb00106ab793c4e624868204b16e79a8c31931438e60d83653d561b19d1c310bcc05cfb04ec75fc2c9aafd5ddcd60fba50ec5d0 WHIRLPOOL f1eaa464231974996cb97c07e29349c0b871e4506e02339853f2d8fbe815191cd01b1b1470fe779f3db180c438dcafa9df733528163038bf3e5bb41ef14c2bef -DIST noip-2.1.9.tar.gz 152995 SHA256 86ad0a6362263a33f59a658d1b1ce428e255556ddad0d062aa0ee4b7f412f98a SHA512 3e76d39e22383dc3eceee10f8bdf791fc5ed253c756cd2d345fdd8fb9c9ab3bac6a1a6ca123a26cebbf6e615bb8f236c58d4ecf6254fcaf6b92da17f42f0dd6f WHIRLPOOL 4a737490fdf8be0bc6f708c7f73d2025f62a8e7c043e6259ee34738a5ed1b78d34c4243b58f7f61bb7afcf05d9e786b7f80b16bb641be59f5a5a5bd0929adee3 -EBUILD noip-updater-2.1.9-r1.ebuild 1203 SHA256 3b748019dc6c7aaaff3da12c924407def40f9c7075cd2544007175b39a0bd23e SHA512 afb94817c2931c2d6e2004039e050497c57f4b67997ce9cf51dac38fbd390d4a917ebe38605a6116d97cfab63b2309727595c4cd65c56829f429d5fe6ccc3ff0 WHIRLPOOL 2e49d5b5052155f2ff30ba6cd64870740116061b78ddba6ec3038576ca5a7eb901a8b81a0c4c40c7796689b7a9e04e81dc609f33936e3bab4a43256b8e68a30a 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 deleted file mode 100644 index b2fb4e6..0000000 --- a/net-dns/noip-updater/files/noip-2.1.9-daemon.patch +++ /dev/null @@ -1,21 +0,0 @@ -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 deleted file mode 100644 index 9fe05f3..0000000 --- a/net-dns/noip-updater/files/noip-2.1.9-flags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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/files/noip.service b/net-dns/noip-updater/files/noip.service deleted file mode 100644 index b4834e8..0000000 --- a/net-dns/noip-updater/files/noip.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=No-IP Dynamic DNS Update Client -Require=network-online.target -After=network-online.target - -[Service] -Type=forking -ExecStart=/usr/sbin/noip2 -c /etc/no-ip2.conf - -[Install] -WantedBy=multi-user.target - diff --git a/net-dns/noip-updater/files/noip2.start b/net-dns/noip-updater/files/noip2.start deleted file mode 100644 index 2330ee6..0000000 --- a/net-dns/noip-updater/files/noip2.start +++ /dev/null @@ -1,34 +0,0 @@ -#!/sbin/runscript - -depend() { - need localmount - need net - use 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 --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-2.1.9-r1.ebuild b/net-dns/noip-updater/noip-updater-2.1.9-r1.ebuild deleted file mode 100644 index 493e086..0000000 --- a/net-dns/noip-updater/noip-updater-2.1.9-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit eutils readme.gentoo systemd 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 ~arm ~hppa ia64 ~mips ~ppc ppc64 sparc x86" -IUSE="" - -RDEPEND="" -DEPEND="sys-devel/gcc" - -S=${WORKDIR}/${MY_P} - -DOC_CONTENTS=" - Configuration can be done manually via /usr/sbin/noip2 -C or - by using this ebuild's config option. -" - -src_prepare() { - 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 -} - -src_install() { - dosbin noip2 - dodoc README.FIRST - newinitd "${FILESDIR}"/noip2.start noip - systemd_dounit "${FILESDIR}"/noip.service - readme.gentoo_create_doc -} - -pkg_config() { - cd /tmp - einfo "Answer the following questions." - noip2 -C || die -} |