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
This commit is contained in:
Emmanuel Vadot 2021-09-02 06:09:15 +02:00
parent 30975efbaf
commit a30235a4c3
56 changed files with 116 additions and 1 deletions

View File

@ -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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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 \

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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 \

View File

@ -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

View File

@ -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 \

View File

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

View File

@ -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

View File

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

View File

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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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