mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Update to 1.0.0301 (20050312)
PR: ports/79889 Submitted by: Quinton Dolan <q@onthenet.com.au> (maintainer)
This commit is contained in:
parent
f10813507f
commit
ec73d993e9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133819
7 changed files with 10 additions and 49 deletions
|
@ -1,5 +1,4 @@
|
|||
# Ports collection makefile for: nvnet
|
||||
#
|
||||
# Date created: 1 Oct 2003
|
||||
# Whom: Quinton Dolan <q@onthenet.com.au>
|
||||
#
|
||||
|
@ -7,51 +6,33 @@
|
|||
#
|
||||
|
||||
PORTNAME= nvnet
|
||||
PORTVERSION= 1.0.${NVVERSION}
|
||||
PORTREVISION?= 0
|
||||
PORTVERSION= 1.0.0301
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://download.nvidia.com/XFree86/nforce/1.0-${NVVERSION}/:nvidia \
|
||||
ftp://download.nvidia.com/XFree86/nforce/1.0-${NVVERSION}/:nvidia \
|
||||
http://download1.nvidia.com/XFree86/nforce/1.0-${NVVERSION}/:nvidia \
|
||||
ftp://download1.nvidia.com/XFree86/nforce/1.0-${NVVERSION}/:nvidia \
|
||||
http://www.onthenet.com.au/~q/nvnet/:nvnet
|
||||
DISTFILES= NVIDIA_nforce-1.0-${NVVERSION}${EXTRACT_SUFX}:nvidia \
|
||||
nvnet-src-${NVNETVERSION}${EXTRACT_SUFX}:nvnet
|
||||
MASTER_SITES= http://www.onthenet.com.au/~q/nvnet/
|
||||
DISTFILES= ${PORTNAME}-src-${DISTVERSION}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= q@onthenet.com.au
|
||||
COMMENT= Driver for NVIDIA MCP Ethernet adapter
|
||||
|
||||
NVNETVERSION= 20040813
|
||||
DISTVERSION= 20050312
|
||||
|
||||
NO_PACKAGE= Depends on kernel
|
||||
ONLY_FOR_ARCHS= amd64 i386
|
||||
MD5_FILE= ${MASTERDIR}/distinfo.${ARCH}
|
||||
WRKSRC= ${WRKDIR}/nvnet
|
||||
MODULES_WITH_WORLD=
|
||||
PLIST_SUB= KMODDIR=${KMODDIR}
|
||||
PORTDOCS= README nvidia_pci.c.diff
|
||||
MAN4= nvnet.4
|
||||
MAKE_ENV= OSTYPE=${OPSYS}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 480100 || ${OSVERSION} >= 500000 && ${OSVERSION} < 501000
|
||||
BROKEN= "Systems prior to FreeBSD 4.9 & 5.1 are not supported"
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "i386"
|
||||
NVVERSION= 0274
|
||||
.elif ${ARCH} == "amd64"
|
||||
NVVERSION= 0275
|
||||
.else
|
||||
NVVERSION= 0
|
||||
IGNORE= Systems prior to FreeBSD 4.9 & 5.1 are not supported
|
||||
.endif
|
||||
|
||||
pre-fetch:
|
||||
.if !exists(${SRC_BASE}/sys/Makefile)
|
||||
@${ECHO} "*************************************************"; \
|
||||
${ECHO} "This port requires the kernel source be available"; \
|
||||
${ECHO} "*************************************************"; \
|
||||
exit 1
|
||||
IGNORE= Kernel source files required
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
|
|
2
net/nvnet/distinfo
Normal file
2
net/nvnet/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 (nvnet-src-20050312.tar.gz) = 3e663986eab7deb5bf315a9f795bee7d
|
||||
SIZE (nvnet-src-20050312.tar.gz) = 91425
|
|
@ -1,4 +0,0 @@
|
|||
MD5 (NVIDIA_nforce-1.0-0275.tar.gz) = b11e5fb81d629b27be546b6a731d99ea
|
||||
SIZE (NVIDIA_nforce-1.0-0275.tar.gz) = 126011
|
||||
MD5 (nvnet-src-20040813.tar.gz) = 425b9bb3495a1d7f68db817293653d0a
|
||||
SIZE (nvnet-src-20040813.tar.gz) = 18821
|
|
@ -1,4 +0,0 @@
|
|||
MD5 (NVIDIA_nforce-1.0-0274.tar.gz) = b84b5a34639b547ef897d6447c3c5415
|
||||
SIZE (NVIDIA_nforce-1.0-0274.tar.gz) = 126450
|
||||
MD5 (nvnet-src-20040813.tar.gz) = 425b9bb3495a1d7f68db817293653d0a
|
||||
SIZE (nvnet-src-20040813.tar.gz) = 18821
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/if_nv.c.orig Sat Jun 26 11:58:36 2004
|
||||
+++ src/if_nv.c Sat Jun 26 11:59:07 2004
|
||||
@@ -72,6 +72,7 @@
|
||||
#include <sys/socket.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/queue.h>
|
||||
+#include <sys/module.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/if_arp.h>
|
|
@ -1,6 +1,6 @@
|
|||
This port contains a driver for the NVIDIA nForce MCP Ethernet adapter.
|
||||
It contains a wrapper that replaces the Linux nvnet.c, and links against
|
||||
the Linux binary only object file (nvnetlib.o) included in the NVIDIA
|
||||
the Linux binary only object file (nvenetlib.o) included from the NVIDIA
|
||||
driver source distribution.
|
||||
|
||||
This should work on all nForce and nForce2 based motherboards that have
|
||||
|
|
|
@ -4,4 +4,3 @@
|
|||
* nature of FreeBSD it may be necessary to rebuild the module after a kernel *
|
||||
* source update. To do this reinstall the port. *
|
||||
*******************************************************************************
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue