From 33ce38a221dddfca8062cee79735bc0cc495878d Mon Sep 17 00:00:00 2001 From: Johannes Schwab Date: Tue, 21 Jan 2014 15:32:02 +0100 Subject: [PATCH] 0.9.08_beta --- net-p2p/twister/Manifest | 3 ++ net-p2p/twister/files/0.9.08_beta-db.h.patch | 13 +++++++ net-p2p/twister/twister-0.9.08_beta.ebuild | 40 ++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 net-p2p/twister/files/0.9.08_beta-db.h.patch create mode 100644 net-p2p/twister/twister-0.9.08_beta.ebuild diff --git a/net-p2p/twister/Manifest b/net-p2p/twister/Manifest index f397a74..4d7a3a5 100644 --- a/net-p2p/twister/Manifest +++ b/net-p2p/twister/Manifest @@ -1,4 +1,7 @@ AUX 0.9.07_beta-db.h.patch 251 SHA256 375c737447a42900138ccb946756bf384cc3d1430aaf51044f67a0d231b55255 SHA512 dda8f378d5988f127cea88f0ff5e3b732d8fc27f82c778054377481c172b445635060c3d1dfb7046498cb30b4d33ccaa9b46cafc5eb5bdaa590b9bc095a9b6d0 WHIRLPOOL 7403098919f0871fe3573a77e236aa96e94a64b62d47d5d6e9c2869df5be07333b6c3d95ee67a2f1c67bd8014bb69bc54e64487e3883b111046797d60885e739 +AUX 0.9.08_beta-db.h.patch 251 SHA256 375c737447a42900138ccb946756bf384cc3d1430aaf51044f67a0d231b55255 SHA512 dda8f378d5988f127cea88f0ff5e3b732d8fc27f82c778054377481c172b445635060c3d1dfb7046498cb30b4d33ccaa9b46cafc5eb5bdaa590b9bc095a9b6d0 WHIRLPOOL 7403098919f0871fe3573a77e236aa96e94a64b62d47d5d6e9c2869df5be07333b6c3d95ee67a2f1c67bd8014bb69bc54e64487e3883b111046797d60885e739 +DIST 102d172ca3a3382e7345593f053b7b32cee768fc.tar.gz 6261896 SHA256 c280a6333ff4b77174455d9adc56fc003261816de4bd35e65a599bab05287cc9 SHA512 1436c1b576df3c3ea8a148cfb62278711ba594bef38800c569df95be2209c31fff704a894d80e613db4c7aceec846111881c0826f4bb2b52fca6a105bfa8bdac WHIRLPOOL 9edb0a7d066393c88ee75db52b11dc01de3743d28344a6792809ee0db4bf5b68bdbe1e31359d03516ea5aea6ad5769d99faf023965069c82a37d2601f3f1b96f DIST 1df2b24f9088ebcbb1fe39902b4c608677c1462d.tar.gz 6259174 SHA256 f50a7c3d56bae92a97580e3f7bcad93b5b36808120fd3f196e56bf001f621c3a SHA512 99159b60e8bfd9c026edbde6cf4805d3b7930eaf22e4d8cd6ae536578869847b3d832ec42b362d22e323fc57794adfd13485b504ad5fa2534725e145794c3e5d WHIRLPOOL 770eb4fd2f0a80c169cab01095726dcb9ac5cb4410648ae2793bf2e541a821443f05c92e04637a98be4ad4379e1e0024665bb3120d387db46550937782681264 EBUILD twister-0.9.07_beta.ebuild 656 SHA256 b18011cb2f182675b71678ce6c74889bb30b3b661a86d5a5ec30e77aaa62f41d SHA512 f19ef802bcfc84feec4599c825d0b5aed19aa1f39ca6282fa36f381f6aefacdfcf581b2d309487f3d9ecc6c547ad03ed959fae4f97f4febc583666d151be164f WHIRLPOOL 5d06280ddd0bafbd5b9fecc915dcba7b6cc5b1d080b709c349c0eba31fd781ae0c717d772d4775d5c115291380ec89922143076474f7f8ae88e8b90a6bd47a7f +EBUILD twister-0.9.08_beta.ebuild 656 SHA256 7df1395c055e2c4162c42942c6701ac15ed13f72f71e7c48df507f2312a15ee6 SHA512 b7d9f7f4d2e728d531b8dbdb5f01a20d030b8583d8e65a96ac6998c7041ef063750a1bf0e9f1b6c7395e112cc6007ef3c4dca2b570367b1a01480584ae8cbcb1 WHIRLPOOL bedb679bfcd6ce7894fe3cac055ce27d432150fbcaf301b777aff42b88256ad326626846026d4f2642806113af2a7220b2b93c78bb9c776e393dbc18be96b7e9 MISC metadata.xml 239 SHA256 706991ed05293634d82104cb89aab861d8b96d8aa41234481a7b82984a98c0a2 SHA512 f2986e44d85df0351e7c3ff8d9ed2da4c62c1824aa11e9849c36bc1161f21d40e3d9561501e586f11cf14acd79d09f33bce6a10fcce799396257966b008a96e9 WHIRLPOOL 0c772e7b22d79df020d5e743426f09ff7ecdd7ebb97cb3557dd92d38d8f78e5a13eb7e16a463d760db5f3ec5d85c170c4eee44e6555fe2d1ac9b48c0742e589f diff --git a/net-p2p/twister/files/0.9.08_beta-db.h.patch b/net-p2p/twister/files/0.9.08_beta-db.h.patch new file mode 100644 index 0000000..fa9ba7b --- /dev/null +++ b/net-p2p/twister/files/0.9.08_beta-db.h.patch @@ -0,0 +1,13 @@ +diff --git a/src/db.h b/src/db.h +index b3f269f..bb494c5 100644 +--- a/src/db.h ++++ b/src/db.h +@@ -13,7 +13,7 @@ + #include + + #include +-#include ++#include DB_CXX_HEADER + + class CAddrMan; + class CBlockLocator; diff --git a/net-p2p/twister/twister-0.9.08_beta.ebuild b/net-p2p/twister/twister-0.9.08_beta.ebuild new file mode 100644 index 0000000..335edca --- /dev/null +++ b/net-p2p/twister/twister-0.9.08_beta.ebuild @@ -0,0 +1,40 @@ +EAPI=5 +inherit eutils + +COMMIT="102d172ca3a3382e7345593f053b7b32cee768fc" + +DESCRIPTION="Peer-to-peer microblogging" +HOMEPAGE="http://twister.net.co/" +SRC_URI="https://github.com/miguelfreitas/twister-core/archive/${COMMIT}.tar.gz" +RESTRICT="mirror" + +LICENSE="MIT BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-libs/openssl + sys-libs/db + dev-libs/boost + net-libs/miniupnpc" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/twister-core-${COMMIT}" + +src_configure() { + ./autotool.sh + ./configure +} + +src_prepare() { + epatch "${FILESDIR}/${PV}-db.h.patch" +} + +src_compile() { + emake +} + +src_install() { + mkdir -p "${D}usr/bin/" + cp "${S}/twisterd" "${D}usr/bin/twisterd" +}