summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-03-15 04:48:07 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-03-15 04:49:46 +0100
commite4404298a56ba681a275967c2fb4d6a2e061b891 (patch)
treeaeca4654de8a9dada17b88abc162ccadee59247b /app-misc
parentapp-emulation/docker: stabilize 19.03.8 on amd64 (diff)
downloadgentoo-e4404298a56ba681a275967c2fb4d6a2e061b891.tar.gz
gentoo-e4404298a56ba681a275967c2fb4d6a2e061b891.tar.bz2
gentoo-e4404298a56ba681a275967c2fb4d6a2e061b891.zip
app-misc/email2trac: bump to v2.12.2
Non-maintainer bump to allow security cleanup of <www-apps/trac-1.2.x. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/email2trac/Manifest1
-rw-r--r--app-misc/email2trac/email2trac-2.12.2.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/email2trac/Manifest b/app-misc/email2trac/Manifest
index 5a976bd386d9..55457a5ed88d 100644
--- a/app-misc/email2trac/Manifest
+++ b/app-misc/email2trac/Manifest
@@ -1,3 +1,4 @@
+DIST email2trac-2.12.2.tar.gz 102415 BLAKE2B 33917aebb828b3ef10f1f3e0f54a652c88041c3c6e788ae5a5fc9ea3005a4632e114864171519ce24b3b89273d79275fd4d8da2b2b3ea1b957591a7155e9d17c SHA512 15b14d436f28092f0a9c3ecc0be0197d54085710b6cd651505168e14bf3c002ce4e218bdf2725a09c7caa2a1f72c83b24daf193eddc52658c8510e25c65a7c1b
DIST email2trac-2.6.2.tar.gz 104732 BLAKE2B 0121497f98aeb1c8374e03c5e68f6ccb669dbbff757379121bf34b3c670f2022e31c7bb91bf78f505f490025f028948db98727533f3cb434e5ab49a4548e1269 SHA512 69b596b4c60ccc40b53ddfce5c13d5d7f27ac1fc5674e1cb3fbf84b083c2abc77d36879d665924a62b826e7d3a52d0ead1e1d693a55aae5edfc092998e01a0df
DIST email2trac-2.8.4.tar.gz 107791 BLAKE2B 69973aab1ff851917bd8db3fa1fc3495da65b9be274d3e433dfc46230a108494b2790441e0f801e4beeaf4126e6fe1ee37a7b2627108bb36e931cc6fe5186e81 SHA512 f0bfd00442d50090f9cc582849026b08bb091bc72223b4569597c2ffdb57759206500da65390dc1609a24e521e137aee072d1ee3412391bf0e4b778933ff2165
DIST email2trac-2.8.8.tar.gz 108366 BLAKE2B cbe5acac3ca21f19ab630995173dd49b5edf30ebba1bbaf0c575c93d356f8337a1aa6e22c4dd526d6da80041fb8780ea41f773a56eeca5e986930243b34702ff SHA512 8b13d22b50367337e5ed939dc689e0fbde4a63e1932351cab6aac2da7878fd37c9a09ff6e9f9aa4a1f709f24f2808de5d25b494813e292f61ee9be973c601da5
diff --git a/app-misc/email2trac/email2trac-2.12.2.ebuild b/app-misc/email2trac/email2trac-2.12.2.ebuild
new file mode 100644
index 000000000000..b0afc6f55762
--- /dev/null
+++ b/app-misc/email2trac/email2trac-2.12.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1
+
+DESCRIPTION="Utilities to convert emails to trac tickets"
+HOMEPAGE="https://oss.trac.surfsara.nl/email2trac"
+SRC_URI="ftp://ftp.sara.nl/pub/outgoing/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ <www-apps/trac-1.3[${PYTHON_SINGLE_USEDEP}]"
+
+pkg_setup() {
+ einfo "You can set the following variables in make.conf:"
+ einfo " - EMAIL2TRAC_TRAC_USER (default: apache)"
+ einfo " - EMAIL2TRAC_MTA_USER (default: nobody)"
+
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ sed -i -e "/^CFLAGS/s:=:&${CFLAGS} :" \
+ -e "s:\$(CC):& ${LDFLAGS} :" \
+ Makefile.in || die 'sed failed'
+}
+
+src_configure() {
+ econf --sysconfdir=/etc/${PN}/ \
+ --with-trac_user=${EMAIL2TRAC_TRAC_USER:-apache} \
+ --with-mta_user=${EMAIL2TRAC_MTA_USER:-nobody}
+}