aur/umurmur to use openssl, remove aur/polarssl

This commit is contained in:
Kevin Mihelich 2013-01-25 02:04:35 +00:00
parent 07cf14953c
commit 6fa37843f6
2 changed files with 4 additions and 28 deletions

View file

@ -1,23 +0,0 @@
# Maintainer: Mihai Militaru <mihai militaru at xmpp dot ro>
pkgname=polarssl
pkgver=1.2.3
pkgrel=1
pkgdesc="Portable cryptographic and SSL/TLS library"
arch=('i686' 'x86_64')
url="http://www.polarssl.org/"
license=('GPL2')
source=(http://www.polarssl.org/code/releases/polarssl-"$pkgver"-gpl.tgz)
sha1sums=('b47b3db19c4487c5930eaec23dda0dbd24851146')
depends=('glibc')
build() {
cd "$pkgname"-"$pkgver"
sed -i 's^CFLAGS +=^CFLAGS += -fPIC^g' library/Makefile
sed -i 's#all: static#all: static shared#g' library/Makefile
make
make DESTDIR="$pkgdir/usr" install
echo 'WARNING: in order to run the tests, execute in this directory, after you install the library: cd src/polarssl-<version> && make check'
}

View file

@ -1,9 +1,8 @@
# Contributor : xav <xav at ethertricks dot net>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - use polarssl instead of openssl
# ALARM: Mike Brown <mbrown@archlinuxarm.org>
# - systemd service file addition
pkgname=umurmur
pkgver=0.2.10
pkgrel=3
@ -11,12 +10,12 @@ pkgdesc="A minimalistic Mumble server"
arch=('i686' 'x86_64')
url="http://code.google.com/p/umurmur/"
license=('GPL')
depends=('libconfig' 'protobuf-c' 'polarssl')
depends=('libconfig' 'protobuf-c')
source=(http://umurmur.googlecode.com/files/${pkgname}-${pkgver}.tar.gz \
umurmur.rc.d \
umurmur.conf.d \
umurmur.1 \
umurmur.service)
umurmur.service)
sha1sums=('5a53b021078dfbdf001c9af9ff207ea84bcf8222'
'c4f91846a6ee16437452c024652d2f5eca0c0c2a'
'21749181b742154a3be984caa5e29ab62410e9cf'
@ -25,7 +24,7 @@ sha1sums=('5a53b021078dfbdf001c9af9ff207ea84bcf8222'
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man --with-ssl=polarssl
./configure --prefix=/usr --mandir=/usr/share/man --with-ssl=openssl
make || return 1
make DESTDIR=${pkgdir} install || return 1