From 88aca9bbd2cf79c7ee73582c1c8962dce00a3efc Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 12 Nov 2016 13:50:01 +0000 Subject: remove old cgit ebuild --- www-apps/cgit/Manifest | 9 --- www-apps/cgit/cgit-0.8.2.1.ebuild | 110 --------------------------------- www-apps/cgit/cgit-0.8.3.ebuild | 110 --------------------------------- www-apps/cgit/files/cgitrc | 84 ------------------------- www-apps/cgit/files/postinstall-en.txt | 3 - www-apps/cgit/metadata.xml | 33 ---------- 6 files changed, 349 deletions(-) delete mode 100644 www-apps/cgit/Manifest delete mode 100644 www-apps/cgit/cgit-0.8.2.1.ebuild delete mode 100644 www-apps/cgit/cgit-0.8.3.ebuild delete mode 100644 www-apps/cgit/files/cgitrc delete mode 100644 www-apps/cgit/files/postinstall-en.txt delete mode 100644 www-apps/cgit/metadata.xml diff --git a/www-apps/cgit/Manifest b/www-apps/cgit/Manifest deleted file mode 100644 index 06e3557..0000000 --- a/www-apps/cgit/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX cgitrc 2066 RMD160 31d621fb653cf118d40cc3bfa9b159e80a1f3ee4 SHA1 7172623dd7844ae7fc0ef4fc8136b85a4bfc5f49 SHA256 c5fc42bb8514415eb93e4f6a07bf25622d7f3b4c7c9b19ce6523722b8b4b4b20 -AUX postinstall-en.txt 132 RMD160 d48bd3054fb61a275a8c46bd747ba52af73ebb36 SHA1 d8de0743cf3e44038be3c0017e55b43b4da2e4ae SHA256 e7966f520dacb50c2e38642f223caf2b3afbca913b4c99346b7f0286eeae8e26 -DIST cgit-0.8.2.1.tar.bz2 50598 RMD160 2e83250130aa1d4f087c853567c794b58a24368c SHA1 1c40de81530a3c0513bc963cc81f14685448f6f9 SHA256 4cf40f0b857850ae4fb2354eb19e4ac168f47bc593cde286af75e58c5fea617d -DIST cgit-0.8.3.tar.bz2 54775 RMD160 383f3547c34f7e015437e4af049372a0dbd05c5f SHA1 3957956d71acf2f4a7024bd8ee5ea6f967550d2f SHA256 e4e671ed43dbe7e69e591cfa7d927ec979f6080d9714c1069725209e62a9430d -DIST git-1.6.3.3.tar.bz2 2061691 RMD160 802ab3a44c27084ed199c77d0f8710da7a5793ec SHA1 200b49304696357ccf7a4837307348d681b7e04d SHA256 f94bc0d1fc861a12c7fb821b27a4e6a80901e84432cdb7894cb7a437d4c939ad -DIST git-1.6.4.4.tar.bz2 2174826 RMD160 8bad28bf8aedc6d5a9dcae39736c1ceeabbbe992 SHA1 da66a6323cc0842b19e3dbc5bb8ee5a59975037f SHA256 fc7e4d6c4172c62c93d5e974019f7193b03c8bc0a1c6f3a9fcc1d0928b808d7a -EBUILD cgit-0.8.2.1.ebuild 2140 RMD160 a0f57cb227ad649cb32de5437bc972d16769d5c5 SHA1 c4f06b432f92b3ceda13375cedd331c66d3f8bce SHA256 f100a86bbd319ba6924d9961ce2f3df380b622cd6b27dd8f90c1d5eb0c0c7a14 -EBUILD cgit-0.8.3.ebuild 2150 RMD160 7771117cad9ead58b8ea0ec85e584f59481171b8 SHA1 85c1f1814a94b4e9160985b4802a204fd6dd514c SHA256 67f4e77653889c4b70accf5cd80efab7b8e312204b1a1b6105992cfbf75e5f7f -MISC metadata.xml 1319 RMD160 b4f00cbcf7cb4e8d188da93d2ae61f71a1b0caf0 SHA1 a800dd105ab1beded3b7e7ca3221a6263fc5891b SHA256 c92ee65184d98d4a8efe09a5e9b40b89af639b68734c4be43e54a4f188746f1b diff --git a/www-apps/cgit/cgit-0.8.2.1.ebuild b/www-apps/cgit/cgit-0.8.2.1.ebuild deleted file mode 100644 index 6291a8c..0000000 --- a/www-apps/cgit/cgit-0.8.2.1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils webapp - -use dataonly || GIT_V="$(git --version | cut -d ' ' -f 3)" - -DESCRIPTION="a fast web-interface for git repositories" -HOMEPAGE="http://hjemli.net/git/cgit/about/" -SRC_URI="!dataonly? ( mirror://kernel/software/scm/git/git-${GIT_V}.tar.bz2 ) - http://hjemli.net/git/cgit/snapshot/${P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" - -IUSE="standalone dataonly" - -# This is remote installation, so we don't need any depends -use standalone || need_httpd_cgi - -RDEPEND="!dataonly? ( dev-util/git ) - sys-libs/zlib - dev-libs/openssl" - -DEPEND="${RDEPEND}" - -S="${WORKDIR}/cgit-${PV}" - -pkg_setup() { - if use standalone; then - use dataonly && die "standalone and dataonly are conflicting USE-flags" - use vhosts && ewarn "vhosts flag is useless with standalone installation" - - # We're into fast-cgi environment, so we need user to operate on - enewuser cgit - enewgroup cgit - else - webapp_pkg_setup - fi -} - -src_unpack() { - unpack ${A} - - cd "${S}" - - if ! use dataonly; then - rmdir git - - mv "${WORKDIR}/git-${GIT_V}" git - fi -} - -src_compile() { - # Skip compilation if this is dataonly build - use dataonly && return 0 - - emake || die "emake failed" -} - -src_install() { - if ! use dataonly; then - mv cgit cgit.cgi - - insinto /etc - doins "${FILESDIR}"/cgitrc - - local cache_dir=/var/cache/cgit - - dodir "${cache_dir}" - keepdir "${cache_dir}" - - use standalone && fowners cgit:cgit "${cache_dir}" - - dodoc cgitrc.5.txt - fi - - if use standalone; then - dobin cgit.cgi - else - webapp_src_preinst - - insinto "${MY_HTDOCSDIR}" - doins cgit.css cgit.png - - if ! use dataonly; then - exeinto "${MY_CGIBINDIR}" - doexe cgit.cgi - - insinto "${MY_APPDIR}"/conf - doins "${FILESDIR}"/cgitrc - webapp_configfile "${MY_APPDIR}"/conf/cgitrc - fi - - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt - - webapp_src_install - fi -} - -pkg_postinst() { - # We don't want to use webapp if this is standalone setup - use standalone || webapp_pkg_postinst -} - -pkg_prerm() { - # Same idea - use standalone || webapp_pkg_prerm -} diff --git a/www-apps/cgit/cgit-0.8.3.ebuild b/www-apps/cgit/cgit-0.8.3.ebuild deleted file mode 100644 index ecca2fd..0000000 --- a/www-apps/cgit/cgit-0.8.3.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils webapp - -use dataonly || GIT_V="$(git --version | cut -d ' ' -f 3)" - -DESCRIPTION="a fast web-interface for git repositories" -HOMEPAGE="http://hjemli.net/git/cgit/about/" -SRC_URI="!dataonly? ( mirror://kernel/software/scm/git/git-${GIT_V}.tar.bz2 ) - http://hjemli.net/git/cgit/snapshot/${P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" - -IUSE="standalone dataonly" - -# This is remote installation, so we don't need any depends -use standalone || need_httpd_cgi - -RDEPEND="!dataonly? ( >=dev-util/git-1.6.4.2 ) - sys-libs/zlib - dev-libs/openssl" - -DEPEND="${RDEPEND}" - -S="${WORKDIR}/cgit-${PV}" - -pkg_setup() { - if use standalone; then - use dataonly && die "standalone and dataonly are conflicting USE-flags" - use vhosts && ewarn "vhosts flag is useless with standalone installation" - - # We're into fast-cgi environment, so we need user to operate on - enewuser cgit - enewgroup cgit - else - webapp_pkg_setup - fi -} - -src_unpack() { - unpack ${A} - - cd "${S}" - - if ! use dataonly; then - rmdir git - - mv "${WORKDIR}/git-${GIT_V}" git - fi -} - -src_compile() { - # Skip compilation if this is dataonly build - use dataonly && return 0 - - emake || die "emake failed" -} - -src_install() { - if ! use dataonly; then - mv cgit cgit.cgi - - insinto /etc - doins "${FILESDIR}"/cgitrc - - local cache_dir=/var/cache/cgit - - dodir "${cache_dir}" - keepdir "${cache_dir}" - - use standalone && fowners cgit:cgit "${cache_dir}" - - dodoc cgitrc.5.txt - fi - - if use standalone; then - dobin cgit.cgi - else - webapp_src_preinst - - insinto "${MY_HTDOCSDIR}" - doins cgit.css cgit.png - - if ! use dataonly; then - exeinto "${MY_CGIBINDIR}" - doexe cgit.cgi - - insinto "${MY_APPDIR}"/conf - doins "${FILESDIR}"/cgitrc - webapp_configfile "${MY_APPDIR}"/conf/cgitrc - fi - - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt - - webapp_src_install - fi -} - -pkg_postinst() { - # We don't want to use webapp if this is standalone setup - use standalone || webapp_pkg_postinst -} - -pkg_prerm() { - # Same idea - use standalone || webapp_pkg_prerm -} diff --git a/www-apps/cgit/files/cgitrc b/www-apps/cgit/files/cgitrc deleted file mode 100644 index c73d064..0000000 --- a/www-apps/cgit/files/cgitrc +++ /dev/null @@ -1,84 +0,0 @@ -## Enable caching of up to 1000 output entriess -cache-size=1000 - -## Specify some default clone prefixes -#clone-prefix=git://foobar.com ssh://foobar.com/pub/git http://foobar.com/git - -## Specify the css url -css=/cgit/cgit.css - -## Show extra links for each repository on the index page -enable-index-links=1 - -## Show number of affected files per commit on the log pages -enable-log-filecount=1 - -## Show number of added/removed lines per commit on the log pages -enable-log-linecount=1 - -## Add a cgit favicon -#favicon=/favicon.ico - -## Use a custom logo -logo=/cgit/cgit.png - -## Set the title and heading of the repository index page -#root-title=foobar.com git repositories - -## Set a subheading for the repository index page -#root-desc=tracking the foobar development - -## Include some more info about foobar.com on the index page -#root-readme=/var/www/htdocs/about.html - -## Allow download of tar.gz, tar.bz and zip-files -snapshots=tar.gz tar.bz zip - -## -## List of repositories. -## PS: Any repositories listed when repo.group is unset will not be -## displayed under a group heading -## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos') -## and included like this: -## include=/etc/cgitrepos -## - -#repo.url=foo -#repo.path=/pub/git/foo.git -#repo.desc=the master foo repository -#repo.owner=fooman@foobar.com -#repo.readme=info/web/about.html - -#repo.url=bar -#repo.path=/pub/git/bar.git -#repo.desc=the bars for your foo -#repo.owner=barman@foobar.com -#repo.readme=info/web/about.html - -## The next repositories will be displayed under the 'extras' heading -#repo.group=extras - -#repo.url=baz -#repo.path=/pub/git/baz.git -#repo.desc=a set of extensions for bar users - -#repo.url=wiz -#repo.path=/pub/git/wiz.git -#repo.desc=the wizard of foo - -## Add some mirrored repositories -#repo.group=mirrors - -#repo.url=git -#repo.path=/pub/git/git.git -#repo.desc=the dscm - -#repo.url=linux -#repo.path=/pub/git/linux.git -#repo.desc=the kernel - -## Disable adhoc downloads of this repo -#repo.snapshots=0 - -## Disable line-counts for this repo -#repo.enable-log-linecount=0 diff --git a/www-apps/cgit/files/postinstall-en.txt b/www-apps/cgit/files/postinstall-en.txt deleted file mode 100644 index 9102396..0000000 --- a/www-apps/cgit/files/postinstall-en.txt +++ /dev/null @@ -1,3 +0,0 @@ -You need to modify /etc/cgitrc with the list of available -repositories. Look at the examples in the file by searching for -repo.path diff --git a/www-apps/cgit/metadata.xml b/www-apps/cgit/metadata.xml deleted file mode 100644 index 258dffc..0000000 --- a/www-apps/cgit/metadata.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - no-herd - - From http://hjemli.net/git/cgit/about/: - cgit is - * a cgi application implemented in C: it's basically (yet) another git - command, used to generate html. - * not forking: all git operations are performed by linking with libgit.a. - * using a built-in cache: the generated html is stored on disk for the - benefit of later requests. - * fond of virtual urls - using PATH_INFO or modules like mod_rewrite makes - cgit generate urls with few or no querystring parameters, e.g. - http://hjemli.net/git/cgit/log/Makefile vs. - http://hjemli.net/git?r=cgit&p=log&path=Makefile. - * not too visual, but sometimes a bit of graphics can be justified. - * open source - it is licensed under GPL v2. - * maintained by Lars Hjemli, who is happy to receive patches, suggestions - and bug reports. - - - - Install only binary. Usefull for remote fastcgi setups - Conflicts with 'dataonly' - - - Do not install binary or any configs. Usefull for setups when real - binary located on other host. Conflicts with 'standalone' - - - - -- cgit v1.2.3