diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2013-06-16 14:49:21 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2013-06-16 14:51:32 +0200 |
commit | 20b31ac3b171ef836dd217548580240c19d9108b (patch) | |
tree | 7c892d4a01771ac961db954262c3bf4e9c4d9e22 /main/gitolite | |
parent | 6bce6004adc47c4b997cccd84c17dafbdd3d2072 (diff) | |
download | aports-20b31ac3b171ef836dd217548580240c19d9108b.tar.bz2 aports-20b31ac3b171ef836dd217548580240c19d9108b.tar.xz |
main/gitolite: create git user
Diffstat (limited to 'main/gitolite')
-rw-r--r-- | main/gitolite/APKBUILD | 14 | ||||
-rw-r--r-- | main/gitolite/gitolite.pre-install | 3 |
2 files changed, 10 insertions, 7 deletions
diff --git a/main/gitolite/APKBUILD b/main/gitolite/APKBUILD index 421480985c..360b63e282 100644 --- a/main/gitolite/APKBUILD +++ b/main/gitolite/APKBUILD @@ -1,24 +1,24 @@ -# Maintainer: Bartłomiej Pioteowski <nospam@bpiotrowski.pl> +# Maintainer: Bartłomiej Pioteowski <bpiotrowski@alpinelinux.org> # Contributor: Carlo Landmeter <clandmeter@gmail.com> pkgname=gitolite pkgver=3.5.1 -pkgrel=0 -pkgdesc='A centralized git server, with very fine-grained access control and many powerful features.' +pkgrel=1 +pkgdesc='Centralized git server, with very fine-grained access control and many powerful features' url='http://github.com/sitaramc/gitolite' arch='noarch' license='GPL2' depends='git perl' -#TODO: subpackages="$pkgname-doc" +install=$pkgname.pre-install source="https://github.com/sitaramc/$pkgname/tarball/v${pkgver}/$pkgname-$pkgver.tar.gz" package() { cd "$srcdir"/sitaramc-gitolite-* install -d "$pkgdir"/usr/lib/gitolite || return 1 - install -d "${pkgdir}"/usr/bin || return 1 - ./install -to "${pkgdir}"/usr/lib/gitolite || return 1 - ln -s /usr/lib/gitolite/gitolite ${pkgdir}/usr/bin/ || return 1 + install -d "$pkgdir"/usr/bin || return 1 + ./install -to "$pkgdir"/usr/lib/gitolite || return 1 + ln -s /usr/lib/gitolite/gitolite "$pkgdir"/usr/bin/ || return 1 } md5sums="e6d3b579abd32f12fbfd7f941e420747 gitolite-3.5.1.tar.gz" diff --git a/main/gitolite/gitolite.pre-install b/main/gitolite/gitolite.pre-install new file mode 100644 index 0000000000..be623d2ab9 --- /dev/null +++ b/main/gitolite/gitolite.pre-install @@ -0,0 +1,3 @@ +#!/bin/sh +adduser -H -h /var/git -s /bin/sh -D git 2>/dev/null +exit 0 |