fixed patch for the makefile to use the correct version number

This commit is contained in:
Manuel Friedli 2015-09-28 13:58:56 +02:00
parent ea8dd0e860
commit 4a8df7b93d
3 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
AUX fix-Makefile.patch 385 SHA256 879ab15c1770414da4a3001664fd30a11a9e95436dc0539330a66c85659b6c8d SHA512 6332a20689061f5e1c712113788fed843409b466dec5f1e5eee98ccf37316a065294e9321f3c2d1aed5a164788d5c6b1724a67949cfe2917b8c2b6374fb8a0ef WHIRLPOOL 250eef6fa2526c4e25237c8ba7fafa8acf72cf5b1c549c1e45f60a1a21237e6865fcb0523ed60be0f1d206b27dfb876201ad8042077097d4ed37b0e154df7241 AUX fix-Makefile-0.2.10.patch 386 SHA256 16a0441a38a057773859af0a50f6f21fa1220c94dfc7521d2b9f86d9931cafbf SHA512 e18e74cdfa8d540b541e0b00e8a8bc70e2691e9985bc5a4f302848be99bd9765ef5531cb6a92ad807daec85e7c5e5d1f19c6a4223460755de304a1eeb419b87c WHIRLPOOL ce23abcd31287e28a27762b2c51ab906e3eb652f1c3c23011b6257d271f59a72b34d89e9624ab1a9941c62910775c0b8651d11c414a11760417f106800d6ec1c
AUX gitlab-git-http-server.conf 222 SHA256 363b39f109219d478d3060b300115eddffd17988569ad485bfab0f4ad5cb5374 SHA512 f246cafbd4d7e7b7c30c24396751ff0d6f549934e87aad10e668b1bfe37de0bd319827dee2392919455ffd05977aa5a198a25d6664dda1d4100b42c303f20f1f WHIRLPOOL 901bc146461d532b1b9cedc506f9baf99a9064dd4e88adbdbd2761abf57814de5aca6fda990143618575a5a4865dd2b8789ed9ec3a6195f14a077eb12bc2c660 AUX gitlab-git-http-server.conf 222 SHA256 363b39f109219d478d3060b300115eddffd17988569ad485bfab0f4ad5cb5374 SHA512 f246cafbd4d7e7b7c30c24396751ff0d6f549934e87aad10e668b1bfe37de0bd319827dee2392919455ffd05977aa5a198a25d6664dda1d4100b42c303f20f1f WHIRLPOOL 901bc146461d532b1b9cedc506f9baf99a9064dd4e88adbdbd2761abf57814de5aca6fda990143618575a5a4865dd2b8789ed9ec3a6195f14a077eb12bc2c660
AUX gitlab-git-http-server.init 417 SHA256 0aefe5e8c85a98bb177ebd20e952051717381fe147a70488523d97e335d43f50 SHA512 70afebf1b382f2b1cc5cdf6bb6d22393161938a241aabadc4332296f430a4f73a38ba257ac0363f43f9a6329a1c04428060f64bc8f506c9bedf578333a3ae790 WHIRLPOOL 222eb1636a3c9fa3320e53bc9facb096cad4555a451b6ce504845798c1bd6518af0b1d839149373602dd2279007364c893d818d7ec7205c01132e7942b47c83c AUX gitlab-git-http-server.init 417 SHA256 0aefe5e8c85a98bb177ebd20e952051717381fe147a70488523d97e335d43f50 SHA512 70afebf1b382f2b1cc5cdf6bb6d22393161938a241aabadc4332296f430a4f73a38ba257ac0363f43f9a6329a1c04428060f64bc8f506c9bedf578333a3ae790 WHIRLPOOL 222eb1636a3c9fa3320e53bc9facb096cad4555a451b6ce504845798c1bd6518af0b1d839149373602dd2279007364c893d818d7ec7205c01132e7942b47c83c
DIST gitlab-git-http-server-0.2.10.tar.bz2 7150 SHA256 13a43078c2fe321c83c4af61db087ed5f1bef443a866dd05704717e197ce8f2a SHA512 faae12473e3994bfed31c7b13ad20e30f74a954db1b622ff911dce9be4dbc1a54a0ee4d0e9706f443928ad72ea810184360c590251e8012a882e8dea1538878b WHIRLPOOL c0b8ad7143bfc40b0540a5dd3466eb26b8698a3aa307a0086020d42968d23f785b4a22309b04f6923e6003efa53dc4a4412ec13fb7ec5c21f54220d04d786032 DIST gitlab-git-http-server-0.2.10.tar.bz2 7150 SHA256 13a43078c2fe321c83c4af61db087ed5f1bef443a866dd05704717e197ce8f2a SHA512 faae12473e3994bfed31c7b13ad20e30f74a954db1b622ff911dce9be4dbc1a54a0ee4d0e9706f443928ad72ea810184360c590251e8012a882e8dea1538878b WHIRLPOOL c0b8ad7143bfc40b0540a5dd3466eb26b8698a3aa307a0086020d42968d23f785b4a22309b04f6923e6003efa53dc4a4412ec13fb7ec5c21f54220d04d786032
EBUILD gitlab-git-http-server-0.2.10.ebuild 1007 SHA256 eb1c287467d8b1c6bbc0a91067f85f730a2ac887540cd6d9c7cf63ff3ba76b90 SHA512 0103ba8e3ccb914b919c81ec9561f61cee40e278909d6fdcb6f77130f1892f0c730b3fe6b9182e7af3c388efa1345aa91099dbdad48f09e81d0fc31a48e5e197 WHIRLPOOL c26b85a6d1d01e6047c775d50a7a39cac6fe3309ab61a9715b37f5bf72fec8df1f351fc8c6c97092f5d84ce837307d9f6d01eb88047ad0d773150f071b61a714 EBUILD gitlab-git-http-server-0.2.10.ebuild 1013 SHA256 a58fbddd639ec411198bf616afa57adf5cbc2eaad766c1fd803c98465f0d1131 SHA512 2b80f94c9481c7ecd9ee861720d3c9dc1a8dcf32f9d0cbc8fb63b89381514c41db6c7845430d3e8ba0b8d60f059fe98f060163e15f31bc3704d277d2916192a0 WHIRLPOOL 9b363c208ebde3a85d4cd21ae527c938b5701889fbdc57650c34b1191782b932096faca4e2113da10b2fb8b7c41487ba6a4453a56abd0eee9331c2ab1e749270

View file

@ -6,7 +6,7 @@ index f6456e1..c25e29e 100644
-PREFIX=/usr/local -PREFIX=/usr/local
-VERSION=$(shell git describe)-$(shell date -u +%Y%m%d.%H%M%S) -VERSION=$(shell git describe)-$(shell date -u +%Y%m%d.%H%M%S)
+PREFIX=${DESTDIR}/usr +PREFIX=${DESTDIR}/usr
+VERSION=0.2.9-$(shell date -u +%Y%m%d.%H%M%S) +VERSION=0.2.10-$(shell date -u +%Y%m%d.%H%M%S)
gitlab-git-http-server: main.go githandler.go 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

View file

@ -21,7 +21,7 @@ CDEPEND=">=dev-lang/go-1.5"
MY_USER="gitlab_git_http_server" MY_USER="gitlab_git_http_server"
src_prepare() { src_prepare() {
epatch "${FILESDIR}/fix-Makefile.patch" epatch "${FILESDIR}/fix-Makefile-${PV}.patch"
} }
src_install() { src_install() {