~ubuntu-branches/ubuntu/raring/vsftpd/raring

« back to all changes in this revision

Viewing changes to vsf_findlibs.sh

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2009-07-20 05:55:34 UTC
  • mfrom: (2.2.12 sid)
  • Revision ID: james.westby@ubuntu.com-20090720055534-kerhcu3y5q115pf5
Tags: 2.2.0~pre4-2ubuntu1
* Merge from debian unstable, remaining changes:
  - Use LSB functions in the init script.
  - Use snakeoil SSL certificates and key.
  - Do not create rc.d stop symlinks
  - Add update-inetd dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
if find_func pam_start sysdeputil.o; then
15
15
  locate_library /lib/libpam.so.0 && echo "/lib/libpam.so.0";
16
16
  locate_library /usr/lib/libpam.so && echo "-lpam";
 
17
  locate_library /usr/lib64/libpam.so && echo "-lpam";
17
18
  # HP-UX ends shared libraries with .sl
18
19
  locate_library /usr/lib/libpam.sl && echo "-lpam";
19
20
  # AIX ends shared libraries with .a
21
22
else
22
23
  locate_library /lib/libcrypt.so && echo "-lcrypt";
23
24
  locate_library /usr/lib/libcrypt.so && echo "-lcrypt";
 
25
  locate_library /usr/lib64/libcrypt.so && echo "-lcrypt";
24
26
fi
25
27
 
26
28
# Look for the dynamic linker library. Needed by older RedHat when
50
52
else
51
53
  locate_library /usr/lib/libcap.so && echo "-lcap";
52
54
  locate_library /lib/libcap.so && echo "-lcap";
 
55
  locate_library /lib64/libcap.so && echo "-lcap";
53
56
fi
54
57
 
55
58
# Solaris needs this for nanosleep()..