Date: Friday, March 14, 2014 @ 16:09:48 Author: anatolik Revision: 107210
archrelease: copy trunk to community-i686, community-x86_64 Added: fossil/repos/community-i686/ fossil/repos/community-i686/PKGBUILD (from rev 107209, fossil/trunk/PKGBUILD) fossil/repos/community-i686/bash.completion (from rev 107209, fossil/trunk/bash.completion) fossil/repos/community-i686/fossil-xinetd (from rev 107209, fossil/trunk/fossil-xinetd) fossil/repos/community-i686/fossil.service (from rev 107209, fossil/trunk/fossil.service) fossil/repos/community-i686/fossil.socket (from rev 107209, fossil/trunk/fossil.socket) fossil/repos/community-x86_64/ fossil/repos/community-x86_64/PKGBUILD (from rev 107209, fossil/trunk/PKGBUILD) fossil/repos/community-x86_64/bash.completion (from rev 107209, fossil/trunk/bash.completion) fossil/repos/community-x86_64/fossil-xinetd (from rev 107209, fossil/trunk/fossil-xinetd) fossil/repos/community-x86_64/fossil.service (from rev 107209, fossil/trunk/fossil.service) fossil/repos/community-x86_64/fossil.socket (from rev 107209, fossil/trunk/fossil.socket) ----------------------------------+ community-i686/PKGBUILD | 46 +++++++++++++++++++++++++++++++++++++ community-i686/bash.completion | 33 ++++++++++++++++++++++++++ community-i686/fossil-xinetd | 23 ++++++++++++++++++ community-i686/fossil.service | 11 ++++++++ community-i686/fossil.socket | 10 ++++++++ community-x86_64/PKGBUILD | 46 +++++++++++++++++++++++++++++++++++++ community-x86_64/bash.completion | 33 ++++++++++++++++++++++++++ community-x86_64/fossil-xinetd | 23 ++++++++++++++++++ community-x86_64/fossil.service | 11 ++++++++ community-x86_64/fossil.socket | 10 ++++++++ 10 files changed, 246 insertions(+) Copied: fossil/repos/community-i686/PKGBUILD (from rev 107209, fossil/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-03-14 15:09:48 UTC (rev 107210) @@ -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@.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 +} Copied: fossil/repos/community-i686/bash.completion (from rev 107209, fossil/trunk/bash.completion) =================================================================== --- community-i686/bash.completion (rev 0) +++ community-i686/bash.completion 2014-03-14 15:09:48 UTC (rev 107210) @@ -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 Copied: fossil/repos/community-i686/fossil-xinetd (from rev 107209, fossil/trunk/fossil-xinetd) =================================================================== --- community-i686/fossil-xinetd (rev 0) +++ community-i686/fossil-xinetd 2014-03-14 15:09:48 UTC (rev 107210) @@ -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-i686/fossil.service (from rev 107209, fossil/trunk/fossil.service) =================================================================== --- community-i686/fossil.service (rev 0) +++ community-i686/fossil.service 2014-03-14 15:09:48 UTC (rev 107210) @@ -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-i686/fossil.socket (from rev 107209, fossil/trunk/fossil.socket) =================================================================== --- community-i686/fossil.socket (rev 0) +++ community-i686/fossil.socket 2014-03-14 15:09:48 UTC (rev 107210) @@ -0,0 +1,10 @@ +[Unit] +Description=Fossil socket + +[Socket] +# TCP port to listen on +ListenStream=8055 +Accept=yes + +[Install] +WantedBy=sockets.target Copied: fossil/repos/community-x86_64/PKGBUILD (from rev 107209, fossil/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2014-03-14 15:09:48 UTC (rev 107210) @@ -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@.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 +} Copied: fossil/repos/community-x86_64/bash.completion (from rev 107209, fossil/trunk/bash.completion) =================================================================== --- community-x86_64/bash.completion (rev 0) +++ community-x86_64/bash.completion 2014-03-14 15:09:48 UTC (rev 107210) @@ -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 Copied: fossil/repos/community-x86_64/fossil-xinetd (from rev 107209, fossil/trunk/fossil-xinetd) =================================================================== --- community-x86_64/fossil-xinetd (rev 0) +++ community-x86_64/fossil-xinetd 2014-03-14 15:09:48 UTC (rev 107210) @@ -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-x86_64/fossil.service (from rev 107209, fossil/trunk/fossil.service) =================================================================== --- community-x86_64/fossil.service (rev 0) +++ community-x86_64/fossil.service 2014-03-14 15:09:48 UTC (rev 107210) @@ -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-x86_64/fossil.socket (from rev 107209, fossil/trunk/fossil.socket) =================================================================== --- community-x86_64/fossil.socket (rev 0) +++ community-x86_64/fossil.socket 2014-03-14 15:09:48 UTC (rev 107210) @@ -0,0 +1,10 @@ +[Unit] +Description=Fossil socket + +[Socket] +# TCP port to listen on +ListenStream=8055 +Accept=yes + +[Install] +WantedBy=sockets.target