mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
2cf9350a4e
No longer build or install the included libcom_err and compile_et. = ftpd now uses IP_PORTRANGE* in the same fashion as the system ftpd. By default, ftpd will now use high port numbers for serving clients in passive mode. = Fix segmentation fault in kadmin. A null pointer dereference that was only tickled when using kadmin with a kdc that uses LDAP as the backend. = Fix a search filter in hdb-ldap.c. A lookup was failing to fetch operational attributes such as modifiersName. = Bump PORTREVISION for above changes.
98 lines
2.7 KiB
Makefile
98 lines
2.7 KiB
Makefile
# Ports collection Makefile for: heimdal
|
|
# Date created: 10/23/1999
|
|
# Whom: nectar@FreeBSD.ORG
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= heimdal
|
|
PORTVERSION= 0.3c
|
|
PORTREVISION= 2
|
|
CATEGORIES= security ipv6
|
|
MASTER_SITES= ftp://ftp.pdc.kth.se/pub/heimdal/src/ \
|
|
ftp://ftp.replay.com/pub/replay/crypto/APPS/kerberos/heimdal/ \
|
|
ftp://ftp.tuniv.szczecin.pl/dsk4/ftp.replay.com/pub/crypto/APPS/kerberos/heimdal/ \
|
|
ftp://ftp.hacktic.nl/pub/replay/crypto/APPS/kerberos/heimdal/
|
|
|
|
MAINTAINER= nectar@FreeBSD.ORG
|
|
|
|
.if defined(WITH_LDAP)
|
|
LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2
|
|
.endif
|
|
|
|
RESTRICTED= "Crypto; export-controlled"
|
|
|
|
MAN1= ftp.1 kdestroy.1 kf.1 kgetcred.1 kinit.1 klist.1 kpasswd.1 \
|
|
telnet.1 kx.1 rxtelnet.1 rxterm.1 tenletxr.1 pfrom.1
|
|
MAN3= editline.3 krb5_425_conv_principal.3 kafs.3 \
|
|
krb5_appdefault.3 krb5_build_principal.3 krb5_config.3 \
|
|
krb5_free_principal.3 krb5_openlog.3 krb5_parse_name.3 \
|
|
krb5_sname_to_principal.3 krb5_unparse_name.3 krb5_warn.3
|
|
MAN5= ftpusers.5 krb5.conf.5
|
|
MAN8= ftpd.8 hprop.8 hpropd.8 kadmind.8 kdc.8 kfd.8 kpasswdd.8 \
|
|
kstash.8 \
|
|
ktutil.8 push.8 telnetd.8 kxd.8 verify_krb5_conf.8 \
|
|
string2key.8
|
|
|
|
# must use supplied ltconfig et. al. for now
|
|
#USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}--freebsd${OSREL}
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --enable-shared
|
|
.if defined(WITH_LDAP)
|
|
CONFIGURE_ARGS+= --with-openldap=${LOCALBASE}
|
|
.endif
|
|
|
|
.if defined(HEIMDAL_HOME)
|
|
PREFIX= ${HEIMDAL_HOME}
|
|
.endif
|
|
|
|
.if exists(${X11BASE}/lib/libX11.a) && !defined(WITHOUT_X11)
|
|
USE_XLIB= yes
|
|
.endif
|
|
|
|
.if defined(USE_XLIB)
|
|
# These man pages are always installed, so I moved them up
|
|
#MAN1+= kx.1 rxtelnet.1 rxterm.1 tenletxr.1
|
|
#MAN8+= kxd.8
|
|
CONFIGURE_ARGS+= --with-x
|
|
.else
|
|
CONFIGURE_ARGS+= --without-x
|
|
.endif
|
|
|
|
.if exists(/usr/lib/libkrb.a) && !defined(WITHOUT_KRB4)
|
|
CONFIGURE_ARGS+= --with-krb4
|
|
.elif !defined(KRB5_KRB4_COMPAT)
|
|
CONFIGURE_ARGS+= --without-krb4
|
|
.endif
|
|
|
|
PLIST:= ${WRKDIR}/PLIST
|
|
|
|
pre-configure:
|
|
@(set -e; \
|
|
cd ${CONFIGURE_WRKSRC}; \
|
|
find . -type f -name 'Makefile.in' -print | xargs perl -i -pe \
|
|
's,\$$\(top_builddir\)/lib/com_err/compile_et,compile_et,';)
|
|
|
|
pre-install:
|
|
@${CP} ${PKGDIR}/pkg-plist ${PLIST}
|
|
.if exists(/usr/lib/libkrb.a) && !defined(WITHOUT_KRB4)
|
|
@${CAT} ${PKGDIR}/pkg-plist.krb4 >> ${PLIST}
|
|
.endif
|
|
.if defined(USE_XLIB)
|
|
@${CAT} ${PKGDIR}/pkg-plist.x11 >> ${PLIST}
|
|
.endif
|
|
|
|
# awful hack to avoid running automake after patching configure
|
|
pre-configure:
|
|
@find ${WRKSRC} -name Makefile.in -exec ${TOUCH} {} \;
|
|
@${TOUCH} ${WRKSRC}/include/stamp-h.in
|
|
@${TOUCH} ${WRKSRC}/include/config.h.in
|
|
|
|
post-install:
|
|
install-info ${PREFIX}/info/heimdal.info ${PREFIX}/info/dir
|
|
|
|
.include <bsd.port.mk>
|