1 |
blueness 15/01/02 14:24:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: namecoind-0.3.80.ebuild |
5 |
Log: |
6 |
Version bump, bug #534204 |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 net-dns/namecoind/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/namecoind/ChangeLog?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/namecoind/ChangeLog?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/namecoind/ChangeLog?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-dns/namecoind/ChangeLog,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- ChangeLog 22 Jun 2014 11:44:15 -0000 1.3 |
24 |
+++ ChangeLog 2 Jan 2015 14:24:58 -0000 1.4 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-dns/namecoind |
27 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-dns/namecoind/ChangeLog,v 1.3 2014/06/22 11:44:15 blueness Exp $ |
29 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-dns/namecoind/ChangeLog,v 1.4 2015/01/02 14:24:58 blueness Exp $ |
31 |
+ |
32 |
+*namecoind-0.3.80 (02 Jan 2015) |
33 |
+ |
34 |
+ 02 Jan 2015; Anthony G. Basile <blueness@g.o> |
35 |
+ +files/namecoind-0.3.80-makefile.patch, +namecoind-0.3.80.ebuild: |
36 |
+ Version bump, bug #534204 |
37 |
|
38 |
22 Jun 2014; Anthony G. Basile <blueness@g.o> namecoind-0.3.72.ebuild: |
39 |
Add dependency on dev-libs/glib:2, bug #514362 |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-dns/namecoind/namecoind-0.3.80.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/namecoind/namecoind-0.3.80.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/namecoind/namecoind-0.3.80.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: namecoind-0.3.80.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-dns/namecoind/namecoind-0.3.80.ebuild,v 1.1 2015/01/02 14:24:58 blueness Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
|
56 |
DB_VER="4.8" |
57 |
|
58 |
inherit db-use eutils toolchain-funcs user git-r3 |
59 |
|
60 |
DESCRIPTION="A P2P network based domain name system" |
61 |
HOMEPAGE="https://dot-bit.org/" |
62 |
#SRC_URI="https://github.com/namecoinq/namecoinq/archive/v${PV/0/Q}.tar.gz -> ${P}.tar.gz" |
63 |
# Try to use github |
64 |
SRC_URI="" |
65 |
EGIT_REPO_URI="https://github.com/namecoin/namecoin.git" |
66 |
EGIT_BRANCH="namecoinq-release" |
67 |
EGIT_COMMIT="nc${PV}" |
68 |
|
69 |
LICENSE="MIT ISC cryptopp" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64 ~x86" |
72 |
IUSE="ssl upnp" |
73 |
|
74 |
RDEPEND=" |
75 |
dev-libs/boost[threads(+)] |
76 |
dev-libs/glib:2 |
77 |
dev-libs/crypto++ |
78 |
dev-libs/openssl[-bindist] |
79 |
upnp? ( |
80 |
net-libs/miniupnpc |
81 |
) |
82 |
sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
83 |
" |
84 |
DEPEND="${RDEPEND} |
85 |
>=app-shells/bash-4.1 |
86 |
" |
87 |
|
88 |
S="${WORKDIR}/namecoind-${PV}" |
89 |
|
90 |
pkg_setup() { |
91 |
local UG='namecoin' |
92 |
enewgroup "${UG}" |
93 |
enewuser "${UG}" -1 -1 /var/lib/namecoin "${UG}" |
94 |
} |
95 |
|
96 |
src_prepare() { |
97 |
cd src || die |
98 |
epatch "${FILESDIR}"/namecoind-0.3.80-makefile.patch |
99 |
} |
100 |
|
101 |
src_compile() { |
102 |
local OPTS=() |
103 |
|
104 |
OPTS+=("CXXFLAGS=${CXXFLAGS} -I$(db_includedir "${DB_VER}")") |
105 |
OPTS+=("LDFLAGS=${LDFLAGS} -ldb_cxx-${DB_VER}") |
106 |
|
107 |
use ssl && OPTS+=(USE_SSL=1) |
108 |
use upnp && OPTS+=(USE_UPNP=1) |
109 |
|
110 |
cd src || die |
111 |
emake CXX="$(tc-getCXX)" "${OPTS[@]}" ${PN} |
112 |
} |
113 |
|
114 |
src_install() { |
115 |
dobin src/${PN} |
116 |
|
117 |
insinto /etc/namecoin |
118 |
doins "${FILESDIR}/namecoin.conf" |
119 |
fowners namecoin:namecoin /etc/namecoin/namecoin.conf |
120 |
fperms 600 /etc/namecoin/namecoin.conf |
121 |
|
122 |
newconfd "${FILESDIR}/namecoin.confd" ${PN} |
123 |
newinitd "${FILESDIR}/namecoin.initd" ${PN} |
124 |
|
125 |
keepdir /var/lib/namecoin/.namecoin |
126 |
fperms 700 /var/lib/namecoin |
127 |
fowners namecoin:namecoin /var/lib/namecoin/ |
128 |
fowners namecoin:namecoin /var/lib/namecoin/.namecoin |
129 |
dosym /etc/namecoin/namecoin.conf /var/lib/namecoin/.namecoin/bitcoin.conf |
130 |
|
131 |
dodoc doc/README |
132 |
dodoc DESIGN-namecoin.md FAQ.md doc/README_merged-mining.md |
133 |
} |