summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-10-11 14:17:09 +0000
committerru <ru@FreeBSD.org>2002-10-11 14:17:09 +0000
commitb3c0f70717dc721a9076491fe80fef2e28c95424 (patch)
treed57874243c840cf0a29c4fd341b589bccf1b2517
parent0d425a16b5c7db40fc40d5cd3e984e0e28d37c76 (diff)
downloadFreeBSD-src-b3c0f70717dc721a9076491fe80fef2e28c95424.zip
FreeBSD-src-b3c0f70717dc721a9076491fe80fef2e28c95424.tar.gz
Build kerberized versions of the PAM library, and install them
into corresponding distributions during "make release". (This also cleans the "slib" distribution up from the .o files.) PR: misc/43825 (inspired by)
-rw-r--r--kerberos5/Makefile2
-rw-r--r--kerberosIV/Makefile2
-rw-r--r--lib/libpam/Makefile.inc8
3 files changed, 10 insertions, 2 deletions
diff --git a/kerberos5/Makefile b/kerberos5/Makefile
index c18111a..3423b06 100644
--- a/kerberos5/Makefile
+++ b/kerberos5/Makefile
@@ -3,7 +3,7 @@
SUBDIR= doc lib libexec usr.bin usr.sbin
# These are the programs which depend on Kerberos.
-KPROGS= secure/usr.bin/ssh secure/usr.sbin/sshd
+KPROGS= lib/libpam secure/usr.bin/ssh secure/usr.sbin/sshd
# This target is used to rebuild these programs WITH Kerberos.
kerberize:
diff --git a/kerberosIV/Makefile b/kerberosIV/Makefile
index e368155..588a4f4 100644
--- a/kerberosIV/Makefile
+++ b/kerberosIV/Makefile
@@ -5,7 +5,7 @@ MAINTAINER= markm@FreeBSD.org
SUBDIR= include lib libexec usr.bin usr.sbin
# These are the programs which depend on Kerberos.
-KPROGS= bin/rcp libexec/ftpd libexec/rlogind libexec/rshd \
+KPROGS= bin/rcp lib/libpam libexec/ftpd libexec/rlogind libexec/rshd \
sbin/dump sbin/restore usr.bin/login usr.bin/passwd \
usr.bin/rlogin usr.bin/rsh usr.bin/su
# kerberosIV'ed cvs is broken
diff --git a/lib/libpam/Makefile.inc b/lib/libpam/Makefile.inc
index a0b4860..5a1794f 100644
--- a/lib/libpam/Makefile.inc
+++ b/lib/libpam/Makefile.inc
@@ -26,3 +26,11 @@
SHLIB_MAJOR= 2
+.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
+.if defined(MAKE_KERBEROS4)
+DISTRIBUTION+= krb4
+.endif
+.if defined(MAKE_KERBEROS5)
+DISTRIBUTION+= krb5
+.endif
+.endif
OpenPOWER on IntegriCloud