This commit is contained in:
parent
9477b8e53c
commit
6649b7c5b8
23
net/bing/Makefile
Normal file
23
net/bing/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
# OpenBSD makefile for: bing
|
||||
# Version required: 1.0.4
|
||||
# Date created: 21 Nov 1997
|
||||
# Whom: ejovi
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1997/11/22 23:54:03 joey Exp $
|
||||
#
|
||||
|
||||
DISTNAME= bing-1.0.4
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.ibp.fr/pub/networking/
|
||||
|
||||
MAINTAINER= joey@OpenBSD.ORG
|
||||
|
||||
MAN8= bing.8
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/bing
|
||||
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/bing
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
net/bing/files/md5
Normal file
1
net/bing/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (bing-1.0.4.tar.gz) = 33533c137cbe31931ece57b1e5b9d552
|
1
net/bing/pkg/COMMENT
Normal file
1
net/bing/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
Bing is a point-to-point bandwith measurement tool.
|
6
net/bing/pkg/DESCR
Normal file
6
net/bing/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
Bing is a point-to-point bandwidth measurement tool (hence the 'b'), based
|
||||
on ping. It is written by Pierre Beyssac <pb@fasterix.freenix.fr>.
|
||||
More information is available at http://web.cnam.fr/Network/bing.html
|
||||
|
||||
-Justin Seger-
|
||||
jseger@scds.com
|
3
net/bing/pkg/PLIST
Normal file
3
net/bing/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
bin/bing
|
||||
man/man8/bing.8.gz
|
||||
share/doc/bing/README
|
19
net/gated/Makefile
Normal file
19
net/gated/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# OpenBSD Makefile for: gated
|
||||
# Version required: 3.5.7
|
||||
# Date created: 21 Nov 1997
|
||||
# Whom: joey
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1997/11/22 23:57:31 joey Exp $
|
||||
#
|
||||
|
||||
DISTNAME= gated-3-5-7
|
||||
PKGNAME= gated-3.5.7
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.gated.merit.edu/net-research/gated/
|
||||
|
||||
MAINTAINER= joey@OpenBSD.ORG
|
||||
|
||||
ALL_TARGET= gated
|
||||
MAN8= gated.8 ripquery.8 ospf_monitor.8 gdc.8
|
||||
|
||||
.include <bsd.port.mk>
|
1
net/gated/files/md5
Normal file
1
net/gated/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (gated-3-5-7.tar.gz) = cf53df3121f520671dd85d86d1c043f9
|
51
net/gated/patches/patch-aa
Normal file
51
net/gated/patches/patch-aa
Normal file
@ -0,0 +1,51 @@
|
||||
--- src/configs/freebsd.orig Fri Jul 4 05:43:48 1997
|
||||
+++ src/configs/freebsd Wed Oct 1 21:40:45 1997
|
||||
@@ -1,27 +1,29 @@
|
||||
#
|
||||
# $Id: patch-aa,v 1.1.1.1 1997/11/22 23:57:32 joey Exp $
|
||||
-# Configuration for freebsd-2.0 alpha (i386)
|
||||
+# Configuration for FreeBSD-3.0 (and hopefully 2.2)
|
||||
#
|
||||
|
||||
bindir /usr/local/bin
|
||||
sbindir /usr/local/sbin
|
||||
mandir /usr/local/man
|
||||
-mantype bsd44
|
||||
+mantype bsd42
|
||||
|
||||
cc cc
|
||||
#cflags -g
|
||||
-cwflags -W -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow
|
||||
-cflags -O
|
||||
+cwflags -Wreturn-type -Wpointer-arith -Wwrite-strings -Wswitch
|
||||
+cflags -O -g
|
||||
|
||||
ldflags -lkvm
|
||||
|
||||
lex lex
|
||||
-lflags -p -C -I
|
||||
+lflags -p -Cfe
|
||||
+
|
||||
+yflags -d -v
|
||||
|
||||
mkdep mkdep -flag -MM
|
||||
|
||||
-options INCLUDE_UNISTD INCLUDE_PATHS GID_T=int
|
||||
-options POSIX_SIGNALS HAVE_WAITPID
|
||||
+options INCLUDE_UNISTD INCLUDE_PATHS INCLUDE_IF_NEEDS_TIME GID_T=gid_t
|
||||
+options POSIX_SIGNALS HAVE_WAITPID USE_SETSID
|
||||
options VARIABLE_MASKS SOCKET_LENGTHS SOCKADDR_DL INCLUDE_IF_DL
|
||||
options KRT_RTREAD_KINFO KRT_IFREAD_KINFO KRT_RT_SOCK USE_SYSCTL
|
||||
options KRT_LLADDR_NONE KRT_SYMBOLS_SYSCTL KVM_TYPE_BSD44 KSYM_VERSION=VRS_SYM
|
||||
@@ -34,8 +36,9 @@
|
||||
|
||||
path_dump /var/tmp/%s_dump
|
||||
path_dumpdir /var/tmp
|
||||
-path_pid /var/run/%s.pid
|
||||
+path_pid /var/db/%s.pid
|
||||
path_version /var/run/%s.version
|
||||
+path_unix /kernel
|
||||
|
||||
#protocols bgp egp hello icmp rip ospf iso slsp isis rdsic
|
||||
-protocols hello icmp rip ospf
|
||||
+protocols bgp egp hello icmp rip ospf rdisc
|
42
net/gated/patches/patch-ab
Normal file
42
net/gated/patches/patch-ab
Normal file
@ -0,0 +1,42 @@
|
||||
--- src/task.c.orig Fri Jul 18 06:45:02 1997
|
||||
+++ src/task.c Wed Oct 1 21:40:45 1997
|
||||
@@ -5868,12 +5868,20 @@
|
||||
}
|
||||
|
||||
/* Remove our association with a controling tty */
|
||||
-#ifdef USE_SETPGRP
|
||||
+#if defined(USE_SETPGRP) || defined(USE_SETSID)
|
||||
+#if defined(USE_SETPGRP)
|
||||
t = setpgrp();
|
||||
if (t < 0) {
|
||||
perror("task_daemonize: setpgrp");
|
||||
exit(1);
|
||||
}
|
||||
+#else /* USE_SETPGRP */
|
||||
+ t = setsid();
|
||||
+ if (t < 0) {
|
||||
+ perror("task_daemonize: setsid");
|
||||
+ exit(1);
|
||||
+ }
|
||||
+#endif /* USE_SETPGRP */
|
||||
|
||||
task_signal_ignore(SIGHUP);
|
||||
|
||||
@@ -5892,7 +5900,7 @@
|
||||
/* Parent */
|
||||
exit(0);
|
||||
}
|
||||
-#else /* USE_SETPGRP */
|
||||
+#else /* defined(USE_SETPGRP) || defined(USE_SETSID) */
|
||||
t = setpgrp(0, getpid());
|
||||
if (t < 0) {
|
||||
perror("task_daemonize: setpgrp");
|
||||
@@ -5907,7 +5915,7 @@
|
||||
}
|
||||
(void) close(t);
|
||||
}
|
||||
-#endif /* USE_SETPGRP */
|
||||
+#endif /* defined(USE_SETPGRP) || defined(USE_SETSID) */
|
||||
}
|
||||
|
||||
/* Close all open files */
|
11
net/gated/patches/patch-ac
Normal file
11
net/gated/patches/patch-ac
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/include.h.orig Fri Jul 18 06:41:51 1997
|
||||
+++ src/include.h Wed Oct 1 21:40:45 1997
|
||||
@@ -126,7 +126,7 @@
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
-#ifdef INCLUDE_TIME
|
||||
+#if defined(INCLUDE_TIME) || (defined(INCLUDE_IF) && defined(INCLUDE_IF_NEEDS_TIME))
|
||||
#ifndef NO_INCLUDE_TIME
|
||||
#include <time.h>
|
||||
#endif
|
7
net/gated/patches/patch-ae
Normal file
7
net/gated/patches/patch-ae
Normal file
@ -0,0 +1,7 @@
|
||||
# This blunder really made me laugh.. :-) -Peter
|
||||
|
||||
--- src/VERSION.orig Wed Aug 13 01:50:44 1997
|
||||
+++ src/VERSION Wed Oct 1 21:44:04 1997
|
||||
@@ -1 +1 @@
|
||||
-3-5-6
|
||||
+3-5-7
|
10
net/gated/patches/patch-af
Normal file
10
net/gated/patches/patch-af
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/sockaddr.h.orig Wed Oct 1 21:55:58 1997
|
||||
+++ src/sockaddr.h Wed Oct 1 21:55:13 1997
|
||||
@@ -126,6 +126,7 @@
|
||||
} sockaddr_un;
|
||||
|
||||
/* The maximum possible address length */
|
||||
+#undef SOCK_MAXADDRLEN /* override BSD4.4's 255 due to memory cost */
|
||||
#define SOCK_MAXADDRLEN 20
|
||||
|
||||
#define AF_LL 253 /* Link level address */
|
1
net/gated/pkg/COMMENT
Normal file
1
net/gated/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
Routing protocol daemon.
|
4
net/gated/pkg/DESCR
Normal file
4
net/gated/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
GateD routing protocol daemon
|
||||
|
||||
This program implements various routing protocols such as OSPF, RIP, EGP,
|
||||
HELLO, BGP, ISIS, et al.
|
8
net/gated/pkg/PLIST
Normal file
8
net/gated/pkg/PLIST
Normal file
@ -0,0 +1,8 @@
|
||||
man/man8/gated.8.gz
|
||||
man/man8/ripquery.8.gz
|
||||
man/man8/ospf_monitor.8.gz
|
||||
man/man8/gdc.8.gz
|
||||
sbin/gated
|
||||
bin/ripquery
|
||||
bin/ospf_monitor
|
||||
bin/gdc
|
18
net/gated/scripts/configure
vendored
Executable file
18
net/gated/scripts/configure
vendored
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Configure gated
|
||||
#
|
||||
cd $WRKSRC
|
||||
|
||||
for file in Makefile src/Makefile src/util/Makefile.template ; do
|
||||
mv $file $file.orig
|
||||
sed -e 's/^true:;$/true:/' -e 's/^[ ]*$//' $file.orig >$file
|
||||
done
|
||||
|
||||
cd src
|
||||
|
||||
obj=obj.`util/archtype`
|
||||
mkdir -p $obj
|
||||
|
||||
cp configs/freebsd $obj/Config
|
||||
rm -f Config
|
Loading…
Reference in New Issue
Block a user