diff options
Diffstat (limited to 'net-p2p/opendchub')
-rw-r--r-- | net-p2p/opendchub/Manifest | 4 | ||||
-rw-r--r-- | net-p2p/opendchub/files/opendchub-0.8.2-telnet.patch | 4 | ||||
-rw-r--r-- | net-p2p/opendchub/opendchub-0.8.2.ebuild | 17 |
3 files changed, 12 insertions, 13 deletions
diff --git a/net-p2p/opendchub/Manifest b/net-p2p/opendchub/Manifest index 7ba0b797d7cf..b7349eb75b93 100644 --- a/net-p2p/opendchub/Manifest +++ b/net-p2p/opendchub/Manifest @@ -1,5 +1,5 @@ -AUX opendchub-0.8.2-telnet.patch 380 BLAKE2B 96cbc1c6a98c1cfae6b4ccaade25dc063658c74ff2277ec772772c087503d88bb62affd8afb9824b6eeed3b2386a715c2ed3566c2ef1ecf48b3825a06278bfce SHA512 3ccbc970544c37f545dde60286ef575160d9d4bda047f5e33b57f9e332d854dab51cb34dba7f253524a1cc87086c6034940bd1250a30af26099944d99c67d271 +AUX opendchub-0.8.2-telnet.patch 347 BLAKE2B fdd3052d7b139bdee2398f0517ada047836f601d0b351055a34f4797d4f29d7e9f536d7b6fef5ff7a4f7dbcb18561aa286830b7aac13c30300af431e341f1a82 SHA512 b8b45dc232a2ca94bff9fc3ab8e80188a9072d38bad30233fab10292911d002e542c0dee58745a4c98c500866e748021a314ddc8abb42ebfd3a39e12cba177ae AUX opendchub_setup.sh 556 BLAKE2B a09a961a7dadde775fb066c15fa665fe70faa86af66547f312f780f0c86ff7428e5984618a87aa676b0c4380049e16b3d9c682af5033737dfcd26cae52932df4 SHA512 392b0cca686b8a8ba43eeca43b109616ef29af38ffec1ae02e0a10fb45986a3f6141485dca708abe103080b9a38c867b0120bcf9cd83deb8f6c220b919ae29eb DIST opendchub-0.8.2.tar.gz 188551 BLAKE2B a92be519386a6582c955b9b4bff9c6accff700bc3707935004cc7312726c28d026965046aad27a2dbef1005e514c47f6f61d9de86ad69e5ee3a705be8c94a4be SHA512 ccb8c5c44ee1e2f4704d681a2f4e0f9fe4035f1984744ca40665abbaa41e8faa7a03b96fe39ca47c9683b4f64b4e833c186681090ac80d82202e7f68e6cb52df -EBUILD opendchub-0.8.2.ebuild 1000 BLAKE2B 328e0b9d5946629c07d8642ccdbcc1f92e8fc43b633bccd7ed137421273cf1fd8e6da1d3e4bad2abacb46a4cedd44680bc8066bfef31dce57f27bb0ac0a7adb2 SHA512 7b7ab262287bc68400740a80576a91b95c2768924c0ea460ca06397bc1787cc8db16baed1516395e5b26d727c835c3e48253e944fbf6c49530068951b6a3733d +EBUILD opendchub-0.8.2.ebuild 976 BLAKE2B aa3706f30a40ae7ee8d28c945b4a2efb5ce06bd7663a18cad89703777942d2d68210fbe1195ef3483bb44f3013cecfd3296edabbb24ebca057518a37f334cc5e SHA512 2dfd4b1e27011bb86d8e98fa529ca2eb12f6eaed7eb9db14a7251048ba007442d8a4bc4f92b3cea3a8561c51ecee652db55c0d3feabca2c909df9d58006739ab MISC metadata.xml 251 BLAKE2B 68b20d7614882b61a212114e934513c1cfebbdbf3770c7d8e27ab72f3063da648b085ab138f7ed2221f352d34cfac07ca76f50eb73cc28945d3368d2261fb007 SHA512 9c335c29aef545c47822fa6c48c188e1e5f9ea1125253518078dce88639a828cbe0d6c0a7c5bfc38a662753dbb468d0fef17be88877890335e7320f44e509c62 diff --git a/net-p2p/opendchub/files/opendchub-0.8.2-telnet.patch b/net-p2p/opendchub/files/opendchub-0.8.2-telnet.patch index f81bf44cbc69..c8efc525ed65 100644 --- a/net-p2p/opendchub/files/opendchub-0.8.2-telnet.patch +++ b/net-p2p/opendchub/files/opendchub-0.8.2-telnet.patch @@ -1,5 +1,5 @@ ---- opendchub-0.8.2/src/main.c.orig -+++ opendchub-0.8.2/src/main.c +--- a/src/main.c ++++ b/src/main.c @@ -1073,7 +1073,7 @@ /* The chat command, starts with <nick> */ else if(*temp == '<') diff --git a/net-p2p/opendchub/opendchub-0.8.2.ebuild b/net-p2p/opendchub/opendchub-0.8.2.ebuild index 0e6df9059519..047e913aefc7 100644 --- a/net-p2p/opendchub/opendchub-0.8.2.ebuild +++ b/net-p2p/opendchub/opendchub-0.8.2.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit autotools eutils flag-o-matic +inherit autotools flag-o-matic DESCRIPTION="hub software for Direct Connect" HOMEPAGE="http://opendchub.sf.net" @@ -17,34 +17,33 @@ IUSE="perl" RDEPEND="perl? ( dev-lang/perl )" DEPEND="${RDEPEND}" -DOCS="NEWS TODO README AUTHORS Documentation/*" +PATCHES=( "${FILESDIR}"/${P}-telnet.patch ) src_prepare() { - epatch "${FILESDIR}"/${P}-telnet.patch + default eautoreconf } src_configure() { - add-flags -fcommon + append-cflags -fcommon use perl || myconf="--disable-perl --enable-switch_user" econf ${myconf} } src_install() { default + dodoc -r Documentation/. - if use perl ; then + if use perl; then dobin "${FILESDIR}"/opendchub_setup.sh insinto /usr/share/opendchub/scripts - doins Samplescripts/* + doins -r Samplescripts/. fi } pkg_postinst() { if use perl ; then - echo einfo "To set up perl scripts for opendchub to use, please run" einfo "opendchub_setup.sh as the user you will be using opendchub as." - echo fi } |