Commit 53847df5 authored by Xuetian Weng's avatar Xuetian Weng

update libotr to fix security issue

parent 8b4bc231
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com> # maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=libotr pkgname=libotr
pkgver=4.0.0 pkgver=4.1.1
pkgrel=2 pkgrel=1
pkgdesc='Off-the-Record Messaging Library and Toolkit.' pkgdesc='Off-the-Record Messaging Library and Toolkit'
url='http://www.cypherpunks.ca/otr/' url='http://otr.cypherpunks.ca/'
license=('GPL' 'LGPL') license=('GPL' 'LGPL')
arch=('x86_64') arch=('x86_64')
depends=('libgcrypt') depends=('libgcrypt')
source=("http://www.cypherpunks.ca/otr/${pkgname}-${pkgver}.tar.gz" validpgpkeys=('576979E7D0CAB38C7AA3DDBDDED64EBB2BA87C5C')
'kopete.patch') source=("http://otr.cypherpunks.ca/${pkgname}-${pkgver}.tar.gz"{,.asc})
sha1sums=('8865e9011b8674290837afcf7caf90c492ae09cc' sha1sums=('3894b82a6c307ad011681ad342d69b18344933ae'
'55988c4f11b6852491a758ea7a5b7071e8959c55') 'SKIP')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i ../kopete.patch # FS#38326
}
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man ./configure --prefix=/usr --mandir=/usr/share/man
make make
} }
package() { package() {
cd "$srcdir/$pkgname-$pkgver" cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="$pkgdir" install make DESTDIR="${pkgdir}" install
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment