diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-09 09:50:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-09 09:50:47 +0000 |
commit | 7a5aabc51edbfffb23bbeee5cdee284f70fa1b54 (patch) | |
tree | 213d22231b66746524d9ed8ca556b4138679644c /main/freeradius/APKBUILD | |
parent | 2fafe3d1eb933216776b191c85565ec5289161da (diff) | |
download | aports-7a5aabc51edbfffb23bbeee5cdee284f70fa1b54.tar.bz2 aports-7a5aabc51edbfffb23bbeee5cdee284f70fa1b54.tar.xz |
main/freeradius: fix incomplete freeradius3 provides
we need provides for subpackages as well
Diffstat (limited to 'main/freeradius/APKBUILD')
-rw-r--r-- | main/freeradius/APKBUILD | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD index e1d85ef8c2..ea323ee731 100644 --- a/main/freeradius/APKBUILD +++ b/main/freeradius/APKBUILD @@ -5,7 +5,7 @@ pkgname=freeradius _realname=freeradius pkgver=3.0.8 -pkgrel=4 +pkgrel=5 pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server" url="http://freeradius.org/" arch="all" @@ -124,6 +124,7 @@ _mvdb() { eap() { depends="freeradius=$pkgver-r$pkgrel" + provides="freeradius3-eap=$pkgver-r$pkgrel" pkgdesc="EAP module for FreeRADIUS server" mkdir -p "${subpkgdir}"${radlibdir} mv "${pkgdir}"${radlibdir}/rlm_eap*.so "${subpkgdir}"${radlibdir} \ @@ -136,6 +137,7 @@ eap() { ldap() { depends="freeradius=$pkgver-r$pkgrel" + provides="freeradius3-ldap=$pkgver-r$pkgrel" pkgdesc="LDAP module for FreeRADIUS server" mkdir -p "${subpkgdir}"${radlibdir} mv "${pkgdir}"${radlibdir}/rlm_ldap* "${subpkgdir}"${radlibdir} \ @@ -144,6 +146,7 @@ ldap() { krb5() { depends="freeradius=$pkgver-r$pkgrel" + provides="freeradius3-krb5=$pkgver-r$pkgrel" pkgdesc="Kerberos module for FreeRADIUS server" mkdir -p "${subpkgdir}"${radlibdir} mv "${pkgdir}"${radlibdir}/rlm_krb5* "${subpkgdir}"${radlibdir} \ @@ -163,6 +166,7 @@ lib() { sql() { depends="freeradius=$pkgver-r$pkgrel" + provides="freeradius3-sql=$pkgver-r$pkgrel" pkgdesc="SQL module for FreeRADIUS server" mkdir -p "${subpkgdir}"${radlibdir} for lib in sql sqlippool sql_null sqlcounter; do @@ -179,12 +183,14 @@ sql() { mysql() { depends="freeradius-sql=$pkgver-r$pkgrel" + provides="freeradius3-mysql=$pkgver-r$pkgrel" pkgdesc="MySQL module for FreeRADIUS server" _mvdb mysql || return 1 } mssql() { depends="freeradius-sql=$pkgver-r$pkgrel" + provides="freeradius3-mssql=$pkgver-r$pkgrel" pkgdesc="MSSQL module for FreeRADIUS server" arch="noarch" mkdir -p "${subpkgdir}"${radmodsconfdir}/sql/main @@ -194,6 +200,7 @@ mssql() { perl() { depends="freeradius=$pkgver-r$pkgrel perl" + provides="freeradius3-perl=$pkgver-r$pkgrel" pkgdesc="Perl module for FreeRADIUS server" mkdir -p "${subpkgdir}"${radlibdir} mv "${pkgdir}"${radlibdir}/rlm_perl* "${subpkgdir}"${radlibdir} \ @@ -208,12 +215,14 @@ perl() { postgresql() { depends="freeradius-sql=$pkgver-r$pkgrel" + provides="freeradius3-postgresql=$pkgver-r$pkgrel" pkgdesc="PostgreSQL module for FreeRADIUS server" _mvdb postgresql || return 1 } python() { depends="freeradius=$pkgver-r$pkgrel python" + provides="freeradius3-python=$pkgver-r$pkgrel" pkgdesc="Python module for FreeRADIUS server" mkdir -p "${subpkgdir}"${radlibdir} mv "${pkgdir}"${radlibdir}/rlm_python* "${subpkgdir}"${radlibdir} \ @@ -226,6 +235,7 @@ python() { radclient() { depends="" + provides="freeradius3-radclient=$pkgver-r$pkgrel" pkgdesc="Client for FreeRADIUS server" mkdir -p "$subpkgdir"/usr/bin mv "$pkgdir"/usr/bin/radclient "$subpkgdir"/usr/bin/radclient \ @@ -233,13 +243,15 @@ radclient() { } sqlite() { - depends="freeradius-sql" + depends="freeradius-sql=$pkgver-r$pkgrel" + provides="freeradius3-sqlite=$pkgver-r$pkgrel" pkgdesc="SQLite module for FreeRADIUS server" _mvdb sqlite || return 1 } unixodbc() { depends="freeradius=$pkgver-r$pkgrel" + provides="freeradius3-unixodbc=$pkgver-r$pkgrel" pkgdesc="ODBC module for FreeRADIUS server" mkdir -p "${subpkgdir}"${radlibdir} mv "${pkgdir}"${radlibdir}/rlm_sql_unixodbc.so \ @@ -248,6 +260,7 @@ unixodbc() { pam() { depends="freeradius=$pkgver-r$pkgrel" + provides="freeradius3-pam=$pkgver-r$pkgrel" pkgdesc="PAM module for FreeRADIUS server" mkdir -p "${subpkgdir}"${radlibdir} mv "${pkgdir}"${radlibdir}/rlm_pam* "${subpkgdir}"${radlibdir} \ |