1 |
pacho 13/08/31 06:34:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: noip-updater-2.1.9-r1.ebuild |
5 |
Log: |
6 |
Add unit file (#481490 by Galym Kerimbekov) |
7 |
|
8 |
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.42 net-dns/noip-updater/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/noip-updater/ChangeLog?rev=1.42&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/noip-updater/ChangeLog?rev=1.42&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/noip-updater/ChangeLog?r1=1.41&r2=1.42 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-dns/noip-updater/ChangeLog,v |
20 |
retrieving revision 1.41 |
21 |
retrieving revision 1.42 |
22 |
diff -u -r1.41 -r1.42 |
23 |
--- ChangeLog 24 Aug 2013 10:54:48 -0000 1.41 |
24 |
+++ ChangeLog 31 Aug 2013 06:34:32 -0000 1.42 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-dns/noip-updater |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/ChangeLog,v 1.41 2013/08/24 10:54:48 maekke Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/ChangeLog,v 1.42 2013/08/31 06:34:32 pacho Exp $ |
30 |
+ |
31 |
+*noip-updater-2.1.9-r1 (31 Aug 2013) |
32 |
+ |
33 |
+ 31 Aug 2013; Pacho Ramos <pacho@g.o> +files/noip.service, |
34 |
+ +noip-updater-2.1.9-r1.ebuild: |
35 |
+ Add unit file (#481490 by Galym Kerimbekov) |
36 |
|
37 |
24 Aug 2013; Markus Meier <maekke@g.o> noip-updater-2.1.9.ebuild: |
38 |
add ~arm, bug #479860 |
39 |
@@ -173,4 +179,3 @@ |
40 |
|
41 |
New package -- client to upgrade your noip.com DNS entry. Provided by: |
42 |
Low Zhen Lin <lowzl@×××××××.com> in bug #9745 |
43 |
- |
44 |
|
45 |
|
46 |
|
47 |
1.1 net-dns/noip-updater/noip-updater-2.1.9-r1.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/noip-updater/noip-updater-2.1.9-r1.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/noip-updater/noip-updater-2.1.9-r1.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: noip-updater-2.1.9-r1.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2013 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/net-dns/noip-updater/noip-updater-2.1.9-r1.ebuild,v 1.1 2013/08/31 06:34:32 pacho Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
inherit eutils readme.gentoo systemd toolchain-funcs |
60 |
|
61 |
MY_P=${P/-updater/} |
62 |
DESCRIPTION="no-ip.com dynamic DNS updater" |
63 |
HOMEPAGE="http://www.no-ip.com" |
64 |
SRC_URI="http://www.no-ip.com/client/linux/${MY_P}.tar.gz" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
69 |
IUSE="" |
70 |
|
71 |
RDEPEND="" |
72 |
DEPEND="sys-devel/gcc" |
73 |
|
74 |
S=${WORKDIR}/${MY_P} |
75 |
|
76 |
DOC_CONTENTS=" |
77 |
Configuration can be done manually via /usr/sbin/noip2 -C or |
78 |
by using this ebuild's config option. |
79 |
" |
80 |
|
81 |
src_prepare() { |
82 |
epatch "${FILESDIR}"/noip-2.1.9-flags.patch |
83 |
epatch "${FILESDIR}"/noip-2.1.9-daemon.patch |
84 |
sed -i \ |
85 |
-e "s:\(#define CONFIG_FILEPATH\).*:\1 \"/etc\":" \ |
86 |
-e "s:\(#define CONFIG_FILENAME\).*:\1 \"/etc/no-ip2.conf\":" \ |
87 |
noip2.c || die "sed failed" |
88 |
} |
89 |
|
90 |
src_compile() { |
91 |
emake \ |
92 |
CC=$(tc-getCC) \ |
93 |
PREFIX=/usr \ |
94 |
CONFDIR=/etc |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
dosbin noip2 |
99 |
dodoc README.FIRST |
100 |
newinitd "${FILESDIR}"/noip2.start noip |
101 |
systemd_dounit "${FILESDIR}"/noip.service |
102 |
readme.gentoo_create_doc |
103 |
} |
104 |
|
105 |
pkg_config() { |
106 |
cd /tmp |
107 |
einfo "Answer the following questions." |
108 |
noip2 -C || die |
109 |
} |