Date: Thursday, December 3, 2020 @ 17:36:10 Author: anatolik Revision: 769726
archrelease: copy trunk to community-testing-x86_64 Added: fossil/repos/community-testing-x86_64/ fossil/repos/community-testing-x86_64/PKGBUILD (from rev 769725, fossil/trunk/PKGBUILD) fossil/repos/community-testing-x86_64/fossil-xinetd (from rev 769725, fossil/trunk/fossil-xinetd) fossil/repos/community-testing-x86_64/fossil.service (from rev 769725, fossil/trunk/fossil.service) fossil/repos/community-testing-x86_64/fossil.socket (from rev 769725, fossil/trunk/fossil.socket) ----------------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ fossil-xinetd | 23 +++++++++++++++++++++++ fossil.service | 11 +++++++++++ fossil.socket | 10 ++++++++++ 4 files changed, 88 insertions(+) Copied: fossil/repos/community-testing-x86_64/PKGBUILD (from rev 769725, fossil/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2020-12-03 17:36:10 UTC (rev 769726) @@ -0,0 +1,44 @@ +# Maintainer: Anatol Pomozov <anatol pomozov at gmail> +# Contributor: Daniel YC Lin <dlin.tw at gmail> +# Contributor: Konstantin Plotnikov <kostyapl at gmail dot com> + +pkgname=fossil +pkgver=2.13 +pkgrel=1 +pkgdesc='Simple, high-reliability, distributed software configuration management' +arch=(x86_64) +license=(BSD) +url='https://www.fossil-scm.org' +depends=(openssl zlib sqlite) +makedepends=(tcl) +optdepends=(tcl) +backup=(etc/xinetd.d/fossil) +source=( + fossil.socket + fossil.service + fossil-xinetd + https://www.fossil-scm.org/index.html/uv/fossil-src-$pkgver.tar.gz +) +sha256sums=('f885e17998dc1eece1688a75e516663462fe72a7f4f132def4132055777c7ff8' + 'c4973079facf209d3757db81df08f8d0843ede242f2a0c12281720da65e3b166' + '2f9a141fadfb7cb5225f0d65a308949bbc592bff9d567b5c472edb413c81f5aa' + 'd933d3e0710eed3de5ee23bf8d2677419c4d4a8cd30b61f7161d9071d63a73f5') + +build() { + cd fossil-$pkgver + ./configure --prefix=/usr --json --disable-internal-sqlite --with-tcl=/usr --with-tcl-private-stubs=1 + # headers and translate targets are problematic with parallel jobs + #make -j1 bld bld/headers + make +} + +package() { + install -Dm644 fossil-xinetd "$pkgdir"/etc/xinetd.d/fossil + install -Dm644 fossil.socket "$pkgdir"/usr/lib/systemd/system/fossil.socket + install -Dm644 fossil.service "$pkgdir"/usr/lib/systemd/system/fossil@.service + + cd fossil-$pkgver + install -Dm755 fossil "$pkgdir"/usr/bin/fossil + install -Dm644 tools/fossil-autocomplete.bash "$pkgdir"/usr/share/bash-completion/completions/fossil + install -Dm644 COPYRIGHT-BSD2.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} Copied: fossil/repos/community-testing-x86_64/fossil-xinetd (from rev 769725, fossil/trunk/fossil-xinetd) =================================================================== --- community-testing-x86_64/fossil-xinetd (rev 0) +++ community-testing-x86_64/fossil-xinetd 2020-12-03 17:36:10 UTC (rev 769726) @@ -0,0 +1,23 @@ +service fossil +{ +#better not change any of these +type = UNLISTED +socket_type = stream +protocol = tcp +wait = no +user = root +server = /usr/bin/fossil + +#only change these +#http port, fossil will listen +port = 8055 + +#change this path to where your fossil repositories are +server_args = http /var/fossil + +#comment next line to enable remote access +only_from = 127.0.0.1 localhost + +#change to `no` to activate fossil +disable = yes +} Copied: fossil/repos/community-testing-x86_64/fossil.service (from rev 769725, fossil/trunk/fossil.service) =================================================================== --- community-testing-x86_64/fossil.service (rev 0) +++ community-testing-x86_64/fossil.service 2020-12-03 17:36:10 UTC (rev 769726) @@ -0,0 +1,11 @@ +[Unit] +Description=Fossil service + +[Service] +# /var/fossil is the default path to fossil repositories +ExecStart=-/usr/bin/fossil http /var/fossil +StandardInput=socket +# Uncomment this line to use fossil with URL prefix +# This allows fossil to generate correct hyperlinks and redirects when +# hosted within virtual directory (e.g. nginx reverse-proxy setups) +#Environment=SCRIPT_NAME=/fossil Copied: fossil/repos/community-testing-x86_64/fossil.socket (from rev 769725, fossil/trunk/fossil.socket) =================================================================== --- community-testing-x86_64/fossil.socket (rev 0) +++ community-testing-x86_64/fossil.socket 2020-12-03 17:36:10 UTC (rev 769726) @@ -0,0 +1,10 @@ +[Unit] +Description=Fossil socket + +[Socket] +# TCP port to listen on +ListenStream=8055 +Accept=yes + +[Install] +WantedBy=sockets.target