From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 7 04:00:11 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B49C1065675 for ; Tue, 7 Jul 2009 04:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E1D9F8FC21 for ; Tue, 7 Jul 2009 04:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6740ASs022792 for ; Tue, 7 Jul 2009 04:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6740AH0022791; Tue, 7 Jul 2009 04:00:10 GMT (envelope-from gnats) Resent-Date: Tue, 7 Jul 2009 04:00:10 GMT Resent-Message-Id: <200907070400.n6740AH0022791@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dereckson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C351B1065673 for ; Tue, 7 Jul 2009 03:54:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 96A228FC08 for ; Tue, 7 Jul 2009 03:54:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n673smud097081 for ; Tue, 7 Jul 2009 03:54:48 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n673sm6B097072; Tue, 7 Jul 2009 03:54:48 GMT (envelope-from nobody) Message-Id: <200907070354.n673sm6B097072@www.freebsd.org> Date: Tue, 7 Jul 2009 03:54:48 GMT From: Dereckson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/136400: New port: www/woof X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2009 04:00:11 -0000 >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@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 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@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 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: