Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 1999 22:37:34 -0500 (EST)
From:      AnarCat@anarcat.dyndns.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/15756: ftp/ftplocate install does not check for existence of dir
Message-ID:  <19991229033734.F33CB1B58@anarcat.dyndns.org>

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

>Number:         15756
>Category:       ports
>Synopsis:       ftp/ftplocate install does not check for existence of dir
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 28 19:40:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     AnarCat
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
>Environment:

	FreeBSD anarcat.dyndns.org 3.3-STABLE FreeBSD 3.3-STABLE #7: Tue Dec 28 20:05:30 EST 1999     root@anarcat.dyndns.org:/usr/src/sys/compile/HALL  i386

	Port collection update: Tue Dec 28 22:32:34 EST 1999

>Description:

the ftplocate port does not check for the existence of the
${PREFIX}/www/data directory before trying to install the prog in it.

>How-To-Repeat:

root@anarcat [10:23pm] /# cd /usr/ports/ftp/ftplocate/
root@anarcat [10:25pm] ftplocate# make install clean
>Fix:
	
	I don't know what exactly is the politic of the ports tree
	about that, but probably that adding the '-d' flag to install
	would be a quick fix... So I guess something like:

INSTALL+=" -d "

would do.


>Release-Note:
>Audit-Trail:
>Unformatted:
 >> ftplocate-1.50.tar.gz doesn't seem to exist on this system.
 >> Attempting to fetch from ftp://ftp.ee.ncku.edu.tw/pub/.
 Receiving ftplocate-1.50.tar.gz (27707 bytes): 100%
 27707 bytes transferred in 25.7 seconds  (1.05 Kbytes/s)
 ===>  Extracting for ftplocate-1.50
 >> Checksum OK for ftplocate-1.50.tar.gz.
 ===>  Patching for ftplocate-1.50
 ===>  Configuring for ftplocate-1.50
 ===>  Installing for ftplocate-1.50
 ===>   ftplocate-1.50 depends on executable: glimpse - found
 install -C -d /usr/local/www/cgi-bin/ftplocate  /usr/local/www/cgi-bin/ftplocate/index  /usr/local/www/cgi-bin/ftplocate/desc
 install -C -o nobody -g nobody -m 755 -d /usr/local/www/cgi-bin/ftplocate/cache
 cd /home2/ftp/pub/FreeBSD/FreeBSD-current/ports/ftp/ftplocate/work/ftplocate-1.50;  install -C -c -o root -g wheel -m 444  README README.zhtw fl.english fl.zhtw  /usr/local/www/cgi-bin/ftplocate ; install -C -c -m 644  fl.config fl.share  /usr/local/www/ cgi-bin/ftplocate ; install -C -c -o root -g wheel -m 555  dcollect.pl dindex.pl flcollect.pl flindex.pl indexer.sh  flfilter.pl flsearch.pl dsearch.pl flserv.pl flhistory.pl  /usr/local/www/cgi-bin/ftplocate ; install -C -c -o root -g wheel -m 444  flhe lp.html flhelp.zhtw.html  /usr/local/www/data ; install -C -c -o root -g wheel -m 555  ftplocate /usr/local/bin/
 usage: install [-CcDps] [-f flags] [-g group] [-m mode] [-o owner] file1 file2
        install [-CcDps] [-f flags] [-g group] [-m mode] [-o owner] file1 ...
              fileN directory
        install -d [-g group] [-m mode] [-o owner] directory ...
 *** Error code 64
 
 Stop.
 *** Error code 1
 
 Stop.
 *** Error code 1
 
 Stop.
 
 


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?19991229033734.F33CB1B58>