1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

MF security/krb5: RTM_OLDADD and RTM_OLDDEL were removed from -stable.

Submitted by:	alfred
This commit is contained in:
Cy Schubert 2014-04-23 14:09:39 +00:00
parent 970c39484c
commit 2da41c9975
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351946
2 changed files with 29 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= krb5-maint
PORTVERSION= 1.11.5
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://web.mit.edu/kerberos/dist/krb5/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
DISTNAME= krb5-${PORTVERSION}-signed

View File

@ -0,0 +1,28 @@
--- ./lib/apputils/net-server.c.orig 2014-04-17 08:07:05.144912855 +0000
+++ ./lib/apputils/net-server.c 2014-04-17 08:07:59.603908167 +0000
@@ -992,8 +992,12 @@
case RTM_NEWADDR: return "RTM_NEWADDR";
case RTM_DELADDR: return "RTM_DELADDR";
case RTM_IFINFO: return "RTM_IFINFO";
+#ifdef RTM_OLDADD
case RTM_OLDADD: return "RTM_OLDADD";
+#endif
+#ifdef RTM_OLDDEL
case RTM_OLDDEL: return "RTM_OLDDEL";
+#endif
case RTM_RESOLVE: return "RTM_RESOLVE";
#ifdef RTM_NEWMADDR
case RTM_NEWMADDR: return "RTM_NEWMADDR";
@@ -1026,8 +1030,12 @@
case RTM_NEWADDR:
case RTM_DELADDR:
case RTM_IFINFO:
+#ifdef RTM_OLDADD
case RTM_OLDADD:
+#endif
+#ifdef RTM_OLDDEL
case RTM_OLDDEL:
+#endif
/*
* Some flags indicate routing table updates that don't
* indicate local address changes. They may come from