Package: freeradius
Severity: important
Version: 1.1.2-2
Tags: patch

Hi,

the current version fails to build on GNU/kFreeBSD,
because of outdated libtool.

The version of libtool used in freeradius is too old to correctly
support Debian GNU/k*BSD, libtool 1.5.2-1 or later is need.

It would be nice if you can ask upstream to update libtool
in their next release.

In mean time, please use attached patch.

Thanks in advance

                         Petr
only in patch2:
unchanged:
--- freeradius-1.1.2.orig/ltconfig
+++ freeradius-1.1.2/ltconfig
@@ -1957,7 +1957,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|k*bsd*-gnu)
   version_type=linux
   need_lib_prefix=no
   need_version=no
only in patch2:
unchanged:
--- freeradius-1.1.2.orig/aclocal.m4
+++ freeradius-1.1.2/aclocal.m4
@@ -2144,7 +2144,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|k*bsd*-gnu)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -3368,7 +3368,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|k*bsd*-gnu)
   case $host_cpu in
   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* )
     lt_cv_deplibs_check_method=pass_all ;;
only in patch2:
unchanged:
--- freeradius-1.1.2.orig/configure
+++ freeradius-1.1.2/configure
@@ -1984,7 +1984,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|k*bsd*-gnu)
   case $host_cpu in
   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* )
     lt_cv_deplibs_check_method=pass_all ;;
@@ -4239,7 +4239,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|k*bsd*-gnu)
   version_type=linux
   need_lib_prefix=no
   need_version=no
only in patch2:
unchanged:
--- freeradius-1.1.2.orig/libltdl/acinclude.m4
+++ freeradius-1.1.2/libltdl/acinclude.m4
@@ -2146,7 +2146,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|k*bsd*-gnu)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -3370,7 +3370,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|k*bsd*-gnu)
   case $host_cpu in
   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* )
     lt_cv_deplibs_check_method=pass_all ;;
only in patch2:
unchanged:
--- freeradius-1.1.2.orig/libltdl/aclocal.m4
+++ freeradius-1.1.2/libltdl/aclocal.m4
@@ -2098,7 +2098,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|k*bsd*-gnu)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -3300,7 +3300,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|k*bsd*-gnu)
   case $host_cpu in
   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
     lt_cv_deplibs_check_method=pass_all ;;
only in patch2:
unchanged:
--- freeradius-1.1.2.orig/libltdl/configure
+++ freeradius-1.1.2/libltdl/configure
@@ -2047,7 +2047,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|k*bsd*-gnu)
   case $host_cpu in
   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
     lt_cv_deplibs_check_method=pass_all ;;
@@ -4536,7 +4536,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux-gnu*|k*bsd*-gnu)
   version_type=linux
   need_lib_prefix=no
   need_version=no

Reply via email to