pkgbase: Create a FreeBSD-kerberos package

This allows users to install or not kerberos related utilities
and libs.

Differential Revision:	https://reviews.freebsd.org/D31801
main
Emmanuel Vadot 1 year ago
parent 30975efbaf
commit a30235a4c3
  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. 2
      kerberos5/libexec/digest-service/Makefile
  21. 2
      kerberos5/libexec/hprop/Makefile
  22. 2
      kerberos5/libexec/hpropd/Makefile
  23. 2
      kerberos5/libexec/ipropd-master/Makefile
  24. 2
      kerberos5/libexec/ipropd-slave/Makefile
  25. 2
      kerberos5/libexec/kadmind/Makefile
  26. 2
      kerberos5/libexec/kcm/Makefile
  27. 2
      kerberos5/libexec/kdc/Makefile
  28. 2
      kerberos5/libexec/kdigest/Makefile
  29. 2
      kerberos5/libexec/kfd/Makefile
  30. 2
      kerberos5/libexec/kimpersonate/Makefile
  31. 2
      kerberos5/libexec/kpasswdd/Makefile
  32. 2
      kerberos5/tools/asn1_compile/Makefile
  33. 2
      kerberos5/tools/make-roken/Makefile
  34. 2
      kerberos5/tools/slc/Makefile
  35. 2
      kerberos5/usr.bin/hxtool/Makefile
  36. 2
      kerberos5/usr.bin/kadmin/Makefile
  37. 2
      kerberos5/usr.bin/kcc/Makefile
  38. 2
      kerberos5/usr.bin/kdestroy/Makefile
  39. 2
      kerberos5/usr.bin/kf/Makefile
  40. 2
      kerberos5/usr.bin/kgetcred/Makefile
  41. 2
      kerberos5/usr.bin/kinit/Makefile
  42. 2
      kerberos5/usr.bin/kpasswd/Makefile
  43. 2
      kerberos5/usr.bin/krb5-config/Makefile
  44. 2
      kerberos5/usr.bin/ksu/Makefile
  45. 2
      kerberos5/usr.bin/string2key/Makefile
  46. 2
      kerberos5/usr.bin/verify_krb5_conf/Makefile
  47. 2
      kerberos5/usr.sbin/iprop-log/Makefile
  48. 2
      kerberos5/usr.sbin/kstash/Makefile
  49. 2
      kerberos5/usr.sbin/ktutil/Makefile
  50. 2
      lib/libcom_err/Makefile
  51. 2
      lib/libpam/modules/pam_krb5/Makefile
  52. 2
      lib/libpam/modules/pam_ksu/Makefile
  53. 7
      libexec/rc/rc.d/Makefile
  54. 2
      release/packages/Makefile.package
  55. 2
      usr.bin/compile_et/Makefile
  56. 2
      usr.sbin/gssd/Makefile

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
LIB= asn1
LDFLAGS= -Wl,--no-undefined
INCS= asn1_err.h asn1-common.h heim_asn1.h der.h der-protos.h der-private.h

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
LIB= gssapi_krb5
LDFLAGS= -Wl,-Bsymbolic -Wl,--no-undefined
LIBADD= gssapi krb5 crypto roken asn1 com_err

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
LIB= gssapi_ntlm
LDFLAGS= -Wl,-Bsymbolic -Wl,--no-undefined
LIBADD= crypto gssapi krb5 heimntlm roken

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
LIB= gssapi_spnego
LDFLAGS= -Wl,-Bsymbolic -Wl,--no-undefined
LIBADD= gssapi heimbase asn1 roken

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
LIB= hdb
LDFLAGS= -Wl,--no-undefined ${LDAPLDFLAGS}
VERSION_MAP= ${KRB5DIR}/lib/hdb/version-script.map

@ -1,5 +1,7 @@
#$FreeBSD$
PACKAGE= kerberos
LIB= heimbase
LDFLAGS= -Wl,--no-undefined
LIBADD= pthread

@ -1,5 +1,7 @@
#$FreeBSD$
PACKAGE= kerberos
LIB= heimipcc
PRIVATELIB=
LIBADD= heimbase roken pthread

@ -1,5 +1,7 @@
#$FreeBSD$
PACKAGE= kerberos
LIB= heimipcs
PRIVATELIB=
LIBADD= heimbase roken pthread

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
LIB= heimntlm
LDFLAGS= -Wl,--no-undefined
LIBADD= crypto com_err krb5 roken

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
LIB= hx509
LDFLAGS= -Wl,--no-undefined
VERSION_MAP= ${KRB5DIR}/lib/hx509/version-script.map

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
LIB= kadm5clnt
LDFLAGS= -Wl,--no-undefined
LIBADD= com_err krb5 roken

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
LIB= kadm5srv
LDFLAGS= -Wl,--no-undefined
LIBADD= com_err hdb krb5 roken

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
LIB= kafs5
LDFLAGS= -Wl,--no-undefined
LIBADD= asn1 krb5 roken

@ -1,5 +1,7 @@
#$FreeBSD$
PACKAGE= kerberos
LIB= kdc
LDFLAGS= -Wl,--no-undefined
VERSION_MAP= ${KRB5DIR}/kdc/version-script.map

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
LIB= krb5
LDFLAGS= -Wl,--no-undefined
VERSION_MAP= ${KRB5DIR}/lib/krb5/version-script.map

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
LIB= roken
LIBADD= crypt
VERSION_MAP= ${KRB5DIR}/lib/roken/version-script.map

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
LIB= sl
INTERNALLIB=
SRCS= sl.c

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
LIB= vers
INTERNALLIB=
SRCS= print_version.c roken.h

@ -1,5 +1,7 @@
#$FreeBSD$
PACKAGE= kerberos
LIB= wind
LDFLAGS= -Wl,--no-undefined
VERSION_MAP= ${KRB5DIR}/lib/wind/version-script.map

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= digest-service
MAN=
CFLAGS+= -I${KRB5DIR}/kdc \

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= hprop
MAN= hprop.8
SRCS= hprop.c mit_dump.c

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= hpropd
MAN= hpropd.8
CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/asn1 \

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= ipropd-master
MAN= iprop.8
SRCS= ipropd_common.c ipropd_master.c kadm5_err.h

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= ipropd-slave
MAN=
SRCS= ipropd_common.c ipropd_slave.c kadm5_err.h

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= kadmind
MAN= kadmind.8
SRCS= rpc.c \

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= kcm
MAN= kcm.8

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= kdc
MAN= kdc.8

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= kdigest
MAN= kdigest.8
CFLAGS+= -I${KRB5DIR}/lib/asn1 \

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= kfd
MAN= kfd.8
CFLAGS+= -I${KRB5DIR}/lib/asn1 \

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= kimpersonate
MAN= kimpersonate.8
CFLAGS+= -I${KRB5DIR}/lib/hx509 \

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= kpasswdd
MAN= kpasswdd.8
CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/libhdb ${LDAPCFLAGS}

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= asn1_compile
MAN=
LIBROKEN_A= ${.OBJDIR:H:H}/lib/libroken/libroken.a

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= make-roken
MAN=

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= slc
LIBROKEN_A= ${.OBJDIR:H:H}/lib/libroken/libroken.a
LIBADD= vers

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= hxtool
MAN=
CFLAGS+= -I${KRB5DIR}/lib/hx509 \

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= kadmin
MAN= kadmin.8

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= kcc
MAN= klist.1 kswitch.1
LINKS= ${BINDIR}/kcc ${BINDIR}/klist \

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= kdestroy
CFLAGS+=-I${KRB5DIR}/lib/roken
LIBADD= kafs5 krb5 roken vers

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= kf
MAN= kf.1
CFLAGS+= -I${KRB5DIR}/lib/asn1 \

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= kgetcred
CFLAGS+= -I${KRB5DIR}/lib/asn1 \
-I${KRB5DIR}/lib/roken

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= kinit
CFLAGS+=-I${KRB5DIR}/lib/roken
LIBADD= kafs5 krb5 heimntlm roken crypto vers

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= kpasswd
CFLAGS+=-I${KRB5DIR}/lib/roken
LIBADD= hdb krb5 roken vers crypto

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
SCRIPTS=krb5-config
MAN= krb5-config.1

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= ksu
.if defined(ENABLE_SUID_K5SU)
BINMODE=4555

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= string2key
MAN= string2key.8
CFLAGS+= -I${KRB5DIR}/kdc \

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= verify_krb5_conf
MAN= verify_krb5_conf.8
CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/roken \

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= iprop-log
MAN= iprop-log.8
SRCS= iprop-log.c iprop-commands.c iprop-commands.h kadm5_err.h

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= kstash
MAN= kstash.8
CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/roken \

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
PROG= ktutil
MAN= ktutil.8

@ -1,5 +1,7 @@
# $FreeBSD$
PACKAGE= kerberos
LIB= com_err
SRCS= com_err.c error.c
INCS= ${COM_ERRDIR}/com_err.h ${COM_ERRDIR}/com_right.h

@ -24,6 +24,8 @@
#
# $FreeBSD$
PACKAGE= kerberos
LIB= pam_krb5
SRCS= pam_krb5.c
MAN= pam_krb5.8

@ -24,6 +24,8 @@
#
# $FreeBSD$
PACKAGE= kerberos
LIB= pam_ksu
SRCS= pam_ksu.c
MAN= pam_ksu.8

@ -34,7 +34,6 @@ CONFS= DAEMON \
geli2 \
gptboot \
growfs \
gssd \
hostid \
hostid_save \
hostname \
@ -191,6 +190,12 @@ CONFS+= ccd
CONFS+= ftpd
.endif
.if ${MK_GSSAPI} != "no"
CONFGROUPS+= gssd
GSSD= gssd
GSSDPACKAGE= kerberos
.endif
.if ${MK_HAST} != "no"
CONFGROUPS+= HAST
HAST= hastd

@ -61,6 +61,8 @@ jail-lib32_DESCR= 32-bit Libraries
jail-lib32-debug_DESCR=32-bit Debugging Symbols
jail-lib32-development_DESCR=32-bit Development Files
jail-lib32-profile_DESCR=32-bit Profiling Libraries
kerberos_COMMENT= Kerberos Utilities
kerberos_DESC= Kerberos Utilities
kernel_COMMENT= FreeBSD Kernel
kernel_DESC= FreeBSD Kernel
manuals_COMMENT= Manual Pages

@ -2,6 +2,8 @@
.PATH: ${SRCTOP}/contrib/com_err
PACKAGE= kerberos
PROG= compile_et
SRCS= compile_et.c parse.y lex.l
LIBADD= roken vers

@ -2,6 +2,8 @@
.include <src.opts.mk>
PACKAGE= kerberos
PROG= gssd
MAN= gssd.8
SRCS= gssd.c gssd.h gssd_svc.c gssd_xdr.c gssd_prot.c

Loading…
Cancel
Save