From owner-svn-ports-all@freebsd.org Fri Oct 9 11:59:17 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A04AB43FBB4; Fri, 9 Oct 2020 11:59:17 +0000 (UTC) (envelope-from mikael@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C76793pGVz4HR0; Fri, 9 Oct 2020 11:59:17 +0000 (UTC) (envelope-from mikael@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 65DE519155; Fri, 9 Oct 2020 11:59:17 +0000 (UTC) (envelope-from mikael@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 099BxHFG018641; Fri, 9 Oct 2020 11:59:17 GMT (envelope-from mikael@FreeBSD.org) Received: (from mikael@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 099BxGYW018638; Fri, 9 Oct 2020 11:59:16 GMT (envelope-from mikael@FreeBSD.org) Message-Id: <202010091159.099BxGYW018638@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mikael set sender to mikael@FreeBSD.org using -f From: Mikael Urankar Date: Fri, 9 Oct 2020 11:59:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r551765 - in head/www/rt50: . files X-SVN-Group: ports-head X-SVN-Commit-Author: mikael X-SVN-Commit-Paths: in head/www/rt50: . files X-SVN-Commit-Revision: 551765 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2020 11:59:17 -0000 Author: mikael Date: Fri Oct 9 11:59:16 2020 New Revision: 551765 URL: https://svnweb.freebsd.org/changeset/ports/551765 Log: www/rt50: add dependency on textproc/p5-Pod-Parse Add dependency on textproc/p5-Pod-Parse: RT::Shredder::POD uses Pod::Select, which is provided by textproc/p5-Pod-Parser While here, fix rt-test-dependencies by providing the correct path PR: 250197 Reported by: David Siebörger MFH: 2020Q4 (blanket: runtime fix) Added: head/www/rt50/files/patch-sbin_rt-test-dependencies.in (contents, props changed) Modified: head/www/rt50/Makefile head/www/rt50/Makefile.cpan Modified: head/www/rt50/Makefile ============================================================================== --- head/www/rt50/Makefile Fri Oct 9 11:54:59 2020 (r551764) +++ head/www/rt50/Makefile Fri Oct 9 11:59:16 2020 (r551765) @@ -2,6 +2,7 @@ PORTNAME= rt DISTVERSION= 5.0.0 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://download.bestpractical.com/pub/rt/release/ PKGNAMESUFFIX= 50 @@ -168,6 +169,7 @@ post-patch: @${REINPLACE_CMD} -e 's!/path/to/your/etc!${RT_ETC_PATH}!g' ${WRKSRC}/etc/RT_SiteConfig.pm @${REINPLACE_CMD} -e 's!/bin:/usr/bin!/bin:/usr/bin:${LOCALBASE}/bin!' ${WRKSRC}/lib/RT/Interface/CLI.pm && \ ${RM} ${WRKSRC}/lib/RT/Interface/CLI.pm.bak + @${REINPLACE_CMD} -e 's!RT_ETC_DIR!${RT_ETC_DIR}!' ${WRKSRC}/sbin/rt-test-dependencies.in pre-install: @${RM} ${WRKSRC}/lib/RT.pm.in Modified: head/www/rt50/Makefile.cpan ============================================================================== --- head/www/rt50/Makefile.cpan Fri Oct 9 11:54:59 2020 (r551764) +++ head/www/rt50/Makefile.cpan Fri Oct 9 11:59:16 2020 (r551765) @@ -148,6 +148,7 @@ CORE_DEPS= p5-Apache-Session>=1.53:www/p5-Apache-Sessi p5-Net-CIDR>0:net-mgmt/p5-Net-CIDR \ p5-Net-IP>=0:net-mgmt/p5-Net-IP \ p5-Plack>=1.0002:www/p5-Plack \ + p5-Pod-Parser>0:textproc/p5-Pod-Parser \ p5-Starlet>0:www/p5-Starlet \ p5-Regexp-Common-net-CIDR>0:textproc/p5-Regexp-Common-net-CIDR \ p5-Regexp-Common>0:textproc/p5-Regexp-Common \ Added: head/www/rt50/files/patch-sbin_rt-test-dependencies.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/rt50/files/patch-sbin_rt-test-dependencies.in Fri Oct 9 11:59:16 2020 (r551765) @@ -0,0 +1,11 @@ +--- sbin/rt-test-dependencies.in.orig 2020-10-08 10:56:59 UTC ++++ sbin/rt-test-dependencies.in +@@ -237,7 +237,7 @@ sub read_deps { + }; + + my ($vol, $dir, $path) = File::Spec->splitpath( $script_path ); +- my $ret = do "$dir/../etc/cpanfile"; ++ my $ret = do "$dir/../RT_ETC_DIR/cpanfile"; + die "Failed to load cpanfile: @{[$@ || $!]}" if not defined $ret and ($@ or $!); + + return %deps;