aboutsummaryrefslogtreecommitdiffstats
path: root/security/krb5-appl
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2011-11-17 05:13:03 +0800
committercy <cy@FreeBSD.org>2011-11-17 05:13:03 +0800
commit2247851e3774e0bb426090a13d0aaf05f4b2fc48 (patch)
treeb1a1ecd00a0bda03d69593f5796f95ccd9b1b1c4 /security/krb5-appl
parentbba0ded2b3938afebba7e4182d8eaecd1f51ab6d (diff)
downloadfreebsd-ports-gnome-2247851e3774e0bb426090a13d0aaf05f4b2fc48.tar.gz
freebsd-ports-gnome-2247851e3774e0bb426090a13d0aaf05f4b2fc48.tar.zst
freebsd-ports-gnome-2247851e3774e0bb426090a13d0aaf05f4b2fc48.zip
Update 1.0.1 --> 1.0.2
Feature safe: yes
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)