summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortez <tez>2011-07-05 19:48:59 +0000
committertez <tez>2011-07-05 19:48:59 +0000
commit9c061daa526244b371032b3299a45fb5ffa160df (patch)
tree2b0bc36545da3a4d94e574e55f2dfccf1f21a9d5 /security
parent64fb4da5c917ec87eab0454253eda3551a0ea02f (diff)
downloadpkgsrc-9c061daa526244b371032b3299a45fb5ffa160df.tar.gz
Add fix for MITKRB5-SA-2011-005 (ftpd fails to setegid from daemon)
Diffstat (limited to 'security')
-rw-r--r--security/mit-krb5-appl/Makefile15
-rw-r--r--security/mit-krb5-appl/distinfo5
2 files changed, 18 insertions, 2 deletions
diff --git a/security/mit-krb5-appl/Makefile b/security/mit-krb5-appl/Makefile
index 528336315b4..35d0cd20057 100644
--- a/security/mit-krb5-appl/Makefile
+++ b/security/mit-krb5-appl/Makefile
@@ -1,12 +1,17 @@
-# $NetBSD: Makefile,v 1.1.1.1 2011/03/23 00:01:38 tez Exp $
+# $NetBSD: Makefile,v 1.2 2011/07/05 19:48:59 tez Exp $
DISTNAME= krb5-appl-1.0.1
PKGNAME= mit-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= http://web.mit.edu/kerberos/dist/krb5-appl/1.0/
DISTFILES= ${DISTNAME}-signed${EXTRACT_SUFX}
EXTRACT_SUFX= .tar
+PATCH_SITES= http://web.mit.edu/kerberos/advisories/
+
+PATCHFILES= 2011-005-patch.txt
+
MAINTAINER= tez@NetBSD.org
HOMEPAGE= http://web.mit.edu/kerberos/
COMMENT= MIT Kerberos 5 authentication system applications
@@ -21,10 +26,13 @@ CONFLICTS+= kth-krb4-[0-9]*
CONFLICTS+= mit-krb5<1.8
USE_TOOLS+= yacc
+USE_TOOLS+= autoconf
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+PATCH_DIST_ARGS= -d ${WRKSRC} -p1
+
PKG_OPTIONS_VAR= PKG_OPTIONS.mit-krb5
PKG_SUPPORTED_OPTIONS= kerberos-prefix-cmds
@@ -57,6 +65,11 @@ post-extract:
extract_file="${WRKDIR}/${DISTNAME}.tar.gz"; \
cd ${WRKDIR} && ${EXTRACT_CMD}
+pre-configure:
+ @${ECHO} "=> Generating configure"; \
+ cd ${WRKSRC}; autoheader -I ${WRKSRC} -f; \
+ cd ${WRKSRC}; autoconf -I ${WRKSRC} -f;
+
.include "../../security/openssl/buildlink3.mk"
.include "../../security/mit-krb5/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/mit-krb5-appl/distinfo b/security/mit-krb5-appl/distinfo
index 7361ad99058..4e4df6fb850 100644
--- a/security/mit-krb5-appl/distinfo
+++ b/security/mit-krb5-appl/distinfo
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2011/03/23 00:01:38 tez Exp $
+$NetBSD: distinfo,v 1.2 2011/07/05 19:48:59 tez Exp $
+SHA1 (2011-005-patch.txt) = 5e52a66b299407f54038fc287732160aabce51ff
+RMD160 (2011-005-patch.txt) = 780d9769e3b2661b927b26295f14a31dee314213
+Size (2011-005-patch.txt) = 2076 bytes
SHA1 (krb5-appl-1.0.1-signed.tar) = 128662c9860f61a51c9bcaf1b6217467faa12324
RMD160 (krb5-appl-1.0.1-signed.tar) = ca0668b623dcf4dc5a0699fa47d86660aac5544a
Size (krb5-appl-1.0.1-signed.tar) = 645120 bytes