[arch-commits] Commit in tarantool/repos (6 files)
Anatol Pomozov
anatolik at archlinux.org
Sun Feb 7 18:27:17 UTC 2016
Date: Sunday, February 7, 2016 @ 19:27:17
Author: anatolik
Revision: 160535
archrelease: copy trunk to community-i686, community-x86_64
Added:
tarantool/repos/community-i686/PKGBUILD
(from rev 160534, tarantool/trunk/PKGBUILD)
tarantool/repos/community-i686/tarantool.install
(from rev 160534, tarantool/trunk/tarantool.install)
tarantool/repos/community-x86_64/PKGBUILD
(from rev 160534, tarantool/trunk/PKGBUILD)
tarantool/repos/community-x86_64/tarantool.install
(from rev 160534, tarantool/trunk/tarantool.install)
Deleted:
tarantool/repos/community-i686/PKGBUILD
tarantool/repos/community-x86_64/PKGBUILD
------------------------------------+
/PKGBUILD | 154 +++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 71 ----------------
community-i686/tarantool.install | 22 +++++
community-x86_64/PKGBUILD | 71 ----------------
community-x86_64/tarantool.install | 22 +++++
5 files changed, 198 insertions(+), 142 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-02-07 18:26:19 UTC (rev 160534)
+++ community-i686/PKGBUILD 2016-02-07 18:27:17 UTC (rev 160535)
@@ -1,71 +0,0 @@
-# $Id$
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-
-pkgname=tarantool
-_commit=3fb2936620674fe33b98cccb9c462068f4a587e0
-pkgver=1.6.7.r592
-pkgrel=1
-pkgdesc='Lua application server integrated with a database management system'
-arch=(i686 x86_64)
-url='http://www.tarantool.org'
-license=(BSD)
-depends=(readline ncurses zlib)
-makedepends=(git cmake)
-checkdepends=(python2-daemon python2-gevent python2-tarantool)
-source=(git://github.com/tarantool/tarantool.git#commit=$_commit
- git://github.com/tarantool/luajit.git
- git://github.com/tarantool/msgpuck.git
- git://github.com/rtsisyk/luafun.git
- git://github.com/tarantool/sophia.git
- git://github.com/tarantool/test-run.git
- git://github.com/tarantool/small.git)
-sha1sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP')
-
-pkgver() {
- cd tarantool
- git describe | sed 's/^v//; s/-/.r/; s/-.*//'
-}
-
-build() {
- cd tarantool
-
- # tarantool uses git submodule, handle this
- git submodule init
- git config -f .gitmodules 'submodule.third_party/luajit.url' "$srcdir/luajit"
- git config -f .gitmodules 'submodule.src/lib/msgpuck.url' "$srcdir/msgpuck"
- git config -f .gitmodules 'submodule.third_party/luafun.url' "$srcdir/luafun"
- git config -f .gitmodules 'submodule.sophia.url' "$srcdir/sophia"
- git config -f .gitmodules 'submodule.test-run.url' "$srcdir/test-run"
- git config -f .gitmodules 'submodule.src/lib/small.url' "$srcdir/small"
- git submodule sync
- git submodule update
-
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_SYSCONFDIR=/etc/tarantool \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
- .
-
- make
-}
-
-check() {
- cd tarantool/test
- ./test-run.py --suite box
-}
-
-package() {
- cd tarantool
- make install DESTDIR="$pkgdir"
-
- install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- rm "$pkgdir/usr/share/doc/tarantool/LICENSE"
-}
Copied: tarantool/repos/community-i686/PKGBUILD (from rev 160534, tarantool/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-02-07 18:27:17 UTC (rev 160535)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=tarantool
+_commit=fe2ee489795470e92d9dafbb96186c7d0c54690c
+pkgver=1.6.8.r453
+pkgrel=1
+pkgdesc='Lua application server integrated with a database management system'
+arch=(i686 x86_64)
+url='http://www.tarantool.org'
+license=(BSD)
+depends=(readline ncurses zlib libyaml)
+makedepends=(git cmake systemd)
+checkdepends=(python2-daemon python2-gevent python2-tarantool)
+install=tarantool.install
+source=(git://github.com/tarantool/tarantool.git#commit=$_commit
+ git://github.com/tarantool/luajit.git
+ git://github.com/tarantool/msgpuck.git
+ git://github.com/rtsisyk/luafun.git
+ git://github.com/tarantool/sophia.git
+ git://github.com/tarantool/test-run.git
+ git://github.com/tarantool/small.git)
+sha1sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
+
+pkgver() {
+ cd tarantool
+ git describe | sed 's/^v//; s/-/.r/; s/-.*//'
+}
+
+build() {
+ cd tarantool
+
+ # tarantool uses git submodule, handle this
+ git submodule init
+ git config -f .gitmodules 'submodule.third_party/luajit.url' "$srcdir/luajit"
+ git config -f .gitmodules 'submodule.src/lib/msgpuck.url' "$srcdir/msgpuck"
+ git config -f .gitmodules 'submodule.third_party/luafun.url' "$srcdir/luafun"
+ git config -f .gitmodules 'submodule.sophia.url' "$srcdir/sophia"
+ git config -f .gitmodules 'submodule.test-run.url' "$srcdir/test-run"
+ git config -f .gitmodules 'submodule.src/lib/small.url' "$srcdir/small"
+ git submodule sync
+ git submodule update
+
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_BINDIR=/usr/bin \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DENABLE_BUNDLED_LIBYAML:BOOL=OFF \
+ -DENABLE_BACKTRACE:BOOL=ON \
+ -DWITH_SYSTEMD:BOOL=ON \
+ -DENABLE_DIST:BOOL=ON \
+ .
+
+ make
+}
+
+check() {
+ cd tarantool/test
+ ./test-run.py --suite box
+}
+
+package() {
+ cd tarantool
+ make install DESTDIR="$pkgdir"
+
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ rm -r "$pkgdir/var/run"
+}
Copied: tarantool/repos/community-i686/tarantool.install (from rev 160534, tarantool/trunk/tarantool.install)
===================================================================
--- community-i686/tarantool.install (rev 0)
+++ community-i686/tarantool.install 2016-02-07 18:27:17 UTC (rev 160535)
@@ -0,0 +1,22 @@
+post_upgrade() {
+ getent group tarantool >/dev/null || groupadd --system tarantool &>/dev/null
+ getent passwd tarantool >/dev/null || useradd --system -g tarantool -d /var/lib/tarantool -s /bin/false -c "Tarantool Server" tarantool &>/dev/null
+
+ if type -P systemd-tmpfiles &> /dev/null; then
+ systemd-tmpfiles --create tarantool.conf
+ fi
+
+ mkdir -p /var/run/tarantool
+
+ chown -R tarantool:tarantool /var/run/tarantool/
+ chown -R tarantool:tarantool /var/lib/tarantool/
+ chown -R tarantool:tarantool /var/log/tarantool/
+}
+
+post_install() {
+ post_upgrade
+}
+
+post_remove() {
+ echo "Tarantool data directory '/var/lib/tarantool' is left untouched. Remove it if you really sure you won't need your data in the future."
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-02-07 18:26:19 UTC (rev 160534)
+++ community-x86_64/PKGBUILD 2016-02-07 18:27:17 UTC (rev 160535)
@@ -1,71 +0,0 @@
-# $Id$
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-
-pkgname=tarantool
-_commit=3fb2936620674fe33b98cccb9c462068f4a587e0
-pkgver=1.6.7.r592
-pkgrel=1
-pkgdesc='Lua application server integrated with a database management system'
-arch=(i686 x86_64)
-url='http://www.tarantool.org'
-license=(BSD)
-depends=(readline ncurses zlib)
-makedepends=(git cmake)
-checkdepends=(python2-daemon python2-gevent python2-tarantool)
-source=(git://github.com/tarantool/tarantool.git#commit=$_commit
- git://github.com/tarantool/luajit.git
- git://github.com/tarantool/msgpuck.git
- git://github.com/rtsisyk/luafun.git
- git://github.com/tarantool/sophia.git
- git://github.com/tarantool/test-run.git
- git://github.com/tarantool/small.git)
-sha1sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP')
-
-pkgver() {
- cd tarantool
- git describe | sed 's/^v//; s/-/.r/; s/-.*//'
-}
-
-build() {
- cd tarantool
-
- # tarantool uses git submodule, handle this
- git submodule init
- git config -f .gitmodules 'submodule.third_party/luajit.url' "$srcdir/luajit"
- git config -f .gitmodules 'submodule.src/lib/msgpuck.url' "$srcdir/msgpuck"
- git config -f .gitmodules 'submodule.third_party/luafun.url' "$srcdir/luafun"
- git config -f .gitmodules 'submodule.sophia.url' "$srcdir/sophia"
- git config -f .gitmodules 'submodule.test-run.url' "$srcdir/test-run"
- git config -f .gitmodules 'submodule.src/lib/small.url' "$srcdir/small"
- git submodule sync
- git submodule update
-
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_SYSCONFDIR=/etc/tarantool \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
- .
-
- make
-}
-
-check() {
- cd tarantool/test
- ./test-run.py --suite box
-}
-
-package() {
- cd tarantool
- make install DESTDIR="$pkgdir"
-
- install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- rm "$pkgdir/usr/share/doc/tarantool/LICENSE"
-}
Copied: tarantool/repos/community-x86_64/PKGBUILD (from rev 160534, tarantool/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-02-07 18:27:17 UTC (rev 160535)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=tarantool
+_commit=fe2ee489795470e92d9dafbb96186c7d0c54690c
+pkgver=1.6.8.r453
+pkgrel=1
+pkgdesc='Lua application server integrated with a database management system'
+arch=(i686 x86_64)
+url='http://www.tarantool.org'
+license=(BSD)
+depends=(readline ncurses zlib libyaml)
+makedepends=(git cmake systemd)
+checkdepends=(python2-daemon python2-gevent python2-tarantool)
+install=tarantool.install
+source=(git://github.com/tarantool/tarantool.git#commit=$_commit
+ git://github.com/tarantool/luajit.git
+ git://github.com/tarantool/msgpuck.git
+ git://github.com/rtsisyk/luafun.git
+ git://github.com/tarantool/sophia.git
+ git://github.com/tarantool/test-run.git
+ git://github.com/tarantool/small.git)
+sha1sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
+
+pkgver() {
+ cd tarantool
+ git describe | sed 's/^v//; s/-/.r/; s/-.*//'
+}
+
+build() {
+ cd tarantool
+
+ # tarantool uses git submodule, handle this
+ git submodule init
+ git config -f .gitmodules 'submodule.third_party/luajit.url' "$srcdir/luajit"
+ git config -f .gitmodules 'submodule.src/lib/msgpuck.url' "$srcdir/msgpuck"
+ git config -f .gitmodules 'submodule.third_party/luafun.url' "$srcdir/luafun"
+ git config -f .gitmodules 'submodule.sophia.url' "$srcdir/sophia"
+ git config -f .gitmodules 'submodule.test-run.url' "$srcdir/test-run"
+ git config -f .gitmodules 'submodule.src/lib/small.url' "$srcdir/small"
+ git submodule sync
+ git submodule update
+
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_BINDIR=/usr/bin \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DENABLE_BUNDLED_LIBYAML:BOOL=OFF \
+ -DENABLE_BACKTRACE:BOOL=ON \
+ -DWITH_SYSTEMD:BOOL=ON \
+ -DENABLE_DIST:BOOL=ON \
+ .
+
+ make
+}
+
+check() {
+ cd tarantool/test
+ ./test-run.py --suite box
+}
+
+package() {
+ cd tarantool
+ make install DESTDIR="$pkgdir"
+
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ rm -r "$pkgdir/var/run"
+}
Copied: tarantool/repos/community-x86_64/tarantool.install (from rev 160534, tarantool/trunk/tarantool.install)
===================================================================
--- community-x86_64/tarantool.install (rev 0)
+++ community-x86_64/tarantool.install 2016-02-07 18:27:17 UTC (rev 160535)
@@ -0,0 +1,22 @@
+post_upgrade() {
+ getent group tarantool >/dev/null || groupadd --system tarantool &>/dev/null
+ getent passwd tarantool >/dev/null || useradd --system -g tarantool -d /var/lib/tarantool -s /bin/false -c "Tarantool Server" tarantool &>/dev/null
+
+ if type -P systemd-tmpfiles &> /dev/null; then
+ systemd-tmpfiles --create tarantool.conf
+ fi
+
+ mkdir -p /var/run/tarantool
+
+ chown -R tarantool:tarantool /var/run/tarantool/
+ chown -R tarantool:tarantool /var/lib/tarantool/
+ chown -R tarantool:tarantool /var/log/tarantool/
+}
+
+post_install() {
+ post_upgrade
+}
+
+post_remove() {
+ echo "Tarantool data directory '/var/lib/tarantool' is left untouched. Remove it if you really sure you won't need your data in the future."
+}
More information about the arch-commits
mailing list