diff options
Diffstat (limited to 'net-misc/i2pd')
-rw-r--r-- | net-misc/i2pd/ChangeLog | 53 | ||||
-rw-r--r-- | net-misc/i2pd/Manifest | 28 | ||||
-rw-r--r-- | net-misc/i2pd/files/99i2pd | 1 | ||||
-rw-r--r-- | net-misc/i2pd/files/i2pd.1 | 101 | ||||
-rw-r--r-- | net-misc/i2pd/files/i2pd.conf | 4 | ||||
-rw-r--r-- | net-misc/i2pd/files/i2pd.confd | 6 | ||||
-rw-r--r-- | net-misc/i2pd/files/i2pd.initd | 24 | ||||
-rw-r--r-- | net-misc/i2pd/files/i2pd.logrotate | 14 | ||||
-rw-r--r-- | net-misc/i2pd/files/i2pd.service | 18 | ||||
-rw-r--r-- | net-misc/i2pd/i2pd-0.6.0.ebuild | 65 | ||||
-rw-r--r-- | net-misc/i2pd/i2pd-0.7.0.ebuild | 65 | ||||
-rw-r--r-- | net-misc/i2pd/i2pd-9999.ebuild | 76 | ||||
-rw-r--r-- | net-misc/i2pd/metadata.xml | 16 |
13 files changed, 0 insertions, 471 deletions
diff --git a/net-misc/i2pd/ChangeLog b/net-misc/i2pd/ChangeLog deleted file mode 100644 index c2b4273..0000000 --- a/net-misc/i2pd/ChangeLog +++ /dev/null @@ -1,53 +0,0 @@ - - - 07 Feb 2015; Francisco Blas Izquierdo Riera (klondike) -i2pd-0.5.0.ebuild: - Delete old versions - -*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 - - 07 Jan 2015; Francisco Blas Izquierdo Riera (klondike) i2pd-0.6.0.ebuild: - Remove library USE as it doesn't work the expected way - -*i2pd-0.6.0 (06 Jan 2015) - - 06 Jan 2015; Francisco Blas Izquierdo Riera (klondike) +i2pd-0.6.0.ebuild, - i2pd-9999.ebuild: - Bump to 0.6.0 with multilib, disable building for non native arches when lib - isn't desired - - 31 Dec 2014; Francisco Blas Izquierdo Riera (klondike) i2pd-9999.ebuild: - Fix library creation and multilib (for live branch only as it requires - changes by upstream) - - 30 Dec 2014; Francisco Blas Izquierdo Riera (klondike) files/i2pd.initd: - Fix the init.d - - 30 Dec 2014; Francisco Blas Izquierdo Riera (klondike) files/i2pd.1, - files/i2pd.conf, files/i2pd.service: - Improve service handling - - 29 Dec 2014; Francisco Blas Izquierdo Riera (klondike) i2pd-0.5.0.ebuild: - Another artifact from multilib tests install_all should be install - - 29 Dec 2014; Francisco Blas Izquierdo Riera (klondike) i2pd-0.5.0.ebuild: - Sorry library IUSE isn't available for 0.5.0 - -*i2pd-9999 (29 Dec 2014) - -*i2pd-0.5.0 (29 Dec 2014) - - 29 Dec 2014; Francisco Blas Izquierdo Riera (klondike) +i2pd-0.5.0.ebuild, - i2pd-9999.ebuild: - Add support for the stable i2pd-0.5.0 - - 29 Dec 2014; Francisco Blas Izquierdo Riera (klondike) +i2pd-9999.ebuild, - +files/99i2pd, +files/i2pd.1, +files/i2pd.conf, +files/i2pd.confd, - +files/i2pd.initd, +files/i2pd.logrotate, +files/i2pd.service, +metadata.xml: - Initial support for i2pd using a live ebuild diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest deleted file mode 100644 index cc95ad3..0000000 --- a/net-misc/i2pd/Manifest +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX 99i2pd 44 SHA256 ecc85329d663182165bf6b5f672237a9f4f129f39f168d38c876345f3b83d765 SHA512 0bd08ff5b1b2ad8d91572efee848a760e2fb46d9c1a5ead3fbdde91d679d832d985905952b393eb523ec9d8f1815bf1512ae61fbc059d10f0773991ac097c23f WHIRLPOOL 08404eab764fa25ae0f5cbda5fa38deabcae913baf3e0d4e151ae34a0fb3383994d0ab4db15e60827a3fc18ebaf4e4f541163cc3825b3baf3c75533a08d4c94e -AUX i2pd.1 3414 SHA256 973ef9ada67ab875172e3d7f7ab1349dc26d9a4cad8505ce6894988eba88e596 SHA512 d13c971d4aefa17cd260923143e7753d40e1fb87dd3b298785381110838af03041ff9ad58e966521801871c7cf9c6715265bc9e8cce88302b7d5bcdc584bf1e5 WHIRLPOOL b5f96fdc19f49d210f7f6aff74354cd822f6b3e0a7d1ed45da3918d6b844f52462589a400ce881f52eed5fa6cb5ae6c0300495b8e5eb9eb7100801ddc6e5f174 -AUX i2pd.conf 32 SHA256 1db231f628f1e494f4de8e8bec86e2ab5c7ce92f15626c2bfd2682595d381e54 SHA512 acddc5593c329e2da93d7845bfc564c745e8ca842ea39564408a245ca4c78f1b83aeaa4abeb4179aef1003819c1a95782aed4709e26137c953d90bd49b2157f6 WHIRLPOOL e94d30c8fe8bdcb0836a84583ba3969575ad65d09cf0c025b969c299fdf6b6d56caba90880ab9fe6f1eeaffa27189271409e85e5ae8ecfd0357c95e0eec9bec1 -AUX i2pd.confd 176 SHA256 9021447caafd6193a5a87b12d815facf8608d37e0af3e6ff934975f255811385 SHA512 706be4b5c7c1f14222129ec079294fa99c8ee024fede18a64d6d117bf7982e1bc87b19544bf46ff139caad18dc4d592275f7f73171be5abd140909a72c0a14ed WHIRLPOOL c71d2055a64bceb9f4e31415e306e14453f5780874744142025c5c97bb3519c06bd50fcd3ef2b839932cedf313dcd171fe8c77d2d55ee46c74ee247b02e69235 -AUX i2pd.initd 612 SHA256 a424b1f4f2e1beed23f8d7fb191eed71998e5a09156079cd569ff1378e01c9af SHA512 0ffd4c9594682d0459732379c46c06bb19fe16510512f7c707938020bf871531e5d063dfa3c62a1700d645c002b9b44f5d7935358c8c2d1215eddb1e974bcfa2 WHIRLPOOL b9071fdc7069350b4e45c4e4449f3885cd38b05847e30feb2e3750c8b59062e2023a53b51f3b6a45ec217ae040ec7a4b4784bbd9bd6be15e3e714aaf96db030e -AUX i2pd.logrotate 270 SHA256 cac89d98a0c2eff2eeedb323b3b81c3e316293f80d3397bfeb833f700e98b691 SHA512 08a944576f3f103ef7206e5e09ad7256f79254097d389b955271db9a8e3781332d9ac564cef06a7bb6c3837324abee3035cb18588470f43861310e886c4f7075 WHIRLPOOL 79096ea93a446240d84bc65930e0746f8fae203303d9309a1a345a1818c11525d782f51dd7200f55d5f1c79b79a7d43c9d1a510225aa5bdf522baf4884a45700 -AUX i2pd.service 412 SHA256 afc2b4a72e3bec2c45a838971375a1e8a438bc9cb09a082f138583e226ee8402 SHA512 99ec3dbe7c983d732c483207f49a9b9456c83c17b76605f663fb177142e09e11e0e3fe4e10ffaaca3b9e08519a055ab5efee4117b6e977d22ec80c6aa7c3d3eb WHIRLPOOL dc47e828a8a457e16e16ff5dae50c73fdeaa6a79d36d2f2d4e44919e06e222a2b14d0677c77ef2d471107d8ce669ad499172656f3985bee18697f2725df2e95e -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.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 1857 SHA256 91ad25d333ca08aac4c3fabf5096c3fc83225177b00d2295a785970ba63e22a2 SHA512 c91bcfd830e1a3583a38bbb78d92923a90c1e6ca4e7c0971829cea2c5fb9eccd684d5d8013ab2310754d448140c866b45b9e8f2bf4099af74f2fafbd4def0f17 WHIRLPOOL 83f5a294951b1a41d9f98ab2ad0966ff45690bf4d329c89e3dba18ba157096b0ce257ff82fe0a81dbcfb14876131d8c5ff0efc80fa9271d126b05f42e2c767be -MISC metadata.xml 424 SHA256 c7959b9cb11a07bde564c8574b349cb7652a5dd3575145b571dc9ed4f09ee7c2 SHA512 0cb4f7e9490b757429932f11ed6845c67fd5dbd4fbcba1485c30e3a46c3c41157daa32a1f36a1e196e7f8c485ae51eb1586d0f14c4986a0ce043f07e44f12bb3 WHIRLPOOL b81a673b6e4a32d9af6e382f66eae6a6d62dbe21af00785b4d0fa557a34041178b8f43bc616151dbe75ce9fe8752367f22cf4311ee6579da614f83ce96dfd45e ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2 - -iQEcBAEBCAAGBQJU1j3KAAoJEKXBodJLEo5S1TsIAK/f8gWXrPUqGGVOGjfQR2M1 -XO7WOlabMozIYQJR40S283pPx/jicoBxq70TJ9T/u8kOQWOVeH0HRogpacY/dEvu -i47rKeIqwux/Vfd4FwQ1Jdn0toYEClZiFJAORqtvdvtU6L3BSsIVondEEwOlpXhV -ogaHnK3h0J87zBG+elBv0VCsmVro6LUV5zgh2DI6m87QApAMvG6uEoWHjQxk2rrX -aDZQGzVKYFEhv5ooqe5vSx7idCTjAyDlsCos25GJwjIfG3Yt8dY8yKnNvrIixPXT -B1simPGWIueK6Eit0Zg7bjnddiYl36e2mKAffEobCFLy9+vZBq6KIoHKCD4uP6s= -=6ft/ ------END PGP SIGNATURE----- diff --git a/net-misc/i2pd/files/99i2pd b/net-misc/i2pd/files/99i2pd deleted file mode 100644 index 3cf3b46..0000000 --- a/net-misc/i2pd/files/99i2pd +++ /dev/null @@ -1 +0,0 @@ -CONFIG_PROTECT="/var/lib/i2pd/certificates" diff --git a/net-misc/i2pd/files/i2pd.1 b/net-misc/i2pd/files/i2pd.1 deleted file mode 100644 index 4dc6958..0000000 --- a/net-misc/i2pd/files/i2pd.1 +++ /dev/null @@ -1,101 +0,0 @@ -.TH I2PD "1" "November 29, 2014" - -.SH NAME -i2pd \- Load-balanced unspoofable packet switching network - -.SH SYNOPSIS -.B i2pd -[\fIOPTION1\fR) [\fIOPTION2\fR]... - -.SH DESCRIPTION -i2pd -is a C++ implementation of the router for the I2P anonymizing network, offering -a simple layer that identity-sensitive applications can use to securely -communicate. All data is wrapped with several layers of encryption, and the -network is both distributed and dynamic, with no trusted parties. - -.PP -Any of the configuration options below can be used in the \fI2PDOPTIONS\fR variable in \fI/etc/conf.d/i2pd\fR. -.BR -.TP -\fB\-\-host=\fR -The external IP -.TP -\fB\-\-port=\fR -The external port to listen on -.TP -\fB\-\-httpport=\fR -The HTTP port to listen on -.TP -\fB\-\-log=\fR[\fI1\fR|\fI0\fR] -.br -Enable of disable logging to a file. \fI1\fR for yes, \fI0\fR for no. (default: \fI0\fR, off) -.TP -\fB\-\-daemon=\fR[\fI1\fR|\fI0\fR] -Enable or disable daemon mode. Daemon mode is enabled with \fI1\fR and disabled with \fI0\fR. (default: \fI0\fR, off) -.TP -\fB\-\-service=\fR[\fI1\fR|\fI0\fR] -If enabled, system folders (\fB/var/run/i2pd.pid\fR, \fB/var/log/i2pd.log\fR, \fB/var/lib/i2pd\fR) will be used. If off, \fB$HOME/.i2pd\fR will be used instead. (default: \fI0\fR, off). -.TP -\fB\-\-unreachable=\fR[\fI1\fR|\fI0\fR] -\fI1\fR if router is declared as unreachable and works through introducers. (default: \fI0\fR, off) -.TP -\fB\-\-v6=\fR[\fI1\fR|\fI0\fR] -\fI1\fR if \fBi2pd\fR should communicate via IPv6. (default: \fI0\fR, off) -.TP -\fB\-\-httpproxyport=\fR -The local port for the HTTP Proxy to listen on (default: \fI4446\fR) -.TP -\fB\-\-socksproxyport=\fR -The local port for the SOCKS proxy to listen on (default: \fI4447\fR) -.TP -\fB\-\-ircport=\fR -The local port of IRC tunnel to listen on. (default: \fI6668\fR) -.TP -\fB\-\-ircdest=\fR -I2P destination address of an IRC server to connect to, e.g. \fIirc.postman.i2p\fR -.TP -\fB\-\-irckeys=\fR -optional keys file for local destination -.TP -\fB\-\-eepkeys=\fR -File name containing destination keys. For example \fIprivKeys.dat\fR -.TP -\fB\-\-eephost=\fR -Address incoming trafic is forwarded to, \fI127.0.0.1\fR by default -.TP -\fB\-\-eepport=\fR -Port incoming trafic forward to. \fI80\fR by default -.TP -\fB\-\-samport=\fR -Port of SAM bridge. Usually \fI7656\fR. SAM will not be enabled if this is not set. (default: unset) -.TP -\fB\-\-bobport=\fR -Port of BOB command channel. Usually \fI2827\fR. BOB will not be enabled if this is not set. (default: unset) - -.SH FILES -.PP -/etc/conf.d/i2pd -.RS 4 -i2pd service configuration file -.RE -.PP -/etc/i2pd.conf -.RS 4 -i2pd configuration file (when running as a system service). You may override the parameters here. -.RE -.PP -/var/lib/i2pd/ -.RS 4 -i2pd profile directory (when running as a system service, see \fB\-\-service=\fR above) -.RE -.PP -$HOME/.i2pd -.RS 4 -i2pd profile directory (when running as a normal user) -.SH AUTHOR -This manual page was written by kytv <killyourtv@i2pmail.org> for the Debian system (but may be used by others). And adapted by Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> to Gentoo. -.BR -Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation -.BR -On Gentoo systems, the complete text of the GNU General Public License Version 2 can be found in /usr/portage/licenses/GPL-2 diff --git a/net-misc/i2pd/files/i2pd.conf b/net-misc/i2pd/files/i2pd.conf deleted file mode 100644 index 10675e6..0000000 --- a/net-misc/i2pd/files/i2pd.conf +++ /dev/null @@ -1,4 +0,0 @@ -log = 1 -daemon = 1 -service = 1 - diff --git a/net-misc/i2pd/files/i2pd.confd b/net-misc/i2pd/files/i2pd.confd deleted file mode 100644 index 7913af7..0000000 --- a/net-misc/i2pd/files/i2pd.confd +++ /dev/null @@ -1,6 +0,0 @@ -I2PD_USER="${I2PD_USER:-i2pd}" -I2PD_GROUP="${I2PD_GROUP:-i2pd}" -I2PD_LOG="/var/log/i2pd.log" -I2PD_PID="/var/run/i2pd.pid" -# Options to i2pd -I2PDOPTIONS="--conf=/etc/i2pd.conf" diff --git a/net-misc/i2pd/files/i2pd.initd b/net-misc/i2pd/files/i2pd.initd deleted file mode 100644 index b00a771..0000000 --- a/net-misc/i2pd/files/i2pd.initd +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -description="C++ daemon for accessing the I2P network" - -depend() { - use dns logger netmount -} - -start() { - ebegin "Starting ${SVCNAME}" - checkpath -f "${I2PD_LOG}" -o "${I2PD_USER}:${I2PD_GROUP}" - checkpath -f "${I2PD_PID}" -o "${I2PD_USER}:${I2PD_GROUP}" - start-stop-daemon -S -b -u "${I2PD_USER}:${I2PD_GROUP}" /usr/bin/i2pd -- ${I2PDOPTIONS} - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon -K -p "${I2PD_PID}" - eend $? -} diff --git a/net-misc/i2pd/files/i2pd.logrotate b/net-misc/i2pd/files/i2pd.logrotate deleted file mode 100644 index 790cd2a..0000000 --- a/net-misc/i2pd/files/i2pd.logrotate +++ /dev/null @@ -1,14 +0,0 @@ -/var/log/i2pd.log { - rotate 4 - weekly - missingok - notifempty - compress - delaycompress - copytruncate - create 640 i2pd i2pd - postrotate - /etc/init.d/i2pd restart >/dev/null - endscript -} - diff --git a/net-misc/i2pd/files/i2pd.service b/net-misc/i2pd/files/i2pd.service deleted file mode 100644 index 7f44cde..0000000 --- a/net-misc/i2pd/files/i2pd.service +++ /dev/null @@ -1,18 +0,0 @@ -[Unit] -Description=C++ daemon for accessing the I2P network -After=network.target - -[Service] -Type=forking -Restart=on-abnormal -PIDFile=/var/run/i2pd.pid -User=i2pd -Group=i2pd -PermissionsStartOnly=yes -ExecStartPre=/bin/touch /var/run/i2pd.pid /var/log/i2pd.log -ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd.pid /var/log/i2pd.log -ExecStart=/usr/lib/i2pd/i2p --conf=/etc/i2pd.conf - -[Install] -WantedBy=multi-user.target - diff --git a/net-misc/i2pd/i2pd-0.6.0.ebuild b/net-misc/i2pd/i2pd-0.6.0.ebuild deleted file mode 100644 index 7aee279..0000000 --- a/net-misc/i2pd/i2pd-0.6.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# 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}" -} diff --git a/net-misc/i2pd/i2pd-0.7.0.ebuild b/net-misc/i2pd/i2pd-0.7.0.ebuild deleted file mode 100644 index 7aee279..0000000 --- a/net-misc/i2pd/i2pd-0.7.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# 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}" -} diff --git a/net-misc/i2pd/i2pd-9999.ebuild b/net-misc/i2pd/i2pd-9999.ebuild deleted file mode 100644 index 382ebef..0000000 --- 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 -# $Header: /var/cvsroot/gentoo-x86/net-misc/i2pd/i2pd-9999.ebuild,v 1.2 2015/02/02 17:06:04 mgorny Exp $ - -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 deleted file mode 100644 index afc202e..0000000 --- a/net-misc/i2pd/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer> - <email>klondike@gentoo.org</email> - <name>Francisco Blas Izquierdo Riera</name> - </maintainer> - <use> - <flag name="i2p-hardening"> - Compile with hardening on vanilla compilers/linkers - </flag> - <flag name="library"> - Build the libi2pd library - </flag> - </use> -</pkgmetadata> |