1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Update 1.0.1 --> 1.0.2

Feature safe:	yes
This commit is contained in:
Cy Schubert 2011-11-16 21:13:03 +00:00
parent 770d2118f1
commit e77de6bf9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285934
3 changed files with 17 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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)