diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2011-10-17 09:29:09 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2011-10-17 09:29:35 +0000 |
commit | 53b705338468d47fedf11e28f2199a02e1ed9655 (patch) | |
tree | 093a03c307de56665e220ee91322d4fb289d4752 | |
parent | 936556a4634b7f8df56ef91d1bb9b738debad2b4 (diff) | |
download | alpine_aports-53b705338468d47fedf11e28f2199a02e1ed9655.tar.bz2 alpine_aports-53b705338468d47fedf11e28f2199a02e1ed9655.tar.xz alpine_aports-53b705338468d47fedf11e28f2199a02e1ed9655.zip |
main/freeradius: upgrade to 2.1.12
-rw-r--r-- | main/freeradius/APKBUILD | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD index 642249be49..cadbea949e 100644 --- a/main/freeradius/APKBUILD +++ b/main/freeradius/APKBUILD | |||
@@ -1,8 +1,8 @@ | |||
1 | # Contributor: | 1 | # Contributor: Natanael Copa <ncopa@alpinelinux.org> |
2 | # Maintainer: Leonardo Arena <rnalrd@gmail.com> | 2 | # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> |
3 | pkgname=freeradius | 3 | pkgname=freeradius |
4 | pkgver=2.1.10 | 4 | pkgver=2.1.12 |
5 | pkgrel=23 | 5 | pkgrel=0 |
6 | pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server" | 6 | pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server" |
7 | url="http://freeradius.org/" | 7 | url="http://freeradius.org/" |
8 | arch="all" | 8 | arch="all" |
@@ -31,7 +31,6 @@ prepare() { | |||
31 | # done | 31 | # done |
32 | 32 | ||
33 | # we dont have libnsl | 33 | # we dont have libnsl |
34 | sed -i 's/-lnsl //g' configure || return 1 | ||
35 | sed -i 's/nsl, //g' configure.in || return 1 | 34 | sed -i 's/nsl, //g' configure.in || return 1 |
36 | 35 | ||
37 | # Fix compilation with heimdal >= 1.3.1 | 36 | # Fix compilation with heimdal >= 1.3.1 |
@@ -66,7 +65,7 @@ build() { | |||
66 | # * add -lssl to fix: | 65 | # * add -lssl to fix: |
67 | # radiusd: symbol 'SSL_set_ex_data': can't resolve symbol in lib | 66 | # radiusd: symbol 'SSL_set_ex_data': can't resolve symbol in lib |
68 | # '/usr/lib/freeradius/libfreeradius-eap-2.1.10.so'. | 67 | # '/usr/lib/freeradius/libfreeradius-eap-2.1.10.so'. |
69 | make LDFLAGS="$LDFLAGS -lssl" -j1 || return 1 | 68 | make LDFLAGS="$LDFLAGS -lssl" LIBTOOL="$PWD/libtool" -j1 || return 1 |
70 | } | 69 | } |
71 | 70 | ||
72 | package() { | 71 | package() { |
@@ -76,7 +75,7 @@ package() { | |||
76 | install -d -m0750 -o root -g radiusd "$pkgdir"/var/log/radius | 75 | install -d -m0750 -o root -g radiusd "$pkgdir"/var/log/radius |
77 | install -d -m0750 -o root -g radiusd "$pkgdir"/var/log/radius/radacct | 76 | install -d -m0750 -o root -g radiusd "$pkgdir"/var/log/radius/radacct |
78 | 77 | ||
79 | make -j1 R="$pkgdir" install | 78 | make -j1 R="$pkgdir" LIBTOOL="$PWD/libtool" install |
80 | sed -i -e 's:^#user *= *nobody:user = radiusd:;s:^#group *= *nobody:group = radiusd:' \ | 79 | sed -i -e 's:^#user *= *nobody:user = radiusd:;s:^#group *= *nobody:group = radiusd:' \ |
81 | "$pkgdir"/etc/raddb/radiusd.conf | 80 | "$pkgdir"/etc/raddb/radiusd.conf |
82 | chown -R root:radiusd "$pkgdir"/etc/raddb/* | 81 | chown -R root:radiusd "$pkgdir"/etc/raddb/* |
@@ -166,6 +165,6 @@ unixodbc() { | |||
166 | mv $pkgdir/usr/lib/freeradius/rlm_sql_unixodbc* $subpkgdir/usr/lib/freeradius | 165 | mv $pkgdir/usr/lib/freeradius/rlm_sql_unixodbc* $subpkgdir/usr/lib/freeradius |
167 | } | 166 | } |
168 | 167 | ||
169 | md5sums="e552704fc1b46d51176e575afa96dcc6 freeradius-server-2.1.10.tar.gz | 168 | md5sums="dcbaed16df8ccff672ba132a08bf8510 freeradius-server-2.1.12.tar.gz |
170 | fc6693f3df5a0694610110287a28568a freeradius.confd | 169 | fc6693f3df5a0694610110287a28568a freeradius.confd |
171 | 7c14a0bc0ada858a08235d7a1d1f2d4c freeradius.initd" | 170 | 7c14a0bc0ada858a08235d7a1d1f2d4c freeradius.initd" |