From nobody Wed Nov 01 02:19:06 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SKrKl4Ksgz4yXjW; Wed, 1 Nov 2023 02:19:07 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SKrKl3fZvz4Cx4; Wed, 1 Nov 2023 02:19:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698805147; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6FICmq5OixqjapidSL+QDW7ACzFBG39nfubNIcbWlKY=; b=RfsdJiAbHYaEUKVJLt7gRVZHuD4owpjH7xPIqRZRXE9Ac9f1Jpu3+Luf2slcuUbcLLxdbX bhyLNRhDkhpZKduPr0KTtt6q1kTAdcqw+OAOVBl48rFC26l2O3uDcE9ceIpqOLtAgdet48 3JA6kLwBkjh3vV8tXfyBsHdJgu1ImQUp+sQndcwG3OxyFfN8jbx5z+/czXdI0aDCehmQ2K cbrqDikhlLIDcZXCQyNBxfGxzkclCBY+OWU2TBjMhLk4beGGoWR3N5vyMwyNh96KavCYr9 R9o25TBy0suzLobcHgmA9uFUKG5D8z78dzRF1c/BuMyx5e+nN5Fwd1HeB/1HaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698805147; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6FICmq5OixqjapidSL+QDW7ACzFBG39nfubNIcbWlKY=; b=Z4iZqeJrSHlnAyWRNSdfxJ1GSmbeYNaXCTen5W9KewoaAwwAZIxqDj6S7g8rF/VDq1LHvx EgsFONpJ4kSi9fMq4Y89CXQ47xeSRzjDj+6bhjNwj+vXIYBnQ1++n1bdBnafZDitEIxLK6 rcdDGkrfw4mBGiweyOI5c/rCMwQokte4EgG5w+OqdeLicw6GNny5Te42l4X033JlHle6a0 r8WL2bRMwFvkwGCJ+mPGXNwWAD2HZE0RR10Qw7/hYQfP0cuBey3OkUcO1RQeY0dizlwkEC wnYyLKcR3X/BWsUtO8DWzGJpZjz9qIR7aCPP9Ei8xdsuVX7/colOus78/7ZWhA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698805147; a=rsa-sha256; cv=none; b=lCxiC2BJgO88uhlNikTlhXCUW8q5/dz+qeupttnriRchnVVBS43XHidtfreORnggnbmyS6 3iLMUnHmty3erBybkp/HIXnmVim52Wu2yubEXIF7Uo8kV/iGt4xYuSZXtxynD3AjSCS67c 9Q49L3/F6fjo08KCDHxm6XGnZC5Rr5E0yliy0DHQqr04OFmckk5IccxkfX8efhMty9B6rL l95yVqx936gs5bBElGsYrP8LtmZqwM2o9jWbr2KVSoVRSs9jUKrtDrH5l2Y8UhpsNTsjmy bt4wDifbv7wryZVtUhvSxebZKlWnCBJkpmi7F5t39cOyUv0idOEx/W0db26YKw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SKrKl0JQ9zD1d; Wed, 1 Nov 2023 02:19:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A12J6HQ074840; Wed, 1 Nov 2023 02:19:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A12J6dF074837; Wed, 1 Nov 2023 02:19:06 GMT (envelope-from git) Date: Wed, 1 Nov 2023 02:19:06 GMT Message-Id: <202311010219.3A12J6dF074837@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 101216828871 - main - archivers/p5-IO-Compress-Brotli: Update to 0.007 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 101216828871edec1d37e139464f781d4d9e5d2e Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=101216828871edec1d37e139464f781d4d9e5d2e commit 101216828871edec1d37e139464f781d4d9e5d2e Author: Po-Chuan Hsieh AuthorDate: 2023-11-01 01:53:26 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-11-01 02:08:58 +0000 archivers/p5-IO-Compress-Brotli: Update to 0.007 - Use brotli from ports tree - Strip shared library Changes: https://metacpan.org/dist/IO-Compress-Brotli/changes --- archivers/p5-IO-Compress-Brotli/Makefile | 9 ++++-- archivers/p5-IO-Compress-Brotli/distinfo | 6 ++-- .../p5-IO-Compress-Brotli/files/patch-Makefile.PL | 37 ++++++++++++++++++++++ 3 files changed, 47 insertions(+), 5 deletions(-) diff --git a/archivers/p5-IO-Compress-Brotli/Makefile b/archivers/p5-IO-Compress-Brotli/Makefile index 9ed5f604561e..8bf5c710b14c 100644 --- a/archivers/p5-IO-Compress-Brotli/Makefile +++ b/archivers/p5-IO-Compress-Brotli/Makefile @@ -1,8 +1,9 @@ PORTNAME= IO-Compress-Brotli -PORTVERSION= 0.004001 +PORTVERSION= 0.007000 CATEGORIES= archivers perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- +DISTNAME= IO-Compress-Brotli-${PORTVERSION:C|000$||} MAINTAINER= perl@FreeBSD.org COMMENT= Perl implementation of Brotli @@ -11,9 +12,13 @@ WWW= https://metacpan.org/release/IO-Compress-Brotli LICENSE= MIT BUILD_DEPENDS= ${RUN_DEPENDS} +LIB_DEPENDS= libbrotlicommon.so:archivers/brotli RUN_DEPENDS= p5-File-Slurper>0:devel/p5-File-Slurper -USES= gmake perl5 +USES= gmake localbase:ldflags perl5 USE_PERL5= configure +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/IO/Compress/Brotli/Brotli.so + .include diff --git a/archivers/p5-IO-Compress-Brotli/distinfo b/archivers/p5-IO-Compress-Brotli/distinfo index 6413b58bd64a..23d8c393106f 100644 --- a/archivers/p5-IO-Compress-Brotli/distinfo +++ b/archivers/p5-IO-Compress-Brotli/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1567172299 -SHA256 (IO-Compress-Brotli-0.004001.tar.gz) = 8ba5c0167e966f487bde159c18bc1b3486528013b3235d39f2fcb375ca4bf410 -SIZE (IO-Compress-Brotli-0.004001.tar.gz) = 7674244 +TIMESTAMP = 1698341291 +SHA256 (IO-Compress-Brotli-0.007.tar.gz) = 195fd7987e7074d8f9c324eea7599c316ccd9eeb1bc7ca13f7a951b78f9f35e0 +SIZE (IO-Compress-Brotli-0.007.tar.gz) = 7746650 diff --git a/archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL b/archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL new file mode 100644 index 000000000000..b83584689037 --- /dev/null +++ b/archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL @@ -0,0 +1,37 @@ +--- Makefile.PL.orig 2023-10-25 00:42:06 UTC ++++ Makefile.PL +@@ -1,6 +1,5 @@ + use 5.014000; + use ExtUtils::MakeMaker; +-use Alien::cmake3; + use File::Spec::Functions qw/catfile/; + + WriteMakefile( +@@ -17,14 +16,6 @@ WriteMakefile( + 'Getopt::Long' => '0', + 'Time::HiRes' => '0', + }, +- CONFIGURE_REQUIRES => { +- 'Alien::cmake3' => '0', +- }, +- BUILD_REQUIRES => { +- 'Alien::cmake3' => '0', +- }, +- INC => '-Ibrotli/c/include', +- MYEXTLIB => 'brotli/libbrotlienc.so.1.1.0 brotli/libbrotlidec.so.1.1.0 brotli/libbrotlicommon.so.1.1.0', + clean => { FILES => 'brotli/Makefile brotli/libbrotlienc.so* brotli/libbrotlidec.so* brotli/libbrotlicommon.so* brotli/CMakeCache.txt brotli/CMakeFiles/* brotli/CTestTestfile.cmake brotli/DartConfiguration.tcl brotli/brotli brotli/cmake_install.cmake brotli/libbrotlicommon.pc brotli/libbrotlidec.pc brotli/libbrotlienc.pc' }, + META_ADD => { + dynamic_config => 0, +@@ -33,12 +24,3 @@ WriteMakefile( + }, + } + ); +- +-sub MY::postamble { +- my @dirs = Alien::cmake3->bin_dir; +- my $cmake = defined $dirs[0] ? catfile($dirs[0] , Alien::cmake3->exe) : Alien::cmake3->exe; +-' +-$(MYEXTLIB): brotli/CMakeLists.txt +- cd brotli && ' . $cmake . ' -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./installed . && make +-' +-}