[gentoo-commits] repo/gentoo:master commit in: net-p2p/opendchub/files/, profiles/, net-p2p/opendchub/
commit: 165ef6b7ba5ca6506219eab27a8a4462fd3fa94f Author: Jakov Smolić gentoo org> AuthorDate: Sun Jan 8 12:30:18 2023 + Commit: Jakov Smolić gentoo org> CommitDate: Sun Jan 8 12:30:18 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=165ef6b7 net-p2p/opendchub: treeclean Closes: https://bugs.gentoo.org/849518 Signed-off-by: Jakov Smolić gentoo.org> net-p2p/opendchub/Manifest | 1 - .../opendchub/files/opendchub-0.8.2-telnet.patch | 11 - net-p2p/opendchub/files/opendchub_setup.sh | 20 net-p2p/opendchub/metadata.xml | 8 net-p2p/opendchub/opendchub-0.8.2-r1.ebuild| 56 -- profiles/package.mask | 5 -- 6 files changed, 101 deletions(-) diff --git a/net-p2p/opendchub/Manifest b/net-p2p/opendchub/Manifest deleted file mode 100644 index 8b0d04c6ff93.. --- a/net-p2p/opendchub/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST opendchub-0.8.2.tar.gz 188551 BLAKE2B a92be519386a6582c955b9b4bff9c6accff700bc3707935004cc7312726c28d026965046aad27a2dbef1005e514c47f6f61d9de86ad69e5ee3a705be8c94a4be SHA512 ccb8c5c44ee1e2f4704d681a2f4e0f9fe4035f1984744ca40665abbaa41e8faa7a03b96fe39ca47c9683b4f64b4e833c186681090ac80d82202e7f68e6cb52df diff --git a/net-p2p/opendchub/files/opendchub-0.8.2-telnet.patch b/net-p2p/opendchub/files/opendchub-0.8.2-telnet.patch deleted file mode 100644 index c8efc525ed65.. --- a/net-p2p/opendchub/files/opendchub-0.8.2-telnet.patch +++ /dev/null @@ -1,11 +0,0 @@ a/src/main.c -+++ b/src/main.c -@@ -1073,7 +1073,7 @@ -/* The chat command, starts with */ -else if(*temp == '<') - { --if((user->type & (SCRIPT | UNKEYED | LINKED | NON_LOGGED)) == 0) -+if((user->type & (SCRIPT | UNKEYED | LINKED | NON_LOGGED | NON_LOGGED_ADM)) == 0) - chat(temp, user); - } - diff --git a/net-p2p/opendchub/files/opendchub_setup.sh b/net-p2p/opendchub/files/opendchub_setup.sh deleted file mode 100644 index 2944a02c395e.. --- a/net-p2p/opendchub/files/opendchub_setup.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -if test ! -d $HOME/.opendchub; then - echo "creating config directory: $HOME/.opendchub" - mkdir $HOME/.opendchub - chmod 700 $HOME/.opendchub -else - echo "$HOME/.opendchub already exists!" -fi -if test ! -d $HOME/.opendchub/scripts; then - echo "creating script directory: $HOME/.opendchub/scripts" - mkdir $HOME/.opendchub/scripts - chmod 700 $HOME/.opendchub/scripts; - echo "copying scripts..." - for i in /usr/share/opendchub/scripts/*; do - cp $i $HOME/.opendchub/scripts; - done -else - echo "$HOME/.opendchub/scripts already exists!" -fi -echo "done!" diff --git a/net-p2p/opendchub/metadata.xml b/net-p2p/opendchub/metadata.xml deleted file mode 100644 index aa51b5df7f5d.. --- a/net-p2p/opendchub/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - -https://www.gentoo.org/dtd/metadata.dtd";> - - - -opendchub - - diff --git a/net-p2p/opendchub/opendchub-0.8.2-r1.ebuild b/net-p2p/opendchub/opendchub-0.8.2-r1.ebuild deleted file mode 100644 index 36f50391ce0d.. --- a/net-p2p/opendchub/opendchub-0.8.2-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools flag-o-matic - -DESCRIPTION="hub software for Direct Connect" -HOMEPAGE="http://opendchub.sf.net"; -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc x86" -IUSE="perl" - -RDEPEND="dev-libs/openssl:= - virtual/libcrypt:= - perl? ( dev-lang/perl:= ) - !perl? ( sys-libs/libcap )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-telnet.patch -) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - append-cflags -fcommon - use perl || myconf="--disable-perl --enable-switch_user" - econf ${myconf} -} - -src_install() { - default - - dodoc -r Documentation/. - - if use perl; then - dobin "${FILESDIR}"/opendchub_setup.sh - insinto /usr/share/opendchub/scripts - doins -r Samplescripts/. - fi -} - -pkg_postinst() { - if use perl ; then - 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." - fi -} diff --git a/profiles/package.mask b/profiles/package.mask index 21480b93e451..a219d974afa6 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -905,11 +905,6 @@ dev-ruby/posix-spawn # Removal after 2023-02-01. Bug #884715. dev-cpp/sourcetrail -# Andreas K. Hüttel (2022-12-10) -#
[gentoo-commits] repo/gentoo:master commit in: net-p2p/opendchub/files/, net-p2p/opendchub/
commit: ed6158a6321d9c49c3427173173e63ca7c83eb85 Author: Jakov Smolic sartura hr> AuthorDate: Sat Feb 13 22:51:57 2021 + Commit: David Seifert gentoo org> CommitDate: Sat Feb 13 22:51:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed6158a6 net-p2p/opendchub: Port to EAPI 7 Closes: https://bugs.gentoo.org/770352 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> net-p2p/opendchub/files/opendchub-0.8.2-telnet.patch | 4 ++-- net-p2p/opendchub/opendchub-0.8.2.ebuild | 17 - 2 files changed, 10 insertions(+), 11 deletions(-) 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 f81bf44cbc6..c8efc525ed6 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 */ else if(*temp == '<') diff --git a/net-p2p/opendchub/opendchub-0.8.2.ebuild b/net-p2p/opendchub/opendchub-0.8.2.ebuild index 0e6df905951..047e913aefc 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 }
[gentoo-commits] repo/gentoo:master commit in: net-p2p/opendchub/
commit: 092963c1ea957d0a99bd9dba335fdafd3f0e941f Author: Andreas K. Huettel gentoo org> AuthorDate: Wed Jan 6 23:08:29 2021 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Wed Jan 6 23:22:48 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=092963c1 net-p2p/opendchub: Apply gcc-10 workaround Closes: https://bugs.gentoo.org/708830 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas K. Huettel gentoo.org> net-p2p/opendchub/opendchub-0.8.2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net-p2p/opendchub/opendchub-0.8.2.ebuild b/net-p2p/opendchub/opendchub-0.8.2.ebuild index 2fd66e533b5..0e6df905951 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-2015 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit autotools eutils +inherit autotools eutils flag-o-matic DESCRIPTION="hub software for Direct Connect" HOMEPAGE="http://opendchub.sf.net"; @@ -25,6 +25,7 @@ src_prepare() { } src_configure() { + add-flags -fcommon use perl || myconf="--disable-perl --enable-switch_user" econf ${myconf} }
[gentoo-commits] repo/gentoo:master commit in: net-p2p/opendchub/files/
commit: c0a06ff200c2b89daee1f79c62e14936fb89bb8b Author: Michael Mair-Keimberger (asterix) gmail com> AuthorDate: Tue Jan 17 17:50:00 2017 + Commit: David Seifert gentoo org> CommitDate: Wed Jan 18 09:19:26 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0a06ff2 net-p2p/opendchub: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/3516 net-p2p/opendchub/files/0.7.14-overflow.patch | 12 --- net-p2p/opendchub/files/0.7.14-telnet.patch| 12 --- net-p2p/opendchub/files/opendchub-gentoo.patch | 30 -- 3 files changed, 54 deletions(-) diff --git a/net-p2p/opendchub/files/0.7.14-overflow.patch b/net-p2p/opendchub/files/0.7.14-overflow.patch deleted file mode 100644 index 996ff65.. --- a/net-p2p/opendchub/files/0.7.14-overflow.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur opendchub-0.7.14.vanilla/src/commands.c opendchub-0.7.14/src/commands.c opendchub-0.7.14.vanilla/src/commands.c2003-11-15 08:07:43.0 -0600 -+++ opendchub-0.7.14/src/commands.c2004-11-27 09:54:57.113410240 -0600 -@@ -2842,7 +2842,7 @@ - { -char move_string[MAX_HOST_LEN+20]; - -- sprintf(move_string, "$ForceMove %s", buf); -+ snprintf(move_string, MAX_HOST_LEN, "$ForceMove %s", buf); - -send_to_humans(move_string, REGULAR | REGISTERED | OP, user); -remove_all(UNKEYED | NON_LOGGED | REGULAR | REGISTERED | OP, 1, 1); diff --git a/net-p2p/opendchub/files/0.7.14-telnet.patch b/net-p2p/opendchub/files/0.7.14-telnet.patch deleted file mode 100644 index f5254cb.. --- a/net-p2p/opendchub/files/0.7.14-telnet.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur opendchub-0.7.14.vanilla/src/main.c opendchub-0.7.14/src/main.c opendchub-0.7.14.vanilla/src/main.c2003-11-15 08:01:16.0 -0600 -+++ opendchub-0.7.14/src/main.c2004-08-23 15:58:33.119710184 -0500 -@@ -1056,7 +1056,7 @@ -/* The chat command, starts with */ -else if(*temp == '<') - { --if((user->type & (SCRIPT | UNKEYED | LINKED | NON_LOGGED)) == 0) -+if((user->type & (SCRIPT | UNKEYED | LINKED | NON_LOGGED | NON_LOGGED_ADM)) == 0) - chat(temp, user); - } - diff --git a/net-p2p/opendchub/files/opendchub-gentoo.patch b/net-p2p/opendchub/files/opendchub-gentoo.patch deleted file mode 100644 index c6854e2.. --- a/net-p2p/opendchub/files/opendchub-gentoo.patch +++ /dev/null @@ -1,30 +0,0 @@ configure~ 2004-04-11 18:31:55.0 + -+++ configure 2004-04-11 18:40:42.068793280 + -@@ -4343,12 +4343,6 @@ -fi - fi - --if test ! -d $HOME/.opendchub; then -- echo "creating config directory: $HOME/.opendchub" -- mkdir $HOME/.opendchub -- chmod 700 $HOME/.opendchub; --fi -- - # Check whether --enable-perl or --disable-perl was given. - if test "${enable_perl+set}" = set; then - enableval="$enable_perl" -@@ -4406,14 +4400,6 @@ - -perl_libs=`perl -MExtUtils::Embed -e ldopts` - -- if test ! -d $HOME/.opendchub/scripts; then --echo "creating script directory: $HOME/.opendchub/scripts" --mkdir $HOME/.opendchub/scripts --chmod 700 $HOME/.opendchub/scripts; --for i in Samplescripts/*; do --cp $i $HOME/.opendchub/scripts; --done -- fi -fi - else - echo "Perl script support is disabled."