[arch-commits] Commit in facter/repos (6 files)

2019-09-13 Thread Evangelos Foutras via arch-commits
Date: Friday, September 13, 2019 @ 10:21:54
  Author: foutrelis
Revision: 510145

archrelease: copy trunk to community-staging-x86_64

Added:
  facter/repos/community-staging-x86_64/
  facter/repos/community-staging-x86_64/FindUDEV.cmake
(from rev 510144, facter/trunk/FindUDEV.cmake)
  facter/repos/community-staging-x86_64/PKGBUILD
(from rev 510144, facter/trunk/PKGBUILD)
  facter/repos/community-staging-x86_64/fix-shared-libwhereami-detection.patch
(from rev 510144, facter/trunk/fix-shared-libwhereami-detection.patch)
  facter/repos/community-staging-x86_64/rapidjson-1.1-compat.patch
(from rev 510144, facter/trunk/rapidjson-1.1-compat.patch)
  facter/repos/community-staging-x86_64/shared_cpp_hcon.patch
(from rev 510144, facter/trunk/shared_cpp_hcon.patch)

+
 FindUDEV.cmake |   79 ++
 PKGBUILD   |   93 +++
 fix-shared-libwhereami-detection.patch |   13 
 rapidjson-1.1-compat.patch |   60 
 shared_cpp_hcon.patch  |   11 +++
 5 files changed, 256 insertions(+)

Copied: facter/repos/community-staging-x86_64/FindUDEV.cmake (from rev 510144, 
facter/trunk/FindUDEV.cmake)
===
--- community-staging-x86_64/FindUDEV.cmake (rev 0)
+++ community-staging-x86_64/FindUDEV.cmake 2019-09-13 10:21:54 UTC (rev 
510145)
@@ -0,0 +1,79 @@
+##
+# based on https://github.com/rpavlik/cmake-modules/blob/master/Findudev.cmake
+##
+# - try to find the udev library
+#
+# Cache Variables: (probably not for direct use in your scripts)
+#  UDEV_INCLUDE_DIR
+#  UDEV_SOURCE_DIR
+#  UDEV_LIBRARY
+#
+# Non-cache variables you might use in your CMakeLists.txt:
+#  UDEV_FOUND
+#  UDEV_INCLUDE_DIRS
+#  UDEV_LIBRARIES
+#
+# Requires these CMake modules:
+#  FindPackageHandleStandardArgs (known included with CMake >=2.6.2)
+#
+# Original Author:
+# 2014 Kevin M. Godby 
+#
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+set(UDEV_ROOT_DIR
+"${UDEV_ROOT_DIR}"
+   CACHE
+   PATH
+"Directory to search for udev")
+
+find_package(PkgConfig QUIET)
+if(PKG_CONFIG_FOUND)
+   pkg_check_modules(PC_LIBUDEV libudev)
+endif()
+
+find_library(UDEV_LIBRARY
+   NAMES
+   udev
+   PATHS
+   ${PC_LIBUDEV_LIBRARY_DIRS}
+   ${PC_LIBUDEV_LIBDIR}
+   HINTS
+   "${UDEV_ROOT_DIR}"
+   PATH_SUFFIXES
+   lib
+   )
+
+get_filename_component(_libdir "${UDEV_LIBRARY}" PATH)
+
+find_path(UDEV_INCLUDE_DIR
+   NAMES
+   libudev.h
+   PATHS
+   ${PC_LIBUDEV_INCLUDE_DIRS}
+   ${PC_LIBUDEV_INCLUDEDIR}
+   HINTS
+   "${_libdir}"
+   "${_libdir}/.."
+   "${UDEV_ROOT_DIR}"
+   PATH_SUFFIXES
+   include
+   )
+
+include(FindPackageHandleStandardArgs)
+find_package_handle_standard_args(UDEV
+   DEFAULT_MSG
+   UDEV_LIBRARY
+   UDEV_INCLUDE_DIR
+   )
+
+if(UDEV_FOUND)
+   list(APPEND UDEV_LIBRARIES ${UDEV_LIBRARY})
+   list(APPEND UDEV_INCLUDE_DIRS ${UDEV_INCLUDE_DIR})
+   mark_as_advanced(UDEV_ROOT_DIR)
+endif()
+
+mark_as_advanced(UDEV_INCLUDE_DIR
+   UDEV_LIBRARY)

Copied: facter/repos/community-staging-x86_64/PKGBUILD (from rev 510144, 
facter/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-13 10:21:54 UTC (rev 510145)
@@ -0,0 +1,93 @@
+# Maintainer: Christian Rebischke 
+# Maintainer: Thore Bödecker 
+# Contributor: Tim Meusel 
+# Contributor: Jonathan Steel 
+# Contributor: Greg Sutcliffe 
+# Contributor: Hyacinthe Cartiaux 
+# Contributor: Thomas S Hatch 
+# Contributor: Dave Simons 
+# Contributor: Niels Abspoel 
+
+pkgname=facter
+pkgver=3.14.2
+pkgrel=3
+pkgdesc="Collect and display system facts"
+arch=('x86_64')
+url="https://puppetlabs.com/facter";
+license=('APACHE')
+depends=('yaml-cpp' 'boost-libs' 'curl' 'libwhereami' 'libwhereami.so' 
'cpp-hocon' 'libcpp-hocon.so'
+ 'systemd-libs' 'leatherman' 'leatherman_curl.so' 'leatherman_ruby.so' 
'leatherman_execution.so'
+ 'leatherman_file_util.so' 'leatherman_util.so' 
'leatherman_logging.so' 'leatherman_locale.so'
+ 'openssl' 'gcc-libs' 'glibc' 'libutil-linux' 'libblkid.so' 'yaml-cpp')
+makedepends=('boost' 'cmake' 'java-environment>=10' 'ruby' 'python' 
'rapidjson')
+checkdepends=('ruby-bundler' 'ruby-rake' 'ruby-rspec' 'ruby-mocha')
+optdepends=('java-runtime>=8: jruby support'
+'puppet: retrieve puppet facts')
+replaces=('cfacter')
+provides=('libfacter.so')
+source=("https://downloads.puppet.com/facter/facter-${pkgver}.tar.gz"{,.asc}
+'FindUDEV.cmake'
+'fix-shared

[arch-commits] Commit in facter/repos (6 files)

2019-08-14 Thread Levente Polyak via arch-commits
Date: Wednesday, August 14, 2019 @ 09:08:16
  Author: anthraxx
Revision: 499192

archrelease: copy trunk to community-testing-x86_64

Added:
  facter/repos/community-testing-x86_64/
  facter/repos/community-testing-x86_64/FindUDEV.cmake
(from rev 499191, facter/trunk/FindUDEV.cmake)
  facter/repos/community-testing-x86_64/PKGBUILD
(from rev 499191, facter/trunk/PKGBUILD)
  facter/repos/community-testing-x86_64/fix-shared-libwhereami-detection.patch
(from rev 499191, facter/trunk/fix-shared-libwhereami-detection.patch)
  facter/repos/community-testing-x86_64/rapidjson-1.1-compat.patch
(from rev 499191, facter/trunk/rapidjson-1.1-compat.patch)
  facter/repos/community-testing-x86_64/shared_cpp_hcon.patch
(from rev 499191, facter/trunk/shared_cpp_hcon.patch)

+
 FindUDEV.cmake |   79 ++
 PKGBUILD   |   93 +++
 fix-shared-libwhereami-detection.patch |   13 
 rapidjson-1.1-compat.patch |   60 
 shared_cpp_hcon.patch  |   11 +++
 5 files changed, 256 insertions(+)

Copied: facter/repos/community-testing-x86_64/FindUDEV.cmake (from rev 499191, 
facter/trunk/FindUDEV.cmake)
===
--- community-testing-x86_64/FindUDEV.cmake (rev 0)
+++ community-testing-x86_64/FindUDEV.cmake 2019-08-14 09:08:16 UTC (rev 
499192)
@@ -0,0 +1,79 @@
+##
+# based on https://github.com/rpavlik/cmake-modules/blob/master/Findudev.cmake
+##
+# - try to find the udev library
+#
+# Cache Variables: (probably not for direct use in your scripts)
+#  UDEV_INCLUDE_DIR
+#  UDEV_SOURCE_DIR
+#  UDEV_LIBRARY
+#
+# Non-cache variables you might use in your CMakeLists.txt:
+#  UDEV_FOUND
+#  UDEV_INCLUDE_DIRS
+#  UDEV_LIBRARIES
+#
+# Requires these CMake modules:
+#  FindPackageHandleStandardArgs (known included with CMake >=2.6.2)
+#
+# Original Author:
+# 2014 Kevin M. Godby 
+#
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+set(UDEV_ROOT_DIR
+"${UDEV_ROOT_DIR}"
+   CACHE
+   PATH
+"Directory to search for udev")
+
+find_package(PkgConfig QUIET)
+if(PKG_CONFIG_FOUND)
+   pkg_check_modules(PC_LIBUDEV libudev)
+endif()
+
+find_library(UDEV_LIBRARY
+   NAMES
+   udev
+   PATHS
+   ${PC_LIBUDEV_LIBRARY_DIRS}
+   ${PC_LIBUDEV_LIBDIR}
+   HINTS
+   "${UDEV_ROOT_DIR}"
+   PATH_SUFFIXES
+   lib
+   )
+
+get_filename_component(_libdir "${UDEV_LIBRARY}" PATH)
+
+find_path(UDEV_INCLUDE_DIR
+   NAMES
+   libudev.h
+   PATHS
+   ${PC_LIBUDEV_INCLUDE_DIRS}
+   ${PC_LIBUDEV_INCLUDEDIR}
+   HINTS
+   "${_libdir}"
+   "${_libdir}/.."
+   "${UDEV_ROOT_DIR}"
+   PATH_SUFFIXES
+   include
+   )
+
+include(FindPackageHandleStandardArgs)
+find_package_handle_standard_args(UDEV
+   DEFAULT_MSG
+   UDEV_LIBRARY
+   UDEV_INCLUDE_DIR
+   )
+
+if(UDEV_FOUND)
+   list(APPEND UDEV_LIBRARIES ${UDEV_LIBRARY})
+   list(APPEND UDEV_INCLUDE_DIRS ${UDEV_INCLUDE_DIR})
+   mark_as_advanced(UDEV_ROOT_DIR)
+endif()
+
+mark_as_advanced(UDEV_INCLUDE_DIR
+   UDEV_LIBRARY)

Copied: facter/repos/community-testing-x86_64/PKGBUILD (from rev 499191, 
facter/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2019-08-14 09:08:16 UTC (rev 499192)
@@ -0,0 +1,93 @@
+# Maintainer: Christian Rebischke 
+# Maintainer: Thore Bödecker 
+# Contributor: Tim Meusel 
+# Contributor: Jonathan Steel 
+# Contributor: Greg Sutcliffe 
+# Contributor: Hyacinthe Cartiaux 
+# Contributor: Thomas S Hatch 
+# Contributor: Dave Simons 
+# Contributor: Niels Abspoel 
+
+pkgname=facter
+pkgver=3.14.2
+pkgrel=2
+pkgdesc="Collect and display system facts"
+arch=('x86_64')
+url="https://puppetlabs.com/facter";
+license=('APACHE')
+depends=('yaml-cpp' 'boost-libs' 'curl' 'libwhereami' 'libwhereami.so' 
'cpp-hocon' 'libcpp-hocon.so'
+ 'systemd-libs' 'leatherman' 'leatherman_curl.so' 'leatherman_ruby.so' 
'leatherman_execution.so'
+ 'leatherman_file_util.so' 'leatherman_util.so' 
'leatherman_logging.so' 'leatherman_locale.so'
+ 'openssl' 'gcc-libs' 'glibc' 'libutil-linux' 'libblkid.so' 'yaml-cpp')
+makedepends=('boost' 'cmake' 'java-environment>=10' 'ruby' 'python' 
'rapidjson')
+checkdepends=('ruby-bundler' 'ruby-rake' 'ruby-rspec' 'ruby-mocha')
+optdepends=('java-runtime>=8: jruby support'
+'puppet: retrieve puppet facts')
+replaces=('cfacter')
+provides=('libfacter.so')
+source=("https://downloads.puppet.com/facter/facter-${pkgver}.tar.gz"{,.asc}
+'FindUDEV.cmake'
+'fix-shared-

[arch-commits] Commit in facter/repos (6 files)

2017-07-03 Thread Jonathan Steel
Date: Monday, July 3, 2017 @ 08:28:58
  Author: jsteel
Revision: 242118

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  facter/repos/community-testing-i686/
  facter/repos/community-testing-i686/1581.patch
(from rev 242117, facter/trunk/1581.patch)
  facter/repos/community-testing-i686/PKGBUILD
(from rev 242117, facter/trunk/PKGBUILD)
  facter/repos/community-testing-x86_64/
  facter/repos/community-testing-x86_64/1581.patch
(from rev 242117, facter/trunk/1581.patch)
  facter/repos/community-testing-x86_64/PKGBUILD
(from rev 242117, facter/trunk/PKGBUILD)

-+
 community-testing-i686/1581.patch   |   79 ++
 community-testing-i686/PKGBUILD |   52 ++
 community-testing-x86_64/1581.patch |   79 ++
 community-testing-x86_64/PKGBUILD   |   52 ++
 4 files changed, 262 insertions(+)

Copied: facter/repos/community-testing-i686/1581.patch (from rev 242117, 
facter/trunk/1581.patch)
===
--- community-testing-i686/1581.patch   (rev 0)
+++ community-testing-i686/1581.patch   2017-07-03 08:28:58 UTC (rev 242118)
@@ -0,0 +1,79 @@
+From 8d23b66e7463787e5ad037f665a90f54ca570543 Mon Sep 17 00:00:00 2001
+From: Michael Smith 
+Date: Fri, 2 Jun 2017 11:50:40 -0700
+Subject: [PATCH 1/2] (FACT-1588) Fix for OpenSSL 1.1.0
+
+Building with OpenSSL 1.1.0 failed due to a change in const-ness of the
+`BIO_f_base64` return value. Update functions to accept a const value
+when appropriate. Should be backwards compatible with non-const version.
+---
+ lib/inc/internal/util/posix/scoped_bio.hpp | 2 +-
+ lib/src/util/posix/scoped_bio.cc   | 7 +--
+ 2 files changed, 6 insertions(+), 3 deletions(-)
+
+diff --git a/lib/inc/internal/util/posix/scoped_bio.hpp 
b/lib/inc/internal/util/posix/scoped_bio.hpp
+index 5be7f74ae..16639f5f9 100644
+--- a/lib/inc/internal/util/posix/scoped_bio.hpp
 b/lib/inc/internal/util/posix/scoped_bio.hpp
+@@ -19,7 +19,7 @@ namespace facter { namespace util { namespace posix {
+  * Constructs a scoped_bio.
+  * @param method The BIO_METHOD to use.
+  */
+-explicit scoped_bio(BIO_METHOD* method);
++explicit scoped_bio(const BIO_METHOD* method);
+ 
+ /**
+  * Constructs a scoped_bio.
+diff --git a/lib/src/util/posix/scoped_bio.cc 
b/lib/src/util/posix/scoped_bio.cc
+index d6667fc93..cdf25d63e 100644
+--- a/lib/src/util/posix/scoped_bio.cc
 b/lib/src/util/posix/scoped_bio.cc
+@@ -6,8 +6,11 @@ using namespace leatherman::util;
+ 
+ namespace facter { namespace util { namespace posix {
+ 
+-scoped_bio::scoped_bio(BIO_METHOD* method) :
+-scoped_resource(BIO_new(method), free)
++// Remove const-ness before calling BIO_new. This is "unsafe",
++// but in isolation here will not cause issues. Allows the code to work
++// with both OpenSSL 1.0 and 1.1.
++scoped_bio::scoped_bio(const BIO_METHOD* method) :
++scoped_resource(BIO_new(const_cast(method)), free)
+ {
+ }
+ 
+
+From e129c484acd3f72950e3af19aea117d716e0fd20 Mon Sep 17 00:00:00 2001
+From: Michael Smith 
+Date: Fri, 2 Jun 2017 13:01:52 -0700
+Subject: [PATCH 2/2] (maint) Remove unused translation strings
+
+A prior commit simplified the AIX resolver that originated these
+strings. Remove them now that they're no longer used.
+---
+ locales/FACTER.pot | 12 
+ 1 file changed, 12 deletions(-)
+
+diff --git a/locales/FACTER.pot b/locales/FACTER.pot
+index 45b09dfc2..988e5bb9e 100644
+--- a/locales/FACTER.pot
 b/locales/FACTER.pot
+@@ -303,18 +303,6 @@ msgstr ""
+ msgid "querylv returned success but we got a null LV. WTF?"
+ msgstr ""
+ 
+-#. warning
+-#: lib/src/facts/aix/kernel_resolver.cc
+-msgid "oslevel failed: {1}: kernel facts are unavailable"
+-msgstr ""
+-
+-#. warning
+-#: lib/src/facts/aix/kernel_resolver.cc
+-msgid ""
+-"Could not parse rml cache even after regenerating with oslevel: kernel facts 
"
+-"are unavailable. Try running 'oslevel -s' to debug."
+-msgstr ""
+-
+ #: lib/src/facts/aix/networking_resolver.cc
+ msgid "getkerninfo call was unsuccessful"
+ msgstr ""

Copied: facter/repos/community-testing-i686/PKGBUILD (from rev 242117, 
facter/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-07-03 08:28:58 UTC (rev 242118)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Jonathan Steel 
+# Contributor: Greg Sutcliffe 
+# Contributor: Hyacinthe Cartiaux 
+# Contributor: Thomas S Hatch 
+# Contributor: Dave Simons 
+# Contributor: Niels Abspoel 
+
+pkgname=facter
+pkgver=3.7.0
+pkgrel=1
+pkgdesc="Collect and display system facts"
+arch=('i686' 'x86_64')
+url="http://puppetlabs.com/facter";
+license=(

[arch-commits] Commit in facter/repos (6 files)

2015-12-28 Thread Evangelos Foutras
Date: Tuesday, December 29, 2015 @ 01:56:32
  Author: foutrelis
Revision: 154773

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  facter/repos/community-staging-i686/PKGBUILD
(from rev 154772, facter/trunk/PKGBUILD)
  facter/repos/community-staging-i686/ruby23.patch
(from rev 154772, facter/trunk/ruby23.patch)
  facter/repos/community-staging-x86_64/PKGBUILD
(from rev 154772, facter/trunk/PKGBUILD)
  facter/repos/community-staging-x86_64/ruby23.patch
(from rev 154772, facter/trunk/ruby23.patch)
Deleted:
  facter/repos/community-staging-i686/PKGBUILD
  facter/repos/community-staging-x86_64/PKGBUILD

---+
 /PKGBUILD |  108 
 community-staging-i686/PKGBUILD   |   37 --
 community-staging-i686/ruby23.patch   |   90 ++
 community-staging-x86_64/PKGBUILD |   37 --
 community-staging-x86_64/ruby23.patch |   90 ++
 5 files changed, 288 insertions(+), 74 deletions(-)

Deleted: community-staging-i686/PKGBUILD
===
--- community-staging-i686/PKGBUILD 2015-12-29 00:56:24 UTC (rev 154772)
+++ community-staging-i686/PKGBUILD 2015-12-29 00:56:32 UTC (rev 154773)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Steel 
-# Contributor: Greg Sutcliffe 
-# Contributor: Hyacinthe Cartiaux 
-# Contributor: Thomas S Hatch 
-# Contributor: Dave Simons 
-# Contributor: Niels Abspoel 
-
-pkgname=facter
-pkgver=3.1.3
-pkgrel=5
-pkgdesc="Collect and display system facts"
-arch=('i686' 'x86_64')
-url="http://puppetlabs.com/facter";
-license=('APACHE')
-depends=('ruby' 'yaml-cpp' 'boost-libs' 'curl')
-makedepends=('boost' 'cmake' 'java-environment')
-optdepends=('java-environment: jruby support')
-replaces=('cfacter')
-source=(http://downloads.puppetlabs.com/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('0a07f8f88ac8c1f2ed7566a51dc775bc')
-
-build() {
-  cd $pkgname-$pkgver
-
-  JAVA_HOME=/usr/lib/jvm/default cmake -DCMAKE_INSTALL_PREFIX=/usr
-
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  make install DESTDIR="$pkgdir"
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: facter/repos/community-staging-i686/PKGBUILD (from rev 154772, 
facter/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-29 00:56:32 UTC (rev 154773)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Jonathan Steel 
+# Contributor: Greg Sutcliffe 
+# Contributor: Hyacinthe Cartiaux 
+# Contributor: Thomas S Hatch 
+# Contributor: Dave Simons 
+# Contributor: Niels Abspoel 
+
+pkgname=facter
+pkgver=3.1.3
+pkgrel=6
+pkgdesc="Collect and display system facts"
+arch=('i686' 'x86_64')
+url="http://puppetlabs.com/facter";
+license=('APACHE')
+depends=('ruby' 'yaml-cpp' 'boost-libs' 'curl')
+makedepends=('boost' 'cmake' 'java-environment')
+optdepends=('java-environment: jruby support')
+replaces=('cfacter')
+source=(http://downloads.puppetlabs.com/$pkgname/$pkgname-$pkgver.tar.gz
+ruby23.patch)
+md5sums=('0a07f8f88ac8c1f2ed7566a51dc775bc'
+ 'cae82c863a8efe27688b7ef6fc66bc6f')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # Replace rb_data_object_alloc symbol with rb_data_object_wrap
+  # https://tickets.puppetlabs.com/browse/FACT-1291
+  patch -Np1 -i ../ruby23.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  JAVA_HOME=/usr/lib/jvm/default cmake -DCMAKE_INSTALL_PREFIX=/usr
+
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+
+  # TODO: Investigate why tests fail on i686 most of the time with Ruby 2.3.0
+  make test || [[ $CARCH == i686 ]]
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make install DESTDIR="$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: facter/repos/community-staging-i686/ruby23.patch (from rev 154772, 
facter/trunk/ruby23.patch)
===
--- community-staging-i686/ruby23.patch (rev 0)
+++ community-staging-i686/ruby23.patch 2015-12-29 00:56:32 UTC (rev 154773)
@@ -0,0 +1,90 @@
+diff -uprb facter-3.1.3.orig/lib/src/ruby/aggregate_resolution.cc 
facter-3.1.3/lib/src/ruby/aggregate_resolution.cc
+--- facter-3.1.3.orig/lib/src/ruby/aggregate_resolution.cc 2015-11-25 
02:13:58.0 +0200
 facter-3.1.3/lib/src/ruby/aggregate_resolution.cc  2015-12-29 
02:03:30.735361627 +0200
+@@ -138,7 +138,7 @@ namespace facter { namespace ruby {
+ 
+ // Create a resolution and wrap with a Ruby data object
+ unique_ptr r(new aggregate_resolution());
+-VALUE self = r->_self = ruby.rb_data_object_alloc(klass, r.get(), 
mark, free);
++VALUE self = r->_self = ruby.rb_data_object_wrap(klass, r.get(), 
mark, free);
+ rub

[arch-commits] Commit in facter/repos (6 files)

2015-11-03 Thread Jonathan Steel
Date: Tuesday, November 3, 2015 @ 20:47:14
  Author: jsteel
Revision: 145880

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  facter/repos/community-testing-i686/
  facter/repos/community-testing-i686/PKGBUILD
(from rev 145879, facter/trunk/PKGBUILD)
  facter/repos/community-testing-i686/gemspec.in
(from rev 145879, facter/trunk/gemspec.in)
  facter/repos/community-testing-x86_64/
  facter/repos/community-testing-x86_64/PKGBUILD
(from rev 145879, facter/trunk/PKGBUILD)
  facter/repos/community-testing-x86_64/gemspec.in
(from rev 145879, facter/trunk/gemspec.in)

-+
 community-testing-i686/PKGBUILD |   42 ++
 community-testing-i686/gemspec.in   |   21 +
 community-testing-x86_64/PKGBUILD   |   42 ++
 community-testing-x86_64/gemspec.in |   21 +
 4 files changed, 126 insertions(+)

Copied: facter/repos/community-testing-i686/PKGBUILD (from rev 145879, 
facter/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-11-03 19:47:14 UTC (rev 145880)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Jonathan Steel 
+# Contributor: Greg Sutcliffe 
+# Contributor: Hyacinthe Cartiaux 
+# Contributor: Thomas S Hatch 
+# Contributor: Dave Simons 
+# Contributor: Niels Abspoel 
+
+pkgname=facter
+pkgver=3.1.1
+pkgrel=1
+pkgdesc="Collect and display system facts"
+arch=('i686' 'x86_64')
+url="http://puppetlabs.com/facter";
+license=('APACHE')
+depends=('ruby' 'yaml-cpp' 'boost-libs' 'curl')
+makedepends=('boost' 'cmake')
+replaces=('cfacter')
+source=(http://downloads.puppetlabs.com/$pkgname/$pkgname-$pkgver.tar.gz
+gemspec.in)
+md5sums=('2e1e359103b507090e28da1065940a10'
+ '8eb61d40e280c90608c11a0e328abe1e')
+
+prepare() {
+  cp gemspec.in $pkgname-$pkgver/lib/.gemspec.in
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make install DESTDIR="$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: facter/repos/community-testing-i686/gemspec.in (from rev 145879, 
facter/trunk/gemspec.in)
===
--- community-testing-i686/gemspec.in   (rev 0)
+++ community-testing-i686/gemspec.in   2015-11-03 19:47:14 UTC (rev 145880)
@@ -0,0 +1,21 @@
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+  s.name = "facter"
+  version = 
"@LIBFACTER_VERSION_MAJOR@.@LIBFACTER_VERSION_MINOR@.@LIBFACTER_VERSION_PATCH@"
+  mdata = version.match(/(\d+\.\d+\.\d+)/)
+  s.version = mdata ? mdata[1] : version
+
+  s.required_rubygems_version = Gem::Requirement.new(">= 0")
+  s.authors = ["Puppet Labs"]
+  s.date = "2015-10-22"
+  s.description = "You can prove anything with facts!"
+  s.email = "i...@puppetlabs.com"
+  s.files = ["bin/facter"]
+  s.homepage = "https://puppetlabs.com";
+  s.require_paths = ["lib"]
+  s.summary = "Facter, a system inventory tool"
+  s.specification_version = 3
+  s.required_ruby_version = '~> 2.1.7'
+
+end

Copied: facter/repos/community-testing-x86_64/PKGBUILD (from rev 145879, 
facter/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-11-03 19:47:14 UTC (rev 145880)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Jonathan Steel 
+# Contributor: Greg Sutcliffe 
+# Contributor: Hyacinthe Cartiaux 
+# Contributor: Thomas S Hatch 
+# Contributor: Dave Simons 
+# Contributor: Niels Abspoel 
+
+pkgname=facter
+pkgver=3.1.1
+pkgrel=1
+pkgdesc="Collect and display system facts"
+arch=('i686' 'x86_64')
+url="http://puppetlabs.com/facter";
+license=('APACHE')
+depends=('ruby' 'yaml-cpp' 'boost-libs' 'curl')
+makedepends=('boost' 'cmake')
+replaces=('cfacter')
+source=(http://downloads.puppetlabs.com/$pkgname/$pkgname-$pkgver.tar.gz
+gemspec.in)
+md5sums=('2e1e359103b507090e28da1065940a10'
+ '8eb61d40e280c90608c11a0e328abe1e')
+
+prepare() {
+  cp gemspec.in $pkgname-$pkgver/lib/.gemspec.in
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make install DESTDIR="$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: facter/repos/community-testing-x86_64/gemspec.in (from rev 145879, 
facter/trunk/gemspec.in)
===
--- community-testing-x86_64/gemspec.in (rev 0)
+++ community-testing-x86_64/gemspec.in 2015-11-03 19:47:14 UTC (rev 145880)
@@ -0,0 +1,21 @@
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+