View | Details | Raw Unified | Return to bug 79889 | Differences between
and this patch

Collapse All | Expand All

(-)nvnet/Makefile (-26 / +6 lines)
Lines 1-5 Link Here
1
# Ports collection makefile for: nvnet
1
# Ports collection makefile for: nvnet
2
#
3
# Date created:	1 Oct 2003
2
# Date created:	1 Oct 2003
4
# Whom: 	Quinton Dolan <q@onthenet.com.au>
3
# Whom: 	Quinton Dolan <q@onthenet.com.au>
5
#
4
#
Lines 7-33 Link Here
7
#
6
#
8
7
9
PORTNAME=	nvnet
8
PORTNAME=	nvnet
10
PORTVERSION=	1.0.${NVVERSION}
9
PORTVERSION=	1.0.0301
11
PORTREVISION?=	0
12
CATEGORIES=	net
10
CATEGORIES=	net
13
MASTER_SITES=	http://download.nvidia.com/XFree86/nforce/1.0-${NVVERSION}/:nvidia \
11
MASTER_SITES=	http://www.onthenet.com.au/~q/nvnet/
14
		ftp://download.nvidia.com/XFree86/nforce/1.0-${NVVERSION}/:nvidia \
12
DISTFILES=	${PORTNAME}-src-${DISTVERSION}${EXTRACT_SUFX}
15
		http://download1.nvidia.com/XFree86/nforce/1.0-${NVVERSION}/:nvidia \
16
		ftp://download1.nvidia.com/XFree86/nforce/1.0-${NVVERSION}/:nvidia \
17
		http://www.onthenet.com.au/~q/nvnet/:nvnet
18
DISTFILES=	NVIDIA_nforce-1.0-${NVVERSION}${EXTRACT_SUFX}:nvidia \
19
		nvnet-src-${NVNETVERSION}${EXTRACT_SUFX}:nvnet
20
13
21
MAINTAINER=	q@onthenet.com.au
14
MAINTAINER=	q@onthenet.com.au
22
COMMENT=	Driver for NVIDIA MCP Ethernet adapter
15
COMMENT=	Driver for NVIDIA MCP Ethernet adapter
23
16
24
NVNETVERSION=	20040813
17
DISTVERSION=	20050312
25
18
26
NO_PACKAGE=	Depends on kernel
19
NO_PACKAGE=	Depends on kernel
27
ONLY_FOR_ARCHS=	amd64 i386
20
ONLY_FOR_ARCHS=	amd64 i386
28
MD5_FILE=	${MASTERDIR}/distinfo.${ARCH}
29
WRKSRC=		${WRKDIR}/nvnet
21
WRKSRC=		${WRKDIR}/nvnet
30
MODULES_WITH_WORLD=
31
PLIST_SUB=	KMODDIR=${KMODDIR}
22
PLIST_SUB=	KMODDIR=${KMODDIR}
32
PORTDOCS=	README nvidia_pci.c.diff
23
PORTDOCS=	README nvidia_pci.c.diff
33
MAN4=		nvnet.4
24
MAN4=		nvnet.4
Lines 35-57 Link Here
35
.include <bsd.port.pre.mk>
26
.include <bsd.port.pre.mk>
36
27
37
.if ${OSVERSION} < 480100 || ${OSVERSION} >= 500000 && ${OSVERSION} < 501000
28
.if ${OSVERSION} < 480100 || ${OSVERSION} >= 500000 && ${OSVERSION} < 501000
38
BROKEN=		"Systems prior to FreeBSD 4.9 & 5.1 are not supported"
29
IGNORE=		Systems prior to FreeBSD 4.9 & 5.1 are not supported
39
.endif
40
41
.if ${ARCH} == "i386"
42
NVVERSION=	0274
43
.elif ${ARCH} == "amd64"
44
NVVERSION=	0275
45
.else
46
NVVERSION=	0
47
.endif
30
.endif
48
31
49
pre-fetch:
32
pre-fetch:
50
.if !exists(${SRC_BASE}/sys/Makefile)
33
.if !exists(${SRC_BASE}/sys/Makefile)
51
	@${ECHO} "*************************************************"; \
34
IGNORE=		Kernel source files required
52
	${ECHO}  "This port requires the kernel source be available"; \
53
	${ECHO}  "*************************************************"; \
54
	exit 1
55
.endif
35
.endif
56
36
57
do-install:
37
do-install:
(-)nvnet/distinfo (+2 lines)
Line 0 Link Here
1
MD5 (nvnet-src-20050312.tar.gz) = 3e663986eab7deb5bf315a9f795bee7d
2
SIZE (nvnet-src-20050312.tar.gz) = 91425
(-)nvnet/distinfo.amd64 (-4 lines)
Lines 1-4 Link Here
1
MD5 (NVIDIA_nforce-1.0-0275.tar.gz) = b11e5fb81d629b27be546b6a731d99ea
2
SIZE (NVIDIA_nforce-1.0-0275.tar.gz) = 126011
3
MD5 (nvnet-src-20040813.tar.gz) = 425b9bb3495a1d7f68db817293653d0a
4
SIZE (nvnet-src-20040813.tar.gz) = 18821
(-)nvnet/distinfo.i386 (-4 lines)
Lines 1-4 Link Here
1
MD5 (NVIDIA_nforce-1.0-0274.tar.gz) = b84b5a34639b547ef897d6447c3c5415
2
SIZE (NVIDIA_nforce-1.0-0274.tar.gz) = 126450
3
MD5 (nvnet-src-20040813.tar.gz) = 425b9bb3495a1d7f68db817293653d0a
4
SIZE (nvnet-src-20040813.tar.gz) = 18821
(-)nvnet/files/patch-src_if__nv.c (-13 lines)
Lines 1-13 Link Here
1
2
$FreeBSD: ports/net/nvnet/files/patch-src_if__nv.c,v 1.1 2004/06/26 10:02:08 krion Exp $
3
4
--- src/if_nv.c.orig	Sat Jun 26 11:58:36 2004
5
+++ src/if_nv.c	Sat Jun 26 11:59:07 2004
6
@@ -72,6 +72,7 @@
7
 #include <sys/socket.h>
8
 #include <sys/sysctl.h>
9
 #include <sys/queue.h>
10
+#include <sys/module.h>
11
 
12
 #include <net/if.h>
13
 #include <net/if_arp.h>
(-)nvnet/pkg-descr (-1 / +1 lines)
Lines 1-6 Link Here
1
This port contains a driver for the NVIDIA nForce MCP Ethernet adapter.
1
This port contains a driver for the NVIDIA nForce MCP Ethernet adapter.
2
It contains a wrapper that replaces the Linux nvnet.c, and links against
2
It contains a wrapper that replaces the Linux nvnet.c, and links against
3
the Linux binary only object file (nvnetlib.o) included in the NVIDIA
3
the Linux binary only object file (nvenetlib.o) included from the NVIDIA
4
driver source distribution.
4
driver source distribution.
5
5
6
This should work on all nForce and nForce2 based motherboards that have
6
This should work on all nForce and nForce2 based motherboards that have
(-)nvnet/pkg-message (-1 lines)
Lines 4-7 Link Here
4
* nature of FreeBSD it may be necessary to rebuild the module after a kernel  *
4
* nature of FreeBSD it may be necessary to rebuild the module after a kernel  *
5
* source update.  To do this reinstall the port.                              *
5
* source update.  To do this reinstall the port.                              *
6
*******************************************************************************
6
*******************************************************************************
7
 

Return to bug 79889