From 2ffcd893fe820a308d3100a8a353641ca8663479 Mon Sep 17 00:00:00 2001 From: Alexander Miroshnichenko Date: Tue, 21 May 2019 10:04:46 +0300 Subject: [PATCH] Remove www-apps/gitea from repo --- www-apps/gitea/Manifest | 9 ---- www-apps/gitea/files/app.ini | 4 -- www-apps/gitea/files/gitea.confd | 2 - www-apps/gitea/files/gitea.initd-r1 | 26 ----------- www-apps/gitea/files/gitea.service | 28 ------------ www-apps/gitea/gitea-1.7.6.ebuild | 67 ----------------------------- www-apps/gitea/gitea-1.8.0.ebuild | 67 ----------------------------- www-apps/gitea/metadata.xml | 8 ---- 8 files changed, 211 deletions(-) delete mode 100644 www-apps/gitea/Manifest delete mode 100644 www-apps/gitea/files/app.ini delete mode 100644 www-apps/gitea/files/gitea.confd delete mode 100644 www-apps/gitea/files/gitea.initd-r1 delete mode 100644 www-apps/gitea/files/gitea.service delete mode 100644 www-apps/gitea/gitea-1.7.6.ebuild delete mode 100644 www-apps/gitea/gitea-1.8.0.ebuild delete mode 100644 www-apps/gitea/metadata.xml diff --git a/www-apps/gitea/Manifest b/www-apps/gitea/Manifest deleted file mode 100644 index 7d66ea6..0000000 --- a/www-apps/gitea/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX app.ini 67 BLAKE2B 4ec7b8217486047b419202b3a8a7172ac21ae0e5ad9224cd4f010be730ac5cda9d05bf06dcba2d06f8809900094b3b007ef98dd4ea20a125fb7d3db279f53e4a SHA512 93f6f7cf49dd1ece56f7da711adbb58cc38a503527aeea140837d74456ee6f550a089e897d9cb94382e1eb3f5a5cbe4a61362534463eada08a91f314da0f2108 -AUX gitea.confd 74 BLAKE2B 656800d35c8f0075005e7e9e5c804292f9884663f89f653426064a20cfbcb518f736bd94947a03bce5adad670fb6150d93026999d6d5395f37a85666b6663a2f SHA512 3e05bad19cd924c4375d9ca6fc57142ba4b5ec897a1c789c3fc9710dfcfee209a199c95040eece089ad93e0357486ab98fad0c448a61e318646b7a71845e9a25 -AUX gitea.initd-r1 757 BLAKE2B 7f55ec1e8a052e6789a9df92ffe5cd04b3c96bf67c35481b1364087a2f8580584a43b13838da3682decad92ee72ed403af67227469fc16adc2c0584658816c3b SHA512 c92a1853f3138882876d854293fa05d710d549af03423fe1c430fe465d005282328898860ff0f381297e10ec8ea00a782295cf47c82ba42b4424b7e453135f85 -AUX gitea.service 553 BLAKE2B d5081600bd7a9d8446029f7c40186b064ce6af29eb93e1e360e1523c460d8a8d3b409a54383434cf5b55fa77a0706b8e30f137fe734c6345ce59b996e8b2c195 SHA512 e2535cefaef4e890dc2a99ef204e6fb375f59c849df64f1be18d4dbf29abd7679c8cfc197c1124c9094f8b866d029b778f73a8d27554a0ab1870600f5d6420a5 -DIST gitea-1.7.6.tar.gz 20868421 BLAKE2B bdd623c09f628a56df9e2c36958d94582707ffeaeb45960fd1ea0d50a8083458683f28ab2c398ac1e939ba6b011ba6a83cc02abd98e9b9ff131bda8fd224c66c SHA512 ad39969b5f1246875c006c72f2ea711772f29bfb9c687510efbd2089c9f88e9d218d14b03111715179b2e0f72f85731f22dd46fc022e224be73b7e73e798236b -DIST gitea-1.8.0.tar.gz 24268907 BLAKE2B b46a17733fc7bd0f228620bdfadf0d596ea56fca6e685afab7734e794c1f87c5e004529ca3d69e907d516bcb83563565b1d8c32501f1c2c0f9295ca028d96ad0 SHA512 eebbe2f77ed2e4c3562f48a6fa647e6f2a0492c5b6ea4f13542a5ef82e94a357a8d53897aa013107b5f735d2aff9d719893b5724de44831c43998c2e9c6e78d7 -EBUILD gitea-1.7.6.ebuild 2006 BLAKE2B 0f10a60650d12038a1e4a123512ab886a2ea97ba0243eb4fa3e946f025a5e74264005a10b063eb8f8d2324020e84e4057c15c2a30f9a84f903780e3eaeb71d2d SHA512 4ab88d3c7fb02e7bf29849aa9f42bc3943f0301d150917fb777a7e6cd5287a91526e1ba5d018d7b85101fc34200fe1fb45ddbe8e76323b2f35a9f9a3be8ad9e7 -EBUILD gitea-1.8.0.ebuild 2019 BLAKE2B 5b4fe2fa089fdbe1cf80ecf0474372dc53a040135707aac5049fba4e5a55e122a12cfdd026964da8381c069795d2a8bdfd1f4ae2bcb3888032ff0539cdb46a8b SHA512 79527d6421a373669f6913e2bf8ac5c34e2068e6d6e4d3f4ba0cbeaa5116d8cc94241b2cefedb6afb90956b538b3ce229a1e47b0231502aad338fb8dd6480f3f -MISC metadata.xml 246 BLAKE2B 291057fd61e77f8d99f9518e3f709d79ab79ac5ac5ce1387d27a26cec6272698fe6bda7cfacaeb203411413ed003c71cdaead8316cd9e5a2c1ce1056637eaee4 SHA512 9af718c7e0ca960324b9fc168e85824099a5434a322d7da78dabc90b8cd3be2201a3eb321facd0df575fa1d0865c1f80280d290589f0ff1d27bdef575297abb7 diff --git a/www-apps/gitea/files/app.ini b/www-apps/gitea/files/app.ini deleted file mode 100644 index 5dd998f..0000000 --- a/www-apps/gitea/files/app.ini +++ /dev/null @@ -1,4 +0,0 @@ -[log] -MODE = file -LEVEL = Info -ROOT_PATH = /var/log/gitea diff --git a/www-apps/gitea/files/gitea.confd b/www-apps/gitea/files/gitea.confd deleted file mode 100644 index 8b1710b..0000000 --- a/www-apps/gitea/files/gitea.confd +++ /dev/null @@ -1,2 +0,0 @@ -# arguments for gitea -command_args="--config /var/lib/gitea/conf/app.ini" diff --git a/www-apps/gitea/files/gitea.initd-r1 b/www-apps/gitea/files/gitea.initd-r1 deleted file mode 100644 index 6f957d4..0000000 --- a/www-apps/gitea/files/gitea.initd-r1 +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2016-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -description="Gitea, a self-hosted Git service" -pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"} -user=${user:-git} -group=${group:-git} - -command="/usr/bin/gitea web" -command_args="${command_args:--config /var/lib/gitea/conf/app.ini}" -command_background="true" -start_stop_daemon_args="--user ${user} --group ${group} \ - -e GITEA_WORK_DIR=${GITEA_WORK_DIR:-/var/lib/gitea} \ - -e GITEA_CUSTOM=${GITEA_CUSTOM:-/var/lib/gitea} \ - --stdout /var/log/${SVCNAME}/${SVCNAME}.log \ - --stderr /var/log/${SVCNAME}/${SVCNAME}.log" - -depend() { - need net - after net -} - -start_pre() { - checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}" -} diff --git a/www-apps/gitea/files/gitea.service b/www-apps/gitea/files/gitea.service deleted file mode 100644 index 733e05e..0000000 --- a/www-apps/gitea/files/gitea.service +++ /dev/null @@ -1,28 +0,0 @@ -[Unit] -Description=Gitea service -Documentation=https://docs.gitea.io/ - -AssertPathIsDirectory=/var/lib/gitea -AssertPathIsReadWrite=/var/lib/gitea - -After=network.target -Requires=network.target -After=mysqld.service -After=postgresql.service -After=memcached.service -After=redis.service - -[Service] -User=git -Group=git - -Environment="GITEA_WORK_DIR=/var/lib/gitea GITEA_CUSTOM=/var/lib/gitea" -WorkingDirectory=/var/lib/gitea -ExecStart=/usr/bin/gitea web -c /var/lib/gitea/conf/app.ini - -Restart=always -PrivateTmp=true -Nice=5 - -[Install] -WantedBy=multi-user.target diff --git a/www-apps/gitea/gitea-1.7.6.ebuild b/www-apps/gitea/gitea-1.7.6.ebuild deleted file mode 100644 index bf2acc4..0000000 --- a/www-apps/gitea/gitea-1.7.6.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit golang-build golang-vcs-snapshot systemd user - -EGO_PN="code.gitea.io/gitea" -KEYWORDS="amd64" - -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" - -DEPEND=" - dev-go/go-bindata - sys-libs/pam -" -RDEPEND=" - dev-vcs/git - sys-libs/pam -" - -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} >/dev/null || die - dobin gitea - insinto /var/lib/gitea/conf - newins custom/conf/app.ini.sample app.ini.example - popd >/dev/null || die - newinitd "${FILESDIR}"/gitea.initd-r1 gitea - newconfd "${FILESDIR}"/gitea.confd 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 - elog "Please make sure that your 'git' user has the correct homedir (/var/lib/gitea)." - 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.8.0.ebuild b/www-apps/gitea/gitea-1.8.0.ebuild deleted file mode 100644 index 994f2a9..0000000 --- a/www-apps/gitea/gitea-1.8.0.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit golang-build golang-vcs-snapshot systemd user - -EGO_PN="code.gitea.io/gitea" -KEYWORDS="~amd64 ~arm ~arm64" - -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" - -DEPEND=" - dev-go/go-bindata - sys-libs/pam -" -RDEPEND=" - dev-vcs/git - sys-libs/pam -" - -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} >/dev/null || die - dobin gitea - insinto /var/lib/gitea/conf - newins custom/conf/app.ini.sample app.ini.example - popd >/dev/null || die - newinitd "${FILESDIR}"/gitea.initd-r1 gitea - newconfd "${FILESDIR}"/gitea.confd 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 - elog "Please make sure that your 'git' user has the correct homedir (/var/lib/gitea)." - 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/metadata.xml b/www-apps/gitea/metadata.xml deleted file mode 100644 index 7dc0896..0000000 --- a/www-apps/gitea/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - go-gitea/gitea - -