From 4a9890a7305ecd4e15e9627df71ce5b0ef62048c Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 2 Jan 2015 16:55:26 +0000 Subject: [PATCH] Remove portions of patch relying upon faith(4) that are no longer necessary. PR: 195002 Submitted by: Stanislaw Halik (maintainer) Patch by: Ben Woods Approved by: maintainer --- dns/noip/Makefile | 2 +- dns/noip/files/patch-noip2.c | 25 ------------------------- 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/dns/noip/Makefile b/dns/noip/Makefile index dd7fa65cc8d8..6dabe252ca30 100644 --- a/dns/noip/Makefile +++ b/dns/noip/Makefile @@ -3,7 +3,7 @@ PORTNAME= noip PORTVERSION= 2.1.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns MASTER_SITES= http://www.no-ip.com/client/linux/ \ CRITICAL diff --git a/dns/noip/files/patch-noip2.c b/dns/noip/files/patch-noip2.c index f8f70e4b5c8b..9d020076fadc 100644 --- a/dns/noip/files/patch-noip2.c +++ b/dns/noip/files/patch-noip2.c @@ -27,28 +27,3 @@ fprintf(stderr, "Options: -C create configuration data\n"); fprintf(stderr, " -F force NAT off\n"); fprintf(stderr, " -Y select all hosts/groups\n"); -@@ -2316,17 +2316,14 @@ - dq = (unsigned char *)devs; // point at name list - for (ifa = ifap; ifa; ifa = ifa->ifa_next) { - if (ifa->ifa_addr->sa_family == AF_LINK) { --// FreeBSD doesn't define some of these! --#ifdef IFT_PFLOG - struct if_data *ifd = (struct if_data *) ifa->ifa_data; -- if (ifd->ifi_type == IFT_PFLOG -- || ifd->ifi_type == IFT_PFSYNC -- || ifd->ifi_type == IFT_ENC -- || ifd->ifi_type == IFT_BRIDGE -- || ifd->ifi_type == IFT_OTHER -- || ifd->ifi_type == IFT_GIF) -- continue; --#endif -+ -+ if (ifd->ifi_type == IFT_OTHER -+ || ifd->ifi_type == IFT_GIF -+ || ifd->ifi_type == IFT_LOOP -+ || ifd->ifi_type == IFT_FAITH) -+ continue; -+ - q = dq; // add new name into list - p = ifa->ifa_name; - devnum++;