www-apps/gitea: Version bump to 1.6.0

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
This commit is contained in:
tastytea 2018-11-23 06:17:03 +01:00
parent 314883c130
commit aa10dc3022
Signed by untrusted user: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 76 additions and 4 deletions

View File

@ -9,13 +9,15 @@ AUX gitea.initd-r2 595 BLAKE2B 507d3c6eeba7bbd91497fe0886c960b0b7fed474e42edc91f
AUX gitea.logrotated 87 BLAKE2B 373830ddd6eed0ce2f0f7b1dab14e4a253e5a56a73f477cfadbc6deec373846d4df2d697735391581771699d5a6513acb0e14a446873de01eba10d19e3a6bd88 SHA512 798f3fc33026f19dd31ffa78b9b1ed313d7b82b19c047f509e896c1798b2925a1bb7c4998d98a6b47e728979bf7132fb1c2a80eb7fda096a763d6791631cb6d4
AUX gitea.service 472 BLAKE2B 4c728e2987d0c0a86e65d4b9c1a59f6193ff8a3f9b066991a06f495ad1c5586b3497c71fca1cce5b65f167af09343e7bf3215ee5e8fdefa539e384198d2d88d6 SHA512 6666fe3b4cdbb78a58db4a6bf47a15e6be9ab30b666c6eb77a9e8a002d8c0abd510fc75ef463a11ee6892ab12c98943774616072cb64fd9f2fa42ff8f676aa95
DIST gitea-1.5.3.tar.gz 18866434 BLAKE2B 5419421980a0b2118e0ba8c67283f418ff51c60088dd9b230670a407a4a713b5eba5d71ac091365686aa8c5d3bf042d410961035724abc0ff5f096b057367f1e SHA512 3764bdcf20ed398d60647f4920d9c0c1560b754d01329820ce1cb077a0268abed8e19a7cbbe78dbfcd3e75115f600dafd24725194b0463a97b90fe193a2f3750
DIST gitea-1.6.0.tar.gz 19508474 BLAKE2B 5213014fa5a465019708605f3a5bbb5b5fe40fc5cacec422d92364a6fc6eec3a3904567bbb443545fffc9e7247bb13cc2427b11015cfa0420b94b51ec33c54c3 SHA512 67591fd610bc16909c9cbddc9d55b7b60653934c0f77cf6cb0c3b92c8e3b884bc0b9bdd5ccb70a3897859a86caa4ebe807bb3ab988455f5516dcc95745c8d0a4
EBUILD gitea-1.5.3-r1.ebuild 2025 BLAKE2B 7b6eebe9934b5f2cb17d3125d3cd083bd7f4c169e417e327a7ce22555156c41dac79055f849c480b76a82eaaec49fcaa9c7114c1ac874a930f2e769fa308633e SHA512 7868bd97dba1d7b8540245675d3fe5b5621fbfc9fcb113ba424d5d31b5263b8def4ad991d7db3611090a784bef9f73af76fe37d2ea67387b3f5358f510644253
EBUILD gitea-1.5.3.ebuild 2005 BLAKE2B c5a7d1d2093bdc7cf2abc23a35076488d530752993419df87ce6dd6af8b61a01a1274720d77d3ded36e12e6e7b2764de1cef7063e0aeac8b109fb7bb6b1f6d28 SHA512 7a66b0a68364c28ae524d8f0e234c502ea1479d3e118d71b7020002777b4d084a778e20809c9860a7695d61aa6826d9aed235e164a970d338ec873de83ada152
EBUILD gitea-1.6.0.ebuild 2025 BLAKE2B 7b6eebe9934b5f2cb17d3125d3cd083bd7f4c169e417e327a7ce22555156c41dac79055f849c480b76a82eaaec49fcaa9c7114c1ac874a930f2e769fa308633e SHA512 7868bd97dba1d7b8540245675d3fe5b5621fbfc9fcb113ba424d5d31b5263b8def4ad991d7db3611090a784bef9f73af76fe37d2ea67387b3f5358f510644253
MISC metadata.xml 248 BLAKE2B 0f4a45d414249f9410a61d8545ba052db41e3d74516e34bff0ca5547cae55db7eefffb2c23d840c979bdea0b927da36f7a56441cbc6053291d65bd39af2421bd SHA512 0f6384333cf38e52e6a67db43f3a78723d2a0d3446da27e7972f15244d96ae41f0e428d937538d4fa52aa70dc9c92920672d4e237b481dbbdff1d9d8c325b33d
-----BEGIN PGP SIGNATURE-----
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCW9rEPgAKCRDPw5SX8bJu
ByNWAP4wHsZm4/ObSda8AwJVh14KzcJ2q1mJe3F+SlK17bl1IQD/VCK5t93lXd5J
BoLgfPZUetopQisKnFJcdC4KIrKOSEs=
=jl7P
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCW/eNTwAKCRDPw5SX8bJu
B7VlAP9ggdhExSkCtqlag2sk4F41Z/UGo5HCnlqmR5JkiAQVdgD9HgIzOLlAzvXe
xuog7CTacXtnFcH7P6kIhAXUIIzFdJk=
=JZGi
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,70 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit user systemd golang-build golang-vcs-snapshot fcaps
EGO_PN="code.gitea.io/gitea"
KEYWORDS="~amd64 ~arm"
DESCRIPTION="A painless self-hosted Git service, written in Go"
HOMEPAGE="https://gitea.io/"
SRC_URI="https://github.com/go-gitea/gitea/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
DEPEND="
dev-go/go-bindata
sys-libs/pam
"
RDEPEND="
dev-vcs/git[curl,threads]
sys-libs/pam
"
FILECAPS=( cap_net_bind_service+ep usr/bin/gitea )
pkg_setup() {
enewgroup git
enewuser git -1 /bin/bash /var/lib/gitea git
}
src_prepare() {
default
sed -i -e "s/\"main.Version.*$/\"main.Version=${PV}\"/"\
-e "s/-ldflags '-s/-ldflags '/" src/${EGO_PN}/Makefile || die
}
src_compile() {
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake -C src/${EGO_PN} generate
TAGS="bindata pam sqlite" LDFLAGS="" CGO_LDFLAGS="" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake -C src/${EGO_PN} build
}
src_install() {
diropts -m0750 -o git -g git
keepdir /var/log/gitea /var/lib/gitea /var/lib/gitea/data
pushd src/${EGO_PN} || die
dobin gitea
insinto /var/lib/gitea/conf
newins custom/conf/app.ini.sample app.ini.example
popd || die
newinitd "${FILESDIR}"/gitea.initd-r2 gitea
newconfd "${FILESDIR}"/gitea.confd gitea
keepdir /var/log/gitea /var/lib/gitea/data
systemd_dounit "${FILESDIR}/gitea.service"
}
pkg_postinst() {
fcaps_pkg_postinst
if [[ ! -e "${EROOT}/var/lib/gitea/conf/app.ini" ]]; then
elog "No app.ini found, copying initial config over"
cp "${FILESDIR}"/app.ini "${EROOT}"/var/lib/gitea/conf/ || die
chown git:git /var/lib/gitea/conf/app.ini
else
elog "app.ini found, please check example file for possible changes"
ewarn "Please note that environment variables have been changed:"
ewarn "GITEA_WORK_DIR is set to /var/lib/gitea (previous value: unset)"
ewarn "GITEA_CUSTOM is set to '\$GITEA_WORK_DIR/custom' (previous: /var/lib/gitea)"
fi
}