public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Petr Vaněk" <arkamar@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/psybnc/
Date: Thu, 26 Dec 2024 08:04:50 +0000 (UTC)	[thread overview]
Message-ID: <1735200255.7f843f776c609019d669d3a89203f0e03ecef98b.arkamar@gentoo> (raw)

commit:     7f843f776c609019d669d3a89203f0e03ecef98b
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 26 07:57:37 2024 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Thu Dec 26 08:04:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f843f77

net-irc/psybnc: drop 2.4.3

Bug: https://bugs.gentoo.org/913467
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 net-irc/psybnc/psybnc-2.4.3.ebuild | 169 -------------------------------------
 1 file changed, 169 deletions(-)

diff --git a/net-irc/psybnc/psybnc-2.4.3.ebuild b/net-irc/psybnc/psybnc-2.4.3.ebuild
deleted file mode 100644
index e4b61275e275..000000000000
--- a/net-irc/psybnc/psybnc-2.4.3.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-MY_PV="$(ver_rs 3 -)"
-PSYBNC_HOME="/var/lib/psybnc"
-
-DESCRIPTION="A multi-user and multi-server gateway to IRC networks"
-HOMEPAGE="http://www.psybnc.at/index.html"
-SRC_URI="http://psybnc.org/download/psyBNC-${PV}.tar.gz"
-S="${WORKDIR}"/${PN}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="ipv6 ssl oidentd scripting multinetwork"
-
-DEPEND="
-	acct-group/psybnc
-	acct-user/psybnc
-	ssl? ( >=dev-libs/openssl-0.9.7d:= )
-	oidentd? ( >=net-misc/oidentd-2.0 )
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-2.4.3-Fix-build-with-Clang-16.patch
-)
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}" || die
-
-	# Useless files
-	rm -f */INFO || die
-
-	# Pretend we already have a certificate, we generate it in pkg_config
-	touch key/psybnc.cert.pem || die
-
-	if [[ -f "${EPREFIX}"/usr/share/psybnc/salt.h ]]; then
-		einfo "Using existing salt.h for password encryption"
-		cp "${EPREFIX}"/usr/share/psybnc/salt.h salt.h || die
-	fi
-}
-
-src_prepare() {
-	default
-
-	# Add oidentd
-	use oidentd && PATCHES+=( "${FILESDIR}"/${P}-oidentd.patch )
-
-	# Add scripting support
-	use scripting && PATCHES+=( "${FILESDIR}"/${P}-scripting.patch )
-
-	# Add multinetwork support
-	use multinetwork && PATCHES+=( "${FILESDIR}"/${P}-multinetwork.patch )
-
-	# Prevent stripping the binary
-	sed -i -e "/@strip/ d" tools/autoconf.c || die
-}
-
-src_compile() {
-	if use ipv6; then
-		rm -f tools/chkipv6.c || die
-	fi
-
-	if use ssl; then
-		rm -f tools/chkssl.c || die
-	fi
-
-	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
-}
-
-src_install() {
-	dobin psybnc
-
-	insinto /usr/share/psybnc
-	doins -r help lang salt.h
-	fperms 0600 /usr/share/psybnc/salt.h
-
-	insinto /etc/psybnc
-	doins "${FILESDIR}"/psybnc.conf
-
-	keepdir "${PSYBNC_HOME}"/{log,motd,scripts}
-	dosym ../../../usr/share/psybnc/lang "${PSYBNC_HOME}"/lang
-	dosym ../../../usr/share/psybnc/help "${PSYBNC_HOME}"/help
-
-	fowners psybnc:psybnc "${PSYBNC_HOME}"/{,log,motd,scripts} /etc/psybnc/psybnc.conf
-	fperms 0750 "${PSYBNC_HOME}"/{,log,motd,scripts}
-	fperms 0640 /etc/psybnc/psybnc.conf
-
-	if use ssl; then
-		keepdir /etc/psybnc/ssl
-		dosym ../../../etc/psybnc/ssl "${PSYBNC_HOME}"/key
-	else
-		# Drop SSL listener from psybnc.conf
-		sed -i -e "/^# Default SSL listener$/,+4 d" "${D}"/etc/psybnc/psybnc.conf || die
-	fi
-
-	if use oidentd; then
-		insinto /etc
-		doins "${FILESDIR}"/oidentd.conf.psybnc
-		fperms 640 /etc/oidentd.conf.psybnc
-		# Install init-script with oidentd-support
-		newinitd "${FILESDIR}"/psybnc-oidentd.initd psybnc
-	else
-		# Install init-script without oidentd-support
-		newinitd "${FILESDIR}"/psybnc.initd psybnc
-	fi
-
-	if use scripting ; then
-		dodoc SCRIPTING
-	fi
-
-	newconfd "${FILESDIR}"/psybnc.confd psybnc
-
-	dodoc CHANGES FAQ README TODO
-	docinto example-script
-	dodoc scripts/example/DEFAULT.SCRIPT
-}
-
-pkg_config() {
-	if use ssl; then
-		if [[ -f "${EROOT}"/etc/psybnc/ssl/psybnc.cert.pem || -f "${EROOT}"/etc/psybnc/ssl/psybnc.key.pem ]]; then
-			ewarn "Existing /etc/psybnc/psybnc.cert.pem or /etc/psybnc/psybnc.key.pem found!"
-			ewarn "Remove /etc/psybnc/psybnc.*.pem and run emerge --config =${CATEGORY}/${PF} again."
-			return
-		fi
-
-		einfo "Generating certificate request..."
-		openssl req -new -out "${ROOT}"/etc/psybnc/ssl/psybnc.req.pem \
-			-keyout "${ROOT}"/etc/psybnc/ssl/psybnc.key.pem -nodes || die
-
-		einfo "Generating self-signed certificate..."
-		openssl req -x509 -days 365 -in "${ROOT}"/etc/psybnc/ssl/psybnc.req.pem \
-			-key "${ROOT}"/etc/psybnc/ssl/psybnc.key.pem \
-			-out "${ROOT}"/etc/psybnc/ssl/psybnc.cert.pem || die
-
-		einfo "Setting permissions on files..."
-		chown root:psybnc "${ROOT}"/etc/psybnc/ssl/psybnc.{cert,key,req}.pem || die
-		chmod 0640 "${ROOT}"/etc/psybnc/ssl/psybnc.{cert,key,req}.pem || die
-	fi
-}
-
-pkg_postinst() {
-	if use ssl; then
-		elog
-		elog "Please run \"emerge --config =${CATEGORY}/${PF}\" to create the needed SSL certificates."
-	fi
-
-	if use oidentd; then
-		elog
-		elog "You have enabled oidentd-support. You will need to set"
-		elog "up your ${EROOT}/etc/oident.conf file before running psybnc. An example"
-		elog "for psyBNC can be found under ${EROOT}/etc/oidentd.conf.psybnc"
-	fi
-
-	elog
-	elog "You can connect to psyBNC on port 23998 with user gentoo and password gentoo."
-	elog "Please edit the psyBNC configuration at ${EROOT}/etc/psybnc/psybnc.conf to change this."
-	elog
-	elog "To be able to reuse an existing psybnc.conf, you need to make sure that the"
-	elog "old salt.h is available at ${EROOT}/usr/share/psybnc/salt.h when compiling a new"
-	elog "version of psyBNC. It is needed for password encryption and decryption."
-	elog
-}


             reply	other threads:[~2024-12-26  8:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-26  8:04 Petr Vaněk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-12  4:08 [gentoo-commits] repo/gentoo:master commit in: net-irc/psybnc/ Sam James
2024-03-12  4:04 Sam James
2022-10-24 12:30 Sam James
2022-01-16 23:56 Mike Gilbert
2021-04-11 20:52 Conrad Kostecki
2021-04-11 20:52 Conrad Kostecki
2021-03-10  1:24 Sam James
2020-08-30  5:45 Sam James
2018-10-06 17:45 Aaron Bauman
2018-03-13 11:59 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1735200255.7f843f776c609019d669d3a89203f0e03ecef98b.arkamar@gentoo \
    --to=arkamar@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox