From 39cf9c5c49469d4a3168620ab74b1648c87e205e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 8 Dec 2023 17:08:32 +0000 Subject: gentoo auto-resync : 08:12:2023 - 17:08:32 --- net-irc/soju/Manifest | 8 ++--- net-irc/soju/soju-0.6.1.ebuild | 63 ------------------------------------ net-irc/soju/soju-0.6.2.ebuild | 2 +- net-irc/soju/soju-0.7.0.ebuild | 72 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+), 68 deletions(-) delete mode 100644 net-irc/soju/soju-0.6.1.ebuild create mode 100644 net-irc/soju/soju-0.7.0.ebuild (limited to 'net-irc/soju') diff --git a/net-irc/soju/Manifest b/net-irc/soju/Manifest index 6b5e49e1465d..42c1b66a1808 100644 --- a/net-irc/soju/Manifest +++ b/net-irc/soju/Manifest @@ -1,8 +1,8 @@ AUX soju.initd 574 BLAKE2B 4f80e6b9e5bb004477be832e5b9123cd0b68c1432434aa142a0c083300e778f414207951949e58e08fb061fc49d8e03adc91979b4b74d1bf46012ad8fc1e6678 SHA512 abb615ea1b406bc1c9a4dc3712740be9b95945bdff2ddb6200551b540b426befe3d3a6b4d5b42a796c6282edc2b692adf2ede4d259822de6611685122693bcdc -DIST soju-0.6.1-deps.tar.xz 147239188 BLAKE2B c76cce444d78f6e1efa92835211af6b3e955f1960103e9b62e8a46f69015ba269ec3142822f726c67ab2d695d44395e7029991b5e229ca46a66d61144b345e3b SHA512 c02cc46c22cc396f7ee56a94376674ec0cc543e7105278c4649ae8d0a0df9d73bbdb0d94add0b402be02fb37511b60a2f03aeebbfe9382928e2bb99221da345d -DIST soju-0.6.1.tar.gz 161536 BLAKE2B 3e61f13a2f711c9a1a280c158113fd75da53525c32cf8d04cf5459f25e55286e090fbf64c844e19bdf60780a9db37ee45976714500b12e92023330a426706c23 SHA512 12c939a050bf7276ee9e8fec05285533907a2787530ebe113a6be012cbfbcaac3c5cb5c42c3791618136cd45df6c9fb5739bcbec068650bf0d7ea2995443c0bf DIST soju-0.6.2-deps.tar.xz 146973828 BLAKE2B 170660a36635859327f7f4f5a03e2fe7feb31e113191dfffeae28a3d5e247454556a76da86743a69c43b4dee8749b117cfcfc231cccf9362efb2b20196f4d023 SHA512 57c4156c781bcb3ea76ec1f1174923d08b95b7c15e6f3b933ab150c64a94f80972dd53020737568a3507a4de2f20b87c2c615be8247c9222bf21a87b42b2ca43 DIST soju-0.6.2.tar.gz 161636 BLAKE2B c4d05d924b921b5d7ba9a61f0d3f269d6ed1a6ba9935a29b694dbc2a6193d0ff633e7c60e1f182b5dfc5aaeb93e4dfb9c98ee46035fdffe13facc8e9bc236171 SHA512 fb74a3eb732b30f2cc0be2c4ada531e160442e6d9b725672784f0b4e4865c2a52970a086f04255d2213305b4a7d041d6a669201aec365216c6bb7764d2b3b769 -EBUILD soju-0.6.1.ebuild 1459 BLAKE2B 86dfb64b2941c4457588fecf1b3c640522dda733980070e35a21f46232c62f3fc34354ac69383188ceee5a1b5bd8e4bd64409956887a379a33a961ee74572d17 SHA512 9d203121ff83cf8f2eab5b7846129d82b99bcca46964425f4b7140e21cbd7d2c900093648d4df802c5368d84741a3e1c768346a1fda339cec45e79e3f6b803ab -EBUILD soju-0.6.2.ebuild 1886 BLAKE2B 5cbc02a755f65d5bdf3bc65e4d37013fff651f81d25b97600ec9fa154c4bb92e23e8aa96d63b7f5d78a2f21ae4c450b82c883905fa9795bae57e27dae8eeead2 SHA512 7aa1d40f52af774d3b9d7450ffb3ac2347adbd47261b819633ce797a47e4fa664a20e072ec2fc40e6ade75075a63c0cfde93e1c12353dc724ebbf6d733a04ec8 +DIST soju-0.7.0-deps.tar.xz 89862684 BLAKE2B d56302c5b330c581365da56f1718571144ac0475fa5879a839e723d2d13aa6cb9793a8f64418098aa0035421192eb2ae955603330ea3be6116db057d5fef3b1a SHA512 08fb5f2e75508840b76fb5f3479023eb735abc128cef0a621a3bafbc8d1dde504cf78812cb4e7921d7aaaafc40595ca592ce0b8aaf21c388fd781b52b5d266d2 +DIST soju-0.7.0.tar.gz 149198 BLAKE2B 2047b61792454f20a7cc4c24466047ffa43f5d56a1726b32f5120686d5fecd1f81d057adafc8696e2d85e922e37ae6f158808c0b35529ca2cb7018ecbec0d381 SHA512 9b199c5e3270e325cb6e101b0e7b5c70af75c831442a135fa0484bd2aef3ada98ab48261cd91342d278bfbbbbb626c2c83eeec8029388a8fe9663515e676ba43 +EBUILD soju-0.6.2.ebuild 1873 BLAKE2B 3c8eee716412f8566449a9d865b8bbb4b64af0a01dbcf484021d45deac56556f7b0ece0639d3fa665f47c299f214f0ad9554287c9af35090a7d70d0d01fcb104 SHA512 cf22df562ef458c9264cbb49e9b88d715ac8e695d4eca9e483da11378652b94d3d02656827754b46857528121575e0249a70c4c09bd4cb8aeff3aa739db479e4 +EBUILD soju-0.7.0.ebuild 1873 BLAKE2B 3c8eee716412f8566449a9d865b8bbb4b64af0a01dbcf484021d45deac56556f7b0ece0639d3fa665f47c299f214f0ad9554287c9af35090a7d70d0d01fcb104 SHA512 cf22df562ef458c9264cbb49e9b88d715ac8e695d4eca9e483da11378652b94d3d02656827754b46857528121575e0249a70c4c09bd4cb8aeff3aa739db479e4 MISC metadata.xml 626 BLAKE2B 74d9ed6f3cd4b712587aa8824b562b4e26da2403a5f27e338296e514721187143790b027cb229dd8712c999bbb0fc9130207b0a419bd3bdd3062e2f4594767af SHA512 37c75e5842ce0582407266c5778dd8cc30bc6f028802a0d70cf793a7ca0d4a32d6a0c734fa89643b1c582162e0691ac20c231d636b8e7cca0911e9bc1b27eaab diff --git a/net-irc/soju/soju-0.6.1.ebuild b/net-irc/soju/soju-0.6.1.ebuild deleted file mode 100644 index f71ea46cb2d7..000000000000 --- a/net-irc/soju/soju-0.6.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -inherit go-module systemd - -DESCRIPTION="soju is a user-friendly IRC bouncer" -HOMEPAGE="https://soju.im/" -SRC_URI="https://git.sr.ht/~emersion/${PN}/refs/download/v${PV}/${P}.tar.gz" -SRC_URI+=" https://github.com/alfredfo/${PN}-deps/raw/master/${P}-deps.tar.xz" - -LICENSE="AGPL-3 Apache-2.0 MIT BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" -IUSE="moderncsqlite +sqlite pam" -REQUIRED_USE="?? ( moderncsqlite sqlite )" - -BDEPEND=" - app-text/scdoc -" -RDEPEND=" - acct-user/soju - acct-group/soju - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND}" - -src_compile() { - if use sqlite; then - GOFLAGS+=" -tags=libsqlite3" - elif use moderncsqlite; then - GOFLAGS+=" -tags=moderncsqlite" - else - GOFLAGS+=" -tags=nosqlite" - fi - use pam && GOFLAGS+=" -tags=pam" - - ego build ${GOFLAGS} ./cmd/soju - ego build ${GOFLAGS} ./cmd/sojudb - ego build ${GOFLAGS} ./cmd/sojuctl - - scdoc doc/soju.1 || die -} - -src_install() { - dobin soju - dobin sojudb - dobin sojuctl - - doman doc/soju.1 - systemd_dounit contrib/soju.service - keepdir /etc/soju - insinto /etc/soju - newins config.in config - newinitd "${FILESDIR}"/soju.initd soju - einstalldocs -} - -pkg_postinst() { - elog "${PN} requires a user database for authenticating clients." - elog "As the soju user, create a database using:" - elog "$ sojudb -config ${EROOT}/etc/soju/config create-user [-admin]" -} diff --git a/net-irc/soju/soju-0.6.2.ebuild b/net-irc/soju/soju-0.6.2.ebuild index 2768e43d3193..266c4335c650 100644 --- a/net-irc/soju/soju-0.6.2.ebuild +++ b/net-irc/soju/soju-0.6.2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit flag-o-matic go-module systemd +inherit go-module systemd DESCRIPTION="soju is a user-friendly IRC bouncer" HOMEPAGE="https://soju.im/" diff --git a/net-irc/soju/soju-0.7.0.ebuild b/net-irc/soju/soju-0.7.0.ebuild new file mode 100644 index 000000000000..266c4335c650 --- /dev/null +++ b/net-irc/soju/soju-0.7.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="soju is a user-friendly IRC bouncer" +HOMEPAGE="https://soju.im/" +SRC_URI="https://git.sr.ht/~emersion/${PN}/refs/download/v${PV}/${P}.tar.gz" +SRC_URI+=" https://github.com/alfredfo/${PN}-deps/raw/master/${P}-deps.tar.xz" + +LICENSE="AGPL-3 Apache-2.0 MIT BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv" +IUSE="moderncsqlite +sqlite pam" +REQUIRED_USE="?? ( moderncsqlite sqlite )" + +BDEPEND=" + app-text/scdoc +" +RDEPEND=" + acct-user/soju + acct-group/soju + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND="${RDEPEND}" + +src_compile() { + # musl removed legacy LFS64 interfaces in version 1.2.4 temporarily + # reenabled using _LARGEFILE64_SOURCE until this is resolved + # upstream https://github.com/mattn/go-sqlite3/issues/1164 + CGO_CFLAGS="${CGO_CFLAGS}" + if use sqlite; then + GOFLAGS+=" -tags=libsqlite3" + CGO_CFLAGS="-D_LARGEFILE64_SOURCE" + elif use moderncsqlite; then + GOFLAGS+=" -tags=moderncsqlite" + CGO_CFLAGS="-D_LARGEFILE64_SOURCE" + else + GOFLAGS+=" -tags=nosqlite" + fi + # Only way to pass CFLAGS to CGO at the + # moment. https://github.com/gentoo/gentoo/pull/33539/ + export CGO_CFLAGS + use pam && GOFLAGS+=" -tags=pam" + + ego build ${GOFLAGS} ./cmd/soju + ego build ${GOFLAGS} ./cmd/sojudb + ego build ${GOFLAGS} ./cmd/sojuctl + + scdoc doc/soju.1 || die +} + +src_install() { + dobin soju + dobin sojudb + dobin sojuctl + + doman doc/soju.1 + systemd_dounit contrib/soju.service + keepdir /etc/soju + insinto /etc/soju + newins config.in config + newinitd "${FILESDIR}"/soju.initd soju + einstalldocs +} + +pkg_postinst() { + elog "${PN} requires a user database for authenticating clients." + elog "As the soju user, create a database using:" + elog "$ sojudb -config ${EROOT}/etc/soju/config create-user [-admin]" +} -- cgit v1.2.3