diff options
author | Paul Healy <lmiphay@gmail.com> | 2019-01-05 19:50:23 +0000 |
---|---|---|
committer | Paul Healy <lmiphay@gmail.com> | 2019-01-05 19:50:23 +0000 |
commit | 5385afc6c7129da8583bae1b2ef1f7b95ebb9637 (patch) | |
tree | c3170e920fbab3c8e7f23d7e99ccfe1a5ffebc2a | |
parent | add security fix release 1.6.3 (diff) | |
download | lmiphay-5385afc6c7129da8583bae1b2ef1f7b95ebb9637.tar.gz lmiphay-5385afc6c7129da8583bae1b2ef1f7b95ebb9637.tar.bz2 lmiphay-5385afc6c7129da8583bae1b2ef1f7b95ebb9637.zip |
remove potentially security compromised versions
Signed-off-by: Paul Healy <lmiphay@gmail.com>
-rw-r--r-- | www-apps/gitea/Manifest | 13 | ||||
-rw-r--r-- | www-apps/gitea/gitea-1.5.3.ebuild | 61 | ||||
-rw-r--r-- | www-apps/gitea/gitea-1.6.0.ebuild | 64 | ||||
-rw-r--r-- | www-apps/gitea/gitea-1.6.0_rc1.ebuild | 63 | ||||
-rw-r--r-- | www-apps/gitea/gitea-1.6.0_rc2-r1.ebuild | 65 | ||||
-rw-r--r-- | www-apps/gitea/gitea-1.6.0_rc2.ebuild | 63 | ||||
-rw-r--r-- | www-apps/gitea/gitea-1.6.1.ebuild | 64 | ||||
-rw-r--r-- | www-apps/gitea/gitea-1.6.2.ebuild | 64 |
8 files changed, 0 insertions, 457 deletions
diff --git a/www-apps/gitea/Manifest b/www-apps/gitea/Manifest index 735a7bc..e4b1152 100644 --- a/www-apps/gitea/Manifest +++ b/www-apps/gitea/Manifest @@ -3,20 +3,7 @@ AUX gitea.confd 74 BLAKE2B 656800d35c8f0075005e7e9e5c804292f9884663f89f653426064 AUX gitea.initd-r1 688 BLAKE2B eb2341dee53f3fd92c49137855615d9ae7ca77efc396e2d2ed8b624ed2776c7522455a469c00172ecbbe2151ccab476baa0c779baf8a39f63348bdc7ebbd29c2 SHA512 4a6bba463c9abafcb6fc9f3854efd1a69fb3b213c2b34ff6a233f90db535c2ab0f375a0809e4c4be6651ed60d7696a54148a5ee9192567d70ca6a5203a8d3266 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 -DIST gitea-1.6.0_rc1.tar.gz 19512177 BLAKE2B 4b4acec26d644b2bf08343d794b20baf9ece3f734aed19bdd63a11df852f91a697474dc511d8565a811344f38ffd1aa27e4195ed44e902f4625fde51e625c91c SHA512 101e5a2b313c1a73871a74cf22909f71b0f2f5ac742554709d2413872dc4c2abde7bc6455e05a61a8ee4064917bdc803f26eb34a7a45bfed0b43b1272b08ff94 -DIST gitea-1.6.0_rc2.tar.gz 19506370 BLAKE2B 3e7478c0d75666e71cb27f062323ababf82cdb92474f57d84aa21e2ed125cdc52842e29b1fd6fd7cfad3a616344ee2a74ac6c83337c19a7419d62ad33b3573bd SHA512 9691d17b69f0e6cb051cc215239ade4ee323a12ce47c2e578af9c4dd4a9daa4b45268f019cb672728f7cd05ed364c3af7ffa0ae4b60708aa6b829bce7f71ccdb -DIST gitea-1.6.1.tar.gz 19508204 BLAKE2B 460cb41b3f809c307f32374d9081f8897448986f3e40f5f19cb909f07cceb6a29674ba7f97a2857e824f53e7af34833fa253c39b0d510863d0ec0f65ee45bbd7 SHA512 c02f70c1fa7fde0f2ed968ad69f031937fe0fefe27bbce6a6eb4ac975ea9773b34ff3a4cf1083fcc9da7312006911cdb7467f5732d8ed7a14c0eecefceebab57 -DIST gitea-1.6.2.tar.gz 19505163 BLAKE2B e1385fc2757928d3ac1f484bba14939bfe5dbb5786ff755887d4a9caaeb88cc4d5b6b3e3f9cc135b995bf0195b566124113c8a92af5aa1ff95fb0eb64968741e SHA512 de2b8f7275175b9aedbf0f5ffb20194431ff629bd31c37508ba0bafb4ec7009d6f8501acc8fee5d00507a89ab4936cb1f60778e7dff1be32c548c29554f92ec7 DIST gitea-1.6.3.tar.gz 19505072 BLAKE2B 8d4ab5bdcffe7f88579f74cbae4562f51ba3191a133b0e6f29e96f0f9aa132765b79a414cc792a831acfea94debb55e3ae0653c2cf30ceca8821cdfc7c383d77 SHA512 367df2f85918e613fcf360afd3857cb4df9697222f064a8e60e3ae15b0ee3fa5018a28f221d906fa7f8045f3249ecf777f08180dbb3c898cbdcc09eaf5c2c5be DIST gitea-1.7.0_rc1.tar.gz 20829312 BLAKE2B 3d5f82345924246b75958d7cf16b03c015a877c826d680eb8bf0f1c174daeef3278995138f4014471e67c76c87bd2b8b6932b82d2e8fabfb97c94b758114439d SHA512 69f24676289651d29d0a7094e1de46a031a19c563821ae6cc4370d4d6258beb498c334908c764720373a76546729ca0da93a5d0c4aaea40502081ce0a32e2d9b -EBUILD gitea-1.5.3.ebuild 1892 BLAKE2B 09a05d287962d04ac368be5a9a20f65d1310231a55e90e10fb3dc9d2da79aaf94a16bf24a1f4d6be7cc27be4130a7e2edcf91fc05cad6c20077a98c09123e3b7 SHA512 aa22f9c026cb5741679c1fa8783ac9aceb1ff413d96e4a422e7f21ae5fd4ab12872b330fd58b790a9cfcf121a519a73a44016270a6919b1cd076a6ca70693998 -EBUILD gitea-1.6.0.ebuild 1937 BLAKE2B 7d619f62b9d4b40565d65e677f2de3df71553499ca3eb686cd601e57aaeb3e71fd0c07bd8e6a04193ec4993b9491b1c10fe4b0081ea5b6afddc2f9737ce239c8 SHA512 112a410e6ce27000468b2604a38967aa8aa048cbc83abd87f0f06ec175347400304032c1f8378170d147ab3579d0a953e43326bde8cffdb3515732cc95341cda -EBUILD gitea-1.6.0_rc1.ebuild 1949 BLAKE2B 38586fefa01505c545c9f0830575c84341e30685976a1f8328f0f41607caa36db23ecb2b78db3fac089fa2fb89a09a0de68168dd685b4bad182a2035c107af94 SHA512 3e8f43eceb0b17870004d7ba2543175e3b5576a723c60a834e54ddb6bb4ed592650ae597107ad5910c87a305be350bf65feefb3aa3e20f610213d59236c6c4ad -EBUILD gitea-1.6.0_rc2-r1.ebuild 1996 BLAKE2B d0093f30eee797f5c0e56dfe81e8b8f35876abc45f2cf5276b3fdd09f1c6bcc9d3063c0d23b6498a75c38acb7b2af197a4ffb2e4e414d11c77cad72d23ea750d SHA512 137e46a08b4b20fdef4e74091a63b7dd2f5ad35b63e6b927aff3293ec6a041b0a00b0c115e17b9fc3ac946882f4f4ad3bcb4f8c1c08c09b1b9837b25531d5047 -EBUILD gitea-1.6.0_rc2.ebuild 1949 BLAKE2B 38586fefa01505c545c9f0830575c84341e30685976a1f8328f0f41607caa36db23ecb2b78db3fac089fa2fb89a09a0de68168dd685b4bad182a2035c107af94 SHA512 3e8f43eceb0b17870004d7ba2543175e3b5576a723c60a834e54ddb6bb4ed592650ae597107ad5910c87a305be350bf65feefb3aa3e20f610213d59236c6c4ad -EBUILD gitea-1.6.1.ebuild 1937 BLAKE2B 7d619f62b9d4b40565d65e677f2de3df71553499ca3eb686cd601e57aaeb3e71fd0c07bd8e6a04193ec4993b9491b1c10fe4b0081ea5b6afddc2f9737ce239c8 SHA512 112a410e6ce27000468b2604a38967aa8aa048cbc83abd87f0f06ec175347400304032c1f8378170d147ab3579d0a953e43326bde8cffdb3515732cc95341cda -EBUILD gitea-1.6.2.ebuild 1937 BLAKE2B 7d619f62b9d4b40565d65e677f2de3df71553499ca3eb686cd601e57aaeb3e71fd0c07bd8e6a04193ec4993b9491b1c10fe4b0081ea5b6afddc2f9737ce239c8 SHA512 112a410e6ce27000468b2604a38967aa8aa048cbc83abd87f0f06ec175347400304032c1f8378170d147ab3579d0a953e43326bde8cffdb3515732cc95341cda EBUILD gitea-1.6.3.ebuild 1937 BLAKE2B 7d619f62b9d4b40565d65e677f2de3df71553499ca3eb686cd601e57aaeb3e71fd0c07bd8e6a04193ec4993b9491b1c10fe4b0081ea5b6afddc2f9737ce239c8 SHA512 112a410e6ce27000468b2604a38967aa8aa048cbc83abd87f0f06ec175347400304032c1f8378170d147ab3579d0a953e43326bde8cffdb3515732cc95341cda EBUILD gitea-1.7.0_rc1.ebuild 1996 BLAKE2B 2a3b2923bf839331e90accde3311d8c8c7a775953c9744289911d32fd320fce47342d4e1dcce90f1b0340c31dfdb78937b5b57b3af9852947191c671819a8a25 SHA512 a62bb2424090ba80de94ffa183f17ed858b9d98cd72e8ceb5ce39e298d65e943a7f9efebaa3f20e7ed4ce885b9c2185a68666b12bc2a64ebe08d0eedf3ea94cc diff --git a/www-apps/gitea/gitea-1.5.3.ebuild b/www-apps/gitea/gitea-1.5.3.ebuild deleted file mode 100644 index 41abc1c..0000000 --- a/www-apps/gitea/gitea-1.5.3.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit user systemd golang-build golang-vcs-snapshot - -EGO_PN="code.gitea.io/gitea" -KEYWORDS="~amd64 ~arm" - -DESCRIPTION="A painless self-hosted Git service, written in Go" -HOMEPAGE="https://github.com/go-gitea/gitea" -SRC_URI="https://github.com/go-gitea/gitea/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -IUSE="" - -DEPEND="dev-go/go-bindata" -RDEPEND="dev-vcs/git" - -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="-fno-PIC" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake -C src/${EGO_PN} build -} - -src_install() { - 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-r1 gitea - newconfd "${FILESDIR}"/gitea.confd gitea - keepdir /var/log/gitea /var/lib/gitea/data - fowners -R git:git /var/log/gitea /var/lib/gitea/ - systemd_dounit "${FILESDIR}/gitea.service" -} - -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 -} diff --git a/www-apps/gitea/gitea-1.6.0.ebuild b/www-apps/gitea/gitea-1.6.0.ebuild deleted file mode 100644 index 33fc7fd..0000000 --- a/www-apps/gitea/gitea-1.6.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# 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 - -EGO_PN="code.gitea.io/gitea" -KEYWORDS="~amd64 ~arm" - -DESCRIPTION="A painless self-hosted Git service, written in Go" -HOMEPAGE="https://github.com/go-gitea/gitea" -SRC_URI="https://github.com/go-gitea/gitea/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -IUSE="" - -DEPEND="dev-go/go-bindata" -RDEPEND="dev-vcs/git" - -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 '/" \ - -e "s/GOFLAGS := -i -v/GOFLAGS := -v/" \ - 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="-fno-PIC" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake -C src/${EGO_PN} build -} - -src_install() { - 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-r1 gitea - newconfd "${FILESDIR}"/gitea.confd gitea - keepdir /var/log/gitea /var/lib/gitea/data - fowners -R git:git /var/log/gitea /var/lib/gitea/ - systemd_dounit "${FILESDIR}/gitea.service" -} - -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 -} diff --git a/www-apps/gitea/gitea-1.6.0_rc1.ebuild b/www-apps/gitea/gitea-1.6.0_rc1.ebuild deleted file mode 100644 index 4e95b63..0000000 --- a/www-apps/gitea/gitea-1.6.0_rc1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit user systemd golang-build golang-vcs-snapshot versionator - -MY_PV=$(replace_version_separator 3 '-') - -EGO_PN="code.gitea.io/gitea" -KEYWORDS="~amd64 ~arm" - -DESCRIPTION="A painless self-hosted Git service, written in Go" -HOMEPAGE="https://github.com/go-gitea/gitea" -SRC_URI="https://github.com/go-gitea/gitea/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -IUSE="" - -DEPEND="dev-go/go-bindata" -RDEPEND="dev-vcs/git" - -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="-fno-PIC" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake -C src/${EGO_PN} build -} - -src_install() { - 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-r1 gitea - newconfd "${FILESDIR}"/gitea.confd gitea - keepdir /var/log/gitea /var/lib/gitea/data - fowners -R git:git /var/log/gitea /var/lib/gitea/ - systemd_dounit "${FILESDIR}/gitea.service" -} - -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 -} diff --git a/www-apps/gitea/gitea-1.6.0_rc2-r1.ebuild b/www-apps/gitea/gitea-1.6.0_rc2-r1.ebuild deleted file mode 100644 index 36ef4d8..0000000 --- a/www-apps/gitea/gitea-1.6.0_rc2-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit user systemd golang-build golang-vcs-snapshot versionator - -MY_PV=$(replace_version_separator 3 '-') - -EGO_PN="code.gitea.io/gitea" -KEYWORDS="~amd64 ~arm" - -DESCRIPTION="A painless self-hosted Git service, written in Go" -HOMEPAGE="https://github.com/go-gitea/gitea" -SRC_URI="https://github.com/go-gitea/gitea/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -IUSE="" - -DEPEND="dev-go/go-bindata" -RDEPEND="dev-vcs/git" - -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 '/" \ - -e "s/GOFLAGS := -i -v/GOFLAGS := -v/" \ - 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="-fno-PIC" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake -C src/${EGO_PN} build -} - -src_install() { - 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-r1 gitea - newconfd "${FILESDIR}"/gitea.confd gitea - keepdir /var/log/gitea /var/lib/gitea/data - fowners -R git:git /var/log/gitea /var/lib/gitea/ - systemd_dounit "${FILESDIR}/gitea.service" -} - -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 -} diff --git a/www-apps/gitea/gitea-1.6.0_rc2.ebuild b/www-apps/gitea/gitea-1.6.0_rc2.ebuild deleted file mode 100644 index 4e95b63..0000000 --- a/www-apps/gitea/gitea-1.6.0_rc2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit user systemd golang-build golang-vcs-snapshot versionator - -MY_PV=$(replace_version_separator 3 '-') - -EGO_PN="code.gitea.io/gitea" -KEYWORDS="~amd64 ~arm" - -DESCRIPTION="A painless self-hosted Git service, written in Go" -HOMEPAGE="https://github.com/go-gitea/gitea" -SRC_URI="https://github.com/go-gitea/gitea/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -IUSE="" - -DEPEND="dev-go/go-bindata" -RDEPEND="dev-vcs/git" - -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="-fno-PIC" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake -C src/${EGO_PN} build -} - -src_install() { - 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-r1 gitea - newconfd "${FILESDIR}"/gitea.confd gitea - keepdir /var/log/gitea /var/lib/gitea/data - fowners -R git:git /var/log/gitea /var/lib/gitea/ - systemd_dounit "${FILESDIR}/gitea.service" -} - -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 -} diff --git a/www-apps/gitea/gitea-1.6.1.ebuild b/www-apps/gitea/gitea-1.6.1.ebuild deleted file mode 100644 index 33fc7fd..0000000 --- a/www-apps/gitea/gitea-1.6.1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# 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 - -EGO_PN="code.gitea.io/gitea" -KEYWORDS="~amd64 ~arm" - -DESCRIPTION="A painless self-hosted Git service, written in Go" -HOMEPAGE="https://github.com/go-gitea/gitea" -SRC_URI="https://github.com/go-gitea/gitea/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -IUSE="" - -DEPEND="dev-go/go-bindata" -RDEPEND="dev-vcs/git" - -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 '/" \ - -e "s/GOFLAGS := -i -v/GOFLAGS := -v/" \ - 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="-fno-PIC" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake -C src/${EGO_PN} build -} - -src_install() { - 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-r1 gitea - newconfd "${FILESDIR}"/gitea.confd gitea - keepdir /var/log/gitea /var/lib/gitea/data - fowners -R git:git /var/log/gitea /var/lib/gitea/ - systemd_dounit "${FILESDIR}/gitea.service" -} - -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 -} diff --git a/www-apps/gitea/gitea-1.6.2.ebuild b/www-apps/gitea/gitea-1.6.2.ebuild deleted file mode 100644 index 33fc7fd..0000000 --- a/www-apps/gitea/gitea-1.6.2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# 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 - -EGO_PN="code.gitea.io/gitea" -KEYWORDS="~amd64 ~arm" - -DESCRIPTION="A painless self-hosted Git service, written in Go" -HOMEPAGE="https://github.com/go-gitea/gitea" -SRC_URI="https://github.com/go-gitea/gitea/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -IUSE="" - -DEPEND="dev-go/go-bindata" -RDEPEND="dev-vcs/git" - -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 '/" \ - -e "s/GOFLAGS := -i -v/GOFLAGS := -v/" \ - 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="-fno-PIC" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake -C src/${EGO_PN} build -} - -src_install() { - 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-r1 gitea - newconfd "${FILESDIR}"/gitea.confd gitea - keepdir /var/log/gitea /var/lib/gitea/data - fowners -R git:git /var/log/gitea /var/lib/gitea/ - systemd_dounit "${FILESDIR}/gitea.service" -} - -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 -} |