diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-31 03:04:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-31 03:04:18 +0000 |
commit | b846e1a1ef5685462a20abbc77cf57ead9064b85 (patch) | |
tree | ebf4581a96d87fbd1b7ab6cce8689ba4caa40e3b /net-irc | |
parent | fb57e01054259b1160d01c3c7ed9efab7902ed7d (diff) |
gentoo auto-resync : 31:10:2024 - 03:04:18
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/Manifest.gz | bin | 8065 -> 8070 bytes | |||
-rw-r--r-- | net-irc/soju/Manifest | 6 | ||||
-rw-r--r-- | net-irc/soju/files/soju.tmpfiles | 1 | ||||
-rw-r--r-- | net-irc/soju/soju-0.8.0.ebuild | 74 | ||||
-rw-r--r-- | net-irc/soju/soju-0.8.2-r1.ebuild (renamed from net-irc/soju/soju-0.8.2.ebuild) | 7 |
5 files changed, 9 insertions, 79 deletions
diff --git a/net-irc/Manifest.gz b/net-irc/Manifest.gz Binary files differindex 3c464b82c476..95d50e3d1205 100644 --- a/net-irc/Manifest.gz +++ b/net-irc/Manifest.gz diff --git a/net-irc/soju/Manifest b/net-irc/soju/Manifest index cb8d1da7bd31..204c03953290 100644 --- a/net-irc/soju/Manifest +++ b/net-irc/soju/Manifest @@ -1,8 +1,6 @@ AUX soju.initd 574 BLAKE2B 4f80e6b9e5bb004477be832e5b9123cd0b68c1432434aa142a0c083300e778f414207951949e58e08fb061fc49d8e03adc91979b4b74d1bf46012ad8fc1e6678 SHA512 abb615ea1b406bc1c9a4dc3712740be9b95945bdff2ddb6200551b540b426befe3d3a6b4d5b42a796c6282edc2b692adf2ede4d259822de6611685122693bcdc -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 +AUX soju.tmpfiles 27 BLAKE2B 94da244560b4c8878e97d0cd56e6267a333ab828f3ceb1f8cd38ad8ada03b87d17b5e201d0f262b3fe6479ffb249384567145baaf4be36a8490ec9a9d36cf69f SHA512 5480cd37eb5749df21111f1caabb72cbbfe7d8f12038b261a9b11161112df73461e4a4c28004805d742de037307e806f1e37b3c23cb947f6390ae6aa6e090e98 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 -EBUILD soju-0.8.2.ebuild 1968 BLAKE2B a28a8a2a8c0bbcd62997117e718b6abd0d385ff52e662e586f7959c4be7bf6b1f11cc6c5e877a81c4360ef7b09df03e8b933fa3f401615712550237bad25b178 SHA512 3e73a575b213ba9881f57e8a545c0c3d7d5a4760f4afc527994f949da67540fefd15c9d066cf7f179948b371751a977fd588f1a5963d56af9c9e84c250372e6f +EBUILD soju-0.8.2-r1.ebuild 2059 BLAKE2B e9f262413869f7b5754280d4f301bf8d2d0d52f5ca1e6531b2b68261c570c4d977914382d57ff9d293d11339079c7f8dd6a5fe133701cb30cbd1ee66717332fa SHA512 6af7b33f42ccb9cb065b9b83cc2ad28c0538b25ee5dddb811e4dda001c434fb291403ae28ab9ecb350c0b6e4c11831284fd486cc8e9e4d89606ea02b6c62bc9a MISC metadata.xml 747 BLAKE2B 509bd7293fc26caab55e6f6de6724e8c2184ff4ed37a2c3c33abd654bbfac64ea863300305b4f6fca42cd9a938346397d71d4da2dd65fa84c64d743f93353088 SHA512 beb6d76c07239db50d79e87d56a8850fec08722d43cadc6721d89916945e2da7b0bdaa866ae6b26509bab892edcfb6f528e2f9369530ee1219c2aac9d2140f99 diff --git a/net-irc/soju/files/soju.tmpfiles b/net-irc/soju/files/soju.tmpfiles new file mode 100644 index 000000000000..6280a148121c --- /dev/null +++ b/net-irc/soju/files/soju.tmpfiles @@ -0,0 +1 @@ +d /run/soju 0750 soju soju diff --git a/net-irc/soju/soju-0.8.0.ebuild b/net-irc/soju/soju-0.8.0.ebuild deleted file mode 100644 index 43d0b770ae70..000000000000 --- a/net-irc/soju/soju-0.8.0.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.scd >doc/soju.1 || die - scdoc <doc/sojuctl.1.scd >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 <username> [-admin]" -} diff --git a/net-irc/soju/soju-0.8.2.ebuild b/net-irc/soju/soju-0.8.2-r1.ebuild index f92c219dc9f1..0d8a5761bc01 100644 --- a/net-irc/soju/soju-0.8.2.ebuild +++ b/net-irc/soju/soju-0.8.2-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit go-module systemd +inherit go-module systemd tmpfiles DESCRIPTION="soju is a user-friendly IRC bouncer" HOMEPAGE="https://soju.im/" @@ -61,6 +61,9 @@ src_install() { doman doc/soju.1 doman doc/sojuctl.1 systemd_dounit contrib/soju.service + + newtmpfiles "${FILESDIR}/soju.tmpfiles" soju.conf + keepdir /etc/soju insinto /etc/soju newins config.in config @@ -69,6 +72,8 @@ src_install() { } pkg_postinst() { + tmpfiles_process soju.conf + 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 <username> [-admin]" |