aboutsummaryrefslogtreecommitdiff
path: root/security/krb5-appl
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2011-11-16 21:13:03 +0000
committerCy Schubert <cy@FreeBSD.org>2011-11-16 21:13:03 +0000
commite77de6bf9e37fde334fea93baa00f1eeac722cfe (patch)
tree78a3df78fe70426d15187364d8e20d2372c0b721 /security/krb5-appl
parent770d2118f1c0296cbfcf069e580a6b3338f8a4b1 (diff)
downloadports-e77de6bf9e37fde334fea93baa00f1eeac722cfe.tar.gz
ports-e77de6bf9e37fde334fea93baa00f1eeac722cfe.zip
Notes
Diffstat (limited to 'security/krb5-appl')
-rw-r--r--security/krb5-appl/Makefile6
-rw-r--r--security/krb5-appl/distinfo6
-rw-r--r--security/krb5-appl/files/patch-bsd-krshd.c13
3 files changed, 17 insertions, 8 deletions
diff --git a/security/krb5-appl/Makefile b/security/krb5-appl/Makefile
index eb938f79263b..064f262c7579 100644
--- a/security/krb5-appl/Makefile
+++ b/security/krb5-appl/Makefile
@@ -6,14 +6,12 @@
#
PORTNAME= krb5-appl
-PORTVERSION= 1.0.1
-PORTREVISION= 4
+PORTVERSION= 1.0.2
CATEGORIES= security
MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
-PATCH_SITES= http://web.mit.edu/kerberos/advisories/
+# PATCH_SITES= http://web.mit.edu/kerberos/advisories/
DISTNAME= ${PORTNAME}-${PORTVERSION}-signed
EXTRACT_SUFX= .tar
-PATCHFILES= 2011-005-patch.txt
MAINTAINER= cy@FreeBSD.org
COMMENT= An authentication system developed at MIT, successor to Kerberos IV
diff --git a/security/krb5-appl/distinfo b/security/krb5-appl/distinfo
index 29e2f935cce6..fda41eee07a9 100644
--- a/security/krb5-appl/distinfo
+++ b/security/krb5-appl/distinfo
@@ -1,4 +1,2 @@
-SHA256 (krb5-appl-1.0.1-signed.tar) = 124322481e4f8e0b119b527071f2f707168060e17748cf34c8bf5af747c3e311
-SIZE (krb5-appl-1.0.1-signed.tar) = 645120
-SHA256 (2011-005-patch.txt) = a3f14859883cdeff846aaea2e35738a6580549d634986fdfc41d178e33135459
-SIZE (2011-005-patch.txt) = 2076
+SHA256 (krb5-appl-1.0.2-signed.tar) = ca82209ba11e37390a7b79b0eb27abac9526442d296d60b752a0a94969bbad7d
+SIZE (krb5-appl-1.0.2-signed.tar) = 634880
diff --git a/security/krb5-appl/files/patch-bsd-krshd.c b/security/krb5-appl/files/patch-bsd-krshd.c
new file mode 100644
index 000000000000..f15bf6c523a5
--- /dev/null
+++ b/security/krb5-appl/files/patch-bsd-krshd.c
@@ -0,0 +1,13 @@
+--- bsd/krshd.c.orig 2011-07-11 12:31:31.000000000 -0700
++++ bsd/krshd.c 2011-11-16 13:01:40.184757547 -0800
+@@ -174,6 +174,10 @@
+ #ifdef HAVE_UTMP_H
+ #include <utmp.h>
+ #endif
++#ifdef HAVE_UTMPX_H
++#include <utmpx.h>
++#define UT_NAMESIZE sizeof(((struct utmpx *)0)->ut_user)
++#endif
+
+ #ifndef UT_NAMESIZE /* linux defines it directly in <utmp.h> */
+ #define UT_NAMESIZE sizeof(((struct utmp *)0)->ut_name)