[arch-commits] Commit in ruby-shadow/repos/community-x86_64 (3 files)

Tim Meusel bastelfreak at gemini.archlinux.org
Thu Dec 2 07:47:45 UTC 2021


    Date: Thursday, December 2, 2021 @ 07:47:45
  Author: bastelfreak
Revision: 1061571

archrelease: copy trunk to community-x86_64

Added:
  ruby-shadow/repos/community-x86_64/PKGBUILD
    (from rev 1061570, ruby-shadow/trunk/PKGBUILD)
Deleted:
  ruby-shadow/repos/community-x86_64/PKGBUILD
  ruby-shadow/repos/community-x86_64/ruby-shadow-2.5.0-cflags.patch

--------------------------------+
 PKGBUILD                       |   73 +++++++++++++++++----------------------
 ruby-shadow-2.5.0-cflags.patch |   16 --------
 2 files changed, 33 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 07:47:38 UTC (rev 1061570)
+++ PKGBUILD	2021-12-02 07:47:45 UTC (rev 1061571)
@@ -1,40 +0,0 @@
-# Maintainer: Tim Meusel <tim at bastelfreak.de>
-# Contributor: Jonathan Steel <jsteel at archlinux.org>
-# Contributor: Greg Sutcliffe <greg.sutcliffe at gmail.com>>
-
-pkgname=ruby-shadow
-pkgver=2.5.0
-pkgrel=7
-pkgdesc="Shadow password module"
-arch=('x86_64')
-url="https://github.com/apalmblad/ruby-shadow"
-license=('CPL')
-depends=('ruby')
-source=($pkgname-$pkgver.tar.gz::https://github.com/apalmblad/$pkgname/archive/$pkgver.tar.gz
-        ruby-shadow-2.5.0-cflags.patch)
-sha512sums=('66cf0405230c0cbc723f17bf016d84b5054be4db5b32bca55ede876b5725c0f8de849c537c6020f38053825f55177bebacd0fdbb20d49110ea8cb2d5b75df9da'
-            '7dfcb925a21a02d42fb595c4dc847e6fe8b952b0bf0a4a31a27ae0b0296bf361ddb6cc5eef745c8bbc93990967f3ea39dfcb448be72d9b835a589f9d28b3eacc')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  # Respect CFLAGS and fix build with Ruby 3.0.0
-  # https://github.com/apalmblad/ruby-shadow/issues/26
-  patch -Np0 -i ../ruby-shadow-2.5.0-cflags.patch
-}
-
-build() {
-  cd $pkgname-$pkgver
-
-  ruby extconf.rb
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  make DESTDIR="$pkgdir"/ sitedir='$(rubylibprefix)/vendor_ruby' \
-    sitehdrdir='$(rubyhdrdir)/vendor_ruby' install
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: ruby-shadow/repos/community-x86_64/PKGBUILD (from rev 1061570, ruby-shadow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 07:47:45 UTC (rev 1061571)
@@ -0,0 +1,33 @@
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+# Contributor: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Greg Sutcliffe <greg.sutcliffe at gmail.com>>
+
+pkgname=ruby-shadow
+pkgver=2.5.1
+pkgrel=1
+pkgdesc="Shadow password module"
+arch=('x86_64')
+url="https://github.com/apalmblad/${pkgname}"
+license=('Unlicense')
+depends=('ruby')
+source=($pkgname-$pkgver.tar.gz::https://github.com/apalmblad/$pkgname/archive/$pkgver.tar.gz)
+sha512sums=('04b73809fe2615b2a4b34b8e08ddce032fc5d7e6d55a93162424db9067e7b7bcb46fb48156ba4cc346a9f8bd0bc54163cdbbdeedb64f43b473269e6bf9e606af')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  ruby extconf.rb
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+
+  make DESTDIR="$pkgdir"/ sitedir='$(rubylibprefix)/vendor_ruby' sitehdrdir='$(rubyhdrdir)/vendor_ruby' install
+
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Deleted: ruby-shadow-2.5.0-cflags.patch
===================================================================
--- ruby-shadow-2.5.0-cflags.patch	2021-12-02 07:47:38 UTC (rev 1061570)
+++ ruby-shadow-2.5.0-cflags.patch	2021-12-02 07:47:45 UTC (rev 1061571)
@@ -1,16 +0,0 @@
---- extconf.rb~	2017-10-05 20:21:59.480315863 +0200
-+++ extconf.rb	2017-10-05 20:23:55.077931560 +0200
-@@ -6,12 +6,7 @@
- 
- require 'mkmf'
- require 'rbconfig'
--
--$CFLAGS = case RUBY_VERSION
--          when /^1\.9/; '-DRUBY19'
--          when /^2\./; '-DRUBY19'
--          else; ''
--          end
-+$CFLAGS = "#{$CFLAGS} -DRUBY19"
- 
- implementation = case CONFIG['host_os']
-                  when /linux/i; 'shadow'



More information about the arch-commits mailing list