From 72c8fb5bf20f4076af18a6473aafbec416fcb923 Mon Sep 17 00:00:00 2001 From: "Francisco Blas Izquierdo Riera (klondike)" Date: Sat, 7 Feb 2015 17:27:40 +0100 Subject: Bump to 0.7.0 Package-Manager: portage-2.2.14 Manifest-Sign-Key: 0xA5C1A1D24B128E52 --- net-misc/i2pd/ChangeLog | 5 ++++ net-misc/i2pd/Manifest | 18 +++++++----- net-misc/i2pd/i2pd-0.7.0.ebuild | 65 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 8 deletions(-) create mode 100644 net-misc/i2pd/i2pd-0.7.0.ebuild diff --git a/net-misc/i2pd/ChangeLog b/net-misc/i2pd/ChangeLog index 7dd1815..b6c808b 100644 --- a/net-misc/i2pd/ChangeLog +++ b/net-misc/i2pd/ChangeLog @@ -1,5 +1,10 @@ +*i2pd-0.7.0 (07 Feb 2015) + + 07 Feb 2015; Francisco Blas Izquierdo Riera (klondike) +i2pd-0.7.0.ebuild: + Bump to 0.7.0 + 07 Feb 2015; Francisco Blas Izquierdo Riera (klondike) i2pd-0.5.0.ebuild, i2pd-0.6.0.ebuild, i2pd-9999.ebuild: Backport mgorny's changes diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest index f55c62a..3cd7df8 100644 --- a/net-misc/i2pd/Manifest +++ b/net-misc/i2pd/Manifest @@ -10,19 +10,21 @@ AUX i2pd.logrotate 270 SHA256 cac89d98a0c2eff2eeedb323b3b81c3e316293f80d3397bfeb AUX i2pd.service 412 SHA256 afc2b4a72e3bec2c45a838971375a1e8a438bc9cb09a082f138583e226ee8402 SHA512 99ec3dbe7c983d732c483207f49a9b9456c83c17b76605f663fb177142e09e11e0e3fe4e10ffaaca3b9e08519a055ab5efee4117b6e977d22ec80c6aa7c3d3eb WHIRLPOOL dc47e828a8a457e16e16ff5dae50c73fdeaa6a79d36d2f2d4e44919e06e222a2b14d0677c77ef2d471107d8ce669ad499172656f3985bee18697f2725df2e95e DIST i2pd-0.5.0.tar.gz 352460 SHA256 7f2033fe1c380c458722d68f611d0fa69a844ceba71db13a918adac6e01a0594 SHA512 08c51dc5fa3712af54b7dcc9f4524fb19d7b42a279646c7852efdf1fd49cf4ea24192c936229954c3733ba4bcbc480205bcfeca739ffae3642f5c62bd24e0cf6 WHIRLPOOL 1812a8733f17cd6b9885cf8af3ad0412f238356121118d46fbed53cb826aaa6c878a045adb69e0a692fd5cd3fc720192c635f4e594d3d42efb2116f14bbba9e9 DIST i2pd-0.6.0.tar.gz 360829 SHA256 149a8c2d870ebc3988aea06eec906c9e968b3d89ae282bd3b2b5ead205f7c3b7 SHA512 084c75c5f972dbc07740119c3ae1711924cf740391703a95752164eab7a04d6cea0cfb302530e1e1bebafb54f9eed552e747479ae55fb053e824cdf059ab3266 WHIRLPOOL a858a49173755e052f31a95f4f7075965dac0c89943a7dc05c3c88d51b646ab86a7510a9533e33d9c5f0e7736e9f702f6fd0de4e6a841cc3ec57ea5aaf2b991c +DIST i2pd-0.7.0.tar.gz 367268 SHA256 462ab0c5c0ccdefdce14eae1bc1c5727bad5e8748b57a59c040b91dcba0c2cba SHA512 e76d02fad773c4b8fee93224c2cc48f972d1c66dea3cb80c9be411b6c169381a6aa2aa8a4c288e0c83d01f773701f3dc32022c5b33c67827f239888d71ed5f79 WHIRLPOOL 58eb9946dbeaad0e3901f8b37fdb3c31e010d5bc26ffdaf0708a2853d5d6d187d1bc8d8198179155350fa32da0a5e29c2f72fc172c711ce05b5500d84ae9c40a EBUILD i2pd-0.5.0.ebuild 1962 SHA256 64cb6f1abadfc1de30b736d32cc7b5df97eb52919d7861e9488af557b575c2c2 SHA512 9311d77bcae0eba96ff141e1224caa9a9c78f428b477c48aa5f3fb3f390cb50fc8be708445524ea96ccfd7d093c7c483c43cd0b09d90cc365d48278f3368b6f4 WHIRLPOOL 535e3ddd5b6487e2afb58d3f98b75e500da71d17a4f9028459155491c24babad67926e1b6b96751d79f2c8fb3352e3169bba511befd53187660b02c412abe0c1 EBUILD i2pd-0.6.0.ebuild 1999 SHA256 8b11c3246aedb9c51d8cf0ea24f834d4900eba02ea886cc8bf938ce5f0895200 SHA512 804bd79fa4b5235609562d9983be5b1edd4f2538413112489e7247eee991e159ec0d5a8dab96770b867a0ba0c51d048f4c70f21fdb186bd6133c2feab2ebb79d WHIRLPOOL c09db2b296f4acf8ead0c65c352b8ef5a486ef5ebda54ae04293bb54758083c22078e0aa881be60ca8c4924f061655c478703c2f865378fa297c557a7c1843b2 +EBUILD i2pd-0.7.0.ebuild 1999 SHA256 8b11c3246aedb9c51d8cf0ea24f834d4900eba02ea886cc8bf938ce5f0895200 SHA512 804bd79fa4b5235609562d9983be5b1edd4f2538413112489e7247eee991e159ec0d5a8dab96770b867a0ba0c51d048f4c70f21fdb186bd6133c2feab2ebb79d WHIRLPOOL c09db2b296f4acf8ead0c65c352b8ef5a486ef5ebda54ae04293bb54758083c22078e0aa881be60ca8c4924f061655c478703c2f865378fa297c557a7c1843b2 EBUILD i2pd-9999.ebuild 2418 SHA256 c25b3dc79729114b840da6542adac517ed31480ff60ae818b1f9219717563cfe SHA512 0a205e42de682b35f48160bf21c6a679fd1d8d73bc92ee69b4f7d750fea8bafb7a18dd4644d433b3d1c577203608a055111677ed7d7c96a0d7a02d4f705404f5 WHIRLPOOL abe650d2f0b0947413cc8b8be15b9f0b6852020ec705f03e209169dcba6c6efacc28efb6313644964ace4e94155ba17fa692c05bd3c5587b376d594a4262401a -MISC ChangeLog 1636 SHA256 51b26efa752cd8795de70ab869befa6bd3462aa9f96547225d51d43f1830cb0b SHA512 397239e3f15ed8294e0d2fe71d5f48f87552f9c57e3b27c3fee09c9092d103c380dfcc71a0ac2f8dd65332e606a230fc6b3a36052c91622fe33532394f612313 WHIRLPOOL 4bca850cc84060545a0f8117bed6dc9106bc26ed605a06a83bc0fac0b2e7763ffd78d0eb3f8c618f5858edce752c365924c2af071107111fda8ec6e63facbb10 +MISC ChangeLog 1757 SHA256 2cc4447d1a6455eba378622009dd8c66168341cac6f994da2ae7cb97002e2789 SHA512 4cf7dab655c585db2ed18e6b507dd0f945327c7ff0d2a38c10a59eda9166317f5609bfcb07ca8913ebfe6d2816580cac1f2cf3e765caa69c1dfbb0e44d07d877 WHIRLPOOL 95467e4a60dc284726b6efe373f6aff57e46da938aaf17b50117805057d1417adc6545820816c9bbc8ee41c8061669e509b9eba6f5316beed93c781c42060c45 MISC metadata.xml 424 SHA256 c7959b9cb11a07bde564c8574b349cb7652a5dd3575145b571dc9ed4f09ee7c2 SHA512 0cb4f7e9490b757429932f11ed6845c67fd5dbd4fbcba1485c30e3a46c3c41157daa32a1f36a1e196e7f8c485ae51eb1586d0f14c4986a0ce043f07e44f12bb3 WHIRLPOOL b81a673b6e4a32d9af6e382f66eae6a6d62dbe21af00785b4d0fa557a34041178b8f43bc616151dbe75ce9fe8752367f22cf4311ee6579da614f83ce96dfd45e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQEcBAEBCAAGBQJU1jWpAAoJEKXBodJLEo5S2hcIAIEPRpgOytKBQw9JrjwrkdEw -rV1ALHQdyqB6fLKS3XP1KqTyTk1U+ObQmvhgKrgG1BpnYoOmgsGSZ41GRzWJt+13 -5fNG6+oT4mD9i3U+ABJ6yv5DWWoDTw0AeghDjJOpcGqyN3aCiDjCMmoUicmqO3jT -Uac44o2dRSB+gwh7bnLjktA5110JBUOgnDkkgrbmFYgdTb/Kqgr7f0VoymWaEV7n -49k6fnmlwdvXEw2B76YW8BhqAXzQ+2mAvf/aq9rMRX+BGKZLqyUQ17WaUnIso36s -tMz+2Xrl61nczQzX2e1VIVO4vAg/TO5u01GW/TbtERJ2g2yiB6qYn6nqdDqVymg= -=Yd6i +iQEcBAEBCAAGBQJU1jz8AAoJEKXBodJLEo5SrMcH/0CJy4BEBT1B/USBciS5GPdY +cbq8cbNWT+hfCEAcDjJuSpDzb3umPLB2QAnlP6OJ+NztwXD1y16WTLSe+ggo1aN/ +bi9TkG7xTp5c14eQmUl982cMqkknKuQqwXf05q2df54tnWfMMCyOY+uJyY4aDoWO +/9DTAnnjQDUO6Tc/9G1qabB81VAnvLls5tLhUXe91q0WTixWFYFoRgo+voCWVozx +vB8aNBDxUxzMnjxxCpUMXBvpdcO4QyyCBMPBHrx1pp9VEJGGC1Xm6G3SBDEaMSE/ +1ObNXamL9bGvNSAzELCY6xyxt5kmoqiKpn3VwyStpjG+XdO/Rb0Y2sVt4RIhOf4= +=upCH -----END PGP SIGNATURE----- diff --git a/net-misc/i2pd/i2pd-0.7.0.ebuild b/net-misc/i2pd/i2pd-0.7.0.ebuild new file mode 100644 index 0000000..7aee279 --- /dev/null +++ b/net-misc/i2pd/i2pd-0.7.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/i2pd/i2pd-0.6.0.ebuild,v 1.2 2015/02/02 17:06:04 mgorny Exp $ + +EAPI=5 +inherit eutils systemd user cmake-utils + +DESCRIPTION="A C++ daemon for accessing the I2P anonymous network" +HOMEPAGE="https://github.com/PrivacySolutions/i2pd" +SRC_URI="https://github.com/PrivacySolutions/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_aes i2p-hardening static" + +RDEPEND="!static? ( >=dev-libs/boost-1.46[threads] ) + !static? ( dev-libs/crypto++ )" +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" + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_with cpu_flags_x86_aes AESNI) + $(cmake-utils_use_with i2p-hardening HARDENING) + $(cmake-utils_use_with static STATIC) + -DWITH_LIBRARY=OFF + -DWITH_BINARY=ON + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + 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}" +} -- cgit v1.2.3-65-gdbad