* update libotr to 4.1.1-5
This commit is contained in:
parent
362f2486d6
commit
8f23f9a607
@ -6,12 +6,19 @@
|
|||||||
|
|
||||||
pkgname=libotr
|
pkgname=libotr
|
||||||
pkgver=4.1.1
|
pkgver=4.1.1
|
||||||
pkgrel=4
|
pkgrel=5
|
||||||
pkgdesc='Off-the-Record Messaging Library and Toolkit'
|
pkgdesc='Off-the-Record Messaging Library and Toolkit'
|
||||||
url='https://otr.cypherpunks.ca/'
|
url='https://otr.cypherpunks.ca/'
|
||||||
license=('GPL' 'LGPL')
|
license=(
|
||||||
|
'GPL-2.0-only'
|
||||||
|
'LGPL-2.1-only'
|
||||||
|
)
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
depends=('libgcrypt')
|
depends=(
|
||||||
|
'glibc'
|
||||||
|
'libgcrypt'
|
||||||
|
'libgpg-error'
|
||||||
|
)
|
||||||
validpgpkeys=('22DF3305DF56667CE15784FCF24DE08F42C2ABAD') # OTR Dev Team
|
validpgpkeys=('22DF3305DF56667CE15784FCF24DE08F42C2ABAD') # OTR Dev Team
|
||||||
source=(https://otr.cypherpunks.ca/${pkgname}-${pkgver}.tar.gz{,.asc}
|
source=(https://otr.cypherpunks.ca/${pkgname}-${pkgver}.tar.gz{,.asc}
|
||||||
"$pkgname-4.1.1-include-socket.h.patch")
|
"$pkgname-4.1.1-include-socket.h.patch")
|
||||||
@ -22,11 +29,16 @@ sha256sums=('8b3b182424251067a952fb4e6c7b95a21e644fbb27fbd5f8af2b2ed87ca419f5'
|
|||||||
prepare() {
|
prepare() {
|
||||||
# FS#75450
|
# FS#75450
|
||||||
patch -d "$pkgname-$pkgver" -N -p 1 -i "${srcdir}/$pkgname-4.1.1-include-socket.h.patch"
|
patch -d "$pkgname-$pkgver" -N -p 1 -i "${srcdir}/$pkgname-4.1.1-include-socket.h.patch"
|
||||||
|
|
||||||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
autoreconf -fiv
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
./configure --prefix=/usr --mandir=/usr/share/man --build=${CHOST}
|
# --disable-gcc-hardening: Arch Linux already passes more strict CFLAGS to all builds,
|
||||||
|
# libotr tries to pass _FORTIFY_SOURCE=2, but Arch Linux has _FORTIFY_SOURCE=3
|
||||||
|
./configure --build=${CHOST} --prefix=/usr --mandir=/usr/share/man --disable-gcc-hardening
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user