Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2005 22:09:45 +0300 (MSK)
From:      Andrew Pantyukhin <infofarmer@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/88250: update misc/dnetc
Message-ID:  <200510301909.j9UJ9jmm038181@proxy.gubkin.ru>
Resent-Message-ID: <200510301910.j9UJAJWb073230@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88250
>Category:       ports
>Synopsis:       update misc/dnetc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 30 19:10:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Pantyukhin
>Release:        FreeBSD 5.4-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD proxy.gubkin.ru 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #6: Thu Oct 20 19:33:42 MSD 2005 sat@proxy.gubkin.ru:/usr/obj/usr/src/sys/SATPROXYGUB i386

>Description:
	- use a new binary on FreeBSD >= 5.3
	- a couple of minor fixes
>How-To-Repeat:
	
>Fix:

There's no need to bump portrevision.

DISTNAME is changed late, but I didn't have a better idea,
OSVERSION is set in bsd.port.pre.mk.

--- dnetc.diff begins here ---
diff -urN /usr/ports/misc/dnetc/Makefile ./dnetc/Makefile
--- /usr/ports/misc/dnetc/Makefile	Wed Jul  6 17:01:39 2005
+++ ./dnetc/Makefile	Sun Oct 30 21:47:18 2005
@@ -53,7 +53,12 @@
 .endif
 
 .if ${OSVERSION} < 300000
-IGNORE=		"This port requires FreeBSD 3.X or greater."
+IGNORE=		requires FreeBSD 3.X or greater
+.endif
+
+.if ${OSVERSION} > 503000
+MASTER_SITE_SUBDIR=	prerelease/rc
+DISTNAME=	dnetc${PORTVERSION:E}-freebsd5-${ARCH:S/i386/x86/}-elf
 .endif
 
 post-extract:
@@ -85,7 +90,6 @@
 
 	${INSTALL} -c -m ${BINMODE} -o ${CLIENTUSER} -g ${CLIENTGROUP} ${WRKSRC}/dnetc ${BINDIR}
 
-	${INSTALL_DATA} ${FILESDIR}/INFO ${BINDIR}
 	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
 
 	${INSTALL_SCRIPT} ${WRKDIR}/dnetc.sh ${PREFIX}/etc/rc.d/dnetc.sh
diff -urN /usr/ports/misc/dnetc/distinfo.i386 ./dnetc/distinfo.i386
--- /usr/ports/misc/dnetc/distinfo.i386	Wed Jul  6 17:01:39 2005
+++ ./dnetc/distinfo.i386	Sun Oct 30 21:30:08 2005
@@ -1,2 +1,4 @@
 MD5 (dnetc496-freebsd-x86-elf.tar.gz) = 7e58f161ecb727014034529fce2a3b20
 SIZE (dnetc496-freebsd-x86-elf.tar.gz) = 327578
+MD5 (dnetc496-freebsd5-x86-elf.tar.gz) = d8f83e67f43ff0946ea2449eaa22fa0b
+SIZE (dnetc496-freebsd5-x86-elf.tar.gz) = 425918
diff -urN /usr/ports/misc/dnetc/pkg-plist ./dnetc/pkg-plist
--- /usr/ports/misc/dnetc/pkg-plist	Wed Aug 25 13:16:16 2004
+++ ./dnetc/pkg-plist	Sun Oct 30 21:30:21 2005
@@ -1,5 +1,4 @@
 distributed.net/dnetc
-distributed.net/INFO
 @unexec if cmp -s %D/distributed.net/dnetc.ini %D/distributed.net/dnetc.ini.sample; then rm -f %D/distributed.net/dnetc.ini; fi
 distributed.net/dnetc.ini.sample
 @exec [ -f %B/dnetc.ini ] || cp %B/%f %B/dnetc.ini
--- dnetc.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510301909.j9UJ9jmm038181>