From 3c5998fa4b6b7488d28ea2fddbcbba3d5497df57 Mon Sep 17 00:00:00 2001 From: Stefan Knoblich Date: Fri, 11 Nov 2022 16:28:16 +0100 Subject: [PATCH] gotosocial-bin: Add 0.6.0-rc1 Signed-off-by: Stefan Knoblich --- www-apps/gotosocial-bin/Manifest | 2 + .../gotosocial-bin-0.6.0_rc1.ebuild | 47 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 www-apps/gotosocial-bin/gotosocial-bin-0.6.0_rc1.ebuild diff --git a/www-apps/gotosocial-bin/Manifest b/www-apps/gotosocial-bin/Manifest index bd30d69..d3d8718 100644 --- a/www-apps/gotosocial-bin/Manifest +++ b/www-apps/gotosocial-bin/Manifest @@ -2,4 +2,6 @@ AUX gotosocial.confd 0 BLAKE2B 786a02f742015903c6c6fd852552d272912f4740e15847618 AUX gotosocial.initd 942 BLAKE2B 420d6253405088d34356704a641a5a2d7c58529b727811e8ca87bbe76f152be9a8e965596596c2ab6eb8ece3974022b4613c5f60b34a0907ead2dd634d28168e SHA512 707f859711c4ce441defaefb85852b002f722642c1df07b9aa0dff5e364c55b412d014dcd968fe5966100a89cb4ea6008d1d32098b9f9e79c4c33438a05f79ac AUX gotosocial.service 368 BLAKE2B c1876066b64632dbd861b7c594507a6928ecbd3c9d58b4d6bedd7671bb7ed979a59b30469a4f673caa1c630a242e9aeef57207969a31aff9d66040968322fda4 SHA512 cf8a66a75e5eedecf2375a4036885467b623e11dbb3ad2f2d08bb7ecf9a41d9fedb61f43e7ff6e0e31e5fe5accf8b361d3f2ce72f3e1787d3f9867749cac9555 DIST gotosocial-bin-0.5.2-linux-amd64.tar.gz 17118609 BLAKE2B 3722348ef486bb7b88b7a3bc9a05e6cc37840a68745248d8671ce44ab15faa6af76e8cae46f92931c27fb605d59a26b1e39889ceccb23dfb00d10be723bdbbf3 SHA512 c376101342e1d640a830d2514c5f0166bf22fb2192d64ad087dac3afb2ec5635ebf5ceb820e84d832e904417c242fdf7990a8bf2a5d6ee5689b1141a592e739b +DIST gotosocial-bin-0.6.0_rc1-linux-amd64.tar.gz 17538897 BLAKE2B 2b3d4ef03f5bba4ab9cf7be85c54254491fd7b92ada4b70464cffa8d2172f1b87ee592ed51f971ba6e05b2f244282ec69df9f379b4168833bec857e8f69554ee SHA512 7ad319f122f17ef40502710b38ee2f73f94e063398640245ce081a1cdf946c845d41f5cc0b6b6eeaf717cde6a614a907da85b1c68d155f6a5a03b16d9cbff2bd EBUILD gotosocial-bin-0.5.2.ebuild 995 BLAKE2B 7fcd37936c3bca14886497daf5c6f1ccba62a797aa16aa383bc41996f95715d30453d32203ed2cbd0df426e19b3b58df0d3d0b0ce344dd4ba15e14bffa58f1a2 SHA512 a87334dfb7f1d9ce4c2ddd493ec1091d2e832c81aa5499a65b8a480bb49a530e4fc3783b28c2e33feb66c71985351efe32da346a44eb413d33ef6f2c8bc37ed6 +EBUILD gotosocial-bin-0.6.0_rc1.ebuild 1020 BLAKE2B a6bf977184e398023b49ef6395112fc60dcf951d3eca26369ea51a7424aed33492807cdfa3f92b299694a596fa93020403f24ae8e238555700c5164d6b9b188a SHA512 e9a41590362bfa4552d8c0129bf2efee0076e28fe87a62cd657b94ca7b68934aa0e0a5dc0e687ec45c7ce0a8ab74b0b2e9571dfed63de95ad4dfdf1bff0d0a17 diff --git a/www-apps/gotosocial-bin/gotosocial-bin-0.6.0_rc1.ebuild b/www-apps/gotosocial-bin/gotosocial-bin-0.6.0_rc1.ebuild new file mode 100644 index 0000000..d38c12a --- /dev/null +++ b/www-apps/gotosocial-bin/gotosocial-bin-0.6.0_rc1.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 +}