[arch-commits] Commit in fossil/repos (5 files)
Anatol Pomozov
anatolik at archlinux.org
Tue Jun 5 20:39:37 UTC 2018
Date: Tuesday, June 5, 2018 @ 20:39:37
Author: anatolik
Revision: 340637
archrelease: copy trunk to community-testing-x86_64
Added:
fossil/repos/community-testing-x86_64/
fossil/repos/community-testing-x86_64/PKGBUILD
(from rev 340636, fossil/trunk/PKGBUILD)
fossil/repos/community-testing-x86_64/fossil-xinetd
(from rev 340636, fossil/trunk/fossil-xinetd)
fossil/repos/community-testing-x86_64/fossil.service
(from rev 340636, fossil/trunk/fossil.service)
fossil/repos/community-testing-x86_64/fossil.socket
(from rev 340636, fossil/trunk/fossil.socket)
----------------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
fossil-xinetd | 23 +++++++++++++++++++++++
fossil.service | 11 +++++++++++
fossil.socket | 10 ++++++++++
4 files changed, 89 insertions(+)
Copied: fossil/repos/community-testing-x86_64/PKGBUILD (from rev 340636, fossil/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2018-06-05 20:39:37 UTC (rev 340637)
@@ -0,0 +1,45 @@
+# $Id$
+# 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.6
+pkgrel=1
+pkgdesc='Simple, high-reliability, distributed software configuration management'
+arch=(x86_64)
+license=(BSD)
+url='http://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'
+ '76a794555918be179850739a90f157de0edb8568ad552b4c40ce186c79ff6ed9')
+
+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 340636, fossil/trunk/fossil-xinetd)
===================================================================
--- community-testing-x86_64/fossil-xinetd (rev 0)
+++ community-testing-x86_64/fossil-xinetd 2018-06-05 20:39:37 UTC (rev 340637)
@@ -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 340636, fossil/trunk/fossil.service)
===================================================================
--- community-testing-x86_64/fossil.service (rev 0)
+++ community-testing-x86_64/fossil.service 2018-06-05 20:39:37 UTC (rev 340637)
@@ -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 340636, fossil/trunk/fossil.socket)
===================================================================
--- community-testing-x86_64/fossil.socket (rev 0)
+++ community-testing-x86_64/fossil.socket 2018-06-05 20:39:37 UTC (rev 340637)
@@ -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