Date: Sat, 31 Oct 1998 14:55:37 -0600 From: "Scot W. Hetzel" <hetzels@westbend.net> To: "FreeBSD-Ports" <FreeBSD-Ports@FreeBSD.ORG> Subject: Re: Apache-FP v1.3.3 port corrupting FreeBSD O/S Message-ID: <002301be0510$cfb95d80$0dcb2e9c@westbend.net>
next in thread | raw e-mail | index | archive | help
From: Scot W. Hetzel <hetzels@westbend.net> >I am having a problem with a port that I am maintaining. On Oct 14, I >updated the Apache-FP port to use Apache v1.3.3. On a FreeBSD 2.2.7-Stable >system updated around Oct 12th - 13th. > >The problem starts when you abort the install, by answering NO to any of the >questions in the fp_install.sh script. Then when you try a second make >install it fails trying to read the apache config files. Then if you do a >make clean ; make configure it will fail to configure the Apache-FP server. >Then if you attempt to configure the apache13 port, it fails at the same >point as the apache13-fp port. Some one had downloaded this port off of my >ftp site and it had done the same thing to their system. He advised he >couldn't compile the sudo port after the failed Apache13-FP install. > Found the problem, apparently it was caused by the /usr/bin/sed command being overwritten with a 0 byte file, caused by the following in the post-install script: @${SED} 's;PREFIX;${PREFIX};' < ${FILESDIR}/apache.sh.tmpl > \ ${SED} 's;PERL5;${PERL5};' > ${PREFIX}/etc/rc.d/apache.sh.tmpl; Sed needs to be downloaded and the re-installed into /usr/bin. The ">" at the end of the first line is causing sed to be overwritten on the second line, it should have been a "|" instead. Or the command should have been written as shown in the test/Makefile below: >test/Makefile > >FILESDIR=files >PREFIX="/usr/local" >PERL5="/usr/local/bin/perl" >CAT="/bin/cat" >SED="/usr/bin/sed" >SH="/bin/sh" > >install: > @${CAT} ${FILESDIR}/apache.sh.tmpl | \ > ${SED} -e 's;PREFIX;${PREFIX};' -e 's;PERL5;${PERL5};' > apache.sh > A few more tweaks, and it should be ready to submit. Scot 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?002301be0510$cfb95d80$0dcb2e9c>