Merge branch 'feature/gitlabgithttpserver-0.3.0' into 'master'

Feature/gitlabgithttpserver 0.3.0



See merge request !3
This commit is contained in:
Manuel Friedli 2015-10-17 00:04:20 +02:00
commit d75d3fdea6
10 changed files with 69 additions and 12 deletions

View file

@ -1,9 +1,12 @@
AUX fix-Makefile-0.2.10.patch 386 SHA256 16a0441a38a057773859af0a50f6f21fa1220c94dfc7521d2b9f86d9931cafbf SHA512 e18e74cdfa8d540b541e0b00e8a8bc70e2691e9985bc5a4f302848be99bd9765ef5531cb6a92ad807daec85e7c5e5d1f19c6a4223460755de304a1eeb419b87c WHIRLPOOL ce23abcd31287e28a27762b2c51ab906e3eb652f1c3c23011b6257d271f59a72b34d89e9624ab1a9941c62910775c0b8651d11c414a11760417f106800d6ec1c
AUX fix-Makefile-0.2.12.patch 386 SHA256 66a4b8e4f883d5147266a7db4f84ffdf7147946ae5222f43adaee04f11a40d6b SHA512 f47adb7ace8f903b8261b83cbc589ebda009e2d1f694ff6fe125cf3cbb80b55d06a61dff815d84d35aa6948976e17ebbe28cff9eb8a5bc4608ad05baa82b3f7c WHIRLPOOL 550e82c1c041fa0a899eda1a598c2d4ea6ffbaf1f8182e1ca66cf24b13a244590a2317a279b9548a47196dfb6e7f1e6ee829b6bab3178b60d183ac5c00156453
AUX fix-Makefile-0.3.0.patch 543 SHA256 53d8f0abd912f27dd84a180ebd59ca7e8b646e6e839493f6bf1740b0cbd86cea SHA512 badad53047c9c35481ed7e61b4d2410f3fad3de4cfb5aba107f40a549080e272144f6548b666508bb0d83529211960537abdade639825028762f5c9a87ba1a37 WHIRLPOOL 92e4de7aa6eb1bb40a1c62e183f03d683ccf5cb0e7705b628fe5b37ebccb047df38ad7093ec6d0938c8abfe08c517141999095db61bbe7c25da666d02c753700
AUX gitlab-git-http-server.conf 254 SHA256 b0c0a9a0c6db8743f46e38124ad3591f5f4e3b7d0cf1e0ff6a426504d85a1006 SHA512 9a6948e6491727737fb4faf12238e459992f95a8011726badba7202a8e3a409a4fd34d7a78b933e473bf0b6516d54c08b5905e35e304e022b5d9d2a8f7e38e62 WHIRLPOOL 1d2b11f973f7a0249a75df929c1f71f36c59bc0b7537cb7aed598dc40cb0ca581b9443eb499f2894069f3857d89c058fa3fd01418bbdab40b16a9896e83a52d2
AUX gitlab-git-http-server.init 689 SHA256 7c3ca271bfaa696fde364ca5915abe0874dfed67601680f3ab91a9560cabb810 SHA512 9d724a4a5c83d12ad817f33ba6d8a68df195e6a91ff75755c24f04678bb8e91f3708900770d87c824418406b3eca5774117e8a5b9e28210f2d8c48726007912b WHIRLPOOL 3078871755f1d425690adb30b4d096f6ed71e5da6aca7f28383ef154d958748536efef6c53e1417c36259591d165a364e1fde64bb8b490287183e02ac1b42571
DIST gitlab-git-http-server-0.2.10.tar.bz2 7150 SHA256 13a43078c2fe321c83c4af61db087ed5f1bef443a866dd05704717e197ce8f2a SHA512 faae12473e3994bfed31c7b13ad20e30f74a954db1b622ff911dce9be4dbc1a54a0ee4d0e9706f443928ad72ea810184360c590251e8012a882e8dea1538878b WHIRLPOOL c0b8ad7143bfc40b0540a5dd3466eb26b8698a3aa307a0086020d42968d23f785b4a22309b04f6923e6003efa53dc4a4412ec13fb7ec5c21f54220d04d786032
DIST gitlab-git-http-server-0.2.12.tar.bz2 7352 SHA256 0a50682ac246a0f7b27844959da829521df7f86ef7e88fd72d84fb500f09a6a5 SHA512 393ec8fe17310a79e4094eca464bec2f9e4e8508c8bbd911c9f4843b400f28617e35a06b6e41a9c84f8db904f4f20a3386e3473896ad27a1d278260dd4cd3b93 WHIRLPOOL df9fb21fd63db3aac811b1a62eb60225822a6fcc0b874f5b399d2d38f5f3e4c5dcb370c3a1773dd73a67f34cfc21fb6b56144b02987c29f50cef35b33b48f8bc
DIST gitlab-git-http-server-0.3.0.tar.bz2 9505 SHA256 84a4c2174a60f90eec2d58ef785a96cb3135a761fcca500c8ce6afc4f3d48e14 SHA512 0d45c28061388343a3f4ad3c0f1fa7ecb4076ff6264b15c12ad237791671e933f93e55c30795f847c9b7f21e709e93232ed826d2d9f45c9afc3e94ce9c961f29 WHIRLPOOL 0f5d1a64ab2945a640615d779d490eabcee250d296455f76661893c6ab41918209c2190cf5c063ab70a6f10558153863a8e65239c35cf60347a08929c8500820
EBUILD gitlab-git-http-server-0.2.10.ebuild 889 SHA256 c562c473a7755fbffc39b368df0c06ee77773630e32fc86254a4d98de5cdf5c3 SHA512 30249f99c649137a0ee7a799bae2b65549e5362adf6b1064b8c9eec40fa4a48ef17db1827d03a2e13316306a913e616a800bb09c7a5dabafdf851972796f920c WHIRLPOOL dc140bb370ff1ca7149506542c0f98de35a9821b3d3795e414a9882fa05587928291f4e974e45249dfcb9eca6b7655efa531463ac51ab67200d7878764fc867e
EBUILD gitlab-git-http-server-0.2.12.ebuild 889 SHA256 e17a6fef2fcbb31d705d7f086a490a7af9465c380e8942c90d9b414ebc7b3d43 SHA512 2f34f1f09caa33b41e948ffdf1f8f561a20cf51b10d7333ba315876fdd869d2b57baf57d995cf5632f08d9aff50e499f791ad47ba4a00b68d24dece5597f6182 WHIRLPOOL 72691c344d68b657c9b06da4f9c31160b5f9afc99b5d10de8140774712afe509fef152779e1395a6d2ed68fbde0863226537ac733f3aeb107687dadb575d8f1d
EBUILD gitlab-git-http-server-0.3.0.ebuild 891 SHA256 94102d5da8a851f55d5e470c894263b9926af2d7251370d026a27dbba0e7a1ad SHA512 3c42003f4107f8c629c19cf1fea390750809bdc4efa22eb78a7236a4f7329c4f9f19f990b0de358a32d9f626a4b647d16baa2e56f5432e81fcab477a1ebd2559 WHIRLPOOL 037f18bb92d6c43f0a88a905f209c776f0b97cf49d1f46898dbbf1faac54eb4754875555b5eaeae209d2150ad3772bd29f2ac8b19022b65a3b1da7bd2dddb058
MISC metadata.xml 234 SHA256 f35b97f99a26d73cc441e1d93bfe25aaa4e9f7f6d90c8d05a74f7b7bc5b68472 SHA512 59d8156b3ca3e99c40d5a2a32de7edf2eb53279b2424998862589d6bad77617d23fc852afec0a92f8ac5bb54a88ebc504cc0641029c1936412e90ab03dfdd447 WHIRLPOOL 935a1401910a42f888c991e443a49275ea8b87976c5aa977f670053d97d18754231749749bc92d37d4b5f45ecf65914480942a11b5827b6c08fb24313a428431

View file

@ -0,0 +1,16 @@
diff --git a/Makefile b/Makefile
index f6456e1..55af079 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
-PREFIX=/usr/local
-VERSION=$(shell git describe)-$(shell date -u +%Y%m%d.%H%M%S)
+PREFIX=${DESTDIR}/usr
+VERSION=0.3.0-$(shell date -u +%Y%m%d.%H%M%S)
gitlab-git-http-server: main.go githandler.go
- go build -ldflags "-X main.Version ${VERSION}" -o gitlab-git-http-server
+ go build -ldflags "-X main.Version=${VERSION}" -o gitlab-git-http-server
install: gitlab-git-http-server
install gitlab-git-http-server ${PREFIX}/bin/

View file

@ -0,0 +1,37 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils user
DESCRIPTION="GitLab Git HTTP Server is the new backend for Git-over-HTTP communication needed for GitLab >= 8.0"
HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-git-http-server"
SRC_URI="https://gitlab.com/gitlab-org/${PN}/repository/archive.tar.bz2?ref=${PV} -> ${P}.tar.bz2"
S="${WORKDIR}/${P}-bf2a3cedd9b631939330d2e54241f95a7b478763"
RESTRICT="mirror"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=">=dev-lang/go-1.5.1"
src_prepare() {
epatch "${FILESDIR}/fix-Makefile-${PV}.patch"
}
src_install() {
local dest=/usr/bin
diropts -m755
dodir ${dest}
exeinto ${dest}
doexe "${S}/${PN}"
## RC script ##
newinitd "${FILESDIR}/gitlab-git-http-server.init" "${PN}"
newconfd "${FILESDIR}/gitlab-git-http-server.conf" "${PN}"
}

View file

@ -15,10 +15,11 @@ DIST gitlabhq-8.0.3.tar.gz 8238927 SHA256 b299b100f8963f86aaeab01ad4ba49ac034cf7
DIST gitlabhq-8.0.4.tar.gz 8238901 SHA256 644b4bc98907bb171a1281ae73ac510f1bc6d379d39020f61e1697bb73547ae8 SHA512 41d4e8088221beb4aab731cf0ddccba0be2e4746ece0e33f92ec5488a4ed759f1e18788efed2351f5a643c31f47b4138a33077313b27e4e4567c9e9ad8dc79e5 WHIRLPOOL 08157b0f82150a5245cb2985b704026dab5f6342ab9e080c3149850ea37be5482d2dfc330a8d441957c1d8383528d3e65eb41c70ccfbb4a49e4a442f6f24a56e
DIST gitlabhq-8.0.5.tar.gz 8238566 SHA256 476185a191bfe8757ca1a981419ff5d31449136e76029daa77e89086539d30c6 SHA512 af9d11f0ed744d0c92c9329ba94fe51534996f18dbb2c110d70912cd3ce9e60c3a127b7c8597c95b010b0e2251f98aabdddc314ddae53ab26a44c19b4ba7a7d7 WHIRLPOOL 6e4bc8c43cbfe215efd21a87a5d0395abde4f9998564fc0295d946ffa6a7021d2b5bc2ea625482fb400088bcc57431b3969a6c9dfa0f2121420356d153d297f0
EBUILD gitlabhq-7.14.3.ebuild 11037 SHA256 41ef6da353b308ddf94dea245cee85b8fa0a16d15d20cfd210ec8b908ea1a123 SHA512 c88df7c472fef7fc609bc4c4f622dfb7c9d7288a21859b3794305a100be013153a1058cd111c0e880094626b620cda72cc29632661e0c3c4f2b325beec555e97 WHIRLPOOL 795038d6d9443e242175132638bf32bf3bb191ec876f6abc3874ee68fce15c32b86e6574158ab6561c3693ecfce6457a0da619c9405fc447cbebf1c8732ac0e8
EBUILD gitlabhq-8.0.2.ebuild 11112 SHA256 afcb266ca7ac24191a917a1d7bd06e4b4ac5008a120cbec9efa1985d5137d007 SHA512 917c07d6560a068309b2012d0e9e4ac67dee0255ac3bfc2ec3ac079d9f16aac08f8920f6b9655b6e3a0cd2bf9b3f457747bec5286c7516937beccc4ef32f0f26 WHIRLPOOL 2ca4c67d7e4f6309db0c3bd1434779facdd07c133e7ce8d2e886028adc39db750a7218e6b2c0fdae35f738cf238bb8744179205f55f62ee113b53102c8719fc0
EBUILD gitlabhq-8.0.3.ebuild 11119 SHA256 0e22a53bab9bc2b87e5cead173b3e95b05e020c44eb2fbe7c51901f16b0a01d1 SHA512 d6cad9084f278d69d7051ce1036d951113631e6f2fd666f7a69ca1ddf210d64baa19aec776c84a2aa84b6ae5519ed7198c5d031aa2a4e6bc3e0557691b4a02eb WHIRLPOOL 727fcbfbc8b63d940ff35ef84f49b6507d1f94d56c99277595a7b1846c4a7fd6d0c619d67118cd955c0944d0814c197fe70cf52b6d92ce654feca1d84537422a
EBUILD gitlabhq-8.0.4-r1.ebuild 11195 SHA256 ab0d638ed62f0a33d64af89c5cb024977371dc963a97d8a5c3abd69adbcf11ae SHA512 d8ec4be62629ee7c7e8a8142df9a36f7eb1f8658b31abe0e2498c4ddb299e098c337f8b69bce9a1fddc4e10ddc7e2d1876c8b82c4044ad08817a68310b6d6993 WHIRLPOOL 53ca5fe97448210bee6c944e62045377a9d156d1bbf47546392e11f3030f3c02cbcf4e44e3d7b55db8ceccfe75bbe423f5d81f3b3de500ca8109e1eda8b4b98a
EBUILD gitlabhq-8.0.4.ebuild 11119 SHA256 0e22a53bab9bc2b87e5cead173b3e95b05e020c44eb2fbe7c51901f16b0a01d1 SHA512 d6cad9084f278d69d7051ce1036d951113631e6f2fd666f7a69ca1ddf210d64baa19aec776c84a2aa84b6ae5519ed7198c5d031aa2a4e6bc3e0557691b4a02eb WHIRLPOOL 727fcbfbc8b63d940ff35ef84f49b6507d1f94d56c99277595a7b1846c4a7fd6d0c619d67118cd955c0944d0814c197fe70cf52b6d92ce654feca1d84537422a
EBUILD gitlabhq-8.0.5.ebuild 11182 SHA256 86856788a00deb98e10ff06271e4cceaba307c03f9e70e1e6e4f5e4b7b3c9a85 SHA512 d71c135c73902a584f38d4831a6a66e00c9a3de75b50571bac3d2c3d79bfaa9c9e80d938141eed9247150d1c85f18c3a3be5a09b1fc6f7c2d05dff42b2a89aab WHIRLPOOL f5f58a36c7fdcff3824c636fa965c779c1f2145a053f9134df140d5a4d5be697973092504b5bcc2b088aabe39fb3e41396ac4b6e1ec353237af06db253283725
EBUILD gitlabhq-9999.ebuild 11088 SHA256 954ffd9dca14712ea0bf3e765978a7307791dea2f06d3744ea5007b854873fc7 SHA512 f91924d9ffe0bd6049e95f42cafdfbfc20444a3792a08bd71c44583757b0c91d10e7d2982dc3f36a24c2bd41180bc919c5546d37218fdd5dc0a8c51ef9b47ca8 WHIRLPOOL 19c8ba6973808be39b4b7401496774aa408a09e773a6950a581ea5b616c683cd8a4984e59dd4709becf34013647a6c9db8e253038042fb459145900a035a9689
EBUILD gitlabhq-8.0.2.ebuild 11109 SHA256 802e5ec6fdc8a2219d8f812b0541916807fe0793b5874b7cdbafa760ee62e14f SHA512 a70346d7dafc62ccdd5a5fe11b55845d056f0c2fc8ca7c2dd0a6e67d80f91398ce5fda2c7b5f61bb5bf5bc65dd1c5e27d3959dc47de793475e98009c483b25a0 WHIRLPOOL 0df933fe9c57d9b8cca6cf2a8334c91443481942593b214c6ba4781eca70002181367095aa66e50ddce754751c1c71ea8c071d7766a815337a48cb9d7bb1c5fa
EBUILD gitlabhq-8.0.3.ebuild 11116 SHA256 7e5335681c66070aacecb1d64f58ef09e8cbd1934e8f7bea4d457c380fbe5029 SHA512 9c77b4ec65ccae2451f47fa50c443e3f6647268f8d6570e9c4f6ced1dfe881ff9f385404545c2db02f93eda8adba898a12eac27276f216da2dea2a164b27b6cd WHIRLPOOL 1bc6d1e7e6d89f03fec11696a905ac26792acc6be2115b348090d499c2dfdeb9cc1db8f257af316d38de6a770e9ebba2a5e6c529013a35f75863a56751a24c2b
EBUILD gitlabhq-8.0.4-r1.ebuild 11192 SHA256 3f4ec010d0d19d331921ceaf49ed197d0ed359cdebc49e44edfcd135ef837ae6 SHA512 f916c54d3891568361aadddf5827e4f631af84e4534399e3e98ec7456d2554d3d817527ee5dd043ab658fc17ee65f91337ad8aa115937b4451afa8f22a15ad66 WHIRLPOOL 5afbebf340525ee64ec8e15f8a6142abe7873d14e09f16cac3a2f0706e3fdf993e39d76c3931d8cecc379aacd28162e7db38e822bc9bd403e84a37653f4b9abc
EBUILD gitlabhq-8.0.4.ebuild 11116 SHA256 7e5335681c66070aacecb1d64f58ef09e8cbd1934e8f7bea4d457c380fbe5029 SHA512 9c77b4ec65ccae2451f47fa50c443e3f6647268f8d6570e9c4f6ced1dfe881ff9f385404545c2db02f93eda8adba898a12eac27276f216da2dea2a164b27b6cd WHIRLPOOL 1bc6d1e7e6d89f03fec11696a905ac26792acc6be2115b348090d499c2dfdeb9cc1db8f257af316d38de6a770e9ebba2a5e6c529013a35f75863a56751a24c2b
EBUILD gitlabhq-8.0.5.ebuild 11179 SHA256 9bda7c4e16f049eba1a2cdc8cb269891ca2759bc530ba0e1d1e76e79dec00bf8 SHA512 1e2c9bc26c98ffde2fd22a482d50c29b7b1c169ba62bdbbf2a6f8007bf77428b2282e076d9431e537d7ae31e70f98cac99e884336942bd3555ea346816c275d4 WHIRLPOOL 49219725b625dfedb6d918c98bfa3ca2cbeeef5851f03953d9fd34bee141f4a0eaf2f8262c42603e7b0f1408e3af6b5ffc56ff1764f6afe6217650fbc58ab378
EBUILD gitlabhq-9999.ebuild 11087 SHA256 565d2f2a530d232bed74ab7c9699788e186d69159e5b201a2b9e9990f558083d SHA512 c8eb9b1a667e78404949835ef92d8ca9ef74738379a0b2de9d64ce3dc0510635f575d43fc13efc52076afd8b85a3955e8614a41503e6ca1deb0847d1f23c2ad2 WHIRLPOOL a9889adc7f162bfc032914252f4f689e417e06b06149695f2f370daa7806bc33ccba6a2767f79d512cd9cc7dcbd8ffbfbdb2a71ec40cb16c2dfbec4900804dc6
MISC Manifest.orig 11464 SHA256 1d619097e0316f2e1de8f3a79b89c1f0ae7fcdcd779269347b0875a30cab5dd7 SHA512 b527ca3dae3b3cac0ab471339549a784899346a14f7598866a93ef21a56df5a8addec2ff2b7ff2bfb2dc10f7b9a5d668b7c076e5855286326c32860ef2a6f167 WHIRLPOOL 14dd65cdf02ab3c345a5a8316edd348303cba0f586b75f23e369e92e2ec336077490d79d5e3c01f88f592ab6eb1419185e183e4edee5288b04eaeb839eee2630
MISC metadata.xml 545 SHA256 1b7fc44d811e1ab7638fe4a40253f49d5f1071872d3020c22c4f67662750cb2f SHA512 86f47d297892bccfefa087d93936296f5647993a9ec8e3f47907a6859cbf385e5bc6f00502d7836c9e8d9efef2b6725bf145b0150924c2082b2bd164469ef6ea WHIRLPOOL 6bfb8a55684d68c8bfa6e025a0be965f7b815394ee0896dd2a13cfb524e3cf3f3149acc9072897e30a1842060389576aac07ea8beb4a8b0bfc3e8eab3723f2a1

View file

@ -54,7 +54,7 @@ CDEPEND="
DEPEND="${GEMS_DEPEND}
>=dev-vcs/gitlab-shell-2.6.5
dev-vcs/git
>=dev-vcs/gitlab-git-http-server-0.2.10
=dev-vcs/gitlab-git-http-server-0.2*
kerberos? ( !app-crypt/heimdal )
rugged_use_system_libraries? ( net-libs/http-parser =dev-libs/libgit2-0.22* )"
RDEPEND="${DEPEND}

View file

@ -54,7 +54,7 @@ CDEPEND="
DEPEND="${GEMS_DEPEND}
>=dev-vcs/gitlab-shell-2.6.5
dev-vcs/git
>=dev-vcs/gitlab-git-http-server-0.2.10
=dev-vcs/gitlab-git-http-server-0.2*
kerberos? ( !app-crypt/heimdal )
rugged_use_system_libraries? ( net-libs/http-parser =dev-libs/libgit2-0.22* )"
RDEPEND="${DEPEND}

View file

@ -54,7 +54,7 @@ CDEPEND="
DEPEND="${GEMS_DEPEND}
>=dev-vcs/gitlab-shell-2.6.5
dev-vcs/git
>=dev-vcs/gitlab-git-http-server-0.2.10
=dev-vcs/gitlab-git-http-server-0.2*
kerberos? ( !app-crypt/heimdal )
rugged_use_system_libraries? ( net-libs/http-parser =dev-libs/libgit2-0.22* )"
RDEPEND="${DEPEND}

View file

@ -54,7 +54,7 @@ CDEPEND="
DEPEND="${GEMS_DEPEND}
>=dev-vcs/gitlab-shell-2.6.5
dev-vcs/git
>=dev-vcs/gitlab-git-http-server-0.2.10
=dev-vcs/gitlab-git-http-server-0.2*
kerberos? ( !app-crypt/heimdal )
rugged_use_system_libraries? ( net-libs/http-parser =dev-libs/libgit2-0.22* )"
RDEPEND="${DEPEND}

View file

@ -54,7 +54,7 @@ CDEPEND="
DEPEND="${GEMS_DEPEND}
>=dev-vcs/gitlab-shell-2.6.5
dev-vcs/git
>=dev-vcs/gitlab-git-http-server-0.2.10
=dev-vcs/gitlab-git-http-server-0.2*
kerberos? ( !app-crypt/heimdal )
rugged_use_system_libraries? ( net-libs/http-parser dev-libs/libgit2:0/22 )"
RDEPEND="${DEPEND}

View file

@ -54,7 +54,7 @@ CDEPEND="
DEPEND="${GEMS_DEPEND}
>=dev-vcs/gitlab-shell-2.6.5
dev-vcs/git
>=dev-vcs/gitlab-git-http-server-0.2.10
>=dev-vcs/gitlab-git-http-server-0.3.0
kerberos? ( !app-crypt/heimdal )
rugged_use_system_libraries? ( net-libs/http-parser dev-libs/libgit2:0/22 )"
RDEPEND="${DEPEND}