From owner-svn-ports-head@freebsd.org Thu Jan 4 20:11:14 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92BF0EB347D; Thu, 4 Jan 2018 20:11:14 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E93497DB35; Thu, 4 Jan 2018 20:11:13 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w04KBCd8051044; Thu, 4 Jan 2018 20:11:12 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w04KBCJq051042; Thu, 4 Jan 2018 20:11:12 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201801042011.w04KBCJq051042@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 4 Jan 2018 20:11:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458062 - in head/www/p5-WebService-NoPaste: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/www/p5-WebService-NoPaste: . files X-SVN-Commit-Revision: 458062 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 20:11:15 -0000 Author: sunpoet Date: Thu Jan 4 20:11:12 2018 New Revision: 458062 URL: https://svnweb.freebsd.org/changeset/ports/458062 Log: Convert to options target helper - Use PATCHDIR instead of FILESDIR for patch file - Rename patch file Added: head/www/p5-WebService-NoPaste/files/extra-patch-lib-WebService-NoPaste.pm - copied unchanged from r458061, head/www/p5-WebService-NoPaste/files/extrapatch-lib-WebService-NoPaste.pm Deleted: head/www/p5-WebService-NoPaste/files/extrapatch-lib-WebService-NoPaste.pm Modified: head/www/p5-WebService-NoPaste/Makefile Modified: head/www/p5-WebService-NoPaste/Makefile ============================================================================== --- head/www/p5-WebService-NoPaste/Makefile Thu Jan 4 20:11:07 2018 (r458061) +++ head/www/p5-WebService-NoPaste/Makefile Thu Jan 4 20:11:12 2018 (r458062) @@ -29,9 +29,9 @@ USES= perl5 shebangfix SHEBANG_FILES= nopaste X11_BUILD_DEPENDS= p5-Clipboard>=0:x11/p5-Clipboard -X11_EXTRA_PATCHES_OFF= ${FILESDIR}/extrapatch-lib-WebService-NoPaste.pm +X11_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-lib-WebService-NoPaste.pm -post-patch: - -@${RM} ${WRKSRC}/lib/WebService/NoPaste.pm.orig +post-patch-X11-off: + @${RM} ${WRKSRC}/lib/WebService/NoPaste.pm.orig .include Copied: head/www/p5-WebService-NoPaste/files/extra-patch-lib-WebService-NoPaste.pm (from r458061, head/www/p5-WebService-NoPaste/files/extrapatch-lib-WebService-NoPaste.pm) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-WebService-NoPaste/files/extra-patch-lib-WebService-NoPaste.pm Thu Jan 4 20:11:12 2018 (r458062, copy of r458061, head/www/p5-WebService-NoPaste/files/extrapatch-lib-WebService-NoPaste.pm) @@ -0,0 +1,37 @@ +--- lib/WebService/NoPaste.pm.orig Tue May 3 20:10:26 2005 ++++ lib/WebService/NoPaste.pm Mon Dec 26 18:45:18 2005 +@@ -3,7 +3,6 @@ + use LWP::UserAgent; + use HTTP::Request::Common 'POST'; + use IO::All; +-use Clipboard; + our $VERSION = '0.03'; + + sub new { +@@ -37,9 +36,9 @@ + io('-')->all + } + +-sub read_from_clipboard { Clipboard->paste } ++sub read_from_clipboard { } + +-sub save_to_clipboard { Clipboard->copy($_[0]); } ++sub save_to_clipboard { } + + my $PLEASE_EMAIL = "WebService::NoPaste has only been tested with 'pastebot' brand paste servers, and even then only to a limited extent. If you got this error unexpectedly, please let me know - rking\@panopic.com."; + sub response_die { +@@ -57,14 +56,6 @@ + + # Manually paste input, manually copy the result url: + $ nopaste +- +- # Turbo mode: use clipboard as input, send, and then put the result +- # URL back into the clipboard: +- $ nopaste cp +- +- # Just take the input from the clipboard, but otherwise leave the +- # clipboard alone: +- $ nopaste c + + # Instantly upload your passwd file for the whole world to see, but + # at least you'll have the result URL conveniently in your