Woof (Web Offer One File) is a Python small webserver designed to serve one or several times a file, then shutdown. http://www.home.unix-ag.org/simon/woof.html * * * This port is a one file non compressed python script. The way I handled it seems clumsy as I never seen a direct copy from distfiles to final directory. DISTNAME= woof EXTRACT_SUFX= EXTRACT_ONLY= do-install: ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 0755 \ ${DISTDIR}/woof ${PREFIX}/bin/woof Is the correct way to do? Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->miwi I'll take it.
State Changed From-To: open->closed New port added. Thanks!
miwi 2009-07-07 18:43:54 UTC FreeBSD ports repository Modified files: www Makefile Added files: www/woof Makefile distinfo pkg-descr Log: Woof (Web Offer One File) is a Python small webserver designed to serve one or several times a file, then shutdown. Woof serves autogenerated archives, when a directory is specified. WWW: http://www.home.unix-ag.org/simon/woof.html PR: ports/136400 Submitted by: Dereckson <dereckson at gmail.com> Revision Changes Path 1.2392 +1 -0 ports/www/Makefile 1.1 +26 -0 ports/www/woof/Makefile (new) 1.1 +3 -0 ports/www/woof/distinfo (new) 1.1 +6 -0 ports/www/woof/pkg-descr (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Hi, You've replaced my install sequence by this: ${INSTALL_DATA} ${DISTDIR}/woof ${PREFIX}/bin/woof This line is executed as: install -o root -g wheel -m 444 /usr/ports/distfiles/woof /usr/local/bin/woof So woof isn't excutable. It should be INSTALL_SCRIPT, to give a 555 chmod, shouldn't be?
Patch seems ugly at first transfer.
Gmail doesn't seem to like its patch. http://pastebin.com/m3c8c4432