ports/136400: New port: www/woof
Dereckson
dereckson at gmail.com
Tue Jul 7 04:00:11 UTC 2009
>Number: 136400
>Category: ports
>Synopsis: New port: www/woof
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 07 04:00:10 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Dereckson
>Release: 7.2-RELEASE
>Organization:
>Environment:
FreeBSD scherzo.dereckson.be 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root at walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
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?
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# woof
# woof/Makefile
# woof/distinfo
# woof/pkg-descr
#
echo c - woof
mkdir -p woof > /dev/null 2>&1
echo x - woof/Makefile
sed 's/^X//' >woof/Makefile << '5b50029a68c56d2a2e707c3d38ba0b6b'
X# New ports collection makefile for: woof
X# Date created: 7 July 2009
X# Whom: Dereckson <dereckson at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= woof
XPORTVERSION= 2009.02.27
XCATEGORIES= www
XMASTER_SITES= http://www.home.unix-ag.org/simon/
XDISTNAME= woof
XEXTRACT_SUFX=
XEXTRACT_ONLY=
X
XMAINTAINER= dereckson at gmail.com
XCOMMENT= Web Offer One File, an ad-hoc single file webserver
X
XUSE_PYTHON=
XNO_BUILD=
XPLIST_FILES= bin/woof
X
Xdo-install:
X ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 0755 \
X ${DISTDIR}/woof ${PREFIX}/bin/woof
X
X.include <bsd.port.mk>
5b50029a68c56d2a2e707c3d38ba0b6b
echo x - woof/distinfo
sed 's/^X//' >woof/distinfo << 'ac471a13c87189baa9abeb964738d263'
XMD5 (woof) = 87d71978789e3444c115048dd686d418
XSHA256 (woof) = ea4bcb6e01270fe7f53a79b19213cdfc97e347c6d82979e97904ca2d60b7f556
XSIZE (woof) = 14252
ac471a13c87189baa9abeb964738d263
echo x - woof/pkg-descr
sed 's/^X//' >woof/pkg-descr << '6f29a032f8e9f3b8421516695fa607eb'
XWoof (Web Offer One File) is a Python small webserver designed to serve one or
Xseveral times a file, then shutdown.
X
XWoof serves autogenerated archives, when a directory is specified.
X
XWWW: http://www.home.unix-ag.org/simon/woof.html
6f29a032f8e9f3b8421516695fa607eb
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list