From 8bf02d8edf7e8947a205e2dca77bee4c4e31739b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Sep 2024 12:28:43 +0100 Subject: gentoo auto-resync : 06:09:2024 - 12:28:42 --- net-irc/soju/Manifest | 8 ++--- net-irc/soju/metadata.xml | 1 + net-irc/soju/soju-0.7.0-r1.ebuild | 74 -------------------------------------- net-irc/soju/soju-0.8.2.ebuild | 75 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 80 insertions(+), 78 deletions(-) delete mode 100644 net-irc/soju/soju-0.7.0-r1.ebuild create mode 100644 net-irc/soju/soju-0.8.2.ebuild (limited to 'net-irc/soju') diff --git a/net-irc/soju/Manifest b/net-irc/soju/Manifest index c2e4fb136315..cb8d1da7bd31 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.7.0-deps.tar.xz 89862684 BLAKE2B d56302c5b330c581365da56f1718571144ac0475fa5879a839e723d2d13aa6cb9793a8f64418098aa0035421192eb2ae955603330ea3be6116db057d5fef3b1a SHA512 08fb5f2e75508840b76fb5f3479023eb735abc128cef0a621a3bafbc8d1dde504cf78812cb4e7921d7aaaafc40595ca592ce0b8aaf21c388fd781b52b5d266d2 -DIST soju-0.7.0.tar.gz 149198 BLAKE2B 2047b61792454f20a7cc4c24466047ffa43f5d56a1726b32f5120686d5fecd1f81d057adafc8696e2d85e922e37ae6f158808c0b35529ca2cb7018ecbec0d381 SHA512 9b199c5e3270e325cb6e101b0e7b5c70af75c831442a135fa0484bd2aef3ada98ab48261cd91342d278bfbbbbb626c2c83eeec8029388a8fe9663515e676ba43 DIST soju-0.8.0-deps.tar.xz 79434480 BLAKE2B 4cb3bbcd7d4c0fc610dffc585291fe07981c0d5d08e81fe800c6a08f3655eb999e097e17fe59342b896091a8e5640782f65bba351b94948ff9ed0f548fe6280c SHA512 a1f82740e673ed95cde2917d5dad53645b8cfcdefd673f44cd5b0573238c39a17355ea27e55572bb03625529202be50bf00f4bb57322ffa8857409cb1b190872 DIST soju-0.8.0.tar.gz 154571 BLAKE2B 737fc3e44ea04b42c6a5029db0c6c65a03c22dd30c26196439c97abe2ee9f1379b9cd49ef2cf15e25a911c0d05af1f17fcfea585c85278e081e4f3b7d9d55342 SHA512 22fb0815704b70dd302d75c4a00d80ac22cd622175066e7365277ef7d5a531537aa308b53703d15651a5ae841e2a02a3d7f19165c847078c5a0ae3c40d750738 -EBUILD soju-0.7.0-r1.ebuild 1942 BLAKE2B 264abd792d19c3d7993dcaa72c8759715cdf0cab41c9679bbecd21fb0df5a1c65d25c5e7c13d9d21c25bd9e538fd51ee26b73ba5a1df294b0b270939cd48d9ec SHA512 56a55d281b45aac6cb53cbfa021437a7093680f745b2c5241dab9e15319809656f054df938d033badb9510f0feb31344cb3c683fcda19751a6ccf2712be1be0b +DIST soju-0.8.2-deps.tar.xz 72699036 BLAKE2B 5abfa3d683a0f06be7361bfeec751b6f4892fde51f1d9216cca163eac125e72f68a8116279b16b8ce6f5076293b7ad67b6098f887ac3cea3f099f2b27643ed48 SHA512 64fa60a90a33021661f51f2f6456bf8f2e8d01282143ad41b966ade105e6b4f2310f83f81f45bcea6baa2f76857e549f1548844ec1c3f17c1f1e0615523ef813 +DIST soju-0.8.2.tar.gz 155059 BLAKE2B 17f220440c8135abeb570808d7a4cb5cdb6993c076ffe9eb2fa0bb0e8487f9b29831049b2702692cc0903277399603dbe8e0ad27ed6356b932c29979a6eeddef SHA512 7e5bc27394223c021ce6e1b9d93b617ade5bd803f37e030ea05e079efdf343ff0128753803a2e1c86ca2c83786bdaf21600cb6457b4404dd0cf2ff0e5646c62b EBUILD soju-0.8.0.ebuild 1942 BLAKE2B 264abd792d19c3d7993dcaa72c8759715cdf0cab41c9679bbecd21fb0df5a1c65d25c5e7c13d9d21c25bd9e538fd51ee26b73ba5a1df294b0b270939cd48d9ec SHA512 56a55d281b45aac6cb53cbfa021437a7093680f745b2c5241dab9e15319809656f054df938d033badb9510f0feb31344cb3c683fcda19751a6ccf2712be1be0b -MISC metadata.xml 688 BLAKE2B 1543e2b0035fc2b07e94b10178ca6a7e31d47b302d8b9aa2eb63a77605c395c754ede320566f038620dc892ef500ca3928942ccd714d6242eda75c7523998075 SHA512 a23f2bdc7d9eb129f237120a417bd218005781f59d8a1e6704798a126e17daef18b0664a457717136857bd4011e4b0b407e67970cc7119f021f50486da1f7457 +EBUILD soju-0.8.2.ebuild 1968 BLAKE2B a28a8a2a8c0bbcd62997117e718b6abd0d385ff52e662e586f7959c4be7bf6b1f11cc6c5e877a81c4360ef7b09df03e8b933fa3f401615712550237bad25b178 SHA512 3e73a575b213ba9881f57e8a545c0c3d7d5a4760f4afc527994f949da67540fefd15c9d066cf7f179948b371751a977fd588f1a5963d56af9c9e84c250372e6f +MISC metadata.xml 747 BLAKE2B 509bd7293fc26caab55e6f6de6724e8c2184ff4ed37a2c3c33abd654bbfac64ea863300305b4f6fca42cd9a938346397d71d4da2dd65fa84c64d743f93353088 SHA512 beb6d76c07239db50d79e87d56a8850fec08722d43cadc6721d89916945e2da7b0bdaa866ae6b26509bab892edcfb6f528e2f9369530ee1219c2aac9d2140f99 diff --git a/net-irc/soju/metadata.xml b/net-irc/soju/metadata.xml index e5c26b9d7f79..408b34bb938d 100644 --- a/net-irc/soju/metadata.xml +++ b/net-irc/soju/metadata.xml @@ -10,6 +10,7 @@ Proxy Maintainers + emersion/soju ~emersion/soju alfredfo/soju-deps diff --git a/net-irc/soju/soju-0.7.0-r1.ebuild b/net-irc/soju/soju-0.7.0-r1.ebuild deleted file mode 100644 index 43d0b770ae70..000000000000 --- a/net-irc/soju/soju-0.7.0-r1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 2022-2024 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 - scdoc doc/sojuctl.1 || die -} - -src_install() { - dobin soju - dobin sojudb - dobin sojuctl - - doman doc/soju.1 - doman doc/sojuctl.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.8.2.ebuild b/net-irc/soju/soju-0.8.2.ebuild new file mode 100644 index 000000000000..f92c219dc9f1 --- /dev/null +++ b/net-irc/soju/soju-0.8.2.ebuild @@ -0,0 +1,75 @@ +# Copyright 2022-2024 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://codeberg.org/emersion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://github.com/alfredfo/${PN}-deps/raw/master/${P}-deps.tar.xz" +S="${WORKDIR}/soju" + +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 + scdoc doc/sojuctl.1 || die +} + +src_install() { + dobin soju + dobin sojudb + dobin sojuctl + + doman doc/soju.1 + doman doc/sojuctl.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