diff options
author | Alexey Korepanov <kaikaikai@yandex.ru> | 2017-02-15 19:09:38 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2017-02-16 05:01:55 -0500 |
commit | 00db52da06b79f653b474126516ee3cb921ca73c (patch) | |
tree | b5196a82adcf6041946ad3283c5dd31d28e930e7 /net-misc/i2pd | |
parent | net-misc/i2pd: version bump 2.12.0 (diff) | |
download | gentoo-00db52da06b79f653b474126516ee3cb921ca73c.tar.gz gentoo-00db52da06b79f653b474126516ee3cb921ca73c.tar.bz2 gentoo-00db52da06b79f653b474126516ee3cb921ca73c.zip |
net-misc/i2pd: remove old
Diffstat (limited to 'net-misc/i2pd')
-rw-r--r-- | net-misc/i2pd/Manifest | 5 | ||||
-rw-r--r-- | net-misc/i2pd/files/i2pd-2.9.0-static.patch | 25 | ||||
-rw-r--r-- | net-misc/i2pd/i2pd-2.10.0.ebuild | 99 | ||||
-rw-r--r-- | net-misc/i2pd/i2pd-2.10.1.ebuild | 99 | ||||
-rw-r--r-- | net-misc/i2pd/i2pd-2.10.2.ebuild | 99 | ||||
-rw-r--r-- | net-misc/i2pd/i2pd-2.8.0.ebuild | 99 | ||||
-rw-r--r-- | net-misc/i2pd/i2pd-2.9.0-r1.ebuild | 97 |
7 files changed, 0 insertions, 523 deletions
diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest index e1b308e491a4..b322a15a60c6 100644 --- a/net-misc/i2pd/Manifest +++ b/net-misc/i2pd/Manifest @@ -1,7 +1,2 @@ -DIST i2pd-2.10.0.tar.gz 2985581 SHA256 614d746e4d0b13433de56eb0492a6a4aa36a5b43ab88f12429ed5bd20baa78a0 SHA512 61c0b75327ca031afb879ae32ddc5ce871a7ba5c7705a127d1575d5fd7d8b0ee496363e57f6ed6857ac758bc2ed525f43ad2a369805c0f35e22b9ce9020c9dbe WHIRLPOOL 10963d0857b169d0e76ac02be5a8c9530fc908554216d6d55195fe91fc71ad1740cb9cfd33cbe4dee8e4b7d7bd2a9b895e63516f67f980012b9446498584f16a -DIST i2pd-2.10.1.tar.gz 2993590 SHA256 84d3890ea9f381884deaeaf3154f945519f9a9f77d363e606f6408ea6d682631 SHA512 0b5a51606507e86070f4fdeba2b649f71fd7d74f9ee9d0d52dba67dbe0e89aceef04972d0e8b7c59304a4cb610ba65f90e2f3704dc59b6ce6199eddddaa9ca3a WHIRLPOOL d5a04c49060c750cde9a017b2739cc5adb8449afcf91105c2c290744447b57508e75bdddb3237d0c2a0c1984a704b37f32bfeb76b71aad287edb05c2b52eb8e8 -DIST i2pd-2.10.2.tar.gz 3090874 SHA256 9d1f8dd33f537ad629fc69f0ccfa4cde22ca5023981a9c5b6acd5d551b9c7b8b SHA512 5bdce54eccdf92ed46cbef3e29c3f8750755042a4060361831a9239929d04c055848f2ea5263686eca849dbae55bb52342d96008fb61b04fd1883f21a94c425a WHIRLPOOL 7f92f68232ee29ca194a05cc152496722224345d1a9a32fd57fd9b49f8ec318383f9345c54319ec78bed407251f9ada4052057f867a40353189234da9f9a56b8 DIST i2pd-2.11.0.tar.gz 3091516 SHA256 4d7946e33a6a1dd4439590ea23b494f36e6fbcb81f7b36857bf264413a19e9db SHA512 c4964c23f6852e6ce225de6f6f03ce4e5c52a6ec2b925b82c01be574b14196112079ada5864b10f353c3dd385645db550d5ce290647b6d980225a79c64f19ddb WHIRLPOOL f2a4c42ad2df09188b5be8fad23f7f2ec2080e17b980b55c1647c13499c6b3cce88d6e9c2fbfd34bf8783a0b52c15659775351835ae181e58357c455ebb1dea1 DIST i2pd-2.12.0.tar.gz 3150471 SHA256 afb763aea2a4f4b51e327352d5da82ec08e84735d28db9af7710563a117fc648 SHA512 70b6143e713d43e24b780239aed899fb17d6224ef053020c738369ca110241e4624ae5c69b04a75a037b68094d3030be5296509ff699905ef7c175447d093232 WHIRLPOOL 8b5fb9a5123ce700a646de72a81e476b3545ad62f4bb8d143438bc1e1b6393b381e13224b3d538fa063d24b732588df5b3abe9b2d5485473d83038f01d296b4e -DIST i2pd-2.8.0.tar.gz 1695271 SHA256 3f3f538b3c5b3095021311b434456c42d6f3b5e43dc7972c263b10ef179ba063 SHA512 379b72c4021dc8342405a034219ecb3681014a0ea1612da8b61de2b03adf2611ebe267233ed2891a2fb5a345d9304d7501c42d8c985362be72239b653d0d3c39 WHIRLPOOL 511d4e3a084604289c041a69135d8afc5abca186fe96704ca35108e96c84523706aaa73c07884dcce65df1fe9fed9335cea65b52dc14bd4a61b94d6fd11c6838 -DIST i2pd-2.9.0.tar.gz 2967757 SHA256 48139f83352f26023b99d7d6ee49e648febd2a8db6beb88c108facaf46a282e2 SHA512 6d5f2c1b6b68a0dab3171c6dfe02ce4bbe4afd273a8ff1f93870813c7ad5728334b54f9ff0c91eb2be82249b88d40479bc0dd33b494562973a6a1239e3be65c9 WHIRLPOOL 3d1eaf3c09e9b0490c82198643e2a7f763885887c1a72b6a97105b7cc03c554093920b8739df74bb44b74850172a61963981d9b548d85be898c1124a6af9a5a7 diff --git a/net-misc/i2pd/files/i2pd-2.9.0-static.patch b/net-misc/i2pd/files/i2pd-2.9.0-static.patch deleted file mode 100644 index c525db71b933..000000000000 --- a/net-misc/i2pd/files/i2pd-2.9.0-static.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 2e74d91ddc1a776692dd7398e0126a6bd1f2a92a Mon Sep 17 00:00:00 2001 -From: Jeff Becker <ampernand@gmail.com> -Date: Tue, 16 Aug 2016 10:25:56 -0400 -Subject: [PATCH] try fixing https://github.com/PurpleI2P/i2pd/issues/612 - ---- - build/CMakeLists.txt | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt -index 7f9b8c6..99d6a5a 100644 ---- a/build/CMakeLists.txt -+++ b/build/CMakeLists.txt -@@ -369,7 +369,10 @@ if (WITH_BINARY) - if (MSYS OR MINGW) - set (MINGW_EXTRA -lws2_32 -lmswsock -liphlpapi ) - endif () -- target_link_libraries( "${PROJECT_NAME}" libi2pd i2pdclient ${DL_LIB} ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARY} ${CMAKE_THREAD_LIBS_INIT} ${MINGW_EXTRA} ) -+ if (WITH_STATIC) -+ set(DL_LIB ${CMAKE_DL_LIBS}) -+ endif() -+ target_link_libraries( "${PROJECT_NAME}" libi2pd i2pdclient ${DL_LIB} ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARY} ${CMAKE_THREAD_LIBS_INIT} ${MINGW_EXTRA} ${DL_LIB}) - - install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Runtime) - set (APPS "\${CMAKE_INSTALL_PREFIX}/bin/${PROJECT_NAME}${CMAKE_EXECUTABLE_SUFFIX}") diff --git a/net-misc/i2pd/i2pd-2.10.0.ebuild b/net-misc/i2pd/i2pd-2.10.0.ebuild deleted file mode 100644 index 6a8a0a10249e..000000000000 --- a/net-misc/i2pd/i2pd-2.10.0.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -inherit eutils systemd user cmake-utils - -DESCRIPTION="A C++ daemon for accessing the I2P anonymous network" -HOMEPAGE="https://github.com/PurpleI2P/i2pd" -SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp" - -RDEPEND="!static? ( >=dev-libs/boost-1.49[threads] - !libressl? ( dev-libs/openssl:0[-bindist] ) - libressl? ( dev-libs/libressl ) - upnp? ( net-libs/miniupnpc ) - )" -DEPEND="${RDEPEND} - static? ( >=dev-libs/boost-1.49[static-libs,threads] - !libressl? ( dev-libs/openssl:0[static-libs] ) - libressl? ( dev-libs/libressl[static-libs] ) - upnp? ( net-libs/miniupnpc[static-libs] ) ) - i2p-hardening? ( >=sys-devel/gcc-4.7 ) - || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )" - -I2PD_USER=i2pd -I2PD_GROUP=i2pd - -CMAKE_USE_DIR="${S}/build" - -DOCS=( README.md docs/i2pd.conf docs/tunnels.conf ) - -PATCHES=( "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" ) - -src_configure() { - mycmakeargs=( - -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF) - -DWITH_HARDENING=$(usex i2p-hardening ON OFF) - -DWITH_PCH=$(usex pch ON OFF) - -DWITH_STATIC=$(usex static ON OFF) - -DWITH_UPNP=$(usex upnp ON OFF) - -DWITH_LIBRARY=ON - -DWITH_BINARY=ON - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - # config - insinto /etc/i2pd - doins docs/i2pd.conf - doins docs/tunnels.conf - - # grant i2pd group read and write access to config files - fowners "root:${I2PD_GROUP}" \ - /etc/i2pd/i2pd.conf \ - /etc/i2pd/tunnels.conf - fperms 660 \ - /etc/i2pd/i2pd.conf \ - /etc/i2pd/tunnels.conf - - # working directory - keepdir /var/lib/i2pd - insinto /var/lib/i2pd - doins -r contrib/certificates - fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/ - fperms 700 /var/lib/i2pd/ - - # add /var/lib/i2pd/certificates to CONFIG_PROTECT - doenvd "${FILESDIR}/99i2pd" - - # openrc and systemd daemon routines - newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd - newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd - systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service - - # logrotate - insinto /etc/logrotate.d - newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd -} - -pkg_setup() { - enewgroup "${I2PD_GROUP}" - enewuser "${I2PD_USER}" -1 -1 /var/lib/run/i2pd "${I2PD_GROUP}" -} - -pkg_postinst() { - if [[ -f ${EROOT%/}/etc/i2pd/subscriptions.txt ]]; then - ewarn - ewarn "Configuration of the subscriptions has been moved from" - ewarn "subscriptions.txt to i2pd.conf. We recommend updating" - ewarn "i2pd.conf accordingly and deleting subscriptions.txt." - fi -} diff --git a/net-misc/i2pd/i2pd-2.10.1.ebuild b/net-misc/i2pd/i2pd-2.10.1.ebuild deleted file mode 100644 index 6a8a0a10249e..000000000000 --- a/net-misc/i2pd/i2pd-2.10.1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -inherit eutils systemd user cmake-utils - -DESCRIPTION="A C++ daemon for accessing the I2P anonymous network" -HOMEPAGE="https://github.com/PurpleI2P/i2pd" -SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp" - -RDEPEND="!static? ( >=dev-libs/boost-1.49[threads] - !libressl? ( dev-libs/openssl:0[-bindist] ) - libressl? ( dev-libs/libressl ) - upnp? ( net-libs/miniupnpc ) - )" -DEPEND="${RDEPEND} - static? ( >=dev-libs/boost-1.49[static-libs,threads] - !libressl? ( dev-libs/openssl:0[static-libs] ) - libressl? ( dev-libs/libressl[static-libs] ) - upnp? ( net-libs/miniupnpc[static-libs] ) ) - i2p-hardening? ( >=sys-devel/gcc-4.7 ) - || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )" - -I2PD_USER=i2pd -I2PD_GROUP=i2pd - -CMAKE_USE_DIR="${S}/build" - -DOCS=( README.md docs/i2pd.conf docs/tunnels.conf ) - -PATCHES=( "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" ) - -src_configure() { - mycmakeargs=( - -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF) - -DWITH_HARDENING=$(usex i2p-hardening ON OFF) - -DWITH_PCH=$(usex pch ON OFF) - -DWITH_STATIC=$(usex static ON OFF) - -DWITH_UPNP=$(usex upnp ON OFF) - -DWITH_LIBRARY=ON - -DWITH_BINARY=ON - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - # config - insinto /etc/i2pd - doins docs/i2pd.conf - doins docs/tunnels.conf - - # grant i2pd group read and write access to config files - fowners "root:${I2PD_GROUP}" \ - /etc/i2pd/i2pd.conf \ - /etc/i2pd/tunnels.conf - fperms 660 \ - /etc/i2pd/i2pd.conf \ - /etc/i2pd/tunnels.conf - - # working directory - keepdir /var/lib/i2pd - insinto /var/lib/i2pd - doins -r contrib/certificates - fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/ - fperms 700 /var/lib/i2pd/ - - # add /var/lib/i2pd/certificates to CONFIG_PROTECT - doenvd "${FILESDIR}/99i2pd" - - # openrc and systemd daemon routines - newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd - newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd - systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service - - # logrotate - insinto /etc/logrotate.d - newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd -} - -pkg_setup() { - enewgroup "${I2PD_GROUP}" - enewuser "${I2PD_USER}" -1 -1 /var/lib/run/i2pd "${I2PD_GROUP}" -} - -pkg_postinst() { - if [[ -f ${EROOT%/}/etc/i2pd/subscriptions.txt ]]; then - ewarn - ewarn "Configuration of the subscriptions has been moved from" - ewarn "subscriptions.txt to i2pd.conf. We recommend updating" - ewarn "i2pd.conf accordingly and deleting subscriptions.txt." - fi -} diff --git a/net-misc/i2pd/i2pd-2.10.2.ebuild b/net-misc/i2pd/i2pd-2.10.2.ebuild deleted file mode 100644 index 6a8a0a10249e..000000000000 --- a/net-misc/i2pd/i2pd-2.10.2.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -inherit eutils systemd user cmake-utils - -DESCRIPTION="A C++ daemon for accessing the I2P anonymous network" -HOMEPAGE="https://github.com/PurpleI2P/i2pd" -SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp" - -RDEPEND="!static? ( >=dev-libs/boost-1.49[threads] - !libressl? ( dev-libs/openssl:0[-bindist] ) - libressl? ( dev-libs/libressl ) - upnp? ( net-libs/miniupnpc ) - )" -DEPEND="${RDEPEND} - static? ( >=dev-libs/boost-1.49[static-libs,threads] - !libressl? ( dev-libs/openssl:0[static-libs] ) - libressl? ( dev-libs/libressl[static-libs] ) - upnp? ( net-libs/miniupnpc[static-libs] ) ) - i2p-hardening? ( >=sys-devel/gcc-4.7 ) - || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )" - -I2PD_USER=i2pd -I2PD_GROUP=i2pd - -CMAKE_USE_DIR="${S}/build" - -DOCS=( README.md docs/i2pd.conf docs/tunnels.conf ) - -PATCHES=( "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" ) - -src_configure() { - mycmakeargs=( - -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF) - -DWITH_HARDENING=$(usex i2p-hardening ON OFF) - -DWITH_PCH=$(usex pch ON OFF) - -DWITH_STATIC=$(usex static ON OFF) - -DWITH_UPNP=$(usex upnp ON OFF) - -DWITH_LIBRARY=ON - -DWITH_BINARY=ON - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - # config - insinto /etc/i2pd - doins docs/i2pd.conf - doins docs/tunnels.conf - - # grant i2pd group read and write access to config files - fowners "root:${I2PD_GROUP}" \ - /etc/i2pd/i2pd.conf \ - /etc/i2pd/tunnels.conf - fperms 660 \ - /etc/i2pd/i2pd.conf \ - /etc/i2pd/tunnels.conf - - # working directory - keepdir /var/lib/i2pd - insinto /var/lib/i2pd - doins -r contrib/certificates - fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/ - fperms 700 /var/lib/i2pd/ - - # add /var/lib/i2pd/certificates to CONFIG_PROTECT - doenvd "${FILESDIR}/99i2pd" - - # openrc and systemd daemon routines - newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd - newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd - systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service - - # logrotate - insinto /etc/logrotate.d - newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd -} - -pkg_setup() { - enewgroup "${I2PD_GROUP}" - enewuser "${I2PD_USER}" -1 -1 /var/lib/run/i2pd "${I2PD_GROUP}" -} - -pkg_postinst() { - if [[ -f ${EROOT%/}/etc/i2pd/subscriptions.txt ]]; then - ewarn - ewarn "Configuration of the subscriptions has been moved from" - ewarn "subscriptions.txt to i2pd.conf. We recommend updating" - ewarn "i2pd.conf accordingly and deleting subscriptions.txt." - fi -} diff --git a/net-misc/i2pd/i2pd-2.8.0.ebuild b/net-misc/i2pd/i2pd-2.8.0.ebuild deleted file mode 100644 index 3120cceadfc1..000000000000 --- a/net-misc/i2pd/i2pd-2.8.0.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -inherit eutils systemd user cmake-utils - -DESCRIPTION="A C++ daemon for accessing the I2P anonymous network" -HOMEPAGE="https://github.com/PurpleI2P/i2pd" -SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp" - -RDEPEND="!static? ( >=dev-libs/boost-1.49[threads] - dev-libs/crypto++ - !libressl? ( dev-libs/openssl:0[-bindist] ) - libressl? ( dev-libs/libressl ) - upnp? ( net-libs/miniupnpc ) - )" -DEPEND="${RDEPEND} - static? ( >=dev-libs/boost-1.49[static-libs,threads] - dev-libs/crypto++[static-libs] - !libressl? ( dev-libs/openssl:0[static-libs] ) - libressl? ( dev-libs/libressl[static-libs] ) - upnp? ( net-libs/miniupnpc[static-libs] ) ) - i2p-hardening? ( >=sys-devel/gcc-4.7 ) - || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )" - -I2PD_USER=i2pd -I2PD_GROUP=i2pd - -CMAKE_USE_DIR="${S}/build" - -DOCS=( README.md docs/i2pd.conf debian/tunnels.conf debian/subscriptions.txt ) - -src_prepare() { - eapply "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" - eapply_user -} - -src_configure() { - mycmakeargs=( - -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF) - -DWITH_HARDENING=$(usex i2p-hardening ON OFF) - -DWITH_PCH=$(usex pch ON OFF) - -DWITH_STATIC=$(usex static ON OFF) - -DWITH_UPNP=$(usex upnp ON OFF) - -DWITH_LIBRARY=ON - -DWITH_BINARY=ON - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - # config - insinto /etc/i2pd - doins docs/i2pd.conf - doins debian/tunnels.conf - doins debian/subscriptions.txt - - # grant i2pd group read and write access to config files - fowners "root:${I2PD_GROUP}" \ - /etc/i2pd/i2pd.conf \ - /etc/i2pd/tunnels.conf \ - /etc/i2pd/subscriptions.txt - fperms 660 \ - /etc/i2pd/i2pd.conf \ - /etc/i2pd/tunnels.conf \ - /etc/i2pd/subscriptions.txt - - # working directory - keepdir /var/lib/i2pd - insinto /var/lib/i2pd - doins -r contrib/certificates - dosym /etc/i2pd/subscriptions.txt /var/lib/i2pd/subscriptions.txt - fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/ - fperms 700 /var/lib/i2pd/ - - # add /var/lib/i2pd/certificates to CONFIG_PROTECT - doenvd "${FILESDIR}/99i2pd" - - # openrc and systemd daemon routines - newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd - newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd - systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service - - # logrotate - insinto /etc/logrotate.d - newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd -} - -pkg_setup() { - enewgroup "${I2PD_GROUP}" - enewuser "${I2PD_USER}" -1 -1 /var/lib/run/i2pd "${I2PD_GROUP}" -} diff --git a/net-misc/i2pd/i2pd-2.9.0-r1.ebuild b/net-misc/i2pd/i2pd-2.9.0-r1.ebuild deleted file mode 100644 index a1fff4b6dac3..000000000000 --- a/net-misc/i2pd/i2pd-2.9.0-r1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -inherit eutils systemd user cmake-utils - -DESCRIPTION="A C++ daemon for accessing the I2P anonymous network" -HOMEPAGE="https://github.com/PurpleI2P/i2pd" -SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp" - -RDEPEND="!static? ( >=dev-libs/boost-1.49[threads] - dev-libs/crypto++ - !libressl? ( dev-libs/openssl:0[-bindist] ) - libressl? ( dev-libs/libressl ) - upnp? ( net-libs/miniupnpc ) - )" -DEPEND="${RDEPEND} - static? ( >=dev-libs/boost-1.49[static-libs,threads] - dev-libs/crypto++[static-libs] - !libressl? ( dev-libs/openssl:0[static-libs] ) - libressl? ( dev-libs/libressl[static-libs] ) - upnp? ( net-libs/miniupnpc[static-libs] ) ) - i2p-hardening? ( >=sys-devel/gcc-4.7 ) - || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )" - -I2PD_USER=i2pd -I2PD_GROUP=i2pd - -CMAKE_USE_DIR="${S}/build" - -DOCS=( README.md docs/i2pd.conf debian/tunnels.conf debian/subscriptions.txt ) - -PATCHES=( "${FILESDIR}/i2pd-2.9.0-static.patch" \ - "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" ) - -src_configure() { - mycmakeargs=( - -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF) - -DWITH_HARDENING=$(usex i2p-hardening ON OFF) - -DWITH_PCH=$(usex pch ON OFF) - -DWITH_STATIC=$(usex static ON OFF) - -DWITH_UPNP=$(usex upnp ON OFF) - -DWITH_LIBRARY=ON - -DWITH_BINARY=ON - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - # config - insinto /etc/i2pd - doins docs/i2pd.conf - doins debian/tunnels.conf - doins debian/subscriptions.txt - - # grant i2pd group read and write access to config files - fowners "root:${I2PD_GROUP}" \ - /etc/i2pd/i2pd.conf \ - /etc/i2pd/tunnels.conf \ - /etc/i2pd/subscriptions.txt - fperms 660 \ - /etc/i2pd/i2pd.conf \ - /etc/i2pd/tunnels.conf \ - /etc/i2pd/subscriptions.txt - - # working directory - keepdir /var/lib/i2pd - insinto /var/lib/i2pd - doins -r contrib/certificates - dosym /etc/i2pd/subscriptions.txt /var/lib/i2pd/subscriptions.txt - fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/ - fperms 700 /var/lib/i2pd/ - - # add /var/lib/i2pd/certificates to CONFIG_PROTECT - doenvd "${FILESDIR}/99i2pd" - - # openrc and systemd daemon routines - newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd - newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd - systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service - - # logrotate - insinto /etc/logrotate.d - newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd -} - -pkg_setup() { - enewgroup "${I2PD_GROUP}" - enewuser "${I2PD_USER}" -1 -1 /var/lib/run/i2pd "${I2PD_GROUP}" -} |