aboutsummaryrefslogtreecommitdiffstats
path: root/main/git
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-12-06 07:35:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-06 07:36:37 +0000
commit22f055b22c390e9d23cd67c27b662811734ea1de (patch)
treed290fa4a86d82c5d18114b3db61c6c2d03a529e1 /main/git
parentd772533df3d659a6a13fb0e1e41edff746ed3288 (diff)
downloadaports-22f055b22c390e9d23cd67c27b662811734ea1de.tar.bz2
aports-22f055b22c390e9d23cd67c27b662811734ea1de.tar.xz
main/git: set HOME for git daemon
Fixes: remote: warning: unable to access '/root/.config/git/attributes': Permission denied
Diffstat (limited to 'main/git')
-rw-r--r--main/git/APKBUILD8
-rw-r--r--main/git/git-daemon.initd1
2 files changed, 5 insertions, 4 deletions
diff --git a/main/git/APKBUILD b/main/git/APKBUILD
index c3103896fb..48d6d4e39d 100644
--- a/main/git/APKBUILD
+++ b/main/git/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=git
pkgver=1.8.5.1
-pkgrel=0
+pkgrel=1
pkgdesc="A distributed version control system"
url="http://git.or.cz/"
arch="all"
@@ -90,15 +90,15 @@ completion() {
md5sums="7b9d622c98482aeb4532500231626210 git-1.8.5.1.tar.gz
178d2d10f9740fac4a8af0155368b3d9 0001-config-add-_cb-suffix-to-callback-functions.patch
e63a201556c4f089de790805c09a2e5b bb-tar.patch
-c92d9339a131e708cc65e1cac1e2520a git-daemon.initd
+04749c11f744ace2fa35cd04bb06da04 git-daemon.initd
2258e95d389ccc6de0b5111d53d9eed6 git-daemon.confd"
sha256sums="1559c4d7af0377ea3133c6dfccc2f32a25bcc8e3255464f4a36ab87416f8ee44 git-1.8.5.1.tar.gz
c0f66913df49d35e197ff18426b2835a3bd539373c579d253cc4fcdf6c5b77c5 0001-config-add-_cb-suffix-to-callback-functions.patch
cb6319f47d81605e199771350154cbed0a6e85ef9042a689f2b405c64039f49c bb-tar.patch
-02eb703e3638275104e12c8057f16b9a858ac5c8dc56d2e9ca68d7d3250a1917 git-daemon.initd
+6de04e13dc126a54cb23ffa260ebe9aa9c5f6ba6d39808a823e18da5251c8867 git-daemon.initd
aaa80bd059db549dadf4c4e27a9aa41a4b5def844f8e563c493bc8513dcd981e git-daemon.confd"
sha512sums="01cddca27fbdf1e1d1d8f644558e52b14a8a464b07e4c93899d9e968c17544eae3ab841846a223bd65fa44fa7a04463f52d5ab86120f1c435cbed4c1d4a71293 git-1.8.5.1.tar.gz
3de27e2ff97be2673c218b86c5b0db515a6e6c603302ac158c8cb412e90f13b79381c432adcf661afcc2d5d0d156946bc85c2921c15066d20acf72defc0ce194 0001-config-add-_cb-suffix-to-callback-functions.patch
6fa088a753c2a697e8dbef2032ed63e8c2a0553a41cff2fcff893c2f35c51d2c697054cc921c23ee606f77b93d0f340df85220b15e1c470bd352f7fba3986cd0 bb-tar.patch
-6321ea464f0c1d6245a0722e02ff3dc29996e41fb8d9f3c747bfdd914dc1284e6eb62a7d6057e4f99c0c8a23c3e57f9ff76f2cf18d19272f3cc599877f999c41 git-daemon.initd
+539a6f461c2cd656eeb25e331c766106249aa606c0bd8549148d06fd8c2648544e1770885f57aa77b808e80008fcb37e47ce53fb7e62cda73586831702f750e3 git-daemon.initd
9640f8078d68ed2678e5249da3f946fc21f50e858b94127a4221de73c6132101afcd46bc1fe33861e9a7f731c0dc9591915b8ebf376b8e690cd7135703966509 git-daemon.confd"
diff --git a/main/git/git-daemon.initd b/main/git/git-daemon.initd
index 032a14592c..49d22d2a62 100644
--- a/main/git/git-daemon.initd
+++ b/main/git/git-daemon.initd
@@ -13,6 +13,7 @@ depend() {
start() {
ebegin "Starting git-daemon"
start-stop-daemon --start --quiet --background \
+ --env HOME=/var/gitroot \
--pidfile ${PIDFILE} \
--exec /usr/bin/git -- daemon \
--pid-file=${PIDFILE} \