@ -9,7 +9,7 @@ log_file = @l_prefix@/var/amd/amd.log
search_path = @l_prefix@/etc/amd/:/etc/amdmaps
normalize_hostnames = yes
print_pid = yes
restart_mounts = no
restart_mounts = yes
unmount_on_exit = no
cache_duration = 300
print_version = yes
@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
Group: System
License: BSD
Version: 6.0.9
Release: 20030220
Release: 20030226
# list of sources
Source0: ftp://ftp.am-utils.org/pub/am-utils/am-utils-%{version}.tar.gz
@ -71,6 +71,14 @@ AutoReqProv: no
%patch -p1
%build
case "%{l_target}" in
*-netbsd* )
%{l_shtool} subst \
-e 's;\(!defined(__FreeBSD__)\);(\1 || !defined(__NetBSD__));g' \
hlfsd/stubs.c
;;
esac
# disable system LDAP support because it makes trouble (at least under Solaris 9)
( echo "ac_cv_func_ldap_open=\${ac_cv_func_ldap_open='no'}"
echo "ac_cv_header_ldap_h=\${ac_cv_header_ldap_h='no'}"