From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 7 09:20:03 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 C6C5E106566C for ; Tue, 7 Jul 2009 09:20:03 +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 A28578FC1F for ; Tue, 7 Jul 2009 09:20:03 +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 n679K3lW006988 for ; Tue, 7 Jul 2009 09:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n679K3ma006987; Tue, 7 Jul 2009 09:20:03 GMT (envelope-from gnats) Resent-Date: Tue, 7 Jul 2009 09:20:03 GMT Resent-Message-Id: <200907070920.n679K3ma006987@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, anonymous <> Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5073A1065675 for ; Tue, 7 Jul 2009 09:14: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 3EA728FC13 for ; Tue, 7 Jul 2009 09:14: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 n679EmJn061302 for ; Tue, 7 Jul 2009 09:14:48 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n679ElHg061301; Tue, 7 Jul 2009 09:14:47 GMT (envelope-from nobody) Message-Id: <200907070914.n679ElHg061301@www.freebsd.org> Date: Tue, 7 Jul 2009 09:14:47 GMT From: anonymous <> To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/136411: [new port] www/wgetpaste: Paste to several pastebin services via bash script 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 09:20:04 -0000 >Number: 136411 >Category: ports >Synopsis: [new port] www/wgetpaste: Paste to several pastebin services via bash script >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 09:20:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: anonymous >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >Environment: >Description: A Script that automates pasting to a number of pastebin services relying only on bash, sed, coreutils (mktemp/sort/tr/wc/whoami/tee) and wget WWW: http://wgetpaste.zlin.dk/ >How-To-Repeat: $ cd /usr/ports $ patch -s -p0 -i /path/to/wgetpaste.diff $ cd www/wgetpaste $ make install clean >Fix: --- wgetpaste.diff begins here --- Index: www/Makefile =================================================================== RCS file: /home/csup/ports/www/Makefile,v retrieving revision 1.2388 diff -u -p -r1.2388 Makefile --- www/Makefile 30 Jun 2009 19:46:47 -0000 1.2388 +++ www/Makefile 2 Jul 2009 09:42:17 -0000 @@ -1606,6 +1606,7 @@ SUBDIR += webstone SUBDIR += webstone-ssl SUBDIR += wget4web + SUBDIR += wgetpaste SUBDIR += wikicalc SUBDIR += wikindx SUBDIR += wiliki Index: www/wgetpaste/Makefile =================================================================== RCS file: www/wgetpaste/Makefile diff -N www/wgetpaste/Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ www/wgetpaste/Makefile 2 Jul 2009 11:03:09 -0000 @@ -0,0 +1,42 @@ +# New ports collection makefile for: wgetpaste +# Date created: 2 Jul 2009 +# Whom: Anonymous +# +# $FreeBSD$ +# + +PORTNAME= wgetpaste +PORTVERSION= 2.13 +CATEGORIES= www +MASTER_SITES= http://wgetpaste.zlin.dk/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}.example zlin.conf + +MAINTAINER= ports@FreeBSD.org +COMMENT= Paste to several pastebin services via bash script + +RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \ + ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget + +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +USE_BZIP2= yes +NO_BUILD= yes + +post-patch: .SILENT + ${REINPLACE_CMD} \ + -e 's|/etc/|${PREFIX}/etc/|g' \ + -e 's|\(INFO_COMMAND=\).*|\1"pkg_info -aE"|' \ + -e 's|\(INFO_ARGS=\).*|\1|' \ + ${WRKSRC}/${PORTNAME} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${MKDIR} -p ${PREFIX}/share/zsh/site-functions + ${INSTALL_DATA} ${WRKSRC}/_${PORTNAME} \ + ${PREFIX}/share/zsh/site-functions + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.example \ + ${PREFIX}/etc/${PORTNAME}.conf.sample + ${MKDIR} ${PREFIX}/etc/${PORTNAME}.d + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/zlin.conf \ + ${PREFIX}/etc/${PORTNAME}.d + +.include Index: www/wgetpaste/distinfo =================================================================== RCS file: www/wgetpaste/distinfo diff -N www/wgetpaste/distinfo --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ www/wgetpaste/distinfo 2 Jul 2009 09:30:28 -0000 @@ -0,0 +1,9 @@ +MD5 (wgetpaste-2.13.tar.bz2) = a341c778d745b0a7ad11163a4a2c1ea9 +SHA256 (wgetpaste-2.13.tar.bz2) = c33d97d5f2e3def50f0a316cf4f425037dc69b53016f8fecb6398503258b4854 +SIZE (wgetpaste-2.13.tar.bz2) = 8587 +MD5 (wgetpaste.example) = 77392c788659cc648a59df2d239ebe19 +SHA256 (wgetpaste.example) = cbc0437f7e04d95ffd224011ee2a056a84dfd7143e314e6962688295f68def4d +SIZE (wgetpaste.example) = 380 +MD5 (zlin.conf) = 68046e6f334258a104c439affa6bb6f7 +SHA256 (zlin.conf) = 8fe8338ebd6716bac1e7e818b26163f899d7609fbac5932aaa1dabe45d6fdb19 +SIZE (zlin.conf) = 971 Index: www/wgetpaste/pkg-descr =================================================================== RCS file: www/wgetpaste/pkg-descr diff -N www/wgetpaste/pkg-descr --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ www/wgetpaste/pkg-descr 2 Jul 2009 09:13:58 -0000 @@ -0,0 +1,5 @@ +A Script that automates pasting to a number of pastebin services +relying only on bash, sed, coreutils (mktemp/sort/tr/wc/whoami/tee) +and wget + +WWW: http://wgetpaste.zlin.dk/ Index: www/wgetpaste/pkg-plist =================================================================== RCS file: www/wgetpaste/pkg-plist diff -N www/wgetpaste/pkg-plist --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ www/wgetpaste/pkg-plist 2 Jul 2009 09:57:44 -0000 @@ -0,0 +1,7 @@ +bin/wgetpaste +etc/wgetpaste.conf.sample +etc/wgetpaste.d/zlin.conf +share/zsh/site-functions/_wgetpaste +@dirrmtry etc/wgetpaste.d +@dirrmtry share/zsh/site-functions +@dirrmtry share/zsh --- wgetpaste.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: