summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Brewer <tomboy64@sina.cn>2016-02-03 22:45:18 +0100
committerMatthew Brewer <tomboy64@sina.cn>2016-02-04 22:18:23 +0100
commitb28f9cddeb737f7fea14066d339337327b08736f (patch)
tree41be690b812a51253157c974bcc9a30f9e66003b /net-misc/i2pd
parentnet-misc/i2pd: version bump 2.4.0 (diff)
downloadgentoo-b28f9cddeb737f7fea14066d339337327b08736f.tar.gz
gentoo-b28f9cddeb737f7fea14066d339337327b08736f.tar.bz2
gentoo-b28f9cddeb737f7fea14066d339337327b08736f.zip
net-misc/i2pd: remove live version
Package-Manager: portage-2.2.26 RepoMan-Options: --ignore-arches
Diffstat (limited to 'net-misc/i2pd')
-rw-r--r--net-misc/i2pd/i2pd-9999.ebuild76
-rw-r--r--net-misc/i2pd/metadata.xml3
2 files changed, 0 insertions, 79 deletions
diff --git a/net-misc/i2pd/i2pd-9999.ebuild b/net-misc/i2pd/i2pd-9999.ebuild
deleted file mode 100644
index 3dfbbe8b577f..000000000000
--- a/net-misc/i2pd/i2pd-9999.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils systemd user git-2 cmake-multilib
-
-DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
-HOMEPAGE="https://github.com/PrivacySolutions/i2pd"
-SRC_URI=""
-EGIT_REPO_URI="git://github.com/PrivacySolutions/i2pd"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS=""
-IUSE="cpu_flags_x86_aes i2p-hardening library static"
-
-RDEPEND="!static? ( >=dev-libs/boost-1.46[threads] )
- !static? ( dev-libs/crypto++ )
- library? ( >=dev-libs/boost-1.46[threads,${MULTILIB_USEDEP}] )
- library? ( dev-libs/crypto++[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
- static? ( >=dev-libs/boost-1.46[static-libs,threads] )
- static? ( dev-libs/crypto++[static-libs] )
- >=dev-util/cmake-2.8.5
- i2p-hardening? ( >=sys-devel/gcc-4.6 )
- || ( >=sys-devel/gcc-4.6 >=sys-devel/clang-3.3 )"
-
-I2PD_USER="${I2PD_USER:-i2pd}"
-I2PD_GROUP="${I2PD_GROUP:-i2pd}"
-
-CMAKE_USE_DIR="${S}/build"
-
-multilib_src_configure() {
- mycmakeargs=(
- $(cmake-utils_use_with cpu_flags_x86_aes AESNI)
- $(cmake-utils_use_with i2p-hardening HARDENING)
- $(cmake-utils_use_with library LIBRARY)
- $(cmake-utils_use_with static STATIC)
- $(multilib_is_native_abi && echo -DWITH_BINARY=ON \
- || echo -DWITH_BINARY=OFF)
- )
- (multilib_is_native_abi || use library) && cmake-utils_src_configure
-}
-
-multilib_src_compile() {
- (multilib_is_native_abi || use library) && cmake-utils_src_compile
-}
-
-multilib_src_install() {
- (multilib_is_native_abi || use library) && cmake-utils_src_install
-}
-
-multilib_src_install_all() {
- dodoc README.md
- doman "${FILESDIR}/${PN}.1"
- keepdir /var/lib/i2pd/
- fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
- fperms 700 /var/lib/i2pd/
- insinto /etc/
- doins "${FILESDIR}/${PN}.conf"
- fowners "${I2PD_USER}:${I2PD_GROUP}" "/etc/${PN}.conf"
- fperms 600 "/etc/${PN}.conf"
- dodir /usr/share/i2pd
- cp -R "${S}/contrib/certificates" "${D}/var/lib/i2pd" || die "Install failed!"
- newconfd "${FILESDIR}/${PN}.confd" "${PN}"
- newinitd "${FILESDIR}/${PN}.initd" "${PN}"
- systemd_dounit "${FILESDIR}/${PN}.service"
- doenvd "${FILESDIR}/99${PN}"
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${PN}.logrotate" "${PN}"
-}
-
-pkg_setup() {
- enewgroup "${I2PD_GROUP}"
- enewuser "${I2PD_USER}" -1 -1 "/var/lib/run/${PN}" "${I2PD_GROUP}"
-}
diff --git a/net-misc/i2pd/metadata.xml b/net-misc/i2pd/metadata.xml
index 36a11c9a1446..b713bcadb757 100644
--- a/net-misc/i2pd/metadata.xml
+++ b/net-misc/i2pd/metadata.xml
@@ -13,9 +13,6 @@
<flag name="i2p-hardening">
Compile with hardening on vanilla compilers/linkers
</flag>
- <flag name="library">
- Build the libi2pd library
- </flag>
</use>
<upstream>
<remote-id type="github">PrivacySolutions/i2pd</remote-id>