summaryrefslogtreecommitdiff
path: root/net-irc
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/Manifest.gzbin7904 -> 7905 bytes
-rw-r--r--net-irc/atheme-services/Manifest3
-rw-r--r--net-irc/atheme-services/atheme-services-7.2.12-r5.ebuild (renamed from net-irc/atheme-services/atheme-services-7.2.12-r4.ebuild)7
-rw-r--r--net-irc/atheme-services/files/atheme-services-7.2.12-libathemecore-account-fix-assertion-macro-return-type.patch37
-rw-r--r--net-irc/inspircd/Manifest2
-rw-r--r--net-irc/inspircd/inspircd-3.17.1-r1.ebuild (renamed from net-irc/inspircd/inspircd-3.17.1.ebuild)4
-rw-r--r--net-irc/konversation/Manifest4
-rw-r--r--net-irc/konversation/konversation-24.12.1.ebuild (renamed from net-irc/konversation/konversation-24.12.0.ebuild)4
-rw-r--r--net-irc/ngircd/Manifest8
-rw-r--r--net-irc/ngircd/files/ngircd-26.1-configure-getaddrinfo.patch23
-rw-r--r--net-irc/ngircd/files/ngircd-27-systemd-unit.patch24
-rw-r--r--net-irc/ngircd/metadata.xml10
-rw-r--r--net-irc/ngircd/ngircd-26.1-r6.ebuild130
-rw-r--r--net-irc/ngircd/ngircd-27.ebuild130
-rw-r--r--net-irc/psybnc/Manifest1
-rw-r--r--net-irc/psybnc/psybnc-2.4.3.ebuild169
16 files changed, 371 insertions, 185 deletions
diff --git a/net-irc/Manifest.gz b/net-irc/Manifest.gz
index 61bddde78c7e..94820e4be54e 100644
--- a/net-irc/Manifest.gz
+++ b/net-irc/Manifest.gz
Binary files differ
diff --git a/net-irc/atheme-services/Manifest b/net-irc/atheme-services/Manifest
index 17e616690685..5f40194f81c2 100644
--- a/net-irc/atheme-services/Manifest
+++ b/net-irc/atheme-services/Manifest
@@ -1,6 +1,7 @@
AUX atheme-services-7.2.10_p2-configure-logdir.patch 833 BLAKE2B 3809ea93546547de99b41ff19547b027102706e5e06e40333491440a1f09b0e78e31f5956def37ea1f6b067876a72f54a275d428332f2f479c7dace476bdc200 SHA512 43ca2af5aec6a1ea4b08564c62a21ae762fd01f2c177dbf8f7c6ebb238b9302b8310f2fe96ce2b20a7f7014c488a02177d1e583aa438ceff7576e4880ca2f62f
+AUX atheme-services-7.2.12-libathemecore-account-fix-assertion-macro-return-type.patch 1399 BLAKE2B 5026d337bd6a798c00ee5bd3d4a36e0dcf6c82a890cbe4dbb4914d5710aacd0203079cd626b63ea047e2df24a287b244509f1396bd182719d88c6d73cdf4354c SHA512 7fada5c5684d760bc789efd28b8f6d619f5718167b3e296c871274faea43727670f6ba72cd599cb2fb9f6750249e9c7c70f08095d7b34343df70454d7312c66e
AUX atheme-services.initd 524 BLAKE2B 1388771d1d086baee885598eb448ee3daf1031e120cd21947a344aa72b24b969a5e9c6c5705b72c30a78020fbc2f27e56e0fbc618f58e8aae14c6fcae4b049c5 SHA512 3b90f60677088384c3f69b9dde40d18f4829d3435da0cdfbab003db3b68b6462ef31635b5fe4ed59d56745df9aa95a0690586b56d2f91e621aa2e708cb289cc1
AUX atheme-services.service 298 BLAKE2B 5f21b2eaa0abf8debc722a34e7e7ab4156bae0769438b8bd77221302dcbe64133aff04278ee76321114ade17c8701f9a67dee09d8b8230d2aa3e1ce884b675da SHA512 1f0910b489deb3df5933651a630c98ce775592bd8a970335100970c449af07781f6f467e3d028ed8c9ca14037f9e3e03cd86624defa613332387c4042684925c
DIST atheme-services-7.2.12.tar.xz 1072992 BLAKE2B f9e1cb175c1e2f38b5d53eba8f3d391e421baaff7eb76f38b10ba02b258472ccf9b69a7a278ff05c4f620b6fe6e48362618c02d245ed5d9c5acd4bede91ac093 SHA512 0d276b9a0c96f72a739090c5b2c732ab6c000f801cbb86347b5670def56f36fb82d70fb4cb68a1d942b9765c054bc136a6b0cecc0573cf8f59076f8b91fc6bf6
-EBUILD atheme-services-7.2.12-r4.ebuild 2266 BLAKE2B 08a9106d04a57580846f1fc28e4457f604bfb1e36edbe0086b94b04ef073a283610b61e2f9aa88ff7e468e631c5f775d483398b1c0ac4a81be6fd1084e308071 SHA512 bc5504d18b8dd72af974e5b42c63ffe229a8c9ce74d324a4cd30d551778c001ae46c8c56f77aa96fa0de267ac7831bb2065a10fe8059ff70da9d9958a8207434
+EBUILD atheme-services-7.2.12-r5.ebuild 2354 BLAKE2B f97c9e27be5bc5e1608432a32beb6f45d9d7b9ef96692d52787e01b943c91ec0e15c6abc9da27eab0923465f554337b8b112cd20a69682a3745a5d58a5af811b SHA512 de09cac6c208c3ea55995899ec6a3ef120115bc0402b9c359f31d18b879c5abd4cdb6688f45e678d3665b685781a584dfb6d1cb0626a136b1a29f160d0590407
MISC metadata.xml 830 BLAKE2B 79210e18e81cf7fa5299029b17b9819b39706558d58a002701c1c84fd37fa2d4022aa46448aee9558d8778bf4568ecd6c6cee7101d01f911fb260d96810e085e SHA512 3471aeabc100a3de474b0c49c0b115169b6e2b6d17a3d5e2aefafc4471b553d79857199913ae98b67d52cced875b9992dc5e983a31ce408788ed77baab79688f
diff --git a/net-irc/atheme-services/atheme-services-7.2.12-r4.ebuild b/net-irc/atheme-services/atheme-services-7.2.12-r5.ebuild
index 335443e95737..fdcf9d3dbdbc 100644
--- a/net-irc/atheme-services/atheme-services-7.2.12-r4.ebuild
+++ b/net-irc/atheme-services/atheme-services-7.2.12-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,11 +9,11 @@ DESCRIPTION="A portable and secure set of open-source and modular IRC services"
HOMEPAGE="https://github.com/atheme/atheme"
SRC_URI="https://github.com/atheme/atheme/releases/download/v${PV}/${PN}-v${PV}.tar.xz -> ${P}.tar.xz"
+S="${WORKDIR}/${PN}-v${PV}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64"
IUSE="cracklib largenet ldap nls +pcre perl profile ssl"
-S="${WORKDIR}/${PN}-v${PV}"
RDEPEND="
acct-group/atheme-services
@@ -32,7 +32,8 @@ BDEPEND="
virtual/pkgconfig"
PATCHES=(
- "${FILESDIR}"/${PN}-7.2.10_p2-configure-logdir.patch)
+ "${FILESDIR}"/${PN}-7.2.10_p2-configure-logdir.patch
+ "${FILESDIR}"/${PN}-7.2.12-libathemecore-account-fix-assertion-macro-return-type.patch)
src_configure() {
# perl scriping module support is also broken in 7.0.0. Yay for QA failures.
diff --git a/net-irc/atheme-services/files/atheme-services-7.2.12-libathemecore-account-fix-assertion-macro-return-type.patch b/net-irc/atheme-services/files/atheme-services-7.2.12-libathemecore-account-fix-assertion-macro-return-type.patch
new file mode 100644
index 000000000000..26cc3829346c
--- /dev/null
+++ b/net-irc/atheme-services/files/atheme-services-7.2.12-libathemecore-account-fix-assertion-macro-return-type.patch
@@ -0,0 +1,37 @@
+From a0410c301293736a09b52763d25893019ede3e3a Mon Sep 17 00:00:00 2001
+From: Aaron Jones <me@aaronmdjones.net>
+Date: Mon, 25 Nov 2024 05:31:26 +0000
+Subject: [PATCH] libathemecore/account: fix assertion macro return
+ types/values
+
+---
+ libathemecore/account.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/libathemecore/account.c b/libathemecore/account.c
+index 80233ade2..985cf9ff6 100644
+--- a/libathemecore/account.c
++++ b/libathemecore/account.c
+@@ -1631,7 +1631,7 @@ chanacs_t *chanacs_find_host_by_user(mychan_t *mychan, user_t *u, unsigned int l
+ mowgli_node_t *n;
+ chanacs_t *ca;
+
+- return_val_if_fail(mychan != NULL && u != NULL, 0);
++ return_val_if_fail(mychan != NULL && u != NULL, NULL);
+
+ for (n = next_matching_host_chanacs(mychan, u, mychan->chanacs.head); n != NULL; n = next_matching_host_chanacs(mychan, u, n->next))
+ {
+@@ -1779,8 +1779,8 @@ chanacs_t *chanacs_open(mychan_t *mychan, myentity_t *mt, const char *hostmask,
+ chanacs_t *ca;
+
+ /* wrt the second assert: only one of mu or hostmask can be not-NULL --nenolod */
+- return_val_if_fail(mychan != NULL, false);
+- return_val_if_fail((mt != NULL && hostmask == NULL) || (mt == NULL && hostmask != NULL), false);
++ return_val_if_fail(mychan != NULL, NULL);
++ return_val_if_fail((mt != NULL && hostmask == NULL) || (mt == NULL && hostmask != NULL), NULL);
+
+ if (mt != NULL)
+ {
+--
+2.45.2
+
diff --git a/net-irc/inspircd/Manifest b/net-irc/inspircd/Manifest
index daaf2e4ae1cc..8087aa062b59 100644
--- a/net-irc/inspircd/Manifest
+++ b/net-irc/inspircd/Manifest
@@ -6,7 +6,7 @@ DIST inspircd-4.2.0-fix-build-paths.patch.bz2 4808 BLAKE2B edd76fd6bc27e23fc3a9c
DIST inspircd-4.2.0.tar.gz 1019366 BLAKE2B a41499d0a99b0dfd8bce5d5ccc37b6e680418483256368c59466c05b7bc7d1be868e61817825ad5961558d0b9bd312fd99e6c02c01036ac2af3b323b15d038b9 SHA512 cac23ed23ff29e0116dc42afcb12002a2bbeb663d0ffe07d0e3214b64e9b18dea4ead8abcb2402885f984b4b675f037f1f41719249be22e99bb8f4f628e1981c
DIST inspircd-4.4.0-fix-build-paths.patch.bz2 4708 BLAKE2B f27de1c9617c862d691562444afe4dfa35f936c59d222e126fed17645e0a79f8d8cb6d7e9a55ea12602daf18f854178fc69871826c324922e5725b4017ece5ff SHA512 0172dcee9ef52d22af9956ee99c8c5f21644b54cad6497cfcaea17e6b8e4ac91d4b45fa1b2719e045310614509512fc4b5f1d3c25b67460d073cdf23f7c3cfaa
DIST inspircd-4.4.0.tar.gz 1023377 BLAKE2B 5555a87056909ea198127464bb69134ac5f174128f5508efb421373f73cea57984f9637ad521c254c4580cf4a19f5673fbac4c73f61005fb69f6964a9f5823ac SHA512 242f02ffea0c9913847dc30ca8114ad10b5739de800a03f010d00c9fe9b68e99ed6c997b5bf6f6b9f85d5de28d35aa3118d58b2e38d0dc69d1ae82a539b172ac
-EBUILD inspircd-3.17.1.ebuild 3195 BLAKE2B 3be05160a3d76835c4ee0872504f03a9d45fc80801e632e00321f723b868b7ec8a48d37ed649090871980a1371f8094dce03944ba4ddc27dcde3a233a6802719 SHA512 e36d5391a1d40687e6b3dea8d5391496aa6b1f3ba0a135966b47e8c1a70cf0e874853e2691a8bf24862a5724b17eed64cf20c51c1e1e5402500aac4532132944
+EBUILD inspircd-3.17.1-r1.ebuild 3196 BLAKE2B 2be3c304b693c7117bfecf5ad0fd7fa352cedee39ae2331fbf46db88ca461af8c73c614e927ee6db1c6986721dbe1e567eac66682a67539a5c9066c347299cae SHA512 88f5b7563391326c26a8800d63cc307c46861e283870d39d6ec658f43d8c8fb869e85a1a182f161f95d6c153d92eea6c0a162131baa5137a75e0452390af2fe9
EBUILD inspircd-4.2.0.ebuild 3242 BLAKE2B efa9762e289d4db890ae4a602f970e1c6e0a8750b2f6eba90c9c7833a30b903b2fc8448748f19a53ca52300063f84563659caee07c12990331e28591995d6c47 SHA512 8b6ac57b453284af4d011d9aaa9c24ab8e7d8501e3107c44ca5f4991e79cb277307b11332f3b646eb6b748ac3121e40fd834bf52b2e0fe2fee3f5319ed1070e5
EBUILD inspircd-4.4.0.ebuild 3235 BLAKE2B 6b337eea6ae6e70bb617283e1e1362d26c59c8575ac06765a6add8776fce4d1c5f77008abaeec63b824317282d5fd6256f8f08e5cf04315b71499f4500a5b5e4 SHA512 3f16effd356bdf288e6ac22b0be1eb02ac5b70d08a04de9a4dc116c7cbe565128d3a8357fbaf87de76789a2c3ac55a66840205d9cab752585b31ff63d6c3e884
MISC metadata.xml 2076 BLAKE2B 304e68d2125a3823eeae8031ec680277fa24efa39d0ac29c157b2e4a5c2e2f2e3eefe175df58659084cd4d91464f370a9a4e6b2d8b1609e09f94a6b82ce75dbc SHA512 154dc2bf1f39cd28b7f07c3b4eed1f9db9aa389b90ef089b05b33169d1f614a0c81aec66b568eaf5c2959b4839c7a3163ed215a0ab26ba86fa1c427dd26361b6
diff --git a/net-irc/inspircd/inspircd-3.17.1.ebuild b/net-irc/inspircd/inspircd-3.17.1-r1.ebuild
index 21d0bac2f66b..b5dd27a9abd4 100644
--- a/net-irc/inspircd/inspircd-3.17.1.ebuild
+++ b/net-irc/inspircd/inspircd-3.17.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -24,7 +24,7 @@ RDEPEND="
gnutls? ( net-libs/gnutls:= dev-libs/libgcrypt:0 )
ldap? ( net-nds/openldap:= )
maxminddb? ( dev-libs/libmaxminddb:= )
- mbedtls? ( net-libs/mbedtls:= )
+ mbedtls? ( net-libs/mbedtls:0= )
mysql? ( dev-db/mysql-connector-c:= )
pcre? ( dev-libs/libpcre )
pcre2? ( dev-libs/libpcre2 )
diff --git a/net-irc/konversation/Manifest b/net-irc/konversation/Manifest
index 28d255b6c2ea..6a7daf8f09f3 100644
--- a/net-irc/konversation/Manifest
+++ b/net-irc/konversation/Manifest
@@ -1,6 +1,6 @@
AUX konversationrc 346 BLAKE2B 8d236be66f983b3670bbd49578c73a1a868be0b498f965e5f91ecc96f956ba6151ebf6a90cbacd304c9fd16fe62c6cecae7027b5582d1c1b97516c7c89430c68 SHA512 37333594ee6835e61a3dec4c3f48e9a83d69b252768aa22830102199811059cbae8188388e7911503e14c0ef05dbc7d7d7f50c94d0fca4659c6b739e3b8c24dc
DIST konversation-24.08.3.tar.xz 4412196 BLAKE2B 25d9432ad1f5636351324a46fa386fc8e6f7c35f81333b91bb22ed3ccce3c5441bf5994c61f351a2367be1d7295ac652744b84dad6b8e68d2d81d78a9f1806af SHA512 698bb79a53a75e38c25dc7e42406c1f94ff76899a95a89ae1d5464a599998734941cac0f0fdc937c010fe5c3a9fdeb294fc64aafe9829fbafa66e58dc35cb80d
-DIST konversation-24.12.0.tar.xz 4415648 BLAKE2B 4b72c749133af41ee52a12ed7cbd9ad994b7af11ef759d5b7c854874ca47526c50c9763a8d0a56585556eac52e38487ca58cb01bb47a2dd3d09cea7d174644b8 SHA512 00b2d13c5e312fe64a92bc24f90f7c66775174d89b708bc2c31e51b04a6bac17b71289a69cc0165dd859bcc4d33f5148924db50dcaae205e21f355ab2d9c07f5
+DIST konversation-24.12.1.tar.xz 4415788 BLAKE2B 78d183b44d62795b458c27c16853b15db90d15828e95e9d070265afd4ce2d24c4cb769ab301d6b5204ab488f4f646cfc4783aa6d6bc0d048b8c04a132fd40211 SHA512 43ead82211542ce519726394412df0ede462a1ce8501546688d93767f745e0beb37c259098398adec35abea15416f6547d53d22c859236dcb3ee20fd496cca6c
EBUILD konversation-24.08.3.ebuild 1932 BLAKE2B aa9c91562b1e66becc72e53c2e76ae803f532793b8f92b60270bdfe88e7b83b6d3406531ba163e3ad973de12b8c5efca26d341afaa7a054fe2e06d37a5b08dc4 SHA512 260051ad7c8444ec1a70f141d80c70977fac45b34f4b0e7dfd509e3302c593e1e3541d8672cab5e878d02a8b68ddcd504d9da8c234591e2284583380222a26da
-EBUILD konversation-24.12.0.ebuild 1940 BLAKE2B e6982b71d1b2e795f5fb7609f640612d4f00747c7f6df6612a68afe89727c6b6f777adaaba6e8a1143f98186846ea6ba921e4f948ecfe1d02268d3ba4650c024 SHA512 62c251c2b71d29a44628b6ecad786a3203a9a2b0797d5e1b4685b9b0b9bfe99bd145520c9e1456087991a78b65862627c02281062f21a82a6908814b3c00fb83
+EBUILD konversation-24.12.1.ebuild 1940 BLAKE2B d1a46d322619268e3167702d5bed73e4e8890b30658614ddcac96b255509190eb9065c1272c1b7f278aab2ac7555bc61752fd848284f8bdcbf71b7ee046bb0af SHA512 58b8980698591b47b28dba3fab654b8a5d5778c391e59704bb7efb2d2f88a73e274a73959f2b7c5dd48fe5e43df1adf725a17c3893e3b2a1d181152f790eda97
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6
diff --git a/net-irc/konversation/konversation-24.12.0.ebuild b/net-irc/konversation/konversation-24.12.1.ebuild
index 46325ee54875..5438f1943722 100644
--- a/net-irc/konversation/konversation-24.12.0.ebuild
+++ b/net-irc/konversation/konversation-24.12.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ECM_HANDBOOK="forceoptional"
-KFMIN=6.5.0
+KFMIN=6.7.0
QTMIN=6.7.2
inherit ecm gear.kde.org
diff --git a/net-irc/ngircd/Manifest b/net-irc/ngircd/Manifest
index 6cb6c5dac8cd..dd532f3d7d2d 100644
--- a/net-irc/ngircd/Manifest
+++ b/net-irc/ngircd/Manifest
@@ -1,8 +1,14 @@
+AUX ngircd-26.1-configure-getaddrinfo.patch 919 BLAKE2B 0ecac7c7e44b2ce31e2252955177c25009d6eb383bdb2b16fa39b2d2bec94c8f11fc1f8e0c8878522c4209a12ea7e94d518496d755cc92b7ee9c4978b9fc091a SHA512 891b9e4d41d8dad92e6bff7ad11fa04cff78821a5b07c8d32b82256a79976660ceb91af497a05e6a7363a30d31d165b5448961e06b81bcfb4888af8b012dc096
AUX ngircd-26.1-systemd-unit.patch 674 BLAKE2B 275a8b73b550b4431f529846ccb70fcb73e193ef44bae04f130377495c8817693c634b3dd327bc4ce986be8af1db17ea1249987dafc5beb35ee614be4a1af7a6 SHA512 c631192434cc55130cb885c94b596e164bd7733dd3f854ea8fc2e4440529e64b1603015fbea7d5dcbf86feb2c60849bfd053206f1b9c15196b4588676a833ab4
+AUX ngircd-27-systemd-unit.patch 640 BLAKE2B df122444ff712cd8b1a96f269b3802a074ae12d77cbe2808d656b0c9cf6b012c97b46e25f4e263db15fefb59883de804cefe1c12eae9dba41953101f762f3daf SHA512 96ab7567a11e1a7f9f32cfe88d496a1e3420039721a6a20815b1ef25b9ee211e73d457c443c4cb0db985a9f375f033fb20c02e892c2056eb004a5ad8ed5d834e
AUX ngircd.conf 35 BLAKE2B 59c5b7c2444d5d2561884db7d532fb7d4ce03cfffacf679f2e72ee0e06415bdf292bfd4f959d47f2b598254902a954a07eb48d4d5ab170e356f89d3f8fb9f15e SHA512 24525591e0ca0249aaff10746d0526fcdc7ff5a8844e98b7d31a5fd710cf92c5905653628ec03e2a491f8cc5890d63f4b05f00bb2adeba502d60c317ad2d3e1c
AUX ngircd.conf.d 166 BLAKE2B a7e6e149bfe04bb54e97820f6d4fda2f7d81c224fb0975335a190fc41f80aa7edad5b5f509831acf9fdd0949d02e49fa8661860b62f7409c225cecac604cce6d SHA512 0c71a27130f0d918d3ba78f4e19d882bd1089e7f6e899cf89456d1e249d27fe5fe8678bccc90b5fa5eb73c0976240a7fe0722b3094d7553fbfa919dbce235d6a
AUX ngircd.init-r2.d 1271 BLAKE2B f385805c7ae63f4046cee12449b60bc4309007fe69b52a2933a8562f5c05bd356cee49e0bd9bed389d9f42b92e94dbc37387db34eb3c5946e6cc92ea8ebf8ec2 SHA512 ceaeee66b31463273ff88c5356c63bc9b25c272dd038940adba95a8b7e3d4f4d0bd0c96bd9c99fb522b7dafa3a413b5611ecb748951ef5cc7a944384983cf45e
DIST ngircd-26.1.tar.xz 375812 BLAKE2B 4bd7dae47b579bdfaceee0e3ff1b30ac7c70326cd9d609a128192b1efbec17ac50010cb1bf27f4ca6d921700b7bd8cf3d0e8fb5bc569a84d6a101be10ec5832a SHA512 6333244e3fb2dc00ee9812c8c45990baa95ff473a7037a0a11ca495bed86fa438110ad5151d86b9274b6187d86b7b5712fdca2b74b8cb92f7f66fa10cf1961ee
DIST ngircd-26.1.tar.xz.sig 310 BLAKE2B 6bf3330387ef01af32c0026e12e5fe5a9a34f5d5fc221a66931312fb70d17832259b94e370ddc49f8834d0d29b9c53b52f11ddec3bfc12655472e046cc569e99 SHA512 c1bbc481dd92e487706fa0b3b18dffd214018946fad8ced77feccc1105a65fcc33c82b0e93529a14ad103ef784da20e3bf86358a8f26cdddeac9f947833d6848
+DIST ngircd-27.tar.xz 377484 BLAKE2B 177bccf689690799cb746934c67c5efac31fbc73aa74d678ce6f542dd1c6651b36ad74b84ae59f06f47f24478a9bfc1a5834fc159e980eced3a50507dbd1898c SHA512 d653e0f430bc27485780c9492038622a850be9b910993d625cec4045f0d9973e448a39949c576450598e2cd923b377304ba987a6330f3fcdc42978e8a30334b8
+DIST ngircd-27.tar.xz.sig 566 BLAKE2B 43c03f65f8ddd40c51390afd27359a3fba379aff529c586ccfc8e5ea434af0e128a199a2a2bc8e64c61979f9adb6921655d72ddbb7837a169385f9dca6b3dfe0 SHA512 e759bb199d001be2dab1b292d8fdaf09fd4f32e8345e35ef4ad0f381141f95b1ef2efb5dbb7958c4aefe758c30dc349d3dffef36c6f4cdb2414a6b958d4c0389
EBUILD ngircd-26.1-r5.ebuild 2669 BLAKE2B f92056ca5140d62216dd9980a55e6c7d67670810fd9acecceee64c9904b3313206d47f3f9f8b47314f4ce9c54522671a73e2ed20c8603cffad4bc4851341a63f SHA512 19e22d432cbc2272466e2fe21ada3790ddaf81a09f2100adfee41dccd7ce4eac52d03f53a079772c13ee2fda34bb9aa2af9448952cde2cfa73850015ed3f7535
-MISC metadata.xml 651 BLAKE2B ba57a0fffdef6acaf3510f62bc146c9dbfec0805b9e6a5e889360fee39c3a3e539aaead44fa42c72523957c492c066a9729c2f362c84f56c0ab27627b8e92f36 SHA512 82529647ece0d29898c2ad7f5794d6376f919d0e1d30cdc7dea0bea97418c9fba26e9e9748232a7e9963d329d5a8b5f4f8d2c6acc03682a231ec3984c63980f7
+EBUILD ngircd-26.1-r6.ebuild 3027 BLAKE2B cb19e3a378470011b26eaf15bd11a1d0612f936b31ab586d0d112aff498676f374c73471baa671d2787a014665a6a28a56100b36f2d4162e019be726f5e5153a SHA512 b1392049e5000976f1e7f2d081e4754256d0d3309225d090dd25079ecb19de377767a9e63ef731b0e0c95f3cb0d3b6137d4ad3dce2136813f671e82aca235bf3
+EBUILD ngircd-27.ebuild 3029 BLAKE2B 24b097427ca43e4a9686febab7c63db1ac9e09b0b3f473944169e40e3b67cd12d92f95d91a40219cab99a9403533aec49daaadee89732c8df947fdcbf95bf8a5 SHA512 71429181392e036e4849bb81d84b046366e31dc12f45ccf9c5af2b15216f7ed86d10a5824e8c3c6599093a359a302dc31f49419982e7b496b9ccb01b3c632c4f
+MISC metadata.xml 800 BLAKE2B cc7f5ce6b254924a0bb0c96bea5a23dfce85bea86b14a91becec0d8a43a06c82dc1f3e33001f6efd9f85883c61810f8176277caf8be4ce298b14d91c73c899f6 SHA512 3c32b19adcc98cb85bbd95b5556fe85c92602a4838d4ae341fa88ffa7b34fe2a7d93ea5717a7b3ea5634944cad62347b3ddcaf51a9e161913fbf850d09844162
diff --git a/net-irc/ngircd/files/ngircd-26.1-configure-getaddrinfo.patch b/net-irc/ngircd/files/ngircd-26.1-configure-getaddrinfo.patch
new file mode 100644
index 000000000000..3d6bff5bf54b
--- /dev/null
+++ b/net-irc/ngircd/files/ngircd-26.1-configure-getaddrinfo.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/946998
+
+configure report getaddrinfo not works because of stricter compiler check:
+ configure:6303: x86_64-pc-linux-gnu-gcc -o conftest -g -O2 -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -fstack-protector -DSYSCONFDIR='"$(sysconfdir)"' -DDOCDIR='"$(docdir)"' conftest.c >&5
+ conftest.c: In function 'main':
+ conftest.c:99:9: error: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
+
+configure.ac still use de-ANSI-fication (which is only available in old
+automake) in order to support old systems. So we can't patch configure.ac
+and run eautoreconf. see https://github.com/ngircd/ngircd/issues/261
+
+diff --git a/configure b/configure
+index e4023a3..9337a85 100755
+--- a/configure
++++ b/configure
+@@ -6283,6 +6283,7 @@ else
+ /* end confdefs.h. */
+
+ #include <stdio.h>
++#include <string.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netdb.h>
diff --git a/net-irc/ngircd/files/ngircd-27-systemd-unit.patch b/net-irc/ngircd/files/ngircd-27-systemd-unit.patch
new file mode 100644
index 000000000000..22f203f997b9
--- /dev/null
+++ b/net-irc/ngircd/files/ngircd-27-systemd-unit.patch
@@ -0,0 +1,24 @@
+diff --git a/contrib/ngircd.service b/contrib/ngircd.service
+index 311bc0d..0191034 100644
+--- a/contrib/ngircd.service
++++ b/contrib/ngircd.service
+@@ -12,8 +12,8 @@ Before=bopm.service hopm.service
+
+ [Service]
+ Type=notify
+-User=irc
+-Group=irc
++User=ngircd
++Group=ngircd
+ # Settings & limits:
+ CapabilityBoundingSet=CAP_SYS_CHROOT CAP_NET_BIND_SERVICE
+ MemoryDenyWriteExecute=yes
+@@ -27,7 +27,7 @@ ProtectKernelTunables=yes
+ ProtectSystem=full
+ RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
+ RestrictRealtime=yes
+-RuntimeDirectory=ircd
++RuntimeDirectory=ngircd
+ RuntimeDirectoryMode=750
+ StandardError=journal
+ StandardOutput=journal
diff --git a/net-irc/ngircd/metadata.xml b/net-irc/ngircd/metadata.xml
index b9ed1a091b88..f37d7a115b23 100644
--- a/net-irc/ngircd/metadata.xml
+++ b/net-irc/ngircd/metadata.xml
@@ -1,9 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>sam@gentoo.org</email>
- <name>Sam James</name>
+ <maintainer type="person" proxied="yes">
+ <email>zhixu.liu@gmail.com</email>
+ <name>Z. Liu</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="ident">Enables support for <pkg>net-libs/libident</pkg></flag>
diff --git a/net-irc/ngircd/ngircd-26.1-r6.ebuild b/net-irc/ngircd/ngircd-26.1-r6.ebuild
new file mode 100644
index 000000000000..6d6e98e30b0c
--- /dev/null
+++ b/net-irc/ngircd/ngircd-26.1-r6.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/alexbarton.asc
+inherit tmpfiles systemd verify-sig
+
+DESCRIPTION="An IRC server written from scratch"
+HOMEPAGE="https://ngircd.barton.de/"
+SRC_URI="https://arthur.barton.de/pub/${PN}/${P}.tar.xz"
+SRC_URI+=" verify-sig? ( https://arthur.barton.de/pub/${PN}/${P}.tar.xz.sig )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 arm arm64 x86 ~x64-macos"
+IUSE="debug gnutls ident +irc-plus +ipv6 pam +ssl strict-rfc tcpd test zlib"
+
+# Flaky test needs investigation (bug #719256)
+RESTRICT="test"
+
+RDEPEND="
+ acct-user/ngircd
+ irc-plus? ( virtual/libiconv )
+ ident? ( net-libs/libident )
+ pam? ( sys-libs/pam )
+ ssl? (
+ gnutls? ( net-libs/gnutls:= )
+ !gnutls? (
+ dev-libs/openssl:0=
+ )
+ )
+ tcpd? ( sys-apps/tcp-wrappers )
+ zlib? ( sys-libs/zlib )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ test? (
+ dev-tcltk/expect
+ net-misc/netkit-telnetd
+ )
+ verify-sig? ( >=sec-keys/openpgp-keys-alexbarton-20241211 )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-26.1-systemd-unit.patch
+ "${FILESDIR}"/${PN}-26.1-configure-getaddrinfo.patch # XXX #946998 PLEASE CHECK PER RELEASE
+)
+
+src_prepare() {
+ default
+
+ if ! use prefix ; then
+ sed -i \
+ -e "/;ServerUID = /s/65534/ngircd/" \
+ -e "/;ServerGID = /s/65534/ngircd/" \
+ doc/sample-ngircd.conf.tmpl || die
+ fi
+
+ # Make pidfiles work out-of-the-box
+ sed -i \
+ -e "/;PidFile = /s/;//" \
+ -e "/;ServerUID = /s/;//" \
+ -e "/;ServerGID = /s/;//" \
+ doc/sample-ngircd.conf.tmpl || die
+
+ # Note that if we need to use automake, we need a certain version (for now):
+ # https://github.com/ngircd/ngircd/issues/261
+ # WANT_AUTOMAKE=1.11
+ # eautomake
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sysconfdir="${EPREFIX}"/etc/${PN}
+
+ $(use_enable debug sniffer)
+ $(use_enable debug)
+ $(use_enable irc-plus ircplus)
+ $(use_enable ipv6)
+ $(use_enable strict-rfc)
+ $(use_with irc-plus iconv)
+ $(use_with ident)
+ $(use_with pam)
+ $(use_with tcpd tcp-wrappers)
+ $(use_with zlib)
+ )
+
+ if use ssl ; then
+ if use gnutls ; then
+ myeconfargs+=(
+ $( use_with gnutls )
+ )
+ else
+ myeconfargs+=(
+ $( use_with !gnutls openssl )
+ )
+ fi
+ fi
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ fowners root:ngircd /etc/ngircd/{,ngircd.conf}
+ fperms 0750 /etc/ngircd/
+ fperms 0640 /etc/ngircd/ngircd.conf
+
+ newinitd "${FILESDIR}"/ngircd.init-r2.d ngircd
+ newconfd "${FILESDIR}"/ngircd.conf.d ngircd
+
+ systemd_dounit contrib/ngircd.{service,socket}
+
+ dotmpfiles "${FILESDIR}"/ngircd.conf
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] && use pam ; then
+ elog "ngircd will use PAMIsOptionalPAM by default, please change this option."
+ elog "You may not be able to login until you change this."
+ fi
+
+ if ! use irc-plus ; then
+ ewarn "server-login-test occasional failure had been reported. Upstream suggests"
+ ewarn "to enable ircplus by default. See Gentoo bug #719256. You have been warned."
+ fi
+ tmpfiles_process ngircd.conf
+}
diff --git a/net-irc/ngircd/ngircd-27.ebuild b/net-irc/ngircd/ngircd-27.ebuild
new file mode 100644
index 000000000000..998b85cca770
--- /dev/null
+++ b/net-irc/ngircd/ngircd-27.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/alexbarton.asc
+inherit tmpfiles systemd verify-sig
+
+DESCRIPTION="An IRC server written from scratch"
+HOMEPAGE="https://ngircd.barton.de/"
+SRC_URI="https://arthur.barton.de/pub/${PN}/${P}.tar.xz"
+SRC_URI+=" verify-sig? ( https://arthur.barton.de/pub/${PN}/${P}.tar.xz.sig )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~x64-macos"
+IUSE="debug gnutls ident +irc-plus +ipv6 pam +ssl strict-rfc tcpd test zlib"
+
+# Flaky test needs investigation (bug #719256)
+RESTRICT="test"
+
+RDEPEND="
+ acct-user/ngircd
+ irc-plus? ( virtual/libiconv )
+ ident? ( net-libs/libident )
+ pam? ( sys-libs/pam )
+ ssl? (
+ gnutls? ( net-libs/gnutls:= )
+ !gnutls? (
+ dev-libs/openssl:0=
+ )
+ )
+ tcpd? ( sys-apps/tcp-wrappers )
+ zlib? ( sys-libs/zlib )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ test? (
+ dev-tcltk/expect
+ net-misc/netkit-telnetd
+ )
+ verify-sig? ( >=sec-keys/openpgp-keys-alexbarton-20241211 )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-27-systemd-unit.patch
+ "${FILESDIR}"/${PN}-26.1-configure-getaddrinfo.patch # XXX #946998 PLEASE CHECK PER RELEASE
+)
+
+src_prepare() {
+ default
+
+ if ! use prefix ; then
+ sed -i \
+ -e "/;ServerUID = /s/65534/ngircd/" \
+ -e "/;ServerGID = /s/65534/ngircd/" \
+ doc/sample-ngircd.conf.tmpl || die
+ fi
+
+ # Make pidfiles work out-of-the-box
+ sed -i \
+ -e "/;PidFile = /s/;//" \
+ -e "/;ServerUID = /s/;//" \
+ -e "/;ServerGID = /s/;//" \
+ doc/sample-ngircd.conf.tmpl || die
+
+ # Note that if we need to use automake, we need a certain version (for now):
+ # https://github.com/ngircd/ngircd/issues/261
+ # WANT_AUTOMAKE=1.11
+ # eautomake
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sysconfdir="${EPREFIX}"/etc/${PN}
+
+ $(use_enable debug sniffer)
+ $(use_enable debug)
+ $(use_enable irc-plus ircplus)
+ $(use_enable ipv6)
+ $(use_enable strict-rfc)
+ $(use_with irc-plus iconv)
+ $(use_with ident)
+ $(use_with pam)
+ $(use_with tcpd tcp-wrappers)
+ $(use_with zlib)
+ )
+
+ if use ssl ; then
+ if use gnutls ; then
+ myeconfargs+=(
+ $( use_with gnutls )
+ )
+ else
+ myeconfargs+=(
+ $( use_with !gnutls openssl )
+ )
+ fi
+ fi
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ fowners root:ngircd /etc/ngircd/{,ngircd.conf}
+ fperms 0750 /etc/ngircd/
+ fperms 0640 /etc/ngircd/ngircd.conf
+
+ newinitd "${FILESDIR}"/ngircd.init-r2.d ngircd
+ newconfd "${FILESDIR}"/ngircd.conf.d ngircd
+
+ systemd_dounit contrib/ngircd.{service,socket}
+
+ dotmpfiles "${FILESDIR}"/ngircd.conf
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] && use pam ; then
+ elog "ngircd will use PAMIsOptionalPAM by default, please change this option."
+ elog "You may not be able to login until you change this."
+ fi
+
+ if ! use irc-plus ; then
+ ewarn "server-login-test occasional failure had been reported. Upstream suggests"
+ ewarn "to enable ircplus by default. See Gentoo bug #719256. You have been warned."
+ fi
+ tmpfiles_process ngircd.conf
+}
diff --git a/net-irc/psybnc/Manifest b/net-irc/psybnc/Manifest
index fb3547591382..cc2826de92ad 100644
--- a/net-irc/psybnc/Manifest
+++ b/net-irc/psybnc/Manifest
@@ -10,5 +10,4 @@ AUX psybnc.confd 113 BLAKE2B e4fddc3cb37c5b9defea0d4d6e6c2b26f34bf50fbbe51679b8f
AUX psybnc.initd 896 BLAKE2B 2ce596d089c8da1b32020571bbc8bebc9ab3aa2a7aa7dbacb8e62646bbc3876308cc5204a56acfddf003bf69defa879c94b7564fba78ba494478fde237a520c0 SHA512 101a8d5926c779b7de2df767070ea230fc14a0c9ff42449f0f2b7355fefb74956c18817253b30cd2d9db048d62b3e32ce24d61038023e33702034b2923c26461
DIST psyBNC-2.4.3.tar.gz 1108733 BLAKE2B e0f02cab97b503301db0a4c111497e4f99b75d8d2c798b2b5d97997a4c4921d8a7de8dabad79c1291fa4b7efce0d1ed0c7dede1345b155561bb6ce6033b591bb SHA512 02228baef6fa889d5e12bfa715facc2eab3b033c01b1f799a1c6c995ef9eedfacf3ed328c875f52595d64c47124c20e4145288b2636182dea17ec9027d367bb7
EBUILD psybnc-2.4.3-r1.ebuild 4759 BLAKE2B 4327f0cf5525103af222dbf4d973d0afcd8c48c787801bc3388636c768f04b0ad26e4ef876aa52fcb58abc0d6de14c60c6a7b5f91ec82086bbd56c4165e347d8 SHA512 7414878dc90be59ee9301657f2a31e8c521b5c783d94d6f1bb7b1421d08c10469fb12ae59d6041c938e9dd6ac9f1ad89b46c0b1759df2977028dce077050d2e3
-EBUILD psybnc-2.4.3.ebuild 4688 BLAKE2B 69ec35e57f32b129bd4d46bf0f2179ec833ca0bc5b4b3d94ab0dfe199809f2061a9ce679f5425b8d34ef165a169c84ce38b62a37a672c28a326b7f533915a75e SHA512 48f79fbb6b5d7379e117e4eb8d01877f45a061d17bb545585ae65ca66a208ce454e756e13ab25dd2346a1305cd2813de99c7d58fa5f20cfc432282035543c5b4
MISC metadata.xml 361 BLAKE2B 66e3ce95043d6691e73a6e5efc2637e0f0d0e6638e034fe7687ba67f9e5c40c6e416ae020e1508e9d0f9636c5e833aa364051bacedb15ad3ca9f48cd726854d1 SHA512 75103320e23878d078c05c1a763aa2526ed79a7cf953f3f3c2a272e7d215b5ba95dcc60581186ac73db07a2891abe9ab4e82d906f4e2494e63004ce435a8f9e8
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
-}