From f2d725d8796fae5fda50f84abcafccfbb16f3c3a Mon Sep 17 00:00:00 2001 From: Stefan Knoblich Date: Sat, 15 Apr 2023 18:17:32 +0200 Subject: [PATCH] gotosocial-bin: Bump to 0.8.0 Signed-off-by: Stefan Knoblich --- www-apps/gotosocial-bin/Manifest | 2 + .../gotosocial-bin-0.8.0.ebuild | 47 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 www-apps/gotosocial-bin/gotosocial-bin-0.8.0.ebuild diff --git a/www-apps/gotosocial-bin/Manifest b/www-apps/gotosocial-bin/Manifest index 220eadf..4238760 100644 --- a/www-apps/gotosocial-bin/Manifest +++ b/www-apps/gotosocial-bin/Manifest @@ -4,6 +4,8 @@ AUX gotosocial.service 368 BLAKE2B c1876066b64632dbd861b7c594507a6928ecbd3c9d58b DIST gotosocial-bin-0.6.0-linux-amd64.tar.gz 17550206 BLAKE2B 4026d70eb1af19bad87c642e36296657467337f42c9b73ca661d8dcc1a3b212c4b6b7df4386606283a370558af3355c50d18cdcd6dfc46ebe27a9989ad19073a SHA512 aa3771451ea4ae1b24039bb5a258493f3840ce4ee24fd07eb0fe1765fc622c352afbdaf9f0f5c3d1436b39ffbcc2e598199ab9d23e1c93625e3ee43ec0bdf3c6 DIST gotosocial-bin-0.7.0-linux-amd64.tar.gz 18523467 BLAKE2B 13c75734e183ab1b16a7c8ce2a3409e991c4dc9d7c92e9bd4a6943e11ad83c802bb847406d3de1551875eec41f0afdb5b754f5b86972eb2c19e43b27b74fd9c8 SHA512 951132a9c534d39e1ca241bd3c5378f16393ba5d486cebba64af33cd6f741b913c3295efd9f682e3d7dda549f15f9fe8946d6f4e7dbe8b6021958d20755a377d DIST gotosocial-bin-0.7.1-linux-amd64.tar.gz 18556574 BLAKE2B cb5af863be134671468e77dcdd5dccc6a11c26e20c5427a0eb1248cffa205a22883f92cbeb1f54a3d1b1fdc344a3124317d8d23d34ba929bf1afccc0b3b33958 SHA512 6c7ae0f6b45c113345c264bbd152b4f5999de6ade99ad4ec9267b7135f53129b8bdc07996016716b4f67b8eebcb5dfa49eb6f7311324dfd6ed92412955c82b8a +DIST gotosocial-bin-0.8.0-linux-amd64.tar.gz 18860933 BLAKE2B 990f722ae6497fb8322a2b5470188c9dcb9dfce2cd987907c8c3effc983a7d73ce9e5371dd5c42947fd6bd984efceff79d7211d001ed91a157647deb21f8c586 SHA512 dc2765fb793ab36695d40e72c8afec5861b3bb573f3c1c7b7b4bfb8589b4f09dfff4bf9a041bf56a352d4209be0f7540f6b6e2ce851b986c8854230d63e1322a EBUILD gotosocial-bin-0.6.0.ebuild 1020 BLAKE2B a6bf977184e398023b49ef6395112fc60dcf951d3eca26369ea51a7424aed33492807cdfa3f92b299694a596fa93020403f24ae8e238555700c5164d6b9b188a SHA512 e9a41590362bfa4552d8c0129bf2efee0076e28fe87a62cd657b94ca7b68934aa0e0a5dc0e687ec45c7ce0a8ab74b0b2e9571dfed63de95ad4dfdf1bff0d0a17 EBUILD gotosocial-bin-0.7.0.ebuild 1020 BLAKE2B a6bf977184e398023b49ef6395112fc60dcf951d3eca26369ea51a7424aed33492807cdfa3f92b299694a596fa93020403f24ae8e238555700c5164d6b9b188a SHA512 e9a41590362bfa4552d8c0129bf2efee0076e28fe87a62cd657b94ca7b68934aa0e0a5dc0e687ec45c7ce0a8ab74b0b2e9571dfed63de95ad4dfdf1bff0d0a17 EBUILD gotosocial-bin-0.7.1.ebuild 1020 BLAKE2B a6bf977184e398023b49ef6395112fc60dcf951d3eca26369ea51a7424aed33492807cdfa3f92b299694a596fa93020403f24ae8e238555700c5164d6b9b188a SHA512 e9a41590362bfa4552d8c0129bf2efee0076e28fe87a62cd657b94ca7b68934aa0e0a5dc0e687ec45c7ce0a8ab74b0b2e9571dfed63de95ad4dfdf1bff0d0a17 +EBUILD gotosocial-bin-0.8.0.ebuild 1020 BLAKE2B a6bf977184e398023b49ef6395112fc60dcf951d3eca26369ea51a7424aed33492807cdfa3f92b299694a596fa93020403f24ae8e238555700c5164d6b9b188a SHA512 e9a41590362bfa4552d8c0129bf2efee0076e28fe87a62cd657b94ca7b68934aa0e0a5dc0e687ec45c7ce0a8ab74b0b2e9571dfed63de95ad4dfdf1bff0d0a17 diff --git a/www-apps/gotosocial-bin/gotosocial-bin-0.8.0.ebuild b/www-apps/gotosocial-bin/gotosocial-bin-0.8.0.ebuild new file mode 100644 index 0000000..d38c12a --- /dev/null +++ b/www-apps/gotosocial-bin/gotosocial-bin-0.8.0.ebuild @@ -0,0 +1,47 @@ + +EAPI="7" + +inherit systemd + +MY_PN="gotosocial" +MY_PV="${PV/_/-}" + +DESCRIPTION="Single Sign-On Multi-Factor portal for web apps" +HOMEPAGE="https://github.com/superseriousbusiness/gotosocial" +SRC_URI="https://github.com/superseriousbusiness/gotosocial/releases/download/v${MY_PV}/${MY_PN}_${MY_PV}_linux_amd64.tar.gz -> ${P}-linux-amd64.tar.gz" + +SLOT="0" +LICENSE="AGPL-3" +KEYWORDS="amd64" +S="${WORKDIR}" + +QA_PRESTRIPPED="usr/bin/gotosocial" + +DEPEND=" + acct-group/gotosocial + acct-user/gotosocial +" + +src_install() { + dobin gotosocial + + newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN} + newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN} + + systemd_dounit "${FILESDIR}/${MY_PN}.service" + + diropts -m 0750 -o ${MY_PN} -g ${MY_PN} + dodir /etc/${MY_PN} + dodir /etc/${MY_PN}/keys.d + dodir /etc/${MY_PN}/certs.d + keepdir /etc/${MY_PN}/keys.d + keepdir /etc/${MY_PN}/certs.d + keepdir /var/lib/${MY_PN} + keepdir /var/log/${MY_PN} + + insinto /etc/${MY_PN} + doins example/config.yaml + + insinto /var/lib/${MY_PN} + doins -r web +}