diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-15 06:12:08 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-15 06:12:08 +0000 |
commit | 46e5e411d2e8cff9d479a70704e0cbd5c217e6e0 (patch) | |
tree | 2d27f9e1a92942b6add68fd0661ce102713b08c0 | |
parent | fa5556b5d7866d7d6916c95249b6930becfc8af0 (diff) | |
download | aports-46e5e411d2e8cff9d479a70704e0cbd5c217e6e0.tar.bz2 aports-46e5e411d2e8cff9d479a70704e0cbd5c217e6e0.tar.xz |
main/freeradius: security upgrade to 2.1.12 (CVE-2011-2701)
fixes #1091
-rw-r--r-- | main/freeradius/APKBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD index 272b0219be..5c659684cf 100644 --- a/main/freeradius/APKBUILD +++ b/main/freeradius/APKBUILD @@ -1,8 +1,8 @@ # Contributor: # Maintainer: Leonardo Arena <rnalrd@gmail.com> pkgname=freeradius -pkgver=2.1.10 -pkgrel=13 +pkgver=2.1.12 +pkgrel=0 pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server" url="http://freeradius.org/" license="GPL" @@ -59,8 +59,11 @@ build() { --with-udpfromto \ || return 1 - # workaround parallel build issue - make -j1 || return 1 + # * workaround parallel build issue + # * add -lssl to fix: + # radiusd: symbol 'SSL_set_ex_data': can't resolve symbol in lib + # '/usr/lib/freeradius/libfreeradius-eap-2.1.10.so'. + make LDFLAGS="$LDFLAGS -lssl" LIBTOOL="$PWD/libtool" -j1 || return 1 } package() { @@ -70,7 +73,7 @@ package() { install -d -m0750 -o root -g radiusd "$pkgdir"/var/log/radius install -d -m0750 -o root -g radiusd "$pkgdir"/var/log/radius/radacct - make -j1 R="$pkgdir" install + make -j1 R="$pkgdir" LIBTOOL="$PWD/libtool" install sed -i -e 's:^#user *= *nobody:user = radiusd:;s:^#group *= *nobody:group = radiusd:' \ "$pkgdir"/etc/raddb/radiusd.conf chown -R root:radiusd "$pkgdir"/etc/raddb/* @@ -141,6 +144,6 @@ unixodbc() { mv $pkgdir/usr/lib/freeradius/rlm_sql_unixodbc* $subpkgdir/usr/lib/freeradius } -md5sums="e552704fc1b46d51176e575afa96dcc6 freeradius-server-2.1.10.tar.gz +md5sums="dcbaed16df8ccff672ba132a08bf8510 freeradius-server-2.1.12.tar.gz fc6693f3df5a0694610110287a28568a freeradius.confd 6cd5d02575f514a51d741dba3f7c70d2 freeradius.initd" |