[arch-commits] Commit in gitlab-shell/repos/community-any (4 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Tue May 3 12:14:00 UTC 2016
Date: Tuesday, May 3, 2016 @ 14:14:00
Author: svenstaro
Revision: 173561
archrelease: copy trunk to community-any
Added:
gitlab-shell/repos/community-any/PKGBUILD
(from rev 173560, gitlab-shell/trunk/PKGBUILD)
gitlab-shell/repos/community-any/gitlab-shell.install
(from rev 173560, gitlab-shell/trunk/gitlab-shell.install)
Deleted:
gitlab-shell/repos/community-any/PKGBUILD
gitlab-shell/repos/community-any/gitlab-shell.install
----------------------+
PKGBUILD | 149 ++++++++++++++++++++++++-------------------------
gitlab-shell.install | 14 ++--
2 files changed, 81 insertions(+), 82 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-03 12:13:50 UTC (rev 173560)
+++ PKGBUILD 2016-05-03 12:14:00 UTC (rev 173561)
@@ -1,75 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Pavol (Lopo) Hluchy <lopo AT losys DOT eu>
-# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: Jonas Heinrich <onny at project-insnaity.org>
-# Contributor: Lee Watson <aur at revthefox.co.uk>
-# Contributor: Tobias Hunger <tobias DOT hunger AT gmail DOT com>
-# Contributor: Stefan Tatschner <stefan at sevenbyte.org>
-
-pkgname=gitlab-shell
-pkgver=2.7.2
-pkgrel=3
-pkgdesc="Self hosted Git management software. Replacement for gitolite"
-arch=('any')
-url="https://gitlab.com/gitlab-org/gitlab-shell/"
-license=('MIT')
-depends=('ruby2.1' 'redis' 'git')
-options=('!strip')
-install=gitlab-shell.install
-backup=("etc/webapps/${pkgname}/config.yml"
- "etc/webapps/${pkgname}/secret"
- "usr/share/webapps/${pkgname}/.gitlab_shell_secret")
-source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/gitlab-org/gitlab-shell/repository/archive.tar.gz?ref=v${pkgver}")
-md5sums=('1835e858d9285ac9941eec320e2ecac6')
-
-_homedir='/var/lib/gitlab'
-_datadir="/usr/share/webapps/${pkgname}"
-_srcdir="gitlab-shell-v${pkgver}"
-_logdir='/var/log/gitlab'
-_etcdir="/etc/webapps/${pkgname}"
-
-prepare() {
- cd "${srcdir}/${_srcdir}"-*
-
- sed -e 's|user: git|user: gitlab|' \
- -e "s|/home/git|${_homedir}|" \
- -e "s|# log_file: .*|log_file: \"${_logdir}/gitlab-shell.log\"|" \
- config.yml.example > config.yml
-}
-
-package() {
- cd "${srcdir}/${_srcdir}"-*
-
- install -dm750 -o 105 -g 105 "${pkgdir}${_datadir}"
- install -dm750 -o 105 -g 105 "${pkgdir}${_homedir}"
- install -dm750 -o 105 -g 105 "${pkgdir}${_homedir}/satellites"
- install -dm700 -o 105 -g 105 "${pkgdir}${_homedir}/.ssh"
- install -dm750 -o 105 -g 105 "${pkgdir}${_etcdir}"
- install -dm770 -o root -g 105 "${pkgdir}${_logdir}"
-
- echo "[user]" > "${pkgdir}${_homedir}"/.gitconfig
- echo " name = GitLab" >> "${pkgdir}${_homedir}"/.gitconfig
- echo " email = git at localhost" >> "${pkgdir}${_homedir}"/.gitconfig
-
- touch "${pkgdir}${_homedir}/.ssh/authorized_keys"
- chmod 600 "${pkgdir}${_homedir}/.ssh/authorized_keys"
-
- touch "${pkgdir}${_etcdir}/secret"
- chmod 640 "${pkgdir}${_etcdir}/secret"
- chown root:105 "${pkgdir}${_etcdir}/secret"
-
- ln -fs "${_etcdir}/secret" "${pkgdir}${_datadir}/.gitlab_shell_secret"
-
- mv config.yml "${pkgdir}${_etcdir}"
- ln -fs "${_etcdir}/config.yml" "${pkgdir}${_datadir}/config.yml"
-
- cp -r VERSION bin hooks lib spec support "${pkgdir}${_datadir}"
- ln -fs "${_datadir}" "${pkgdir}/${_homedir}/"
-
- install -dm2770 "${pkgdir}${_homedir}/repositories"
-
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
-}
-
-# vim:set ts=4 sw=4 et:
Copied: gitlab-shell/repos/community-any/PKGBUILD (from rev 173560, gitlab-shell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-05-03 12:14:00 UTC (rev 173561)
@@ -0,0 +1,74 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Pavol (Lopo) Hluchy <lopo AT losys DOT eu>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Jonas Heinrich <onny at project-insnaity.org>
+# Contributor: Lee Watson <aur at revthefox.co.uk>
+# Contributor: Tobias Hunger <tobias DOT hunger AT gmail DOT com>
+# Contributor: Stefan Tatschner <stefan at sevenbyte.org>
+
+pkgname=gitlab-shell
+pkgver=2.7.2
+pkgrel=4
+pkgdesc="Self hosted Git management software. Replacement for gitolite"
+arch=('any')
+url="https://gitlab.com/gitlab-org/gitlab-shell/"
+license=('MIT')
+depends=('ruby2.1' 'redis' 'git')
+options=('!strip')
+install=gitlab-shell.install
+backup=("etc/webapps/${pkgname}/config.yml"
+ "etc/webapps/${pkgname}/secret"
+ "usr/share/webapps/${pkgname}/.gitlab_shell_secret")
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/gitlab-org/gitlab-shell/repository/archive.tar.gz?ref=v${pkgver}")
+md5sums=('1835e858d9285ac9941eec320e2ecac6')
+
+_homedir='/var/lib/gitlab'
+_datadir="/usr/share/webapps/${pkgname}"
+_srcdir="gitlab-shell-v${pkgver}"
+_logdir='/var/log/gitlab'
+_etcdir="/etc/webapps/${pkgname}"
+
+prepare() {
+ cd "${srcdir}/${_srcdir}"-*
+
+ sed -e "s|/home/git|${_homedir}|" \
+ -e "s|# log_file: .*|log_file: \"${_logdir}/gitlab-shell.log\"|" \
+ config.yml.example > config.yml
+}
+
+package() {
+ cd "${srcdir}/${_srcdir}"-*
+
+ install -dm750 -o 105 -g 105 "${pkgdir}${_datadir}"
+ install -dm750 -o 105 -g 105 "${pkgdir}${_homedir}"
+ install -dm750 -o 105 -g 105 "${pkgdir}${_homedir}/satellites"
+ install -dm700 -o 105 -g 105 "${pkgdir}${_homedir}/.ssh"
+ install -dm750 -o 105 -g 105 "${pkgdir}${_etcdir}"
+ install -dm770 -o root -g 105 "${pkgdir}${_logdir}"
+
+ echo "[user]" > "${pkgdir}${_homedir}"/.gitconfig
+ echo " name = GitLab" >> "${pkgdir}${_homedir}"/.gitconfig
+ echo " email = git at localhost" >> "${pkgdir}${_homedir}"/.gitconfig
+
+ touch "${pkgdir}${_homedir}/.ssh/authorized_keys"
+ chmod 600 "${pkgdir}${_homedir}/.ssh/authorized_keys"
+
+ touch "${pkgdir}${_etcdir}/secret"
+ chmod 640 "${pkgdir}${_etcdir}/secret"
+ chown root:105 "${pkgdir}${_etcdir}/secret"
+
+ ln -fs "${_etcdir}/secret" "${pkgdir}${_datadir}/.gitlab_shell_secret"
+
+ mv config.yml "${pkgdir}${_etcdir}"
+ ln -fs "${_etcdir}/config.yml" "${pkgdir}${_datadir}/config.yml"
+
+ cp -r VERSION bin hooks lib spec support "${pkgdir}${_datadir}"
+ ln -fs "${_datadir}" "${pkgdir}/${_homedir}/"
+
+ install -dm2770 "${pkgdir}${_homedir}/repositories"
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+}
+
+# vim:set ts=4 sw=4 et:
Deleted: gitlab-shell.install
===================================================================
--- gitlab-shell.install 2016-05-03 12:13:50 UTC (rev 173560)
+++ gitlab-shell.install 2016-05-03 12:14:00 UTC (rev 173561)
@@ -1,7 +0,0 @@
-post_install() {
- getent group git > /dev/null || groupadd -g 105 git 1>/dev/null
- getent passwd git > /dev/null || useradd -u 105 -d "/var/lib/gitlab" -g git -s "/usr/share/webapps/gitlab-shell/bin/gitlab-shell" git 1>/dev/null
-
- echo "Configure gitlab-shell in /etc/webapps/gitlab-shell/config.yml"
- echo "Don't forget to put a secret bytestring to /etc/webapps/gitlab-shell/secret"
-}
Copied: gitlab-shell/repos/community-any/gitlab-shell.install (from rev 173560, gitlab-shell/trunk/gitlab-shell.install)
===================================================================
--- gitlab-shell.install (rev 0)
+++ gitlab-shell.install 2016-05-03 12:14:00 UTC (rev 173561)
@@ -0,0 +1,7 @@
+post_install() {
+ getent group git > /dev/null || groupadd -g 105 git 1>/dev/null
+ getent passwd git > /dev/null || useradd -u 105 -d "/var/lib/gitlab" -g git -s "/usr/share/webapps/gitlab-shell/bin/gitlab-shell" git 1>/dev/null
+
+ echo "Configure gitlab-shell in /etc/webapps/gitlab-shell/config.yml"
+ echo "Put a secret bytestring to /etc/webapps/gitlab-shell/secret"
+}
More information about the arch-commits
mailing list