summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2023-01-08 13:30:18 +0100
committerJakov Smolić <jsmolic@gentoo.org>2023-01-08 13:30:18 +0100
commit165ef6b7ba5ca6506219eab27a8a4462fd3fa94f (patch)
treeac08abe3d3b6b709038c0428df3ea738c2a36c30 /net-p2p
parentgames-strategy/netherearth: treeclean (diff)
downloadgentoo-165ef6b7ba5ca6506219eab27a8a4462fd3fa94f.tar.gz
gentoo-165ef6b7ba5ca6506219eab27a8a4462fd3fa94f.tar.bz2
gentoo-165ef6b7ba5ca6506219eab27a8a4462fd3fa94f.zip
net-p2p/opendchub: treeclean
Closes: https://bugs.gentoo.org/849518 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/opendchub/Manifest1
-rw-r--r--net-p2p/opendchub/files/opendchub-0.8.2-telnet.patch11
-rw-r--r--net-p2p/opendchub/files/opendchub_setup.sh20
-rw-r--r--net-p2p/opendchub/metadata.xml8
-rw-r--r--net-p2p/opendchub/opendchub-0.8.2-r1.ebuild56
5 files changed, 0 insertions, 96 deletions
diff --git a/net-p2p/opendchub/Manifest b/net-p2p/opendchub/Manifest
deleted file mode 100644
index 8b0d04c6ff93..000000000000
--- 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..000000000000
--- 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 <nick> */
- 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..000000000000
--- 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..000000000000
--- a/net-p2p/opendchub/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="sourceforge">opendchub</remote-id>
- </upstream>
-</pkgmetadata>
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..000000000000
--- 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
-}