From 315f94518df5e89b0990f56d7200f52d67aeec51 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 5 Oct 2022 07:19:12 +0100 Subject: gentoo auto-resync : 05:10:2022 - 07:19:11 --- net-irc/Manifest.gz | Bin 8056 -> 8055 bytes net-irc/inspircd/Manifest | 2 +- net-irc/inspircd/inspircd-3.14.0-r1.ebuild | 109 +++++++++++++++++++++++++++++ net-irc/inspircd/inspircd-3.14.0.ebuild | 107 ---------------------------- 4 files changed, 110 insertions(+), 108 deletions(-) create mode 100644 net-irc/inspircd/inspircd-3.14.0-r1.ebuild delete mode 100644 net-irc/inspircd/inspircd-3.14.0.ebuild (limited to 'net-irc') diff --git a/net-irc/Manifest.gz b/net-irc/Manifest.gz index 6171de7e85b0..93bc1ac5c0ac 100644 Binary files a/net-irc/Manifest.gz and b/net-irc/Manifest.gz differ diff --git a/net-irc/inspircd/Manifest b/net-irc/inspircd/Manifest index a083d2844949..312114908eac 100644 --- a/net-irc/inspircd/Manifest +++ b/net-irc/inspircd/Manifest @@ -7,5 +7,5 @@ DIST inspircd-3.13.0.tar.gz 868027 BLAKE2B 9d31917d076329d255f3b29a394a1329f286d DIST inspircd-3.14.0-fix-build-paths.patch.bz2 4731 BLAKE2B 5d8bdfc2af5ff4e9f0e592cb23dd747f9bcfcaad63a725d03fc78b2b032bc4df59a21dfca2067b3e50c1dcf18257706fb30862a1db919e109b8954aa06712efe SHA512 bfd5bdf58fa0ce8e91da1d74aada01f7cafd33b911f5445fd379728f5e67c8b10cf68cdc74dc0cf3d6bdab87ee9cb2251a52e3ed165970381b19a487ee11b554 DIST inspircd-3.14.0.tar.gz 869137 BLAKE2B d02d98c6922093e2e04a8f68092a8591ca4b7e5b079676ddc9b33c315725ac4c6739528c3285820683f0daba9926c4be8577e643b4a6cc28d9d3f39151d7da82 SHA512 c19afc20b779a029b9e7a88470806d4a8e45d1fa3e9fd8597c02811d5669e6812c33dc3086557f1cb28335a778c50b78efd863357f500780dbadc61c02c2253c EBUILD inspircd-3.13.0-r1.ebuild 3331 BLAKE2B 8c7935efd010c767cfb8ef9c2cb2ee3e126e56e081a5e5d9627e903911101ae5e87f794f9b1f091453fb4f989b26168fe5c624c007bd1aa1d90c7368c73377df SHA512 029ea6a8c3856e1f09dbf2b3504074ff66dbc8235f548a712a5bd892548b6ae60d630e0d1446b6926dcf7e8548af46844b613ba6e41b079208f15bd4f8344238 -EBUILD inspircd-3.14.0.ebuild 3047 BLAKE2B d34b011e90984fd28073f73b1273d91423e9e66915745dc62d18be67d51162d92eae0f4b7a83d7676eaf4d57e919a6d96dc3c6de9defd0baa9790c7c2c64e790 SHA512 48f82fa687e9ffa42539a03ca0132be0b8d8a68d1c6b7e680acec6507f09dc18bf3fc4aa63befae94d0e9a9a00e1791ef12c19362cffd18da7406c21cb77802a +EBUILD inspircd-3.14.0-r1.ebuild 3075 BLAKE2B 80ab412915bd1d10b58b122a3d09b9fde2b399dcb901a77dc49f35095dd6a1e4edfc15a8cbb968c4b1552b3ace30b63de10c1290c6951c3dff8dbe685d5e38fe SHA512 bc6bb211b404dda73354d9da1896246b891ee88fe417cb910c3ac88665ca6e5e413b0261a4fad59ea3f70db4fee563efd681b547a6f17538ebea541697adc73f MISC metadata.xml 1878 BLAKE2B 2c85eb9c5a0db82398ede6b597627d226b139b7758135777068bc9b84f4b2c8303243f9591fe12e0dfb3957b7d6abe638421dce936d58c7182fa3bccfa7ddf9c SHA512 25a287fd0ac8a18a751d6920395868eaf0c73e8bf13f28ffcc187f9a5ee04520677ffeb0506b5541436ac4a9ed0f493331a09ed24d7249376493cc626eecf857 diff --git a/net-irc/inspircd/inspircd-3.14.0-r1.ebuild b/net-irc/inspircd/inspircd-3.14.0-r1.ebuild new file mode 100644 index 000000000000..74fee7dad769 --- /dev/null +++ b/net-irc/inspircd/inspircd-3.14.0-r1.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd toolchain-funcs + +DESCRIPTION="Inspire IRCd - The Stable, High-Performance Modular IRCd" +HOMEPAGE="https://www.inspircd.org/" +SRC_URI=" + https://github.com/inspircd/inspircd/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/clinew/gentoo-distfiles/raw/master/inspircd-${PV}-fix-build-paths.patch.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="debug gnutls ldap maxminddb mbedtls mysql pcre postgres re2 regex-posix regex-stdlib sqlite ssl sslrehashsignal tre" + +RDEPEND=" + acct-group/inspircd + acct-user/inspircd + dev-lang/perl + gnutls? ( net-libs/gnutls:= dev-libs/libgcrypt:0 ) + ldap? ( net-nds/openldap:= ) + maxminddb? ( dev-libs/libmaxminddb:= ) + mbedtls? ( net-libs/mbedtls:= ) + mysql? ( dev-db/mysql-connector-c:= ) + pcre? ( dev-libs/libpcre ) + postgres? ( dev-db/postgresql:= ) + re2? ( dev-libs/re2:= ) + sqlite? ( >=dev-db/sqlite-3.0 ) + ssl? ( dev-libs/openssl:= ) + tre? ( dev-libs/tre )" +DEPEND="${RDEPEND}" + +DOCS=( docs/. .configure/apparmor ) +PATCHES=( "${WORKDIR}"/${P}-fix-build-paths.patch ) + +src_configure() { + local extras="" + + use gnutls && extras+="ssl_gnutls," + use ldap && extras+="ldap," + use maxminddb && extras+="geo_maxmind," + use mbedtls && extras+="ssl_mbedtls," + use mysql && extras+="mysql," + use pcre && extras+="regex_pcre," + use postgres && extras+="pgsql," + use re2 && extras+="regex_re2," + use regex-posix && extras+="regex_posix," + use regex-stdlib && extras+="regex_stdlib," + use sqlite && extras+="sqlite3," + use ssl && extras+="ssl_openssl," + use sslrehashsignal && extras+="sslrehashsignal," + use tre && extras+="regex_tre," + + # The first configuration run enables certain "extra" InspIRCd + # modules, the second run generates the actual makefile. + if [[ -n "${extras}" ]]; then + ./configure --enable-extras=${extras%,} + fi + + local myconf=( + --disable-auto-extras + --disable-ownership + --system + --uid ${PN} + --gid ${PN} + --binary-dir="/usr/bin" + --data-dir="/var/lib/${PN}/data" + --example-dir="/usr/share/doc/${PV}" + --manual-dir="/usr/share/man" + --module-dir="/usr/$(get_libdir)/${PN}/modules") + CXX="$(tc-getCXX)" ./configure "${myconf[@]}" +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" $(usev debug INSPIRCD_DEBUG=2) INSPIRCD_VERBOSE=1 +} + +src_install() { + default + + insinto "/usr/include/${PN}" + doins -r include/. + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + systemd_dounit .configure/inspircd.service + + keepdir "/var/log/${PN}" + insinto "/etc/logrotate.d" + newins .configure/logrotate "${PN}" + + diropts -o"${PN}" -g"${PN}" -m0700 + keepdir "/var/lib/${PN}/data" + + rmdir "${ED}"/run{/inspircd,} || die +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + # This is a new installation + elog "You will find example configuration files under " + elog "/usr/share/doc/${PN}" + elog "Read the ${PN}.conf.example file carefully before " + elog "starting the service." + fi +} diff --git a/net-irc/inspircd/inspircd-3.14.0.ebuild b/net-irc/inspircd/inspircd-3.14.0.ebuild deleted file mode 100644 index 09344ff0054e..000000000000 --- a/net-irc/inspircd/inspircd-3.14.0.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit systemd toolchain-funcs - -DESCRIPTION="Inspire IRCd - The Stable, High-Performance Modular IRCd" -HOMEPAGE="https://www.inspircd.org/" -SRC_URI=" - https://github.com/inspircd/inspircd/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/clinew/gentoo-distfiles/raw/master/inspircd-${PV}-fix-build-paths.patch.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="debug gnutls ldap maxminddb mbedtls mysql pcre postgres re2 regex-posix regex-stdlib sqlite ssl sslrehashsignal tre" - -RDEPEND=" - acct-group/inspircd - acct-user/inspircd - dev-lang/perl - gnutls? ( net-libs/gnutls:= dev-libs/libgcrypt:0 ) - ldap? ( net-nds/openldap:= ) - maxminddb? ( dev-libs/libmaxminddb:= ) - mbedtls? ( net-libs/mbedtls:= ) - mysql? ( dev-db/mysql-connector-c:= ) - pcre? ( dev-libs/libpcre ) - postgres? ( dev-db/postgresql:= ) - re2? ( dev-libs/re2:= ) - sqlite? ( >=dev-db/sqlite-3.0 ) - ssl? ( dev-libs/openssl:= ) - tre? ( dev-libs/tre )" -DEPEND="${RDEPEND}" - -DOCS=( docs/. .configure/apparmor ) -PATCHES=( "${WORKDIR}"/${P}-fix-build-paths.patch ) - -src_configure() { - local extras="" - - use gnutls && extras+="ssl_gnutls," - use ldap && extras+="ldap," - use maxminddb && extras+="geo_maxmind," - use mbedtls && extras+="ssl_mbedtls," - use mysql && extras+="mysql," - use pcre && extras+="regex_pcre," - use postgres && extras+="pgsql," - use re2 && extras+="regex_re2," - use regex-posix && extras+="regex_posix," - use regex-stdlib && extras+="regex_stdlib," - use sqlite && extras+="sqlite3," - use ssl && extras+="ssl_openssl," - use sslrehashsignal && extras+="sslrehashsignal," - use tre && extras+="regex_tre," - - # The first configuration run enables certain "extra" InspIRCd - # modules, the second run generates the actual makefile. - if [[ -n "${extras}" ]]; then - ./configure --enable-extras=${extras%,} - fi - - local myconf=( - --disable-auto-extras - --disable-ownership - --system - --binary-dir="/usr/bin" - --data-dir="/var/lib/${PN}/data" - --example-dir="/usr/share/doc/${PV}" - --manual-dir="/usr/share/man" - --module-dir="/usr/$(get_libdir)/${PN}/modules") - CXX="$(tc-getCXX)" ./configure "${myconf[@]}" -} - -src_compile() { - emake LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" $(usev debug INSPIRCD_DEBUG=2) INSPIRCD_VERBOSE=1 -} - -src_install() { - default - - insinto "/usr/include/${PN}" - doins -r include/. - - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - systemd_dounit .configure/inspircd.service - - keepdir "/var/log/${PN}" - insinto "/etc/logrotate.d" - newins .configure/logrotate "${PN}" - - diropts -o"${PN}" -g"${PN}" -m0700 - keepdir "/var/lib/${PN}/data" - - rmdir "${ED}"/run{/inspircd,} || die -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - # This is a new installation - elog "You will find example configuration files under " - elog "/usr/share/doc/${PN}" - elog "Read the ${PN}.conf.example file carefully before " - elog "starting the service." - fi -} -- cgit v1.2.3