Browse Source

pkgbase: split kerberos binaries and libs

Summary:
This allows installing packages that depend on kerberos libraries
without pulling in all the binaries. It also moves libgssapi to runtime
to allow installing kerbereos libraries without adding a dependancy on
the large utilities package. It makes sense to put libgssapi in runtime
rather than kerberos-lib since this is a plugin layer which is intended
to support any GSS-API mechanisms, not just kerberos.

A good example of a package which uses kerberos libraries without
needing the kerberos utilities is sshd. This uses the kerberos GSS-API
libraries to implement its GSSAPIAuthentication option.

MFC after: 2 weeks

Subscribers: imp

Differential Revision: https://reviews.freebsd.org/D36028
main
Doug Rabson 2 weeks ago
parent
commit
6e4dbb7fef
  1. 2
      kerberos5/lib/libasn1/Makefile
  2. 2
      kerberos5/lib/libgssapi_krb5/Makefile
  3. 2
      kerberos5/lib/libgssapi_ntlm/Makefile
  4. 2
      kerberos5/lib/libgssapi_spnego/Makefile
  5. 2
      kerberos5/lib/libhdb/Makefile
  6. 2
      kerberos5/lib/libheimbase/Makefile
  7. 2
      kerberos5/lib/libheimipcc/Makefile
  8. 2
      kerberos5/lib/libheimipcs/Makefile
  9. 2
      kerberos5/lib/libheimntlm/Makefile
  10. 2
      kerberos5/lib/libhx509/Makefile
  11. 2
      kerberos5/lib/libkadm5clnt/Makefile
  12. 2
      kerberos5/lib/libkadm5srv/Makefile
  13. 2
      kerberos5/lib/libkafs5/Makefile
  14. 2
      kerberos5/lib/libkdc/Makefile
  15. 2
      kerberos5/lib/libkrb5/Makefile
  16. 2
      kerberos5/lib/libroken/Makefile
  17. 2
      kerberos5/lib/libsl/Makefile
  18. 2
      kerberos5/lib/libvers/Makefile
  19. 2
      kerberos5/lib/libwind/Makefile
  20. 1
      lib/libgssapi/Makefile
  21. 2
      release/packages/Makefile.package

2
kerberos5/lib/libasn1/Makefile

@ -1,6 +1,6 @@
# $FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= asn1
LDFLAGS= -Wl,--no-undefined

2
kerberos5/lib/libgssapi_krb5/Makefile

@ -1,6 +1,6 @@
# $FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= gssapi_krb5
LDFLAGS= -Wl,-Bsymbolic -Wl,--no-undefined

2
kerberos5/lib/libgssapi_ntlm/Makefile

@ -1,6 +1,6 @@
# $FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= gssapi_ntlm
LDFLAGS= -Wl,-Bsymbolic -Wl,--no-undefined

2
kerberos5/lib/libgssapi_spnego/Makefile

@ -1,6 +1,6 @@
# $FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= gssapi_spnego
LDFLAGS= -Wl,-Bsymbolic -Wl,--no-undefined

2
kerberos5/lib/libhdb/Makefile

@ -1,6 +1,6 @@
# $FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= hdb
LDFLAGS= -Wl,--no-undefined ${LDAPLDFLAGS}

2
kerberos5/lib/libheimbase/Makefile

@ -1,6 +1,6 @@
#$FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= heimbase
LDFLAGS= -Wl,--no-undefined

2
kerberos5/lib/libheimipcc/Makefile

@ -1,6 +1,6 @@
#$FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= heimipcc
PRIVATELIB=

2
kerberos5/lib/libheimipcs/Makefile

@ -1,6 +1,6 @@
#$FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= heimipcs
PRIVATELIB=

2
kerberos5/lib/libheimntlm/Makefile

@ -1,6 +1,6 @@
# $FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= heimntlm
LDFLAGS= -Wl,--no-undefined

2
kerberos5/lib/libhx509/Makefile

@ -1,6 +1,6 @@
# $FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= hx509
LDFLAGS= -Wl,--no-undefined

2
kerberos5/lib/libkadm5clnt/Makefile

@ -1,6 +1,6 @@
# $FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= kadm5clnt
LDFLAGS= -Wl,--no-undefined

2
kerberos5/lib/libkadm5srv/Makefile

@ -1,6 +1,6 @@
# $FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= kadm5srv
LDFLAGS= -Wl,--no-undefined

2
kerberos5/lib/libkafs5/Makefile

@ -1,6 +1,6 @@
# $FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= kafs5
LDFLAGS= -Wl,--no-undefined

2
kerberos5/lib/libkdc/Makefile

@ -1,6 +1,6 @@
#$FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= kdc
LDFLAGS= -Wl,--no-undefined

2
kerberos5/lib/libkrb5/Makefile

@ -1,6 +1,6 @@
# $FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= krb5
LDFLAGS= -Wl,--no-undefined

2
kerberos5/lib/libroken/Makefile

@ -1,6 +1,6 @@
# $FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= roken
LIBADD= crypt

2
kerberos5/lib/libsl/Makefile

@ -1,6 +1,6 @@
# $FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= sl
INTERNALLIB=

2
kerberos5/lib/libvers/Makefile

@ -1,6 +1,6 @@
# $FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= vers
INTERNALLIB=

2
kerberos5/lib/libwind/Makefile

@ -1,6 +1,6 @@
#$FreeBSD$
PACKAGE= kerberos
PACKAGE= kerberos-lib
LIB= wind
LDFLAGS= -Wl,--no-undefined

1
lib/libgssapi/Makefile

@ -1,5 +1,6 @@
# $FreeBSD$
PACKAGE= runtime
LIB= gssapi
SHLIB_MAJOR= 10
VERSION_DEF= ${SRCTOP}/lib/libc/Versions.def

2
release/packages/Makefile.package

@ -75,6 +75,8 @@ jail-lib32-development_DESCR=32-bit Development Files
jail-lib32-profile_DESCR=32-bit Profiling Libraries
kerberos_COMMENT= Kerberos Utilities
kerberos_DESC= Kerberos Utilities
kerberos-lib_COMMENT= Kerberos Libraries
kerberos-lib_DESC= Kerberos Libraries
kernel_COMMENT= FreeBSD Kernel
kernel_DESC= FreeBSD Kernel
manuals_COMMENT= Manual Pages

Loading…
Cancel
Save