[arch-commits] Commit in libotr/repos (6 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Sat Jan 11 10:57:22 UTC 2014


    Date: Saturday, January 11, 2014 @ 11:57:22
  Author: andrea
Revision: 203479

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  libotr/repos/testing-i686/
  libotr/repos/testing-i686/PKGBUILD
    (from rev 203478, libotr/trunk/PKGBUILD)
  libotr/repos/testing-i686/kopete.patch
    (from rev 203478, libotr/trunk/kopete.patch)
  libotr/repos/testing-x86_64/
  libotr/repos/testing-x86_64/PKGBUILD
    (from rev 203478, libotr/trunk/PKGBUILD)
  libotr/repos/testing-x86_64/kopete.patch
    (from rev 203478, libotr/trunk/kopete.patch)

-----------------------------+
 testing-i686/PKGBUILD       |   33 +++++++++++++++++++++++++++++++++
 testing-i686/kopete.patch   |   12 ++++++++++++
 testing-x86_64/PKGBUILD     |   33 +++++++++++++++++++++++++++++++++
 testing-x86_64/kopete.patch |   12 ++++++++++++
 4 files changed, 90 insertions(+)

Copied: libotr/repos/testing-i686/PKGBUILD (from rev 203478, libotr/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-01-11 10:57:22 UTC (rev 203479)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+# Contributor: Bug <Bug2000 at gmail.com>
+
+pkgname=libotr
+pkgver=4.0.0
+pkgrel=5
+pkgdesc='Off-the-Record Messaging Library and Toolkit'
+url='http://www.cypherpunks.ca/otr/'
+license=('GPL' 'LGPL')
+arch=('i686' 'x86_64')
+depends=('libgcrypt')
+source=("http://www.cypherpunks.ca/otr/${pkgname}-${pkgver}.tar.gz"
+        'kopete.patch')
+sha1sums=('8865e9011b8674290837afcf7caf90c492ae09cc'
+          '55988c4f11b6852491a758ea7a5b7071e8959c55')
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p1 -i ../kopete.patch # FS#38326
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure --prefix=/usr --mandir=/usr/share/man
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}

Copied: libotr/repos/testing-i686/kopete.patch (from rev 203478, libotr/trunk/kopete.patch)
===================================================================
--- testing-i686/kopete.patch	                        (rev 0)
+++ testing-i686/kopete.patch	2014-01-11 10:57:22 UTC (rev 203479)
@@ -0,0 +1,12 @@
+diff -Naur old/src/message.c new/src/message.c
+--- old/src/message.c	2012-08-31 02:15:35.000000000 -1000
++++ new/src/message.c	2014-01-06 01:22:43.316831758 -1000
+@@ -441,7 +441,7 @@
+ 	/* Fragment and send according to policy */
+ 	if (!err && messagep && *messagep) {
+ 	    if (context) {
+-		err = fragment_and_send(ops, NULL, context, *messagep,
++		err = fragment_and_send(ops, opdata, context, *messagep,
+ 			fragPolicy, messagep);
+ 	    }
+ 	}

Copied: libotr/repos/testing-x86_64/PKGBUILD (from rev 203478, libotr/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-01-11 10:57:22 UTC (rev 203479)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+# Contributor: Bug <Bug2000 at gmail.com>
+
+pkgname=libotr
+pkgver=4.0.0
+pkgrel=5
+pkgdesc='Off-the-Record Messaging Library and Toolkit'
+url='http://www.cypherpunks.ca/otr/'
+license=('GPL' 'LGPL')
+arch=('i686' 'x86_64')
+depends=('libgcrypt')
+source=("http://www.cypherpunks.ca/otr/${pkgname}-${pkgver}.tar.gz"
+        'kopete.patch')
+sha1sums=('8865e9011b8674290837afcf7caf90c492ae09cc'
+          '55988c4f11b6852491a758ea7a5b7071e8959c55')
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p1 -i ../kopete.patch # FS#38326
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure --prefix=/usr --mandir=/usr/share/man
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}

Copied: libotr/repos/testing-x86_64/kopete.patch (from rev 203478, libotr/trunk/kopete.patch)
===================================================================
--- testing-x86_64/kopete.patch	                        (rev 0)
+++ testing-x86_64/kopete.patch	2014-01-11 10:57:22 UTC (rev 203479)
@@ -0,0 +1,12 @@
+diff -Naur old/src/message.c new/src/message.c
+--- old/src/message.c	2012-08-31 02:15:35.000000000 -1000
++++ new/src/message.c	2014-01-06 01:22:43.316831758 -1000
+@@ -441,7 +441,7 @@
+ 	/* Fragment and send according to policy */
+ 	if (!err && messagep && *messagep) {
+ 	    if (context) {
+-		err = fragment_and_send(ops, NULL, context, *messagep,
++		err = fragment_and_send(ops, opdata, context, *messagep,
+ 			fragPolicy, messagep);
+ 	    }
+ 	}




More information about the arch-commits mailing list