public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/cgit/
Date: Sun, 12 Feb 2017 17:37:10 +0000 (UTC)	[thread overview]
Message-ID: <1486921026.e30e94fa267abffb60b0f223521fd590bf1bfb99.robbat2@gentoo> (raw)

commit:     e30e94fa267abffb60b0f223521fd590bf1bfb99
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 12 17:36:19 2017 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Feb 12 17:37:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e30e94fa

www-apps/cgit: bump.

Package-Manager: portage-2.3.2

 www-apps/cgit/Manifest        |  2 +
 www-apps/cgit/cgit-1.1.ebuild | 94 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/www-apps/cgit/Manifest b/www-apps/cgit/Manifest
index aa31344ba6..fddfdc6d81 100644
--- a/www-apps/cgit/Manifest
+++ b/www-apps/cgit/Manifest
@@ -1,2 +1,4 @@
 DIST cgit-0.12.tar.xz 85152 SHA256 2ee233849335a64529a01cf2b6165ed492e20268e6e2526d7a7529ef1e24a5b7 SHA512 59c9189b5713184b07a7db65c30e26987bd14d76ccb998be52fb2d1cca0ae0d1637391c4d14ab58d29c0b58b586c1294ae865e140eda2a031ca1f175d83abc34 WHIRLPOOL f240e353545786cb90a328d2f3533070ff775cc192a915dd4e6cd9f9d1fa1be304a1412a2a63d45ed036f93ddc310d35c3884b1dfea40ad202a4bc5d69661e64
+DIST cgit-1.1.tar.xz 86268 SHA256 0889af29be15fc981481caa09579f982b9740fe9fd2860ab87dff286f4635890 SHA512 8f2ec418716d7a6f0880a713b622f2ee41217dc2d5462903841d59d978a021a8bc2be667ca65c25baee2b9dcd4a76bddd0c813bda0486109cc694e7610827051 WHIRLPOOL b1df953aa1bf43f4fb0900e03ecf23c0dcddc743955efc6b3428cf7fe20a2babe8c5a2676e13e3bce37fed13fcf60c70afb2fe54049a17b4c74f2e8cc7fe621b
+DIST git-2.10.2.tar.xz 4106108 SHA256 94802903dd707d85ca3b9a2be35e936a54ce86375f52c6a789efe7ce7e238671 SHA512 0ab09de481dbb31c3304382afaa5d3fc9f861115c9954c65b11a8a1c34b939118c7ed3ff60ac329145888596388e3e4d2b2fb677fe109d33a57206d531b5ee6a WHIRLPOOL 808404fa13f908d149028f64aaf5b73400448fff6393dabfaa874d750065e86ff5dae4903724cbca4e59fb74b3ff30b8b8f0a0f1435a0a90c18267c7a0550de6
 DIST git-2.7.0.tar.xz 3861524 SHA256 fa9fb34efce9c80527152a40fbae138e83bd04a15ef9111726252259345a7b0d SHA512 e2d51e3d547229bb1e5c3a92c71476695f23420d9c639f9cb1d953fd00579aad92f9bbaf8f3d45f966c9476da73bf4c11dabf18c06f542de6e4d26e12c43dcf3 WHIRLPOOL e0dc8071ebc4e0558a2f2b9d8b32d840f4278e893777367029e84a57bf52d1d00eadb778a3e6df70c93de8cb754b94ff985ae6025ff98d6276629d7d3318aa19

diff --git a/www-apps/cgit/cgit-1.1.ebuild b/www-apps/cgit/cgit-1.1.ebuild
new file mode 100644
index 0000000000..1146254596
--- /dev/null
+++ b/www-apps/cgit/cgit-1.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WEBAPP_MANUAL_SLOT="yes"
+
+inherit webapp eutils multilib user toolchain-funcs
+
+[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/"
+
+GIT_V="2.10.2"
+
+DESCRIPTION="a fast web-interface for git repositories"
+HOMEPAGE="http://git.zx2c4.com/cgit/about"
+SRC_URI="mirror://kernel/software/scm/git/git-${GIT_V}.tar.xz
+	http://git.zx2c4.com/cgit/snapshot/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +highlight +lua +jit"
+
+RDEPEND="
+	dev-vcs/git
+	sys-libs/zlib
+	dev-libs/openssl:0
+	virtual/httpd-cgi
+	highlight? ( || ( dev-python/pygments app-text/highlight ) )
+	lua? ( jit? ( dev-lang/luajit ) !jit? ( dev-lang/lua ) )
+"
+# ebuilds without WEBAPP_MANUAL_SLOT="yes" are broken
+DEPEND="${RDEPEND}
+	!<www-apps/cgit-0.8.3.3
+	doc? ( app-text/docbook-xsl-stylesheets
+		>=app-text/asciidoc-8.5.1 )
+"
+
+pkg_setup() {
+	webapp_pkg_setup
+	enewuser "${PN}"
+}
+
+src_prepare() {
+	rmdir git || die
+	mv "${WORKDIR}"/git-"${GIT_V}" git || die
+
+	echo "prefix = ${EPREFIX}/usr" >> cgit.conf
+	echo "libdir = ${EPREFIX}/usr/$(get_libdir)" >> cgit.conf
+	echo "CGIT_SCRIPT_PATH = ${MY_CGIBINDIR}" >> cgit.conf
+	echo "CGIT_DATA_PATH = ${MY_HTDOCSDIR}" >> cgit.conf
+	echo "CACHE_ROOT = ${CGIT_CACHEDIR}" >> cgit.conf
+	echo "DESTDIR = ${D}" >> cgit.conf
+	if use lua; then
+		if use jit; then
+			echo "LUA_PKGCONFIG = luajit" >> cgit.conf
+		else
+			echo "LUA_PKGCONFIG = lua" >> cgit.conf
+		fi
+	else
+		echo "NO_LUA = 1" >> cgit.conf
+	fi
+}
+
+src_compile() {
+	emake V=1 AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+	use doc && emake V=1 doc-man
+}
+
+src_install() {
+	webapp_src_preinst
+
+	emake V=1 AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" install
+
+	insinto /etc
+	doins "${FILESDIR}"/cgitrc
+
+	dodoc README
+	use doc && doman cgitrc.5
+
+	webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+	webapp_src_install
+
+	keepdir "${CGIT_CACHEDIR}"
+	fowners ${PN}:${PN} "${CGIT_CACHEDIR}"
+	fperms 700 "${CGIT_CACHEDIR}"
+}
+
+pkg_postinst() {
+	webapp_pkg_postinst
+	ewarn "If you intend to run cgit using web server's user"
+	ewarn "you should change ${CGIT_CACHEDIR} permissions."
+}


             reply	other threads:[~2017-02-12 17:37 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-12 17:37 Robin H. Johnson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-18 13:57 [gentoo-commits] repo/gentoo:master commit in: www-apps/cgit/ Sam James
2025-03-18 13:57 Sam James
2024-05-29 17:37 Sam James
2024-05-29 11:47 Sam James
2024-05-29  6:26 Jakov Smolić
2024-05-08  3:15 Robin H. Johnson
2024-04-15 17:44 Viorel Munteanu
2023-04-25  2:22 Sam James
2022-10-24 22:52 Yixun Lan
2022-10-20 10:56 Jakov Smolić
2022-10-20 10:52 Jakov Smolić
2022-10-16  8:54 Agostino Sarubbo
2022-10-15 15:13 Sam James
2022-07-29 18:57 Matt Turner
2022-07-29 18:57 Matt Turner
2022-07-29 18:57 Matt Turner
2021-05-02  8:08 Mikle Kolyada
2021-02-07 23:00 Aaron Bauman
2021-01-25 17:38 Marek Szuba
2021-01-23 22:51 Sam James
2021-01-23  4:20 Sam James
2021-01-23  4:09 Sam James
2020-11-27 20:16 Aaron Bauman
2020-11-27 20:11 Aaron Bauman
2020-03-23 22:35 Matt Turner
2020-03-23 22:35 Matt Turner
2020-03-23 22:19 Matt Turner
2020-03-23 22:19 Matt Turner
2020-03-14  3:26 Jason A. Donenfeld
2020-01-13 20:53 Jason A. Donenfeld
2020-01-02  3:02 Stefan Strogin
2019-12-16  9:39 Michał Górny
2019-12-15 20:42 Michał Górny
2019-10-05 18:56 Michał Górny
2019-09-29 20:59 Ben Kohler
2018-08-07 23:01 Mart Raudsepp
2018-08-04 14:53 Jason Donenfeld
2018-08-03 15:14 Jason Donenfeld
2018-07-13 22:30 Jason Donenfeld
2018-05-18 12:34 Aaron Bauman
2017-04-05 13:45 Michael Weber
2016-02-22 18:20 Jason Donenfeld
2016-02-12  3:38 Jason Donenfeld
2016-01-14 14:52 Jason Donenfeld
2016-01-14 14:51 Jason Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1486921026.e30e94fa267abffb60b0f223521fd590bf1bfb99.robbat2@gentoo \
    --to=robbat2@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox