diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-08-11 00:33:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-08-11 00:33:31 +0100 |
commit | ff5dd7b3704b9e8f9f606d4929f95694ec84ddf3 (patch) | |
tree | 393b3bd8a65eb3ec464babab42da8d9ec88851c3 /www-apps/gitweb | |
parent | 4c05e04608db666140daaa94499f5f90521a2cc4 (diff) |
cleanup
Diffstat (limited to 'www-apps/gitweb')
-rw-r--r-- | www-apps/gitweb/Manifest | 6 | ||||
-rw-r--r-- | www-apps/gitweb/gitweb-2.1.3.ebuild | 164 | ||||
-rw-r--r-- | www-apps/gitweb/gitweb-2.2.1.ebuild | 164 | ||||
-rw-r--r-- | www-apps/gitweb/gitweb-2.2.2.ebuild | 161 | ||||
-rw-r--r-- | www-apps/gitweb/gitweb-2.3.0.ebuild | 161 | ||||
-rw-r--r-- | www-apps/gitweb/gitweb-2.4.0.ebuild | 159 | ||||
-rw-r--r-- | www-apps/gitweb/gitweb-2.5.0.ebuild | 159 | ||||
-rw-r--r-- | www-apps/gitweb/metadata.xml | 10 |
8 files changed, 0 insertions, 984 deletions
diff --git a/www-apps/gitweb/Manifest b/www-apps/gitweb/Manifest deleted file mode 100644 index fddd2904..00000000 --- a/www-apps/gitweb/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -DIST git-2.1.3.tar.xz 3542704 SHA256 fe1b06aefa73e8d86cbd352523fc0950b8904ae2ec47085b22b7880f45de6f57 SHA512 8a8e4c0a580fb7647f8689ce126c3d97dc7b2c2f8c72087b7fef2b876590f0cfb8298ba756298ab1dfbb2350d17328c2adef11bd72049f757593f05f18d9fac3 WHIRLPOOL 9314a3820598e3ae949d1a0d61ffb2b46f3e6b86bf8483f90a0bdd472e532f5e612d68cd9822ead51a49a8d99fb3e5b9981a7d4130e07f279e5a32db4fc0d673 -DIST git-2.2.1.tar.xz 3590808 SHA256 09422dc9a0bdddf6bdd5b8634c71e1ed3125256c47424e6a2687701e764ef450 SHA512 66bccfa617d2c8e2e61e5aac9b8daef9d4dc151b85906af252cadef3306ecf792ad6d7869deb149f0d04f6e7c3e9f71119bfeece5690e61782fb357e5384027b WHIRLPOOL f288d0227f3ad3045fd7dcc7a7fa6e68cb29c3a4d363d6648aa4f09aa5742a4496c67d63d0ad120a1f8f9420b9ae30930b8ffb3229f176cf429f8b8c8a1d06e6 -DIST git-2.2.2.tar.xz 3592264 SHA256 aa6d2efcc0c7bb9b9edc6d56d90921706b833972f1d2abe70f71be7838f22d05 SHA512 e3ca6f40de04ed940f521fff4c7e92446e40ad1627acc5b4c090ebf114dcf279d4b1f3efe1189ffa43192fce412165621fc12ea90e2f7d02a6a9ccda655dc69b WHIRLPOOL 9e20def83bbb9b11cb5982fc5f19b09767657ff80f02a237dff6ddaddd3209b4cfb9288bec1b6dc80c6a6db1869cfcaa90e2374279012fc8215771c1a58a1fc2 -DIST git-2.3.0.tar.xz 3608648 SHA256 94b23a14d66df536cfe7de37551f55acf908f8bddf30a0f5325a255bb57b0aca SHA512 4be85d3ba3ffac6c55cce648ab6c0a6fe89164e9657480aeee0def79289dbcba486722756b1729d0cedda6012cd582b88129d483ce916bfe06cde5a423f05bc7 WHIRLPOOL d08762cf37536a347aabb2916dce9d482313c41a180b5c440481d9574e9a6c482eb18e0055410171478010e647ae353d70f7113fa07fd8d74bb77909e327ea75 -DIST git-2.4.0.tar.xz 3681516 SHA256 b33438dd94659958a74850aacae4a2b3a626baec36d7f29c266130b08045bb24 SHA512 0114c5d0dbfeed46e0ba1c8c0da463c52cae6954238547502f44d9050af0d921906beea96ff2c5f56a7c822200d9daa0f1d040f883c701b88a23ec81ac777138 WHIRLPOOL 1f4667b295e541d4f035de9e415636f317f590e104119a1b212cb321f25120df31e45ba88470ee883d1ea9a0033f2b307981c9d9e5807919475dbc5f81b6b22e -DIST git-2.5.0.tar.xz 3740620 SHA256 cc59b1bac6c1c67a9159872863f6c5bbe0d9404cac2a85c3e9d9fa49923ce45c SHA512 ef7538c9f5ba5b2ac08962401c30e5fd51323b54b9fb5315d259adccec346e8fae9362815832dc2b5ce63a259b315c40e419bb2385dde04d84b992e62f6789b6 WHIRLPOOL 653e7aeb966dec44631bbd257a41935b2e957be9324311a4fd91f3a0ba6f1f674e2e59b4c564d70c4eeaea3788f0af9273a1d0a753b3bc820e687f0d63bddf5d diff --git a/www-apps/gitweb/gitweb-2.1.3.ebuild b/www-apps/gitweb/gitweb-2.1.3.ebuild deleted file mode 100644 index f4aef8b8..00000000 --- a/www-apps/gitweb/gitweb-2.1.3.ebuild +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -GENTOO_DEPEND_ON_PERL=no - -[[ ${PV} == *9999 ]] && SCM="git-2" -EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" -EGIT_MASTER=pu - -inherit toolchain-funcs eutils ${SCM} - -MY_PV="${PV/_rc/.rc}" -MY_PV="${MY_PV/gitweb/git}" -MY_P="${PN}-${MY_PV}" -MY_P="${MY_P/gitweb/git}" - -DESCRIPTION="A web interface to git" -HOMEPAGE="http://www.git-scm.com/" -if [[ "$PV" != *9999 ]]; then - SRC_URI_SUFFIX="xz" - SRC_URI_GOOG="http://git-core.googlecode.com/files" - SRC_URI_KORG="mirror://kernel/software/scm/git" - SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} - ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX}" - KEYWORDS="~amd64 ~x86" -else - SRC_URI="" - KEYWORDS="" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="highlight" - -# Common to both DEPEND and RDEPEND -CDEPEND=" - ~dev-vcs/git-${PV} - sys-libs/zlib - dev-lang/perl:=[-build(-)] - dev-libs/libpcre - dev-lang/tk" - -RDEPEND="${CDEPEND} - dev-vcs/git[-cgi] - dev-perl/Error - dev-perl/Net-SMTP-SSL - dev-perl/Authen-SASL - virtual/perl-CGI highlight? ( app-text/highlight )" - -DEPEND="${CDEPEND} - app-arch/cpio - " - -SITEFILE=50${PN}-gentoo.el -S="${WORKDIR}/${MY_P}" - -src_unpack() { - if [[ "${PV}" != *9999 ]]; then - unpack ${MY_P}.tar.${SRC_URI_SUFFIX} - cd "${S}" - else - git-2_src_unpack - cd "${S}" - #cp "${FILESDIR}"/GIT-VERSION-GEN . - fi - -} - -src_prepare() { - epatch_user - - sed -i \ - -e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \ - -e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \ - -e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \ - -e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \ - -e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ - -e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ - Makefile || die "sed failed" - - # Never install the private copy of Error.pm (bug #296310) - sed -i \ - -e '/private-Error.pm/s,^,#,' \ - perl/Makefile.PL -} - -git_emake() { - local MY_MAKEOPTS="INSTALLDIRS=vendor" - emake ${MY_MAKEOPTS} \ - DESTDIR="${D}" \ - OPTCFLAGS="${CFLAGS}" \ - OPTLDFLAGS="${LDFLAGS}" \ - OPTCC="$(tc-getCC)" \ - OPTAR="$(tc-getAR)" \ - prefix="${EPREFIX}"/usr \ - htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ - sysconfdir="${EPREFIX}"/etc \ - PERL_PATH="${EPREFIX}/usr/bin/env perl" \ - PERL_MM_OPT="" \ - GIT_TEST_OPTS="--no-color" \ - V=1 \ - "$@" -} - -src_configure() { - einfo "Nothing to configure." -} - -src_compile() { - git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" - git_emake perl/perl.mak || die "emake perl/perl.mak failed" - - git_emake \ - gitweb \ - || die "emake gitweb failed" -} - -src_install() { - #if use perl && use cgi ; then - # dosym /usr/share/gitweb /usr/share/${PN}/gitweb - - # INSTALL discusses configuration issues, not just installation - docinto / - newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb - newdoc "${S}"/gitweb/README README.gitweb - - find "${ED}"/usr/lib64/perl5/ \ - -name .packlist \ - -exec rm \{\} \; - #else - # rm -rf "${ED}"/usr/share/gitweb - #fi - - exeinto /usr/share/gitweb/ - doexe "${S}"/gitweb/gitweb.cgi - - insinto /usr/share/gitweb/static - doins "${S}"/gitweb/static/*.png - doins "${S}"/gitweb/static/*.css - doins "${S}"/gitweb/static/*.js - - # Maybe not needed, but it's created when non-split ebuild is used too. - dosym /usr/share/gitweb /usr/share/git/gitweb - - # fixlocalpod from perl-module: not needed -} - -showpkgdeps() { - local pkg=$1 - shift - elog " $(printf "%-17s:" ${pkg}) ${@}" -} - -pkg_postinst() { - elog "These additional scripts need some dependencies:" - echo - showpkgdeps git-quiltimport "dev-util/quilt" - showpkgdeps git-instaweb \ - "|| ( www-servers/lighttpd www-servers/apache www-servers/nginx )" - echo -} diff --git a/www-apps/gitweb/gitweb-2.2.1.ebuild b/www-apps/gitweb/gitweb-2.2.1.ebuild deleted file mode 100644 index eb57594d..00000000 --- a/www-apps/gitweb/gitweb-2.2.1.ebuild +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -GENTOO_DEPEND_ON_PERL=no - -[[ ${PV} == *9999 ]] && SCM="git-2" -EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" -EGIT_MASTER=pu - -inherit toolchain-funcs eutils ${SCM} - -MY_PV="${PV/_rc/.rc}" -MY_PV="${MY_PV/gitweb/git}" -MY_P="${PN}-${MY_PV}" -MY_P="${MY_P/gitweb/git}" - -DESCRIPTION="A web interface to git" -HOMEPAGE="http://www.git-scm.com/" -if [[ "$PV" != *9999 ]]; then - SRC_URI_SUFFIX="xz" - SRC_URI_GOOG="http://git-core.googlecode.com/files" - SRC_URI_KORG="mirror://kernel/software/scm/git" - SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} - ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX}" - KEYWORDS="~amd64 ~x86" -else - SRC_URI="" - KEYWORDS="" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="highlight" - -# Common to both DEPEND and RDEPEND -CDEPEND=" - ~dev-vcs/git-${PV} - sys-libs/zlib - dev-lang/perl:=[-build(-)] - dev-libs/libpcre - dev-lang/tk" - -RDEPEND="${CDEPEND} - dev-vcs/git[-cgi] - dev-perl/Error - dev-perl/Net-SMTP-SSL - dev-perl/Authen-SASL - virtual/perl-CGI highlight? ( app-text/highlight )" - -DEPEND="${CDEPEND} - app-arch/cpio - " - -SITEFILE=50${PN}-gentoo.el -S="${WORKDIR}/${MY_P}" - -src_unpack() { - if [[ "${PV}" != *9999 ]]; then - unpack ${MY_P}.tar.${SRC_URI_SUFFIX} - cd "${S}" - else - git-2_src_unpack - cd "${S}" - #cp "${FILESDIR}"/GIT-VERSION-GEN . - fi - -} - -src_prepare() { - epatch_user - - sed -i \ - -e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \ - -e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \ - -e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \ - -e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \ - -e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ - -e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ - Makefile || die "sed failed" - - # Never install the private copy of Error.pm (bug #296310) - sed -i \ - -e '/private-Error.pm/s,^,#,' \ - perl/Makefile.PL -} - -git_emake() { - local MY_MAKEOPTS="INSTALLDIRS=vendor" - emake ${MY_MAKEOPTS} \ - DESTDIR="${D}" \ - OPTCFLAGS="${CFLAGS}" \ - OPTLDFLAGS="${LDFLAGS}" \ - OPTCC="$(tc-getCC)" \ - OPTAR="$(tc-getAR)" \ - prefix="${EPREFIX}"/usr \ - htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ - sysconfdir="${EPREFIX}"/etc \ - PERL_PATH="${EPREFIX}/usr/bin/env perl" \ - PERL_MM_OPT="" \ - GIT_TEST_OPTS="--no-color" \ - V=1 \ - "$@" -} - -src_configure() { - einfo "Nothing to configure." -} - -src_compile() { - git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" - git_emake perl/perl.mak || die "emake perl/perl.mak failed" - - git_emake \ - gitweb \ - || die "emake gitweb failed" -} - -src_install() { - #if use perl && use cgi ; then - # dosym /usr/share/gitweb /usr/share/${PN}/gitweb - - # INSTALL discusses configuration issues, not just installation - docinto / - newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb - newdoc "${S}"/gitweb/README README.gitweb - - find "${ED}"/usr/lib64/perl5/ \ - -name .packlist \ - -exec rm \{\} \; - #else - # rm -rf "${ED}"/usr/share/gitweb - #fi - - exeinto /usr/share/gitweb/ - doexe "${S}"/gitweb/gitweb.cgi - - insinto /usr/share/gitweb/static - doins "${S}"/gitweb/static/*.png - doins "${S}"/gitweb/static/*.css - doins "${S}"/gitweb/static/*.js - - # Maybe not needed, but it's created when non-split ebuild is used too. - dosym /usr/share/gitweb /usr/share/git/gitweb - - # perl_delete_localpod from perl-module: not needed -} - -showpkgdeps() { - local pkg=$1 - shift - elog " $(printf "%-17s:" ${pkg}) ${@}" -} - -pkg_postinst() { - elog "These additional scripts need some dependencies:" - echo - showpkgdeps git-quiltimport "dev-util/quilt" - showpkgdeps git-instaweb \ - "|| ( www-servers/lighttpd www-servers/apache www-servers/nginx )" - echo -} diff --git a/www-apps/gitweb/gitweb-2.2.2.ebuild b/www-apps/gitweb/gitweb-2.2.2.ebuild deleted file mode 100644 index 9b962494..00000000 --- a/www-apps/gitweb/gitweb-2.2.2.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -GENTOO_DEPEND_ON_PERL=no - -[[ ${PV} == *9999 ]] && SCM="git-2" -EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" -EGIT_MASTER=pu - -inherit toolchain-funcs eutils ${SCM} - -MY_PV="${PV/_rc/.rc}" -MY_PV="${MY_PV/gitweb/git}" -MY_P="${PN}-${MY_PV}" -MY_P="${MY_P/gitweb/git}" - -DESCRIPTION="A web interface to git" -HOMEPAGE="http://www.git-scm.com/" -if [[ "$PV" != *9999 ]]; then - SRC_URI_SUFFIX="xz" - SRC_URI_GOOG="http://git-core.googlecode.com/files" - SRC_URI_KORG="mirror://kernel/software/scm/git" - SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} - ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX}" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="highlight" - -# Common to both DEPEND and RDEPEND -CDEPEND=" - ~dev-vcs/git-${PV} - sys-libs/zlib - dev-lang/perl:=[-build(-)] - dev-libs/libpcre - dev-lang/tk" - -RDEPEND="${CDEPEND} - dev-vcs/git[-cgi] - dev-perl/Error - dev-perl/Net-SMTP-SSL - dev-perl/Authen-SASL - virtual/perl-CGI highlight? ( app-text/highlight )" - -DEPEND="${CDEPEND} - app-arch/cpio - " - -SITEFILE=50${PN}-gentoo.el -S="${WORKDIR}/${MY_P}" - -src_unpack() { - if [[ "${PV}" != *9999 ]]; then - unpack ${MY_P}.tar.${SRC_URI_SUFFIX} - cd "${S}" - else - git-2_src_unpack - cd "${S}" - #cp "${FILESDIR}"/GIT-VERSION-GEN . - fi - -} - -src_prepare() { - epatch_user - - sed -i \ - -e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \ - -e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \ - -e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \ - -e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \ - -e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ - -e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ - Makefile || die "sed failed" - - # Never install the private copy of Error.pm (bug #296310) - sed -i \ - -e '/private-Error.pm/s,^,#,' \ - perl/Makefile.PL -} - -git_emake() { - local MY_MAKEOPTS="INSTALLDIRS=vendor" - emake ${MY_MAKEOPTS} \ - DESTDIR="${D}" \ - OPTCFLAGS="${CFLAGS}" \ - OPTLDFLAGS="${LDFLAGS}" \ - OPTCC="$(tc-getCC)" \ - OPTAR="$(tc-getAR)" \ - prefix="${EPREFIX}"/usr \ - htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ - sysconfdir="${EPREFIX}"/etc \ - PERL_PATH="${EPREFIX}/usr/bin/env perl" \ - PERL_MM_OPT="" \ - GIT_TEST_OPTS="--no-color" \ - V=1 \ - "$@" -} - -src_configure() { - einfo "Nothing to configure." -} - -src_compile() { - git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" - git_emake perl/perl.mak || die "emake perl/perl.mak failed" - - git_emake \ - gitweb \ - || die "emake gitweb failed" -} - -src_install() { - #if use perl && use cgi ; then - # dosym /usr/share/gitweb /usr/share/${PN}/gitweb - - # INSTALL discusses configuration issues, not just installation - docinto / - newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb - newdoc "${S}"/gitweb/README README.gitweb - - find "${ED}"/usr/lib64/perl5/ \ - -name .packlist \ - -exec rm \{\} \; - #else - # rm -rf "${ED}"/usr/share/gitweb - #fi - - exeinto /usr/share/gitweb/ - doexe "${S}"/gitweb/gitweb.cgi - - insinto /usr/share/gitweb/static - doins "${S}"/gitweb/static/*.png - doins "${S}"/gitweb/static/*.css - doins "${S}"/gitweb/static/*.js - - # Maybe not needed, but it's created when non-split ebuild is used too. - dosym /usr/share/gitweb /usr/share/git/gitweb - - # perl_delete_localpod from perl-module: not needed -} - -showpkgdeps() { - local pkg=$1 - shift - elog " $(printf "%-17s:" ${pkg}) ${@}" -} - -pkg_postinst() { - elog "These additional scripts need some dependencies:" - echo - showpkgdeps git-quiltimport "dev-util/quilt" - showpkgdeps git-instaweb \ - "|| ( www-servers/lighttpd www-servers/apache www-servers/nginx )" - echo -} diff --git a/www-apps/gitweb/gitweb-2.3.0.ebuild b/www-apps/gitweb/gitweb-2.3.0.ebuild deleted file mode 100644 index 9b962494..00000000 --- a/www-apps/gitweb/gitweb-2.3.0.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -GENTOO_DEPEND_ON_PERL=no - -[[ ${PV} == *9999 ]] && SCM="git-2" -EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" -EGIT_MASTER=pu - -inherit toolchain-funcs eutils ${SCM} - -MY_PV="${PV/_rc/.rc}" -MY_PV="${MY_PV/gitweb/git}" -MY_P="${PN}-${MY_PV}" -MY_P="${MY_P/gitweb/git}" - -DESCRIPTION="A web interface to git" -HOMEPAGE="http://www.git-scm.com/" -if [[ "$PV" != *9999 ]]; then - SRC_URI_SUFFIX="xz" - SRC_URI_GOOG="http://git-core.googlecode.com/files" - SRC_URI_KORG="mirror://kernel/software/scm/git" - SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} - ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX}" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="highlight" - -# Common to both DEPEND and RDEPEND -CDEPEND=" - ~dev-vcs/git-${PV} - sys-libs/zlib - dev-lang/perl:=[-build(-)] - dev-libs/libpcre - dev-lang/tk" - -RDEPEND="${CDEPEND} - dev-vcs/git[-cgi] - dev-perl/Error - dev-perl/Net-SMTP-SSL - dev-perl/Authen-SASL - virtual/perl-CGI highlight? ( app-text/highlight )" - -DEPEND="${CDEPEND} - app-arch/cpio - " - -SITEFILE=50${PN}-gentoo.el -S="${WORKDIR}/${MY_P}" - -src_unpack() { - if [[ "${PV}" != *9999 ]]; then - unpack ${MY_P}.tar.${SRC_URI_SUFFIX} - cd "${S}" - else - git-2_src_unpack - cd "${S}" - #cp "${FILESDIR}"/GIT-VERSION-GEN . - fi - -} - -src_prepare() { - epatch_user - - sed -i \ - -e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \ - -e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \ - -e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \ - -e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \ - -e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ - -e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ - Makefile || die "sed failed" - - # Never install the private copy of Error.pm (bug #296310) - sed -i \ - -e '/private-Error.pm/s,^,#,' \ - perl/Makefile.PL -} - -git_emake() { - local MY_MAKEOPTS="INSTALLDIRS=vendor" - emake ${MY_MAKEOPTS} \ - DESTDIR="${D}" \ - OPTCFLAGS="${CFLAGS}" \ - OPTLDFLAGS="${LDFLAGS}" \ - OPTCC="$(tc-getCC)" \ - OPTAR="$(tc-getAR)" \ - prefix="${EPREFIX}"/usr \ - htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ - sysconfdir="${EPREFIX}"/etc \ - PERL_PATH="${EPREFIX}/usr/bin/env perl" \ - PERL_MM_OPT="" \ - GIT_TEST_OPTS="--no-color" \ - V=1 \ - "$@" -} - -src_configure() { - einfo "Nothing to configure." -} - -src_compile() { - git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" - git_emake perl/perl.mak || die "emake perl/perl.mak failed" - - git_emake \ - gitweb \ - || die "emake gitweb failed" -} - -src_install() { - #if use perl && use cgi ; then - # dosym /usr/share/gitweb /usr/share/${PN}/gitweb - - # INSTALL discusses configuration issues, not just installation - docinto / - newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb - newdoc "${S}"/gitweb/README README.gitweb - - find "${ED}"/usr/lib64/perl5/ \ - -name .packlist \ - -exec rm \{\} \; - #else - # rm -rf "${ED}"/usr/share/gitweb - #fi - - exeinto /usr/share/gitweb/ - doexe "${S}"/gitweb/gitweb.cgi - - insinto /usr/share/gitweb/static - doins "${S}"/gitweb/static/*.png - doins "${S}"/gitweb/static/*.css - doins "${S}"/gitweb/static/*.js - - # Maybe not needed, but it's created when non-split ebuild is used too. - dosym /usr/share/gitweb /usr/share/git/gitweb - - # perl_delete_localpod from perl-module: not needed -} - -showpkgdeps() { - local pkg=$1 - shift - elog " $(printf "%-17s:" ${pkg}) ${@}" -} - -pkg_postinst() { - elog "These additional scripts need some dependencies:" - echo - showpkgdeps git-quiltimport "dev-util/quilt" - showpkgdeps git-instaweb \ - "|| ( www-servers/lighttpd www-servers/apache www-servers/nginx )" - echo -} diff --git a/www-apps/gitweb/gitweb-2.4.0.ebuild b/www-apps/gitweb/gitweb-2.4.0.ebuild deleted file mode 100644 index 06446b1f..00000000 --- a/www-apps/gitweb/gitweb-2.4.0.ebuild +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -GENTOO_DEPEND_ON_PERL=no - -[[ ${PV} == *9999 ]] && SCM="git-2" -EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" -EGIT_MASTER=pu - -inherit toolchain-funcs eutils ${SCM} - -MY_PV="${PV/_rc/.rc}" -MY_PV="${MY_PV/gitweb/git}" -MY_P="${PN}-${MY_PV}" -MY_P="${MY_P/gitweb/git}" - -DESCRIPTION="A web interface to git" -HOMEPAGE="http://www.git-scm.com/" -if [[ "$PV" != *9999 ]]; then - SRC_URI_SUFFIX="xz" - SRC_URI_GOOG="http://git-core.googlecode.com/files" - SRC_URI_KORG="mirror://kernel/software/scm/git" - SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} - ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX}" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="highlight" - -# Common to both DEPEND and RDEPEND -CDEPEND=" - ~dev-vcs/git-${PV} - sys-libs/zlib - dev-lang/perl:=[-build(-)] - dev-libs/libpcre - dev-lang/tk:=" - -RDEPEND="${CDEPEND} - dev-vcs/git[-cgi] - dev-perl/Error - dev-perl/Net-SMTP-SSL - dev-perl/Authen-SASL - virtual/perl-CGI highlight? ( app-text/highlight )" - -DEPEND="${CDEPEND}" - -SITEFILE=50${PN}-gentoo.el -S="${WORKDIR}/${MY_P}" - -src_unpack() { - if [[ "${PV}" != *9999 ]]; then - unpack ${MY_P}.tar.${SRC_URI_SUFFIX} - cd "${S}" - else - git-2_src_unpack - cd "${S}" - #cp "${FILESDIR}"/GIT-VERSION-GEN . - fi - -} - -src_prepare() { - epatch_user - - sed -i \ - -e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \ - -e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \ - -e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \ - -e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \ - -e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ - -e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ - Makefile || die "sed failed" - - # Never install the private copy of Error.pm (bug #296310) - sed -i \ - -e '/private-Error.pm/s,^,#,' \ - perl/Makefile.PL -} - -git_emake() { - local MY_MAKEOPTS="INSTALLDIRS=vendor" - emake ${MY_MAKEOPTS} \ - DESTDIR="${D}" \ - OPTCFLAGS="${CFLAGS}" \ - OPTLDFLAGS="${LDFLAGS}" \ - OPTCC="$(tc-getCC)" \ - OPTAR="$(tc-getAR)" \ - prefix="${EPREFIX}"/usr \ - htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ - sysconfdir="${EPREFIX}"/etc \ - PERL_PATH="${EPREFIX}/usr/bin/env perl" \ - PERL_MM_OPT="" \ - GIT_TEST_OPTS="--no-color" \ - V=1 \ - "$@" -} - -src_configure() { - einfo "Nothing to configure." -} - -src_compile() { - git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" - git_emake perl/perl.mak || die "emake perl/perl.mak failed" - - git_emake \ - gitweb \ - || die "emake gitweb failed" -} - -src_install() { - #if use perl && use cgi ; then - # dosym /usr/share/gitweb /usr/share/${PN}/gitweb - - # INSTALL discusses configuration issues, not just installation - docinto / - newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb - newdoc "${S}"/gitweb/README README.gitweb - - find "${ED}"/usr/lib64/perl5/ \ - -name .packlist \ - -exec rm \{\} \; - #else - # rm -rf "${ED}"/usr/share/gitweb - #fi - - exeinto /usr/share/gitweb/ - doexe "${S}"/gitweb/gitweb.cgi - - insinto /usr/share/gitweb/static - doins "${S}"/gitweb/static/*.png - doins "${S}"/gitweb/static/*.css - doins "${S}"/gitweb/static/*.js - - # Maybe not needed, but it's created when non-split ebuild is used too. - dosym /usr/share/gitweb /usr/share/git/gitweb - - # perl_delete_localpod from perl-module: not needed -} - -showpkgdeps() { - local pkg=$1 - shift - elog " $(printf "%-17s:" ${pkg}) ${@}" -} - -pkg_postinst() { - elog "These additional scripts need some dependencies:" - echo - showpkgdeps git-quiltimport "dev-util/quilt" - showpkgdeps git-instaweb \ - "|| ( www-servers/lighttpd www-servers/apache www-servers/nginx )" - echo -} diff --git a/www-apps/gitweb/gitweb-2.5.0.ebuild b/www-apps/gitweb/gitweb-2.5.0.ebuild deleted file mode 100644 index 06446b1f..00000000 --- a/www-apps/gitweb/gitweb-2.5.0.ebuild +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -GENTOO_DEPEND_ON_PERL=no - -[[ ${PV} == *9999 ]] && SCM="git-2" -EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" -EGIT_MASTER=pu - -inherit toolchain-funcs eutils ${SCM} - -MY_PV="${PV/_rc/.rc}" -MY_PV="${MY_PV/gitweb/git}" -MY_P="${PN}-${MY_PV}" -MY_P="${MY_P/gitweb/git}" - -DESCRIPTION="A web interface to git" -HOMEPAGE="http://www.git-scm.com/" -if [[ "$PV" != *9999 ]]; then - SRC_URI_SUFFIX="xz" - SRC_URI_GOOG="http://git-core.googlecode.com/files" - SRC_URI_KORG="mirror://kernel/software/scm/git" - SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} - ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX}" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="highlight" - -# Common to both DEPEND and RDEPEND -CDEPEND=" - ~dev-vcs/git-${PV} - sys-libs/zlib - dev-lang/perl:=[-build(-)] - dev-libs/libpcre - dev-lang/tk:=" - -RDEPEND="${CDEPEND} - dev-vcs/git[-cgi] - dev-perl/Error - dev-perl/Net-SMTP-SSL - dev-perl/Authen-SASL - virtual/perl-CGI highlight? ( app-text/highlight )" - -DEPEND="${CDEPEND}" - -SITEFILE=50${PN}-gentoo.el -S="${WORKDIR}/${MY_P}" - -src_unpack() { - if [[ "${PV}" != *9999 ]]; then - unpack ${MY_P}.tar.${SRC_URI_SUFFIX} - cd "${S}" - else - git-2_src_unpack - cd "${S}" - #cp "${FILESDIR}"/GIT-VERSION-GEN . - fi - -} - -src_prepare() { - epatch_user - - sed -i \ - -e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \ - -e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \ - -e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \ - -e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \ - -e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ - -e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ - Makefile || die "sed failed" - - # Never install the private copy of Error.pm (bug #296310) - sed -i \ - -e '/private-Error.pm/s,^,#,' \ - perl/Makefile.PL -} - -git_emake() { - local MY_MAKEOPTS="INSTALLDIRS=vendor" - emake ${MY_MAKEOPTS} \ - DESTDIR="${D}" \ - OPTCFLAGS="${CFLAGS}" \ - OPTLDFLAGS="${LDFLAGS}" \ - OPTCC="$(tc-getCC)" \ - OPTAR="$(tc-getAR)" \ - prefix="${EPREFIX}"/usr \ - htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ - sysconfdir="${EPREFIX}"/etc \ - PERL_PATH="${EPREFIX}/usr/bin/env perl" \ - PERL_MM_OPT="" \ - GIT_TEST_OPTS="--no-color" \ - V=1 \ - "$@" -} - -src_configure() { - einfo "Nothing to configure." -} - -src_compile() { - git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" - git_emake perl/perl.mak || die "emake perl/perl.mak failed" - - git_emake \ - gitweb \ - || die "emake gitweb failed" -} - -src_install() { - #if use perl && use cgi ; then - # dosym /usr/share/gitweb /usr/share/${PN}/gitweb - - # INSTALL discusses configuration issues, not just installation - docinto / - newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb - newdoc "${S}"/gitweb/README README.gitweb - - find "${ED}"/usr/lib64/perl5/ \ - -name .packlist \ - -exec rm \{\} \; - #else - # rm -rf "${ED}"/usr/share/gitweb - #fi - - exeinto /usr/share/gitweb/ - doexe "${S}"/gitweb/gitweb.cgi - - insinto /usr/share/gitweb/static - doins "${S}"/gitweb/static/*.png - doins "${S}"/gitweb/static/*.css - doins "${S}"/gitweb/static/*.js - - # Maybe not needed, but it's created when non-split ebuild is used too. - dosym /usr/share/gitweb /usr/share/git/gitweb - - # perl_delete_localpod from perl-module: not needed -} - -showpkgdeps() { - local pkg=$1 - shift - elog " $(printf "%-17s:" ${pkg}) ${@}" -} - -pkg_postinst() { - elog "These additional scripts need some dependencies:" - echo - showpkgdeps git-quiltimport "dev-util/quilt" - showpkgdeps git-instaweb \ - "|| ( www-servers/lighttpd www-servers/apache www-servers/nginx )" - echo -} diff --git a/www-apps/gitweb/metadata.xml b/www-apps/gitweb/metadata.xml deleted file mode 100644 index 302ade47..00000000 --- a/www-apps/gitweb/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer> - <email>slawomir.nizio@sabayon.org</email> - </maintainer> - <use> - <flag name="highlight">GitWeb support for app-text/highlight.</flag> - </use> -</pkgmetadata> |