From nobody Mon Jan 30 13:11:50 2023 X-Original-To: dev-commits-ports-all@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 4P57qq1BTtz3cbPc; Mon, 30 Jan 2023 13:11:51 +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 4P57qq0YGQz3rgN; Mon, 30 Jan 2023 13:11:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675084311; 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=UBfkIGyyE9mgqC4EJ5CCmMwX8vQYDGiAJk+y4Lq5QkA=; b=dw0xE5m7k4RlSch4FRrQKbPjVkF+uXSaPWEq/BSMUI7m3vhPbhyTreWA56c8nMLa9x7dhe CdbVSyXCNo6uB4H4RW/N1Ob5KnjJPSTw4+UjQ6u8yf+FR7tSmQO0pUN5B1QY3zWeDOKNJh Eb/OPO1u49tPNBVNIn/gCrtnXQT8eSm6edcftjj689Jq7kj5vVrjqBAdEkUxInmgzB4D+o of8/yAK6yTR3AYWk+wDX12DS/FobV4pahzevsKAM7Tru5/HAJPoQIdWeA03KlOsOOgQ8Fq sgUltBMgum1a6yL4T8IX64PYO47JRWTHqL34VguLDJnVlBRaWhGVIKWrZhspWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675084311; 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=UBfkIGyyE9mgqC4EJ5CCmMwX8vQYDGiAJk+y4Lq5QkA=; b=LzMnIQFXiv99KE29Q0l9gozAPw99o4S5SaTWb5A67/MZicC6bq8+OdhsTfyILq2nBdT+iU r7H5YeduRfPhx1+boFOVHpgX+mqnRYn0Mqpk7a1BV5cdsL4e0DBkgFIn3NNuaJCd/CBnM2 YuU0edERE4syNlERXR2EFd2tMNGU9p6CrntHpqCwizhNq43FBw79Q+KBtVZPAVSpp81+qh 0xEs1a8bQz72URJWmL3mzfWzbILwOABi4xTdsXO4Tw0xlLjZKm3P2ejUThcwbOrbhhOVEH jpOZEmIUyeXArH0GiLz6Qi3XJ2pydCs190Y5yioIh5lOnFAw9JUBcSdbNd7Rqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675084311; a=rsa-sha256; cv=none; b=KduKwh9AeJq48YClKc4tw/y/WDrf1mlXJHyvCX0OQhrMW1UkaQgvtMiC1t7qY+duIQThpb oSkq3pSTgP+DlbGRXQNV+ezY7lsTzaR+67P6oMbZbZHyUfwXH1DUMPBy3zBe/I1FaL9ZTT IDnJSD66SeTKmMS1FCMlEaijlRKre6NHHXoz+spiAA+CltbiyMPQXlphMQeBT4NzwfcXNe 5zrD6QJ1B/67l6T7k3mokpHbufj14FRmWXgImYAXocDIv7idRFdQMn6jwyvVDe4IAQgq9H QYGl4gTXcosLExU48DFONoCdXpHhAau1APOI20NsRxeBVgpL8XEgC4OgocPd3w== 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 4P57qp6mJlz18VB; Mon, 30 Jan 2023 13:11:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30UDBo1O074256; Mon, 30 Jan 2023 13:11:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30UDBoQB074255; Mon, 30 Jan 2023 13:11:50 GMT (envelope-from git) Date: Mon, 30 Jan 2023 13:11:50 GMT Message-Id: <202301301311.30UDBoQB074255@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: 9e221f278f09 - main - databases/rubygem-sqlite3: Update to 1.6.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 9e221f278f09a7721a775f0bd6a800e699bc0520 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9e221f278f09a7721a775f0bd6a800e699bc0520 commit 9e221f278f09a7721a775f0bd6a800e699bc0520 Author: Po-Chuan Hsieh AuthorDate: 2023-01-30 12:36:07 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-01-30 13:00:30 +0000 databases/rubygem-sqlite3: Update to 1.6.0 Changes: https://github.com/sparklemotion/sqlite3-ruby/releases --- databases/rubygem-sqlite3/Makefile | 4 +- databases/rubygem-sqlite3/distinfo | 6 +- .../files/patch-ext-sqlite3-extconf.rb | 90 +--------------------- 3 files changed, 6 insertions(+), 94 deletions(-) diff --git a/databases/rubygem-sqlite3/Makefile b/databases/rubygem-sqlite3/Makefile index 167dda1f3b78..452528499a51 100644 --- a/databases/rubygem-sqlite3/Makefile +++ b/databases/rubygem-sqlite3/Makefile @@ -1,5 +1,5 @@ PORTNAME= sqlite3 -PORTVERSION= 1.5.4 +PORTVERSION= 1.6.0 CATEGORIES= databases rubygems MASTER_SITES= RG @@ -14,6 +14,6 @@ LIB_DEPENDS= libsqlite3.so:databases/sqlite3 USES= gem -CONFIGURE_ARGS= --with-sqlite3-dir=${LOCALBASE} +CONFIGURE_ARGS= --enable-system-libraries --with-sqlite3-dir=${LOCALBASE} .include diff --git a/databases/rubygem-sqlite3/distinfo b/databases/rubygem-sqlite3/distinfo index 410055cf8f3f..3e025990f270 100644 --- a/databases/rubygem-sqlite3/distinfo +++ b/databases/rubygem-sqlite3/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669058033 -SHA256 (rubygem/sqlite3-1.5.4.gem) = 5d4f6bed23a629651c965f5107861f11df479d74eeef3a70d6ec702f28112101 -SIZE (rubygem/sqlite3-1.5.4.gem) = 3167744 +TIMESTAMP = 1674590094 +SHA256 (rubygem/sqlite3-1.6.0.gem) = 3d74af62d3cbf51856c4f9acd17e350d1d58c7e9639dbd3d7a38b00acac54438 +SIZE (rubygem/sqlite3-1.6.0.gem) = 3169280 diff --git a/databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb b/databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb index 5b727bf95bf9..a23814fdd850 100644 --- a/databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb +++ b/databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb @@ -1,4 +1,4 @@ ---- ext/sqlite3/extconf.rb.orig 2022-11-27 23:59:11 UTC +--- ext/sqlite3/extconf.rb.orig 2023-01-21 15:48:25 UTC +++ ext/sqlite3/extconf.rb @@ -1,5 +1,4 @@ require "mkmf" @@ -6,91 +6,3 @@ require "yaml" module Sqlite3 -@@ -49,42 +48,6 @@ module Sqlite3 - end - - def configure_packaged_libraries -- minimal_recipe.tap do |recipe| -- recipe.configure_options += ["--enable-shared=no", "--enable-static=yes"] -- ENV.to_h.tap do |env| -- additional_cflags = [ -- "-fPIC", # needed for linking the static library into a shared library -- "-O2", # see https://github.com/sparklemotion/sqlite3-ruby/issues/335 for some benchmarks -- ] -- env["CFLAGS"] = [env["CFLAGS"], additional_cflags].flatten.join(" ") -- recipe.configure_options += env.select { |k,v| ENV_ALLOWLIST.include?(k) } -- .map { |key, value| "#{key}=#{value.strip}" } -- end -- -- unless File.exist?(File.join(recipe.target, recipe.host, recipe.name, recipe.version)) -- recipe.cook -- end -- recipe.activate -- -- # on macos, pkg-config will not return --cflags without this -- ENV["PKG_CONFIG_ALLOW_SYSTEM_CFLAGS"] = "t" -- -- lib_path = File.join(recipe.path, "lib") -- pcfile = File.join(lib_path, "pkgconfig", "sqlite3.pc") -- abort_pkg_config("pkg_config") unless pkg_config(pcfile) -- -- # see https://bugs.ruby-lang.org/issues/18490 -- flags = xpopen(["pkg-config", "--libs", "--static", pcfile], err: [:child, :out], &:read) -- abort_pkg_config("xpopen") unless $?.success? -- flags = flags.split -- -- # see https://github.com/flavorjones/mini_portile/issues/118 -- "-L#{lib_path}".tap do |lib_path_flag| -- flags.prepend(lib_path_flag) unless flags.include?(lib_path_flag) -- end -- -- flags.each { |flag| append_ldflags(flag) } -- end - end - - def configure_extension -@@ -125,15 +88,6 @@ module Sqlite3 - end - - def minimal_recipe -- MiniPortile.new(libname, sqlite3_config[:version]).tap do |recipe| -- if sqlite_source_dir -- recipe.source_directory = sqlite_source_dir -- else -- recipe.files = sqlite3_config[:files] -- recipe.target = File.join(package_root_dir, "ports") -- recipe.patch_files = Dir[File.join(package_root_dir, "patches", "*.patch")].sort -- end -- end - end - - def package_root_dir -@@ -141,12 +95,9 @@ module Sqlite3 - end - - def sqlite3_config -- mini_portile_config[:sqlite3] - end - - def mini_portile_config -- # TODO: once Ruby 2.7 is no longer supported, use symbolize_names: true -- YAML.load_file(File.join(package_root_dir, "dependencies.yml")) - end - - def abort_could_not_find(missing) -@@ -158,7 +109,6 @@ module Sqlite3 - end - - def cross_build? -- enable_config("cross-build") - end - - def sqlite_source_dir -@@ -166,7 +116,6 @@ module Sqlite3 - end - - def download -- minimal_recipe.download - end - - def print_help