OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.0 KiB

  1. diff -up pam_radius-1.3.17/Makefile.make pam_radius-1.3.17/Makefile
  2. --- pam_radius-1.3.17/Makefile.make 2010-11-22 14:03:13.702695066 +0100
  3. +++ pam_radius-1.3.17/Makefile 2010-11-22 14:06:33.958697253 +0100
  4. @@ -47,6 +47,7 @@ pam_radius_auth.o: pam_radius_auth.c pam
  5. # Build the shared library.
  6. #
  7. # The -Bshareable flag *should* work on *most* operating systems.
  8. +# ld -Bshareable pam_radius_auth.o md5.o -lpam -o pam_radius_auth.so
  9. #
  10. # On Solaris, you might try using '-G', instead.
  11. #
  12. @@ -55,7 +56,7 @@ pam_radius_auth.o: pam_radius_auth.c pam
  13. # gcc -shared pam_radius_auth.o md5.o -lpam -lc -o pam_radius_auth.so
  14. #
  15. pam_radius_auth.so: pam_radius_auth.o md5.o
  16. - ld -Bshareable pam_radius_auth.o md5.o -lpam -o pam_radius_auth.so
  17. + gcc -shared pam_radius_auth.o md5.o -lpam -lc -o pam_radius_auth.so
  18. ######################################################################
  19. #
  20. @@ -72,3 +73,7 @@ dist:
  21. #
  22. clean:
  23. @rm -f *~ *.so *.o
  24. +
  25. +install:
  26. + install -d ${DESTDIR}/lib/security
  27. + install -m 0755 pam_radius_auth.so ${DESTDIR}/lib/security