|
|
@ -8,14 +8,15 @@ |
|
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=gitolite |
|
|
|
PKG_VERSION:=3.6.6 |
|
|
|
PKG_VERSION:=3.6.8 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git |
|
|
|
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.xz |
|
|
|
PKG_MIRROR_HASH:=b2d96c36682391f45c63b21a91fbe77a969a7b362417c851dd0091a06fcc74d9 |
|
|
|
PKG_MIRROR_HASH:=652d3b3f8ed93b8ef56153337465cc7260974e5cd2653e949da1bb97a8421ea0 |
|
|
|
|
|
|
|
PKG_SOURCE_URL:=https://github.com/sitaramc/gitolite.git |
|
|
|
PKG_SOURCE_VERSION:=908f8c6f3b8ef5b95829be7155be2557e71f4579 |
|
|
|
PKG_SOURCE_VERSION:=e126e97a4d5575821f89ae80dac402b017db94aa |
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) |
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR) |
|
|
|
|
|
|
@ -36,11 +37,13 @@ define Package/gitolite/description |
|
|
|
Gitolite is a system for managing access to git repositories. Note you will need to make |
|
|
|
sure dropbear does not interfere with OpenSSH as gitolite depends on feature not in |
|
|
|
dropbear (to my knowledge). |
|
|
|
See https://openwrt.org/docs/guide-user/services/gitolite for a guide on installation. |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/gitolite/postinst |
|
|
|
sed -i -e 's,/var/run/git,/srv/git,' $${IPKG_INSTROOT}/etc/passwd |
|
|
|
sed -i -e 's,git:\(.*\):/bin/false,git:\1:/bin/ash,' $${IPKG_INSTROOT}/etc/passwd |
|
|
|
sed -i -e 's,git:x:0:\(.*\)$$,git:x:99999:\1,' $${IPKG_INSTROOT}/etc/shadow |
|
|
|
endef |
|
|
|
|
|
|
|
define Build/Configure |
|
|
|