From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1609949-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 87C1F158041 for <garchives@archives.gentoo.org>; Tue, 12 Mar 2024 04:04:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E613AE2A0B; Tue, 12 Mar 2024 04:04:18 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CCD1CE2A0B for <gentoo-commits@lists.gentoo.org>; Tue, 12 Mar 2024 04:04:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A76D3342FF7 for <gentoo-commits@lists.gentoo.org>; Tue, 12 Mar 2024 04:04:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1B441519 for <gentoo-commits@lists.gentoo.org>; Tue, 12 Mar 2024 04:04:15 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1710216224.d47ad57298ce0b2d3eb72db960d901af9d84ed5a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/psybnc/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/psybnc/Manifest net-irc/psybnc/psybnc-2.3.2.9-r4.ebuild X-VCS-Directories: net-irc/psybnc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d47ad57298ce0b2d3eb72db960d901af9d84ed5a X-VCS-Branch: master Date: Tue, 12 Mar 2024 04:04:15 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aa01f2d6-ac74-4cf9-9dd2-4676768e2c52 X-Archives-Hash: fce1ec2dcd3f4c690b68a16725c3ccf1 commit: d47ad57298ce0b2d3eb72db960d901af9d84ed5a Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Mar 12 04:03:27 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Mar 12 04:03:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d47ad572 net-irc/psybnc: drop 2.3.2.9-r4 Bug: https://bugs.gentoo.org/921135 Signed-off-by: Sam James <sam <AT> gentoo.org> net-irc/psybnc/Manifest | 1 - net-irc/psybnc/psybnc-2.3.2.9-r4.ebuild | 166 -------------------------------- 2 files changed, 167 deletions(-) diff --git a/net-irc/psybnc/Manifest b/net-irc/psybnc/Manifest index 9ff638d4d120..f6983e85c549 100644 --- a/net-irc/psybnc/Manifest +++ b/net-irc/psybnc/Manifest @@ -1,2 +1 @@ -DIST psyBNC-2.3.2-9.tar.gz 318676 BLAKE2B 0197aa3bc8c770738a7d4d5a5a79b77f7a0cafeef60ccca1167172b28af05c0cd9836f7e9816c873dafa2e55b0bf9ce54cfbe3958939405f58f7f3874ec7ea64 SHA512 b664f57610e54fadd938b359a0e8052b8fe3dd36bd1ee339f36ee22ae4d36a76e803425c5133f925ac18c01767ffbc8a2f471c014b5b76b05894cfea9fe5416b DIST psyBNC-2.4.3.tar.gz 1108733 BLAKE2B e0f02cab97b503301db0a4c111497e4f99b75d8d2c798b2b5d97997a4c4921d8a7de8dabad79c1291fa4b7efce0d1ed0c7dede1345b155561bb6ce6033b591bb SHA512 02228baef6fa889d5e12bfa715facc2eab3b033c01b1f799a1c6c995ef9eedfacf3ed328c875f52595d64c47124c20e4145288b2636182dea17ec9027d367bb7 diff --git a/net-irc/psybnc/psybnc-2.3.2.9-r4.ebuild b/net-irc/psybnc/psybnc-2.3.2.9-r4.ebuild deleted file mode 100644 index 684b08d88a1f..000000000000 --- a/net-irc/psybnc/psybnc-2.3.2.9-r4.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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://www.psybnc.at/download/beta/psyBNC-${MY_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.3.2.9-compile.patch - "${FILESDIR}"/${PN}-2.3.2.9-ldflags-fix.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 - - newconfd "${FILESDIR}"/psybnc.confd psybnc - - dodoc CHANGES FAQ README SCRIPTING 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 -}