[arch-commits] Commit in (8 files)
Anatol Pomozov
anatolik at nymeria.archlinux.org
Fri Mar 14 15:08:44 UTC 2014
Date: Friday, March 14, 2014 @ 16:08:44
Author: anatolik
Revision: 107209
Move fossil from AUR to [community]
Added:
fossil/
fossil/repos/
fossil/trunk/
fossil/trunk/PKGBUILD
fossil/trunk/bash.completion
fossil/trunk/fossil-xinetd
fossil/trunk/fossil.service
fossil/trunk/fossil.socket
-----------------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
bash.completion | 33 +++++++++++++++++++++++++++++++++
fossil-xinetd | 23 +++++++++++++++++++++++
fossil.service | 11 +++++++++++
fossil.socket | 10 ++++++++++
5 files changed, 123 insertions(+)
Added: fossil/trunk/PKGBUILD
===================================================================
--- fossil/trunk/PKGBUILD (rev 0)
+++ fossil/trunk/PKGBUILD 2014-03-14 15:08:44 UTC (rev 107209)
@@ -0,0 +1,46 @@
+# $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=1.28
+_date_pkgver=20140127173344
+# NOTE: update _date_pkgver from http://www.fossil-scm.org/download.html
+pkgrel=3
+pkgdesc='Simple, high-reliability, distributed software configuration management'
+arch=(i686 x86_64)
+license=(BSD)
+url='http://www.fossil-scm.org'
+depends=(openssl zlib)
+source=(
+ fossil.socket
+ fossil.service
+ fossil-xinetd
+ bash.completion
+ http://www.fossil-scm.org/download/fossil-src-$_date_pkgver.tar.gz
+)
+sha256sums=('f885e17998dc1eece1688a75e516663462fe72a7f4f132def4132055777c7ff8'
+ 'c4973079facf209d3757db81df08f8d0843ede242f2a0c12281720da65e3b166'
+ '2f9a141fadfb7cb5225f0d65a308949bbc592bff9d567b5c472edb413c81f5aa'
+ 'e22e19dba1a4be6a62af0b77ff0267c2a0f19edf2f6a9133ee64246fae5d87da'
+ 'aca7c5a7c39ae2880712020e089c9c12543ba656c71d8cf8ac50e3c8871baa80')
+
+build() {
+ cd fossil-src-$_date_pkgver
+ ./configure --prefix=/usr
+ # 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
+ install -Dm644 bash.completion "$pkgdir"/usr/share/bash-completion/completions/fossil
+
+ cd fossil-src-$_date_pkgver
+ install -Dm755 fossil "$pkgdir"/usr/bin/fossil
+ install -Dm644 COPYRIGHT-BSD2.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Property changes on: fossil/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: fossil/trunk/bash.completion
===================================================================
--- fossil/trunk/bash.completion (rev 0)
+++ fossil/trunk/bash.completion 2014-03-14 15:08:44 UTC (rev 107209)
@@ -0,0 +1,33 @@
+_fossil()
+{
+local cur prev opts
+
+#Var used by BASH
+COMPREPLY=()
+#word we are trying to complete
+cur="${COMP_WORDS[COMP_CWORD]}"
+#word before the one we're trying to complete
+prev="${COMP_WORDS[COMP_CWORD-1]}"
+#list of word that fossil know
+opts="add addremove all annotate bisect branch cat changes checkout "
+opts="$opts ci clean clone close co commit delete diff export extras "
+opts="$opts finfo gdiff help import info init ls merge mv new open "
+opts="$opts pull push rebuild remote-url revert rm settings sqlite3 "
+opts="$opts stash status sync tag timeline ui undo unset update version"
+
+case "${prev}" in
+add) opts="--dotfiles --ignore" ;;
+addremove) opts="--dotfiles --ignore --test" ;;
+all) opts="list ls pull push rebuild sync" ;;
+annotate) opts="--limit --log --filevers" ;;
+bisect) opts="bad good next options reset vlist" ;;
+branch) opts="list ls -R --repository" ;;
+merge) opts="--nochange -n --force -f --detail"
+esac
+
+compopt -o filenames
+COMPREPLY=($(compgen -fW "${opts}" -- "${cur}") \
+$(compgen -d -- "$cur"))
+}
+
+complete -F _fossil fossil
Property changes on: fossil/trunk/bash.completion
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: fossil/trunk/fossil-xinetd
===================================================================
--- fossil/trunk/fossil-xinetd (rev 0)
+++ fossil/trunk/fossil-xinetd 2014-03-14 15:08:44 UTC (rev 107209)
@@ -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
+}
Added: fossil/trunk/fossil.service
===================================================================
--- fossil/trunk/fossil.service (rev 0)
+++ fossil/trunk/fossil.service 2014-03-14 15:08:44 UTC (rev 107209)
@@ -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
Added: fossil/trunk/fossil.socket
===================================================================
--- fossil/trunk/fossil.socket (rev 0)
+++ fossil/trunk/fossil.socket 2014-03-14 15:08:44 UTC (rev 107209)
@@ -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