[arch-commits] Commit in fossil/repos (5 files)

Anatol Pomozov anatolik at archlinux.org
Mon Jul 15 20:18:14 UTC 2019


    Date: Monday, July 15, 2019 @ 20:18:13
  Author: anatolik
Revision: 489885

archrelease: copy trunk to community-testing-x86_64

Added:
  fossil/repos/community-testing-x86_64/
  fossil/repos/community-testing-x86_64/PKGBUILD
    (from rev 489884, fossil/trunk/PKGBUILD)
  fossil/repos/community-testing-x86_64/fossil-xinetd
    (from rev 489884, fossil/trunk/fossil-xinetd)
  fossil/repos/community-testing-x86_64/fossil.service
    (from rev 489884, fossil/trunk/fossil.service)
  fossil/repos/community-testing-x86_64/fossil.socket
    (from rev 489884, 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 489884, fossil/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-07-15 20:18:13 UTC (rev 489885)
@@ -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.9
+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'
+            '1cb2ada92d43e3e7e008fe77f5e743d301c7ea34d4c36c42f255f873e73d8b4f')
+
+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 at .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 489884, fossil/trunk/fossil-xinetd)
===================================================================
--- community-testing-x86_64/fossil-xinetd	                        (rev 0)
+++ community-testing-x86_64/fossil-xinetd	2019-07-15 20:18:13 UTC (rev 489885)
@@ -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 489884, fossil/trunk/fossil.service)
===================================================================
--- community-testing-x86_64/fossil.service	                        (rev 0)
+++ community-testing-x86_64/fossil.service	2019-07-15 20:18:13 UTC (rev 489885)
@@ -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 489884, fossil/trunk/fossil.socket)
===================================================================
--- community-testing-x86_64/fossil.socket	                        (rev 0)
+++ community-testing-x86_64/fossil.socket	2019-07-15 20:18:13 UTC (rev 489885)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Fossil socket
+
+[Socket]
+# TCP port to listen on
+ListenStream=8055
+Accept=yes
+
+[Install]
+WantedBy=sockets.target


More information about the arch-commits mailing list