diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-06-14 17:35:31 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-06-14 17:35:31 +0200 |
commit | 0ebec55aeddf4873c786c6db281fb633a4f94f35 (patch) | |
tree | 8ca0ac8d453dc7ba8e73616ee63f2d695cb2a33c /www-apps/gitea | |
parent | www-apps/gitea: Version bump to 1.1.2 (diff) | |
download | gentoo-0ebec55aeddf4873c786c6db281fb633a4f94f35.tar.gz gentoo-0ebec55aeddf4873c786c6db281fb633a4f94f35.tar.bz2 gentoo-0ebec55aeddf4873c786c6db281fb633a4f94f35.zip |
www-apps/gitea: Remove old
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'www-apps/gitea')
-rw-r--r-- | www-apps/gitea/Manifest | 2 | ||||
-rw-r--r-- | www-apps/gitea/gitea-1.1.0-r1.ebuild | 71 | ||||
-rw-r--r-- | www-apps/gitea/gitea-1.1.1.ebuild | 71 |
3 files changed, 0 insertions, 144 deletions
diff --git a/www-apps/gitea/Manifest b/www-apps/gitea/Manifest index 8135e53424b7..0bccb3d0bea1 100644 --- a/www-apps/gitea/Manifest +++ b/www-apps/gitea/Manifest @@ -1,4 +1,2 @@ DIST gitea-1.0.2.tar.gz 13448604 SHA256 f75e220f8c44a9b7c67d2d5339479e690df9f03ec3337eede3aab0c7e8e55c87 SHA512 1826e60961adc585fd54a2c913e6cfaa9754052a932981f83eb6a1f2521d09eb7165545f80494439763c8f13bb1f4ffc24b791162cae7b739fd9eb96f7db530c WHIRLPOOL 3afcfbf4d15b94b4b8e5fde511626ce6acfbf201a58b54f3cd077b6c6487f62b3a0b3e4ef7c3c4526a432e0aa4833e038ca7d69e2e09cf9fe329ea65607f42ab -DIST gitea-1.1.0.tar.gz 13014916 SHA256 baf35f5b4920498c91e66d6afa13fa4320af9997f3321b1176fac0b0384a4d6f SHA512 206b3b3b2af13634573bb956f7a7db11a45dba36b73a48fb2561018b445b9f7d215d77af6ed1b985d8098d835502544347974223d3892a75abfdce7f5769cbba WHIRLPOOL 6ffb6e452f64bbc64802c7e17e2e178a651ae07739997614c6574a75b9cefdfcb99a060e7b57cd304847526a7160b8ce1ade72346348ea967bb3302d71879eae -DIST gitea-1.1.1.tar.gz 13014233 SHA256 d4aed60349d0dd75b4ca5397db7a71cc2abbdc1874b6cf35425a777049da535c SHA512 b7c4102da85e57d49997f4319e13d10c5f30dfbb5ef51a34e3a2b073c7160ae500a748f25133c30633eac3db320c41e76dc642e83e9f7e466445bdc2d0c0beb5 WHIRLPOOL ce7f9f7f94da68462f394e615c0da4d84e31e35d1ddf81741e5589c448f35e9d4abf7f595e26d1a984218d4de22a7b54a46805f7ef9c554772f6b563e46cacae DIST gitea-1.1.2.tar.gz 13014082 SHA256 cd2504bd9554f55175518f103f0b38c89d72d44c176fdb999aa3a3dedcb29eb4 SHA512 ecad2e11cc01fd9c2b05b672e334c013d65824a111be25cbd3956196688c0d52e31875263e16fdae497e651d771539de7c9244cb01fbc522ef77a763315ecaca WHIRLPOOL c5362f7c1524ce95f0a42f409e1ab894935cbed48e9674ea8b42ba770a5a6cec77d0270ceaed86888708b8d5bf1a84728a849f217c56d06da1978ec58c9e29f5 diff --git a/www-apps/gitea/gitea-1.1.0-r1.ebuild b/www-apps/gitea/gitea-1.1.0-r1.ebuild deleted file mode 100644 index d12fb7c5d059..000000000000 --- a/www-apps/gitea/gitea-1.1.0-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit user golang-build golang-vcs-snapshot - -EGO_PN="code.gitea.io/gitea/..." -GIT_COMMIT="1d65291" -ARCHIVE_URI="https://github.com/go-gitea/gitea/archive/v${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64 ~arm" - -DESCRIPTION="A painless self-hosted Git service, written in Go" -HOMEPAGE="https://github.com/go-gitea/gitea" -SRC_URI="${ARCHIVE_URI}" - -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 - local GITEA_PREFIX=${EPREFIX}/var/lib/gitea - sed -i -e "s/git rev-parse --short HEAD/echo ${GIT_COMMIT}/"\ - -e "s/^LDFLAGS += -X \"main.Version.*$/LDFLAGS += -X \"main.Version=${PV}\"/"\ - -e "s/-ldflags '-s/-ldflags '/" src/${EGO_PN%/*}/Makefile || die - sed -i -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${GITEA_PREFIX}/data#"\ - -e "s#^PATH = data/gitea.db#PATH = ${GITEA_PREFIX}/data/gitea.db#"\ - -e "s#^PROVIDER_CONFIG = data/sessions#PROVIDER_CONFIG = ${GITEA_PREFIX}/data/sessions#"\ - -e "s#^AVATAR_UPLOAD_PATH = data/avatars#AVATAR_UPLOAD_PATH = ${GITEA_PREFIX}/data/avatars#"\ - -e "s#^TEMP_PATH = data/tmp/uploads#TEMP_PATH = ${GITEA_PREFIX}/data/tmp/uploads#"\ - -e "s#^PATH = data/attachments#PATH = ${GITEA_PREFIX}/data/attachments#"\ - -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/gitea#"\ - -e "s#^ISSUE_INDEXER_PATH =#ISSUE_INDEXER_PATH = ${GITEA_PREFIX}/indexers/issues.bleve#"\ - src/${EGO_PN%/*}/conf/app.ini || 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 conf/app.ini app.ini.example - popd || die - insinto /etc/logrotate.d - newins "${FILESDIR}"/gitea.logrotated gitea - newinitd "${FILESDIR}"/gitea.initd gitea - newconfd "${FILESDIR}"/gitea.confd gitea - keepdir /var/log/gitea /var/lib/gitea/data - fowners -R git:git /var/log/gitea /var/lib/gitea/ -} - -pkg_postinst() { - if [[ ! -e ${EROOT}/var/lib/gitea/conf/app.ini ]]; then - elog "No app.ini found, copying the example over" - cp "${EROOT}"/var/lib/gitea/conf/app.ini{.example,} || die - else - elog "app.ini found, please check example file for possible changes" - fi -} diff --git a/www-apps/gitea/gitea-1.1.1.ebuild b/www-apps/gitea/gitea-1.1.1.ebuild deleted file mode 100644 index e0a95565ba77..000000000000 --- a/www-apps/gitea/gitea-1.1.1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit user golang-build golang-vcs-snapshot - -EGO_PN="code.gitea.io/gitea/..." -GIT_COMMIT="f9859a2" -ARCHIVE_URI="https://github.com/go-gitea/gitea/archive/v${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64 ~arm" - -DESCRIPTION="A painless self-hosted Git service, written in Go" -HOMEPAGE="https://github.com/go-gitea/gitea" -SRC_URI="${ARCHIVE_URI}" - -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 - local GITEA_PREFIX=${EPREFIX}/var/lib/gitea - sed -i -e "s/git rev-parse --short HEAD/echo ${GIT_COMMIT}/"\ - -e "s/^LDFLAGS += -X \"main.Version.*$/LDFLAGS += -X \"main.Version=${PV}\"/"\ - -e "s/-ldflags '-s/-ldflags '/" src/${EGO_PN%/*}/Makefile || die - sed -i -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${GITEA_PREFIX}/data#"\ - -e "s#^PATH = data/gitea.db#PATH = ${GITEA_PREFIX}/data/gitea.db#"\ - -e "s#^PROVIDER_CONFIG = data/sessions#PROVIDER_CONFIG = ${GITEA_PREFIX}/data/sessions#"\ - -e "s#^AVATAR_UPLOAD_PATH = data/avatars#AVATAR_UPLOAD_PATH = ${GITEA_PREFIX}/data/avatars#"\ - -e "s#^TEMP_PATH = data/tmp/uploads#TEMP_PATH = ${GITEA_PREFIX}/data/tmp/uploads#"\ - -e "s#^PATH = data/attachments#PATH = ${GITEA_PREFIX}/data/attachments#"\ - -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/gitea#"\ - -e "s#^ISSUE_INDEXER_PATH =#ISSUE_INDEXER_PATH = ${GITEA_PREFIX}/indexers/issues.bleve#"\ - src/${EGO_PN%/*}/conf/app.ini || 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 conf/app.ini app.ini.example - popd || die - insinto /etc/logrotate.d - newins "${FILESDIR}"/gitea.logrotated gitea - newinitd "${FILESDIR}"/gitea.initd gitea - newconfd "${FILESDIR}"/gitea.confd gitea - keepdir /var/log/gitea /var/lib/gitea/data - fowners -R git:git /var/log/gitea /var/lib/gitea/ -} - -pkg_postinst() { - if [[ ! -e ${EROOT}/var/lib/gitea/conf/app.ini ]]; then - elog "No app.ini found, copying the example over" - cp "${EROOT}"/var/lib/gitea/conf/app.ini{.example,} || die - else - elog "app.ini found, please check example file for possible changes" - fi -} |