summaryrefslogtreecommitdiff
path: root/net/bing/files/patch-bing_c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-05-02 06:39:12 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-05-02 06:39:12 +0000
commit035646ee650e1641b2dac43a8404e423cd35d273 (patch)
tree7e110eaf4b3ad1ac554c03eb2bb08c7be10ed4bf /net/bing/files/patch-bing_c
parent- fix distinfo (diff)
remove unmaintained expired ports from net
2011-05-01 net/44bsd-rdist: Upstream disapear and distfile is no more available 2011-05-01 net/bbsnet: Upstream disapear and distfile is no more available 2011-05-01 net/bing: Upstream disapear and distfile is no more available 2011-05-01 net/brutecopy: Upstream disapear and distfile is no more available 2011-05-01 net/crescendo: Upstream disapear and distfile is no more available 2011-05-01 net/danamics: Upstream disapear and distfile is no more available 2011-05-01 net/etunnel: Upstream disapear and distfile is no more available 2011-05-01 net/gastman: Upstream disapear and distfile is no more available 2011-05-01 net/generic-nqs: Upstream disapear and distfile is no more available 2011-05-01 net/gkrellmmultiping2: Upstream disapear and distfile is no more available 2011-05-01 net/gkrellmwireless: Upstream disapear and distfile is no more available 2011-05-01 net/gnoemoe: Upstream disapear and distfile is no more available 2011-05-01 net/gnosamba: Upstream disapear and distfile is no more available 2011-05-01 net/merlinmon: Upstream disapear and distfile is no more available 2011-05-01 net/msntp: Upstream disapear and distfile is no more available 2011-05-01 net/ntalk: Upstream disapear and distfile is no more available 2011-05-01 net/ntraceroute: Upstream disapear and distfile is no more available 2011-05-01 net/onion-fec: Upstream disapear and distfile is no more available 2011-05-01 net/openverse: Upstream disapear and distfile is no more available 2011-05-01 net/poink: Upstream disapear and distfile is no more available 2011-05-01 net/roadrunner: Upstream disapear and distfile is no more available 2011-05-01 net/sambasentinel: Upstream disapear and distfile is no more available 2011-05-01 net/scand: Upstream disapear and distfile is no more available 2011-05-01 net/tacshell: Upstream disapear and distfile is no more available 2011-05-01 net/telserv: Upstream disapear and distfile is no more available 2011-05-01 net/tridiavnc: Upstream disapear and distfile is no more available 2011-05-01 net/tvark: Upstream disapear and distfile is no more available 2011-05-01 net/warppipe: Upstream disapear and distfile is no more available 2011-05-01 net/wistumbler2: Upstream disapear and distfile is no more available 2011-05-01 net/wmq3: Upstream disapear and distfile is no more available 2011-05-01 net/xbone-gui: will be unsupported by ASF when 2.4.0 is release, migrate to 2.2.x+ now 2011-05-01 net/xsmbrowser: Upstream disapear and distfile is no more available 2011-05-01 net/xtraceroute: Upstream disapear and distfile is no more available 2011-05-01 net/ytalk: Upstream disapear and distfile is no more available 2011-05-01 net/zniper: Upstream disapear and distfile is no more available
Notes
Notes: svn path=/head/; revision=273447
Diffstat (limited to 'net/bing/files/patch-bing_c')
-rw-r--r--net/bing/files/patch-bing_c88
1 files changed, 0 insertions, 88 deletions
diff --git a/net/bing/files/patch-bing_c b/net/bing/files/patch-bing_c
deleted file mode 100644
index 04433facce32..000000000000
--- a/net/bing/files/patch-bing_c
+++ /dev/null
@@ -1,88 +0,0 @@
-$OpenBSD: patch-bing_c,v 1.1 2002/09/17 09:06:23 pvalchev Exp $
---- bing.c.orig Fri Jan 19 19:28:53 2001
-+++ bing.c Sun Aug 15 18:51:05 2004
-@@ -158,7 +158,7 @@
- #include <sys/socket.h>
- #include <sys/file.h>
- #include <sys/time.h>
--#include <sys/signal.h>
-+#include <signal.h>
-
- #include <netinet/in_systm.h>
- #include <netinet/in.h>
-@@ -167,6 +167,7 @@
- #ifndef linux
- #include <netinet/ip_var.h>
- #endif /* linux */
-+#include <arpa/inet.h>
- #include <netdb.h>
- #include <unistd.h>
- #include <stdio.h>
-@@ -174,6 +175,8 @@
- #include <errno.h>
- #include <string.h>
- #include <limits.h>
-+#include <stdlib.h>
-+#include <err.h>
-
- #include "sysdep.h"
-
-@@ -647,7 +650,7 @@
- #ifdef linux
- (void)printf("(New addr: 0x%08lx)\n", icp->icmp_gwaddr);
- #else
-- (void)printf("(New addr: 0x%08lx)\n", icp->icmp_gwaddr.s_addr);
-+ (void)printf("(New addr: %s)\n", inet_ntoa(icp->icmp_gwaddr));
- #endif /* linux */
- pr_retip((struct ip *)ICMP_TO_DATA(icp));
- break;
-@@ -1231,17 +1234,30 @@
- struct hoststats *hs1, *hs2;
- int ntrans, nloops, bits;
- int i;
-- int ch, hold, recv_packlen, preload;
-+ int ch, hold = 1, recv_packlen, preload;
- u_char *datap, *recv_packet;
-- char *target1, *target2, *malloc();
-+ char *target1, *target2;
- u_char ttl, loop;
- #ifdef IP_OPTIONS
- char rspace[3 + 4 * NROUTES + 1]; /* record route space */
- #endif
--
- hs1 = &hoststats1;
- hs2 = &hoststats2;
-
-+ if (!(proto = getprotobyname("icmp"))) {
-+ (void)fprintf(stderr, "bing: unknown protocol icmp.\n");
-+ exit(1);
-+ }
-+ if ((s = socket(AF_INET, SOCK_RAW, proto->p_proto)) < 0) {
-+ perror("bing: socket");
-+ exit(1);
-+ }
-+ /* Revoke privileges */
-+ if (seteuid(getuid()) == -1 || setuid(getuid()) == -1) {
-+ err(1, "unable to drop permissions");
-+ exit(1);
-+ }
-+
- preload = 0;
- datap = &outpack[8 + sizeof(struct timeval)];
- while ((ch = getopt(argc, argv, "I:LRc:dDe:fh:i:l:nPp:rS:s:t:vVwz")) != EOF)
-@@ -1398,15 +1414,6 @@
-
- ident = getpid() & 0xFFFF;
-
-- if (!(proto = getprotobyname("icmp"))) {
-- (void)fprintf(stderr, "bing: unknown protocol icmp.\n");
-- exit(1);
-- }
-- if ((s = socket(AF_INET, SOCK_RAW, proto->p_proto)) < 0) {
-- perror("bing: socket");
-- exit(1);
-- }
-- hold = 1;
- if (options & F_SO_DEBUG)
- (void)setsockopt(s, SOL_SOCKET, SO_DEBUG, (char *)&hold,
- sizeof(hold));