Compare commits

..

26 Commits

Author SHA1 Message Date
ddb049b558 update patch to 0.19.1 2025-05-07 10:30:34 -04:00
d093e3fcb2 Merge remote-tracking branch 'aur/main' 2025-05-07 10:27:40 -04:00
3266938652 upgpkg: 0.19.1-1 2025-05-07 01:29:51 +00:00
fef593f4aa update patch to latest version 2025-04-28 17:37:40 -04:00
7db82fad46 Merge remote-tracking branch 'aur/main' 2025-04-28 17:22:43 -04:00
e889e49d02 upgpkg: 0.19.0-1 2025-04-27 12:33:51 +12:00
3894d3b818 Merge remote-tracking branch 'aur/main' 2025-03-21 21:41:41 -04:00
7179c0b2d8 upgpkg: 0.18.3-1 2025-03-21 20:36:18 +01:00
85847aba04 Rename to modded patch 2025-03-14 16:54:14 -04:00
0382f924da Merge remote-tracking branch 'aur/main' 2025-03-14 16:48:34 -04:00
d64c8f34b6 upgpkg: 0.18.2-1 2025-03-13 20:19:46 +13:00
c6556d33f4 fix: switch to fully-locked sysuser account
https://archlinux.org/todo/change-sysusers-to-fully-locked-system-accounts/
2025-03-04 12:37:51 +13:00
aac0f5d327 Update unix socket support for v0.18.1 2025-02-25 17:55:42 -05:00
e0bad33f24 upgpkg: 0.18.1-1 2025-02-24 14:15:01 +01:00
d48988c207 upgpkg: 0.18.0-1 2025-02-23 10:09:07 +01:00
247cc9f5ec upgpkg: 0.17.4-1 2025-02-15 11:00:26 +01:00
223426095e Custom build with patch to support listening on unix sockets 2024-12-08 11:09:28 -05:00
a52e5a4f79 upgpkg: 0.17.3-1
* New upstream release.
2024-11-07 09:58:21 +13:00
a83a738194 upgpkg: 0.17.0-1
* New upstream release.
2024-10-17 09:48:34 +13:00
14f3d4bb38 nvchecker: ignore beta/rc releases 2024-10-05 12:21:05 +02:00
53b4d47f36 upgpkg: 0.16.0-1
* New upstream release.
* Update templates in backup array.
2024-06-17 20:45:18 +12:00
2832ed5c19 add nvchecker 2024-06-01 14:39:38 +02:00
bc24f38266 upgpkg: 0.15.0-1 2024-04-12 23:05:19 +00:00
a6b6e75191 upgpkg: 0.15.0-1
* New upstream release.
* Fix FTBFS (quoted LDFLAGS).
* Update license (to use SPDX).
2024-04-12 23:05:11 +00:00
3009a02e6a upgpkg: 0.14.2-1 2024-03-14 20:43:08 +01:00
aaf31e0ca3 upgpkg: 0.13.3-1 2024-02-17 12:39:00 +01:00
6 changed files with 1288 additions and 35 deletions

View File

@ -1,10 +1,10 @@
pkgbase = gotosocial pkgbase = gotosocial
pkgdesc = ActivityPub social network server written in Golang pkgdesc = ActivityPub social network server written in Golang
pkgver = 0.13.2 pkgver = 0.19.1
pkgrel = 1 pkgrel = 11
url = https://gotosocial.org url = https://gotosocial.org
arch = x86_64 arch = x86_64
license = AGPL3 license = AGPL-3.0-only
makedepends = git makedepends = git
makedepends = go makedepends = go
makedepends = yarn makedepends = yarn
@ -13,39 +13,66 @@ pkgbase = gotosocial
depends = glibc depends = glibc
options = !lto options = !lto
backup = etc/gotosocial/config.yaml backup = etc/gotosocial/config.yaml
backup = etc/gotosocial/template/2fa.tmpl
backup = etc/gotosocial/template/404.tmpl backup = etc/gotosocial/template/404.tmpl
backup = etc/gotosocial/template/about.tmpl backup = etc/gotosocial/template/about.tmpl
backup = etc/gotosocial/template/authorize.tmpl backup = etc/gotosocial/template/authorize.tmpl
backup = etc/gotosocial/template/confirmed.tmpl backup = etc/gotosocial/template/confirm-email.tmpl
backup = etc/gotosocial/template/confirmed-email.tmpl
backup = etc/gotosocial/template/domain-blocklist.tmpl backup = etc/gotosocial/template/domain-blocklist.tmpl
backup = etc/gotosocial/template/email_confirm.tmpl backup = etc/gotosocial/template/email_confirm.tmpl
backup = etc/gotosocial/template/email_new_report.tmpl backup = etc/gotosocial/template/email_new_report.tmpl
backup = etc/gotosocial/template/email_new_signup.tmpl
backup = etc/gotosocial/template/email_report_closed.tmpl backup = etc/gotosocial/template/email_report_closed.tmpl
backup = etc/gotosocial/template/email_reset.tmpl backup = etc/gotosocial/template/email_reset.tmpl
backup = etc/gotosocial/template/email_signup_approved.tmpl
backup = etc/gotosocial/template/email_signup_rejected.tmpl
backup = etc/gotosocial/template/email_test.tmpl backup = etc/gotosocial/template/email_test.tmpl
backup = etc/gotosocial/template/error.tmpl backup = etc/gotosocial/template/error.tmpl
backup = etc/gotosocial/template/finalize.tmpl backup = etc/gotosocial/template/finalize.tmpl
backup = etc/gotosocial/template/footer.tmpl
backup = etc/gotosocial/template/frontend.tmpl
backup = etc/gotosocial/template/header.tmpl
backup = etc/gotosocial/template/index.tmpl backup = etc/gotosocial/template/index.tmpl
backup = etc/gotosocial/template/index_register.tmpl
backup = etc/gotosocial/template/index_what_is_this.tmpl
backup = etc/gotosocial/template/login-info.tmpl
backup = etc/gotosocial/template/login_button.tmpl
backup = etc/gotosocial/template/maintenance.tmpl
backup = etc/gotosocial/template/oob.tmpl backup = etc/gotosocial/template/oob.tmpl
backup = etc/gotosocial/template/page.tmpl
backup = etc/gotosocial/template/page_footer.tmpl
backup = etc/gotosocial/template/page_header.tmpl
backup = etc/gotosocial/template/page_ogmeta.tmpl
backup = etc/gotosocial/template/page_stylesheets.tmpl
backup = etc/gotosocial/template/profile-gallery.tmpl
backup = etc/gotosocial/template/profile.tmpl backup = etc/gotosocial/template/profile.tmpl
backup = etc/gotosocial/template/profile_about_user.tmpl
backup = etc/gotosocial/template/profile_fields.tmpl
backup = etc/gotosocial/template/profile_header.tmpl
backup = etc/gotosocial/template/settings.tmpl
backup = etc/gotosocial/template/sign-in.tmpl backup = etc/gotosocial/template/sign-in.tmpl
backup = etc/gotosocial/template/sign-up.tmpl
backup = etc/gotosocial/template/signed-up.tmpl
backup = etc/gotosocial/template/status.tmpl backup = etc/gotosocial/template/status.tmpl
backup = etc/gotosocial/template/status_attachment.tmpl
backup = etc/gotosocial/template/status_attributes.tmpl
backup = etc/gotosocial/template/status_header.tmpl
backup = etc/gotosocial/template/status_info.tmpl
backup = etc/gotosocial/template/status_poll.tmpl
backup = etc/gotosocial/template/tag.tmpl backup = etc/gotosocial/template/tag.tmpl
backup = etc/gotosocial/template/thread.tmpl backup = etc/gotosocial/template/thread.tmpl
source = gotosocial::git+https://github.com/superseriousbusiness/gotosocial#commit=f5314c00680ab0f9129765f5f67ef65a547847e3 source = gotosocial::git+https://github.com/superseriousbusiness/gotosocial#tag=v0.19.1
source = sysusers.conf source = sysusers.conf
source = tmpfiles.conf source = tmpfiles.conf
source = use-fhs-directories.patch source = use-fhs-directories.patch
sha512sums = SKIP source = modded.patch
sha512sums = 68890539a1285a819d5a2cd755aeabd59a9872926d9c32e5d54faaf2771414f006e568f2f813f3c6fcd9dbeda7b6e57c924d7490521880cb65632e02fabcbd63 sha512sums = cab294e99184ec25888101e04e5753ab9f042711662258e0155619e071750a364f102132682aa44e95fba7a9c10ca3cf00da18537406f8bdfa4ec95e2a74663d
sha512sums = 2ff5499a31e12733cb20a9261942ed135fbac327d5a836b8955f3e86c009a603cf965440d9dbe6db64b80d0f652ba56faddb0ef398393b72474d8cf6c438ab80
sha512sums = b89fad3073e140f17167515b38942e5b5e2bc2aee03c484e1bb7cf6444f86cb1e2a13a60b101e04d22633d348be073ca26cd309da4746e5062c12b4f3ce4b38a sha512sums = b89fad3073e140f17167515b38942e5b5e2bc2aee03c484e1bb7cf6444f86cb1e2a13a60b101e04d22633d348be073ca26cd309da4746e5062c12b4f3ce4b38a
sha512sums = 913a5209487aba06bf1d8ac7c02506a05d01a8e12f172666c84bf6870d6237640d4745617b0f07ea8c9dcf665f4e0d24a0aabef31611909f7e9384ed6e7b7e77 sha512sums = 913a5209487aba06bf1d8ac7c02506a05d01a8e12f172666c84bf6870d6237640d4745617b0f07ea8c9dcf665f4e0d24a0aabef31611909f7e9384ed6e7b7e77
b2sums = SKIP sha512sums = 7a9837521e4765d3b6b509876ccf19a89de6dcafa69e82e436d1c26ca98e416ec012e5323c2d446ef92288821d0c64669076ebe647f72dba4d4d51fc63ffd847
b2sums = 0a5be7ac18af882c0c89d8e930eb76c2e60bc2c1d5a375ab04e987c7de9a7a3175319c4e5fbc818261141daf5f70d583aebcc2dc197fe3a88047fbfe488ccb94 b2sums = 773c579ec4f504141dbae393dcaf6cd2b9669f8338d4f01d546def27c05f5899b12b3f7287bcf229743a11335597d6cadd8bc803e076f3558848dcd808d80277
b2sums = ccf672731b88fc6700b0b81737790365e1eea0066bad1bbf6b13dac1e5b42af69063838efca47a6d9c16ee3f6308e2e23b92cf79d4226cd88f8551fb7361649b
b2sums = 4f65af952441c0f54bb32049a149675e207f8993678423d369c4095c57476464614ac720eccc64d7a93a81268ad7ca41cae75ca7211bd7b78f9035f6e5341f04 b2sums = 4f65af952441c0f54bb32049a149675e207f8993678423d369c4095c57476464614ac720eccc64d7a93a81268ad7ca41cae75ca7211bd7b78f9035f6e5341f04
b2sums = 9edd4520fb99856feb82d01935588add7f805aa180f2ed0fe169cb26576bc2e1d2c1e6ab11604d977cec6a4ad8f1d5be1413e1a366de59b89c5b869136538f8c b2sums = 9edd4520fb99856feb82d01935588add7f805aa180f2ed0fe169cb26576bc2e1d2c1e6ab11604d977cec6a4ad8f1d5be1413e1a366de59b89c5b869136538f8c
b2sums = 9958c7a20249ced130963fd5cfc9c8750ee4b98554a404f62d2d488298008a7e891bc136fab2373bdbb82534881e8407430f08ff519138fb649e93052e197c11
pkgname = gotosocial pkgname = gotosocial

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*.pkg.tar.zst
src/
pkg/
gotosocial/

5
.nvchecker.toml Normal file
View File

@ -0,0 +1,5 @@
[gotosocial]
source = "git"
git = "https://github.com/superseriousbusiness/gotosocial.git"
prefix = "v"
exclude_regex = ".*(beta|rc).*"

View File

@ -3,61 +3,81 @@
# Contributor: Stefan Husmann <stefan-husmann@t-online.de> # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=gotosocial pkgname=gotosocial
pkgver=0.13.2 pkgver=0.19.1
pkgrel=1 pkgrel=11
pkgdesc='ActivityPub social network server written in Golang' pkgdesc='ActivityPub social network server written in Golang'
arch=('x86_64') arch=('x86_64')
url='https://gotosocial.org' url='https://gotosocial.org'
license=('AGPL3') license=('AGPL-3.0-only')
depends=('glibc') depends=('glibc')
makedepends=('git' 'go' 'yarn' 'nodejs' 'go-swagger') makedepends=('git' 'go' 'yarn' 'nodejs' 'go-swagger')
options=('!lto') options=('!lto')
backup=( backup=(
'etc/gotosocial/config.yaml' 'etc/gotosocial/config.yaml'
'etc/gotosocial/template/2fa.tmpl'
'etc/gotosocial/template/404.tmpl' 'etc/gotosocial/template/404.tmpl'
'etc/gotosocial/template/about.tmpl' 'etc/gotosocial/template/about.tmpl'
'etc/gotosocial/template/authorize.tmpl' 'etc/gotosocial/template/authorize.tmpl'
'etc/gotosocial/template/confirmed.tmpl' 'etc/gotosocial/template/confirm-email.tmpl'
'etc/gotosocial/template/confirmed-email.tmpl'
'etc/gotosocial/template/domain-blocklist.tmpl' 'etc/gotosocial/template/domain-blocklist.tmpl'
'etc/gotosocial/template/email_confirm.tmpl' 'etc/gotosocial/template/email_confirm.tmpl'
'etc/gotosocial/template/email_new_report.tmpl' 'etc/gotosocial/template/email_new_report.tmpl'
'etc/gotosocial/template/email_new_signup.tmpl'
'etc/gotosocial/template/email_report_closed.tmpl' 'etc/gotosocial/template/email_report_closed.tmpl'
'etc/gotosocial/template/email_reset.tmpl' 'etc/gotosocial/template/email_reset.tmpl'
'etc/gotosocial/template/email_signup_approved.tmpl'
'etc/gotosocial/template/email_signup_rejected.tmpl'
'etc/gotosocial/template/email_test.tmpl' 'etc/gotosocial/template/email_test.tmpl'
'etc/gotosocial/template/error.tmpl' 'etc/gotosocial/template/error.tmpl'
'etc/gotosocial/template/finalize.tmpl' 'etc/gotosocial/template/finalize.tmpl'
'etc/gotosocial/template/footer.tmpl'
'etc/gotosocial/template/frontend.tmpl'
'etc/gotosocial/template/header.tmpl'
'etc/gotosocial/template/index.tmpl' 'etc/gotosocial/template/index.tmpl'
'etc/gotosocial/template/index_register.tmpl'
'etc/gotosocial/template/index_what_is_this.tmpl'
'etc/gotosocial/template/login-info.tmpl'
'etc/gotosocial/template/login_button.tmpl'
'etc/gotosocial/template/maintenance.tmpl'
'etc/gotosocial/template/oob.tmpl' 'etc/gotosocial/template/oob.tmpl'
'etc/gotosocial/template/page.tmpl'
'etc/gotosocial/template/page_footer.tmpl'
'etc/gotosocial/template/page_header.tmpl'
'etc/gotosocial/template/page_ogmeta.tmpl'
'etc/gotosocial/template/page_stylesheets.tmpl'
'etc/gotosocial/template/profile-gallery.tmpl'
'etc/gotosocial/template/profile.tmpl' 'etc/gotosocial/template/profile.tmpl'
'etc/gotosocial/template/profile_about_user.tmpl'
'etc/gotosocial/template/profile_fields.tmpl'
'etc/gotosocial/template/profile_header.tmpl'
'etc/gotosocial/template/settings.tmpl'
'etc/gotosocial/template/sign-in.tmpl' 'etc/gotosocial/template/sign-in.tmpl'
'etc/gotosocial/template/sign-up.tmpl'
'etc/gotosocial/template/signed-up.tmpl'
'etc/gotosocial/template/status.tmpl' 'etc/gotosocial/template/status.tmpl'
'etc/gotosocial/template/status_attachment.tmpl'
'etc/gotosocial/template/status_attributes.tmpl'
'etc/gotosocial/template/status_header.tmpl'
'etc/gotosocial/template/status_info.tmpl'
'etc/gotosocial/template/status_poll.tmpl'
'etc/gotosocial/template/tag.tmpl' 'etc/gotosocial/template/tag.tmpl'
'etc/gotosocial/template/thread.tmpl' 'etc/gotosocial/template/thread.tmpl'
) )
_commit='f5314c00680ab0f9129765f5f67ef65a547847e3'
source=( source=(
"$pkgname::git+https://github.com/superseriousbusiness/gotosocial#commit=$_commit" "$pkgname::git+https://github.com/superseriousbusiness/gotosocial#tag=v$pkgver"
'sysusers.conf' 'sysusers.conf'
'tmpfiles.conf' 'tmpfiles.conf'
'use-fhs-directories.patch' 'use-fhs-directories.patch'
'modded.patch'
) )
sha512sums=('SKIP' sha512sums=('cab294e99184ec25888101e04e5753ab9f042711662258e0155619e071750a364f102132682aa44e95fba7a9c10ca3cf00da18537406f8bdfa4ec95e2a74663d'
'68890539a1285a819d5a2cd755aeabd59a9872926d9c32e5d54faaf2771414f006e568f2f813f3c6fcd9dbeda7b6e57c924d7490521880cb65632e02fabcbd63' '2ff5499a31e12733cb20a9261942ed135fbac327d5a836b8955f3e86c009a603cf965440d9dbe6db64b80d0f652ba56faddb0ef398393b72474d8cf6c438ab80'
'b89fad3073e140f17167515b38942e5b5e2bc2aee03c484e1bb7cf6444f86cb1e2a13a60b101e04d22633d348be073ca26cd309da4746e5062c12b4f3ce4b38a' 'b89fad3073e140f17167515b38942e5b5e2bc2aee03c484e1bb7cf6444f86cb1e2a13a60b101e04d22633d348be073ca26cd309da4746e5062c12b4f3ce4b38a'
'913a5209487aba06bf1d8ac7c02506a05d01a8e12f172666c84bf6870d6237640d4745617b0f07ea8c9dcf665f4e0d24a0aabef31611909f7e9384ed6e7b7e77') '913a5209487aba06bf1d8ac7c02506a05d01a8e12f172666c84bf6870d6237640d4745617b0f07ea8c9dcf665f4e0d24a0aabef31611909f7e9384ed6e7b7e77'
b2sums=('SKIP' '7a9837521e4765d3b6b509876ccf19a89de6dcafa69e82e436d1c26ca98e416ec012e5323c2d446ef92288821d0c64669076ebe647f72dba4d4d51fc63ffd847')
'0a5be7ac18af882c0c89d8e930eb76c2e60bc2c1d5a375ab04e987c7de9a7a3175319c4e5fbc818261141daf5f70d583aebcc2dc197fe3a88047fbfe488ccb94' b2sums=('773c579ec4f504141dbae393dcaf6cd2b9669f8338d4f01d546def27c05f5899b12b3f7287bcf229743a11335597d6cadd8bc803e076f3558848dcd808d80277'
'ccf672731b88fc6700b0b81737790365e1eea0066bad1bbf6b13dac1e5b42af69063838efca47a6d9c16ee3f6308e2e23b92cf79d4226cd88f8551fb7361649b'
'4f65af952441c0f54bb32049a149675e207f8993678423d369c4095c57476464614ac720eccc64d7a93a81268ad7ca41cae75ca7211bd7b78f9035f6e5341f04' '4f65af952441c0f54bb32049a149675e207f8993678423d369c4095c57476464614ac720eccc64d7a93a81268ad7ca41cae75ca7211bd7b78f9035f6e5341f04'
'9edd4520fb99856feb82d01935588add7f805aa180f2ed0fe169cb26576bc2e1d2c1e6ab11604d977cec6a4ad8f1d5be1413e1a366de59b89c5b869136538f8c') '9edd4520fb99856feb82d01935588add7f805aa180f2ed0fe169cb26576bc2e1d2c1e6ab11604d977cec6a4ad8f1d5be1413e1a366de59b89c5b869136538f8c'
'9958c7a20249ced130963fd5cfc9c8750ee4b98554a404f62d2d488298008a7e891bc136fab2373bdbb82534881e8407430f08ff519138fb649e93052e197c11')
pkgver() {
cd "$pkgname"
git describe --tags | sed 's/^v//'
}
prepare() { prepare() {
cd "$pkgname" cd "$pkgname"
@ -65,6 +85,7 @@ prepare() {
# create directory for build output # create directory for build output
mkdir build mkdir build
patch -p1 -i "$srcdir/modded.patch"
# download dependencies # download dependencies
export GOPATH="${srcdir}" export GOPATH="${srcdir}"
go mod download go mod download
@ -92,7 +113,7 @@ build() {
-modcacherw \ -modcacherw \
-ldflags "-compressdwarf=false \ -ldflags "-compressdwarf=false \
-linkmode external \ -linkmode external \
-extldflags ${LDFLAGS} \ -extldflags '${LDFLAGS}' \
-X main.Version=$pkgver" \ -X main.Version=$pkgver" \
-o build \ -o build \
./cmd/... ./cmd/...

1196
modded.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1 +1 @@
u gotosocial - "gotosocial daemon user" /var/lib/gotosocial u! gotosocial - "gotosocial daemon user" /var/lib/gotosocial