Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  5 Dec 2002 19:22:32 +0100 (CET)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dbaker@FreeBSD.org
Subject:   ports/46013: misc/dnetc: fix install error
Message-ID:  <20021205182232.3F5577600@graf.pompo.net>

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

>Number:         46013
>Category:       ports
>Synopsis:       misc/dnetc: fix install error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 05 10:30:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Nov 16 12:34:31 CET 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	Dnetc fails to install:


make
===>  Extracting for dnetc-2.9001.478,1
>How-To-Repeat:
	Install dnetc.

>Fix:

	Please apply this fix:


diff -urN misc/dnetc.orig/Makefile misc/dnetc/Makefile
--- misc/dnetc.orig/Makefile	Wed Dec  4 22:17:51 2002
+++ misc/dnetc/Makefile	Thu Dec  5 19:11:34 2002
@@ -76,7 +76,7 @@
 	fi
 
 	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
-	${INSTALL} -c -m 644 -o ${CLIENTUSER} -g ${CLIENTGROUP} ${WRKDIR}/dnetc.ini ${BINDIR}/dnetc.ini.default
+	${INSTALL} -c -m 644 -o ${CLIENTUSER} -g ${CLIENTGROUP} ${WRKSRC}/dnetc.ini ${BINDIR}/dnetc.ini.default
 .if !exists(${BINDIR}/dnetc.ini)
 	@echo ""
 	@echo ""
@@ -92,7 +92,7 @@
 	@echo ""
 	@echo ""
 	@echo ""
-	${INSTALL} -c -m 644 -o ${CLIENTUSER} -g ${CLIENTGROUP} ${WRKDIR}/dnetc.ini ${BINDIR}
+	${INSTALL} -c -m 644 -o ${CLIENTUSER} -g ${CLIENTGROUP} ${WRKSRC}/dnetc.ini ${BINDIR}
 .endif
 
 .include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for dnetc478-freebsd-x86-elf.tar.gz.
 ===>  Patching for dnetc-2.9001.478,1
 ===>  Configuring for dnetc-2.9001.478,1
 sudo make install
 ===>  Installing for dnetc-2.9001.478,1
 ==>  Creating custom user to run dnetc...
 /mntports/ports/misc/dnetc/pkg-install dnetc-2.9001.478,1 PRE-INSTALL "dnetc" "dnetc"
 install -c -m 700 -o dnetc -g dnetc /mntports/ports/misc/dnetc/work/dnetc-freebsd-x86-elf/dnetc /usr/local/distributed.net
 /usr/bin/sed s#CHANGETHIS#/usr/local/distributed.net# < /mntports/ports/misc/dnetc/files/dnetc.sh > /mntports/ports/misc/dnetc/work/dnetc-freebsd-x86-elf/dnetc.sh.pathnames
 install -c -m 700 /mntports/ports/misc/dnetc/work/dnetc-freebsd-x86-elf/dnetc.sh.pathnames /usr/local/etc/rc.d/dnetc.sh
 install -c -o root -g wheel -m 444 /mntports/ports/misc/dnetc/files/INFO /usr/local/distributed.net
 /usr/sbin/chown dnetc:dnetc /usr/local/distributed.net
 /bin/chmod 775 /usr/local/distributed.net
 if [ ! -f /usr/local/distributed.net/dnetc.sh ]; then  /bin/ln -s /usr/local/etc/rc.d/dnetc.sh /usr/local/distributed.net/dnetc.sh;  fi
 install -c -o root -g wheel -m 444 /mntports/ports/misc/dnetc/work/dnetc-freebsd-x86-elf/dnetc.1 /usr/local/man/man1
 install -c -m 644 -o dnetc -g dnetc /mntports/ports/misc/dnetc/work/dnetc.ini /usr/local/distributed.net/dnetc.ini.default
 install: /mntports/ports/misc/dnetc/work/dnetc.ini: No such file or directory
 *** Error code 71
 
 Stop in /mntports/ports/misc/dnetc.
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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