Ubuntu package from Master branch
Olivier Beytrison
olivier at heliosnet.org
Wed Dec 5 17:06:51 CET 2012
On 05.12.2012 16:32, Olivier Beytrison wrote:
>> now I'm working on getting the warning out of the packaging process. and
>> I'm trying to get rid of those messages :
>>
>> dpkg-shlibdeps: warning: couldn't find library libfreeradius-eap.so
>> needed by debian/freeradius/usr/lib/freeradius/rlm_eap_peap.so (ELF
>> format: 'elf64-x86-64'; RPATH: '/usr/lib/freeradius').
>> dpkg-shlibdeps: warning: couldn't find library libfreeradius-radius.so
>> needed by debian/freeradius/usr/sbin/radmin (ELF format: 'elf64-x86-64';
>> RPATH: '/usr/lib/freeradius').
>> [...]
>>
>> Which is weird because dh_makeshlibs should take care of this
>> dependency, AFAIK. Any idea?
>
> Weird, I just rebuilded the packages, without any changes, but this time
> I didn't get the warning. looks like a package order issue.
Well it didn't complain because package libfreeradius3 was installed so
it found the libfreeradius-radius.so and eap.so in /usr/lib/freeradius
... ;)
> I'll test the different modules packages (krb5, ldap, mysql for now)
warning for freeradius-mysql, patch below
diff --git a/debian/freeradius-mysql.postinst
b/debian/freeradius-mysql.postinst
index efea808..ad0a096 100755
--- a/debian/freeradius-mysql.postinst
+++ b/debian/freeradius-mysql.postinst
@@ -4,7 +4,7 @@ set -e
case "$1" in
configure)
- for file in `find /etc/freeradius/sql/main/mysql/ -print`
+ for file in `find /etc/freeradius/sql/main/mysql -print`
do
if ! dpkg-statoverride --list | grep -qw $file$; then
dpkg-statoverride --add --update root freerad 0640 $file
diff --git a/debian/freeradius-mysql.prerm b/debian/freeradius-mysql.prerm
index d1052a7..74c4d24 100644
--- a/debian/freeradius-mysql.prerm
+++ b/debian/freeradius-mysql.prerm
@@ -4,7 +4,7 @@ set -e
case "$1" in
remove)
- for file in `find /etc/freeradius/sql/main/mysql/ -print`
+ for file in `find /etc/freeradius/sql/main/mysql -print`
do
if dpkg-statoverride --list | grep -qw $file$; then
dpkg-statoverride --remove $file
--
Olivier Beytrison
Network & Security Engineer, HES-SO Fribourg
Mobile: +41 (0)78 619 73 53
Mail: olivier at heliosnet.org
More information about the Freeradius-Devel
mailing list