summaryrefslogtreecommitdiff
path: root/net-irc/irssi-otr
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/irssi-otr')
-rw-r--r--net-irc/irssi-otr/Manifest9
-rw-r--r--net-irc/irssi-otr/files/irssi-otr-1.0.0-cflags.patch11
-rw-r--r--net-irc/irssi-otr/files/irssi-otr-1.0.2-cflags.patch11
-rw-r--r--net-irc/irssi-otr/irssi-otr-1.0.0-r1.ebuild36
-rw-r--r--net-irc/irssi-otr/irssi-otr-1.0.2.ebuild34
-rw-r--r--net-irc/irssi-otr/metadata.xml11
6 files changed, 112 insertions, 0 deletions
diff --git a/net-irc/irssi-otr/Manifest b/net-irc/irssi-otr/Manifest
new file mode 100644
index 000000000000..0024412b5547
--- /dev/null
+++ b/net-irc/irssi-otr/Manifest
@@ -0,0 +1,9 @@
+AUX irssi-otr-1.0.0-cflags.patch 555 SHA256 0f4fb9e226e8e81b87640adc087e2966dd9f023090133ee760293ebc900e3f8e SHA512 b34ad91361e96bf5dae84c8f38220131737e97f1e36e790bdb427370a236177ee50251939b917b32ba64a05613ec282dd64a0874d01285f311a3b0e12e6ce168 WHIRLPOOL 606da32a818a7c7bfc0ee71b8a499b18d4d272c5ecbeb759ce218b19a156a37705e5e7629fb49350fb0d0be47834992803d655707e345f87791b3276a6416071
+AUX irssi-otr-1.0.2-cflags.patch 555 SHA256 8c6ebcf69aebcc2b61db49b2b562be856da252b79fafdc64f3809978ec7cbc2a SHA512 16243ca1e3e8287f97f04538bdfb10f6a3969c65de62afb788ebd8d28cd31f71684283d2c994deb000a9eaed842d81c701884e89a8f80e868868e84264c5e605 WHIRLPOOL ae0d67c9615b08a622952e8815c9865b3aae6a82ea60b2f4b46bf15c5040a12c6ee05e17a010f953705f19c0e9b7fdb45802b3554cd045ec7a288f3868537ee2
+DIST irssi-otr-1.0.0.tar.gz 39481 SHA256 bad09a2853ea6fb1a7af42c8f15868fd3ce45f973be90c78944ddf04f8ab517e SHA512 988e50b9df430511ae21a9128ffd27ad27efc102aaa10ec59992c6e642f38dd776396a0768021e3a0588d2a8c30e6316a7b0720d31a05ac21bb47055b0d8c488 WHIRLPOOL 998dc495fb600e635ba342162efc153483fe838d5466995ab248d3c1da358f0cf538d020280157ffffcbe27fbe91b504ed48d1ce28bb396515f560f1fe9197f4
+DIST irssi-otr-1.0.2.tar.gz 40947 SHA256 4619208b9c9171aa97a41960b3e892390b6473e2988a056b9fe8e110daa1ae9c SHA512 983bc861e5d38774305425b412368689f17a1e11298bcef49b9f0ea7a2275b1443ba2ce0a9ef9866e537097f1c6c00e9264085f5cd711f0d78faf252fba18d2f WHIRLPOOL b4684c8617969b5be07c9bd9ea836ce1ca976b425cc357d0c07e2862f162cb84f5206d8cd4347cefb3da9d39a6f8f3faaf577f9c9dafe60494d45ca8189e7dbd
+EBUILD irssi-otr-1.0.0-r1.ebuild 926 SHA256 c8c987e62842327ed765625dced021690e1e649a8ab9ed758eb82ae1ee7c3bad SHA512 a7d7225d63254a2f542097d1295df24ea443c67c774a9325cd9b95b972a51e516e2de548f8e5ae697095701772134918710e07b6aa99ad98bd44d8bc6b499743 WHIRLPOOL 28c25f11a7934660f3ae07aa68ecf540d4c456f754d0e03e42958bd316d8dfa0af2f1eceba9edf22ee128ea5cb1b7401942fe55f79cad946cd027fddbd6cb90f
+EBUILD irssi-otr-1.0.2.ebuild 739 SHA256 578cb409288a625795c42e6c74a1c7d19a57b69df3f6f95ab0b82f170e196826 SHA512 9fef92d54c95ad882569dac3217b19a868c308db4a76a7c5bb2383e19d3ed51c45444ff172900cd309ec9cdd7035f2cc58f78a06bfd977a69e483dd8a8110acf WHIRLPOOL 81b0e335fd2c311057c0adf23696d399f71488c469ca929b1970315357c310093f23adcc27bc8175cb112e1fb9eca57ba1913dc84284af9682a1285d79aacb58
+MISC ChangeLog 3315 SHA256 53e73e164d5b319030456d3018b82953df160e145e45567b52937b1fe19e107c SHA512 448ac7a8630455318382e9c8d74b62d82e7651df4802a5df5261d60efed3d313b674d4d64f61a45cf3e05f39a1067ae48ea9460a7ca8ce4e670da86637867bd7 WHIRLPOOL c7456f210057836cec309e447428d5b0cc8de2522d0453a327da300ca476099590e2bb0c1e378ee67941db3c657a2c1eaefda197238f64f1889681a1eccc8485
+MISC ChangeLog-2015 3180 SHA256 098c420e885da4c9d40a1171abbb974372d622da774fce3b983c9c94afbccbf3 SHA512 0f59b989b12cdf4547a95a166a20a9c9f3ca6756ed0eb94e225df48081e232978c6ecad303186036df827779fb6063a068d14868206b037b3990b2ddcf5e58b5 WHIRLPOOL c14e53364e3c2afb131435142c44d8ee8b48f8845158e814eb41e092ca29de2752009944261eb193ae9bcfa8dccc04422ab6c9cb8bc8e857e129385a8fcc8fc8
+MISC metadata.xml 337 SHA256 bd40d1a9b6e45691b4094a8cbcfa09ca41fae3b0fb3c78154a3d0edfd0757792 SHA512 b2ec2bbbe169d06dc33a607ccab79b7cea71a9bc4e5a33eadf9b3521dca0322a80fb1d7c4a544ab8f449bb22510e42c2fee45df84730ed083f95bafa327ea9bb WHIRLPOOL 76fe01f505123165d343b25444fce0fbea3bd13b55c1e13d98ce64384ca81e8e9ff3d4070202494aa669bb0f8e11f1f95a7409634a316406b88b31977fad07d1
diff --git a/net-irc/irssi-otr/files/irssi-otr-1.0.0-cflags.patch b/net-irc/irssi-otr/files/irssi-otr-1.0.0-cflags.patch
new file mode 100644
index 000000000000..50b57c58e8a4
--- /dev/null
+++ b/net-irc/irssi-otr/files/irssi-otr-1.0.0-cflags.patch
@@ -0,0 +1,11 @@
+--- configure.ac 2014-02-13 04:50:45.000000000 +0400
++++ configure.ac.new 2014-12-07 12:13:17.346849284 +0300
+@@ -64,7 +64,7 @@
+
+ LT_INIT
+
+-CFLAGS="-Wall $CFLAGS -g -fno-strict-aliasing -fstack-protector-all -D_FORTIFY_SOURCE=2 -O1 -Wl,-z,relro,-z,now -fPIE -pie $PACKAGE_CFLAGS"
++CFLAGS="-Wall $CFLAGS -g -fno-strict-aliasing -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wl,-z,relro,-z,now -fPIE -pie $PACKAGE_CFLAGS"
+
+ DEFAULT_INCLUDES="-I\$(top_srcdir) -I\$(top_builddir) -I\$(top_builddir)/src -I\$(top_builddir)/include"
+ AC_SUBST(DEFAULT_INCLUDES)
diff --git a/net-irc/irssi-otr/files/irssi-otr-1.0.2-cflags.patch b/net-irc/irssi-otr/files/irssi-otr-1.0.2-cflags.patch
new file mode 100644
index 000000000000..3ab13288e11d
--- /dev/null
+++ b/net-irc/irssi-otr/files/irssi-otr-1.0.2-cflags.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac 2014-02-13 04:50:45.000000000 +0400
++++ b/configure.ac 2014-12-07 12:13:17.346849284 +0300
+@@ -64,7 +64,7 @@
+
+ LT_INIT
+
+-CFLAGS="-Wall $CFLAGS -g -fno-strict-aliasing -fstack-protector-all -D_FORTIFY_SOURCE=2 -O1 -Wl,-z,relro,-z,now -fPIE -pie $PACKAGE_CFLAGS"
++CFLAGS="-Wall $CFLAGS -g -fno-strict-aliasing -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wl,-z,relro,-z,now -fPIE -pie $PACKAGE_CFLAGS"
+
+ DEFAULT_INCLUDES="-I\$(top_srcdir) -I\$(top_builddir) -I\$(top_builddir)/src -I\$(top_builddir)/include"
+ AC_SUBST(DEFAULT_INCLUDES)
diff --git a/net-irc/irssi-otr/irssi-otr-1.0.0-r1.ebuild b/net-irc/irssi-otr/irssi-otr-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..acbe377b4c6a
--- /dev/null
+++ b/net-irc/irssi-otr/irssi-otr-1.0.0-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils multilib
+
+DESCRIPTION="Off-The-Record messaging (OTR) for irssi"
+HOMEPAGE="https://github.com/cryptodotis/irssi-otr"
+SRC_URI="https://github.com/cryptodotis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~hppa ~sparc x86"
+IUSE=""
+
+# please note >=libotr-4.1.0 is required due to critical bugfix
+# d748757e581b74e7298df155ad49174cb914102b, see README.md
+RDEPEND="
+ >=dev-libs/glib-2.22.0:2
+ >=dev-libs/libgcrypt-1.2.0:0
+ >=net-libs/libotr-4.1.0
+ >=net-irc/irssi-0.8.15[perl]"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+AUTOTOOLS_AUTORECONF="yes"
+DOCS=( README.md )
+PATCHES=( "${FILESDIR}/${P}-cflags.patch" )
+
+src_prepare() {
+ autotools-utils_src_prepare
+
+ sed -i -e "s|/usr/lib/irssi/modules|/usr/$(get_libdir)/irssi/modules|" configure.ac || die
+}
diff --git a/net-irc/irssi-otr/irssi-otr-1.0.2.ebuild b/net-irc/irssi-otr/irssi-otr-1.0.2.ebuild
new file mode 100644
index 000000000000..6d49124e48ae
--- /dev/null
+++ b/net-irc/irssi-otr/irssi-otr-1.0.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Off-The-Record messaging (OTR) for irssi"
+HOMEPAGE="https://github.com/cryptodotis/irssi-otr"
+SRC_URI="https://github.com/cryptodotis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+
+RDEPEND="
+ dev-libs/glib:2
+ >=dev-libs/libgcrypt-1.7.3
+ >=net-libs/libotr-4.1.0
+ >=net-irc/irssi-1.0.0[perl]"
+
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( README.md )
+
+PATCHES=( "${FILESDIR}/${P}-cflags.patch" )
+
+src_prepare() {
+ default
+ eautoreconf
+ sed -i -e "s|/usr/lib/irssi/modules|/usr/$(get_libdir)/irssi/modules|" configure.ac || die
+}
diff --git a/net-irc/irssi-otr/metadata.xml b/net-irc/irssi-otr/metadata.xml
new file mode 100644
index 000000000000..b65267194902
--- /dev/null
+++ b/net-irc/irssi-otr/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">cryptodotis/irssi-otr</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+</pkgmetadata>