Index: head/security/heimdal/Makefile =================================================================== --- head/security/heimdal/Makefile (revision 421927) +++ head/security/heimdal/Makefile (revision 421928) @@ -1,116 +1,115 @@ # Created by: nectar@FreeBSD.org # $FreeBSD$ PORTNAME= heimdal PORTVERSION= 1.5.3 PORTREVISION= 4 CATEGORIES= security ipv6 MASTER_SITES= http://www.h5l.org/dist/src/ \ http://ftp.pdc.kth.se/pub/heimdal/src/ \ ftp://ftp.pdc.kth.se/pub/heimdal/src/ \ ftp://ftp.sunet.se/pub/unix/admin/mirror-pdc/heimdal/src/ MAINTAINER= hrs@FreeBSD.org COMMENT= Popular BSD-licensed implementation of Kerberos 5 LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE CONFLICTS= krb4-[0-9]* krb5-[0-9]* krb5-maint-[0-9]* srp-[0-9]* \ wu-ftpd-[0-9]* wu-ftpd+ipv6-[0-9]* USES= gettext gssapi:bootstrap,heimdal libtool pathfix pkgconfig \ - readline makeinfo + readline makeinfo ssl USE_LDCONFIG= ${GSSAPILIBDIR} -USE_OPENSSL= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CONFIGURE_ENV= ac_cv_header_fnmatch_h=yes \ ac_cv_prog_COMPILE_ET=${WRKSRC}/lib/com_err/compile_et CONFIGURE_ARGS= --with-libintl \ --with-libintl-include="${LOCALBASE}/include" \ --with-libintl-lib="${LOCALBASE}/lib" \ --libdir="${GSSAPILIBDIR}" \ --includedir="${GSSAPIINCDIR}" \ --with-kcm \ --with-openssl \ --with-openssl-include="${OPENSSLINC}" \ --with-openssl-lib="${OPENSSLLIB}" \ --enable-otp \ --enable-pthread-support \ --with-hdbdir="/var/${PORTNAME}" \ --sysconfdir="${PREFIX}/etc" MAKE_ENV= INSTALL_CATPAGES=no .if !exists(/etc/rc.d/ipropd_master) USE_RC_SUBR= ipropd_master ipropd_slave .endif INFO= heimdal hx509 MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= IPV6 BDB SQLITE LDAP PKINIT DIGEST KX509 CRACKLIB X11 OPTIONS_DEFAULT= BDB PKINIT DIGEST KX509 OPTIONS_SUB= yes IPV6_CONFIGURE_WITH= ipv6 BDB_DESC= Enable BerkeleyDB KDC backend support BDB_CONFIGURE_ON= --with-berkeley-db \ --with-berkeley-db-include=/usr/include BDB_CONFIGURE_OFF= --without-berkeley-db SQLITE_DESC= Enable SQLite KDC backend support SQLITE_USES= sqlite SQLITE_CONFIGURE_ON= --with-sqlite3 \ --with-sqlite3-include="${LOCALBASE}/include" \ --with-sqlite3-lib="${LOCALBASE}/lib" SQLITE_CONFIGURE_OFF= --without-sqlite3 LDAP_DESC= Enable OpenLDAP KDC backend support LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_ON= --with-openldap \ --with-openldap-include="${LOCALBASE}/include" \ --with-openldap-lib="${LOCALBASE}/lib" LDAP_CONFIGURE_OFF= --without-openldap PKINIT_DESC= Enable PK-INIT support PKINIT_CONFIGURE_ENABLE=pk-init DIGEST_DESC= Enable DIGEST support DIGEST_CONFIGURE_ENABLE=digest KX509_DESC= Enable kx509 support KX509_CONFIGURE_ENABLE= kx509 CRACKLIB_DESC= Use CrackLib for password quality checking CRACKLIB_BUILD_DEPENDS= ${LOCALBASE}/lib/libcrack.a:security/cracklib X11_DESC= Build X11 utilies X11_USE= XORG=x11,xt X11_CONFIGURE_WITH= x .include .if ${PORT_OPTIONS:MLDAP} WANT_OPENLDAP_SASL?= yes .endif post-extract: @${MKDIR} ${WRKSRC}/kpasswdd-cracklib ${INSTALL_DATA} ${FILESDIR}/kpasswdd-cracklib.c \ ${WRKSRC}/kpasswdd-cracklib ${INSTALL_DATA} ${FILESDIR}/kpasswdd-Makefile \ ${WRKSRC}/kpasswdd-cracklib/Makefile .if ${PORT_OPTIONS:MCRACKLIB} post-build: cd ${WRKSRC}/kpasswdd-cracklib && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} ${BUILD_TARGET} post-install: cd ${WRKSRC}/kpasswdd-cracklib && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} ${INSTALL_TARGET} .endif .include Index: head/security/heimdal/files/patch-lib_hcrypto_rand-egd.c =================================================================== --- head/security/heimdal/files/patch-lib_hcrypto_rand-egd.c (nonexistent) +++ head/security/heimdal/files/patch-lib_hcrypto_rand-egd.c (revision 421928) @@ -0,0 +1,16 @@ +--- lib/hcrypto/rand-egd.c.orig 2012-12-09 22:06:44 UTC ++++ lib/hcrypto/rand-egd.c +@@ -54,6 +54,7 @@ static const char *egd_path = "/var/run/ + + #define MAX_EGD_DATA 255 + ++#ifndef OPENSSL_NO_EGD + static int + connect_egd(const char *path) + { +@@ -258,3 +259,5 @@ RAND_egd_bytes(const char *filename, int + + return 1; + } ++ ++#endif Property changes on: head/security/heimdal/files/patch-lib_hcrypto_rand-egd.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/heimdal/files/patch-lib_krb5_crypto-rand.c =================================================================== --- head/security/heimdal/files/patch-lib_krb5_crypto-rand.c (nonexistent) +++ head/security/heimdal/files/patch-lib_krb5_crypto-rand.c (revision 421928) @@ -0,0 +1,13 @@ +--- lib/krb5/crypto-rand.c.orig 2012-12-09 22:06:44 UTC ++++ lib/krb5/crypto-rand.c +@@ -70,8 +70,10 @@ seed_something(void) + if (!krb5_init_context(&context)) { + p = krb5_config_get_string(context, NULL, "libdefaults", + "egd_socket", NULL); ++# ifndef OPENSSL_NO_EGD + if (p != NULL) + RAND_egd_bytes(p, ENTROPY_NEEDED); ++# endif + krb5_free_context(context); + } + #else Property changes on: head/security/heimdal/files/patch-lib_krb5_crypto-rand.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property