aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-29 15:37:31 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-29 15:37:31 +0000
commitefdab9ed39ced204d44eefdbf3fc9cc9a783346e (patch)
tree41bda0762e5f5755f2f4157e814f323af5953aac
parent48d5a7ed5a1c66335aab51298699f1199313f89b (diff)
parent518f1f71e27f1ba75e94d9282f01e76bb6a9f436 (diff)
downloadaports-efdab9ed39ced204d44eefdbf3fc9cc9a783346e.tar.bz2
aports-efdab9ed39ced204d44eefdbf3fc9cc9a783346e.tar.xz
Merge git://dev.alpinelinux.org/aports
-rw-r--r--main/libassuan/APKBUILD4
-rw-r--r--main/libc0.9.32/APKBUILD4
-rw-r--r--main/libvirt/APKBUILD21
-rw-r--r--main/libvirt/libvirt-0.10.2-legacy-xen-driver.patch66
-rw-r--r--main/libvirt/libvirt-0.10.2-support-xen-sysctl-v9.patch34
-rw-r--r--main/libvirt/libvirt-1.0.0-uclibc-mkostemp.patch14
-rw-r--r--testing/ruby-shoulda-context/APKBUILD35
-rw-r--r--testing/ruby-shoulda-matchers/APKBUILD35
-rw-r--r--testing/ruby-shoulda/APKBUILD2
-rw-r--r--testing/ruby-unicorn/APKBUILD2
10 files changed, 101 insertions, 116 deletions
diff --git a/main/libassuan/APKBUILD b/main/libassuan/APKBUILD
index 4276350378..ec15d6eb9b 100644
--- a/main/libassuan/APKBUILD
+++ b/main/libassuan/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libassuan
pkgver=2.0.3
-pkgrel=0
+pkgrel=1
pkgdesc="A IPC library used by some GnuPG related software"
url="ftp://ftp.gnupg.org/gcrypt/libgcrypt"
arch="all"
license="LGPL2+"
depends=
-makedepends="pth-dev libgpg-error-dev"
+makedepends="libgpg-error-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2"
diff --git a/main/libc0.9.32/APKBUILD b/main/libc0.9.32/APKBUILD
index 855b4a5fbf..928e8a3aa9 100644
--- a/main/libc0.9.32/APKBUILD
+++ b/main/libc0.9.32/APKBUILD
@@ -52,7 +52,6 @@ librt-re-add-SIGCANCEL-to-the-list-of-blocked-signal-in-helper-thread.patch
0009-sys-quota.h-sync-with-glibc.patch
- 0001-libc-sysdeps-get-make-set-swap-context-for-i386.patch
0002-libc-sysdeps-add-get-make-set-swap-context-for-x86_6.patch
uclibcconfig.x86
@@ -63,6 +62,8 @@ librt-re-add-SIGCANCEL-to-the-list-of-blocked-signal-in-helper-thread.patch
uclibc-utils.trigger
"
+# 0001-libc-sysdeps-get-make-set-swap-context-for-i386.patch
+
_config="$srcdir"/uclibcconfig.${CARCH}
_builddir="$srcdir"/uClibc-${_ver}
@@ -189,7 +190,6 @@ f059f5e437ed4fe1b6973dd08972e583 0003-pread-pwrite-drop-fallback-funcs.patch
32544dc16cc1b4845484535bf758a4b1 0005-pread_write.c-make-all-archs-use-common-code.patch
73037bc978897e20ae2fc531759443eb 0006-endian.h-add-some-handy-macros-to-be-used-in-syscall.patch
f41ab6cf22545d2e629d4c7107ac6f85 0009-sys-quota.h-sync-with-glibc.patch
-db664a396c5df26e1c6d504e8b09df4b 0001-libc-sysdeps-get-make-set-swap-context-for-i386.patch
da043a65003ac29ca8b96f416e7752ee 0002-libc-sysdeps-add-get-make-set-swap-context-for-x86_6.patch
ce8a33a31f5a53031fbad8b1d1b66d44 uclibcconfig.x86
e861a17baa541accf4d4d39a98d74c32 uclibcconfig.x86_64
diff --git a/main/libvirt/APKBUILD b/main/libvirt/APKBUILD
index c3f24fa368..7d7579c7eb 100644
--- a/main/libvirt/APKBUILD
+++ b/main/libvirt/APKBUILD
@@ -1,7 +1,10 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=libvirt
-pkgver=0.10.2
-pkgrel=5
+vmajor="1.0.0"
+vminor="rc2"
+pkgver="${vmajor}_${vminor}"
+_ver="${pkgver/_rc/-rc}"
+pkgrel=0
pkgdesc="A virtualization API for several hypervisor and container systems"
url="http://libvirt.org/"
arch="all"
@@ -15,15 +18,14 @@ makedepends="augeas-dev bridge-utils cyrus-sasl-dev device-mapper
install=
subpackages="$pkgname-client $pkgname-daemon $pkgname-dev $pkgname-doc $pkgname-lang
$pkgname-lxc $pkgname-qemu $pkgname-xen $pkgname-uml"
-source="http://libvirt.org/sources/$pkgname-$pkgver.tar.gz
+source="http://libvirt.org/sources/$pkgname-$_ver.tar.gz
libvirt.confd
libvirt.initd
- libvirt-0.10.2-legacy-xen-driver.patch
- libvirt-0.10.2-support-xen-sysctl-v9.patch
uclibc-physmem.patch
+ libvirt-1.0.0-uclibc-mkostemp.patch
"
-_builddir="$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir"/$pkgname-$vmajor
prepare() {
cd "$_builddir"
@@ -123,9 +125,8 @@ uml() {
_mv_driver uml
}
-md5sums="a5e50860d9da238ba270b528411c4a0d libvirt-0.10.2.tar.gz
+md5sums="77555217fc96423fa2c9fc4dbeb1febf libvirt-1.0.0-rc2.tar.gz
1c84a7baeafe0a7f4e9d7ae5180311b7 libvirt.confd
d897df38c7e7fa1a297aa551108633c9 libvirt.initd
-31c0c6ca4fe85bd1cfc00756ec47ea06 libvirt-0.10.2-legacy-xen-driver.patch
-e259b3e5b7257c9301a36186b748195b libvirt-0.10.2-support-xen-sysctl-v9.patch
-df9cbfaf8a6e520a4822914a300add4d uclibc-physmem.patch"
+df9cbfaf8a6e520a4822914a300add4d uclibc-physmem.patch
+39d0534c4e24baace260ceb6d8271ab7 libvirt-1.0.0-uclibc-mkostemp.patch"
diff --git a/main/libvirt/libvirt-0.10.2-legacy-xen-driver.patch b/main/libvirt/libvirt-0.10.2-legacy-xen-driver.patch
deleted file mode 100644
index caf17aa793..0000000000
--- a/main/libvirt/libvirt-0.10.2-legacy-xen-driver.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From: Jim Fehlig <jfehlig@suse.com>
-Date: Wed, 26 Sep 2012 21:20:35 +0000 (-0600)
-Subject: Fix compilation of legacy xen driver with Xen 4.2
-X-Git-Url: http://libvirt.org/git/?p=libvirt.git;a=commitdiff_plain;h=416eca189b1934cfa8575ab72d142ec77600fcf9
-
-Fix compilation of legacy xen driver with Xen 4.2
-
-In Xen 4.2, xs.h is deprecated in favor of xenstore.h. xs.h now
-contains
-
-#warning xs.h is deprecated use xenstore.h instead
-#include <xenstore.h>
-
-which fails compilation when warnings are treated as errors.
-
-Introduce a configure-time check for xenstore.h and if found,
-use it instead of xs.h.
----
-
-diff --git a/configure.ac b/configure.ac
-index 38d94d4..ae26de7 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -768,6 +768,8 @@ if test "$with_xen" != "no" ; then
- fi
-
- if test "$with_xen" != "no" ; then
-+ dnl In Xen 4.2, xs.h is deprecated in favor of xenstore.h.
-+ AC_CHECK_HEADERS([xenstore.h])
- AC_CHECK_HEADERS([xen/xen.h xen/version.h xen/dom0_ops.h],,[
- if test "$with_xen" = "yes"; then
- fail=1
-diff --git a/src/xen/block_stats.c b/src/xen/block_stats.c
-index f3b756a..5ab1ce4 100644
---- a/src/xen/block_stats.c
-+++ b/src/xen/block_stats.c
-@@ -32,7 +32,11 @@
- # include <unistd.h>
- # include <regex.h>
-
--# include <xs.h>
-+# if HAVE_XENSTORE_H
-+# include <xenstore.h>
-+# else
-+# include <xs.h>
-+# endif
-
- # include "virterror_internal.h"
- # include "datatypes.h"
-diff --git a/src/xen/xs_internal.c b/src/xen/xs_internal.c
-index 12efa0c..a91d409 100644
---- a/src/xen/xs_internal.c
-+++ b/src/xen/xs_internal.c
-@@ -35,7 +35,11 @@
- #include <xen/dom0_ops.h>
- #include <xen/version.h>
-
--#include <xs.h>
-+#if HAVE_XENSTORE_H
-+# include <xenstore.h>
-+#else
-+# include <xs.h>
-+#endif
-
- #include "virterror_internal.h"
- #include "datatypes.h"
diff --git a/main/libvirt/libvirt-0.10.2-support-xen-sysctl-v9.patch b/main/libvirt/libvirt-0.10.2-support-xen-sysctl-v9.patch
deleted file mode 100644
index 2270075b5d..0000000000
--- a/main/libvirt/libvirt-0.10.2-support-xen-sysctl-v9.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From: Jim Fehlig <jfehlig@suse.com>
-Date: Wed, 26 Sep 2012 16:34:17 +0000 (-0600)
-Subject: Support Xen sysctl version 9 in Xen 4.2
-X-Git-Url: http://libvirt.org/git/?p=libvirt.git;a=commitdiff_plain;h=371ddc98664cbbd8542593e5452115ea7918dae2
-
-Support Xen sysctl version 9 in Xen 4.2
-
-Xen upstream c/s 24102:dc8e55c9 bumped the sysctl version to 9.
-Support this sysctl version in the xen_hypervisor sub-driver.
----
-
-diff --git a/src/xen/xen_hypervisor.c b/src/xen/xen_hypervisor.c
-index fdc3071..3244bbd 100644
---- a/src/xen/xen_hypervisor.c
-+++ b/src/xen/xen_hypervisor.c
-@@ -2164,6 +2164,18 @@ xenHypervisorInit(struct xenHypervisorVersions *override_versions)
- goto done;
- }
-
-+ /* Xen 4.2
-+ * sysctl version 9 -> xen-unstable c/s 24102:dc8e55c90604
-+ * domctl version 8 -> unchanged from Xen 4.1
-+ */
-+ hv_versions.sys_interface = 9; /* XEN_SYSCTL_INTERFACE_VERSION */
-+ if (virXen_getdomaininfo(fd, 0, &info) == 1) {
-+ hv_versions.dom_interface = 8; /* XEN_DOMCTL_INTERFACE_VERSION */
-+ if (virXen_getvcpusinfo(fd, 0, 0, ipt, NULL, 0) == 0){
-+ VIR_DEBUG("Using hypervisor call v2, sys ver9 dom ver8");
-+ goto done;
-+ }
-+ }
-
- /*
- * we failed to make the getdomaininfolist hypercall
diff --git a/main/libvirt/libvirt-1.0.0-uclibc-mkostemp.patch b/main/libvirt/libvirt-1.0.0-uclibc-mkostemp.patch
new file mode 100644
index 0000000000..98fc07b6cf
--- /dev/null
+++ b/main/libvirt/libvirt-1.0.0-uclibc-mkostemp.patch
@@ -0,0 +1,14 @@
+--- a/src/util/logging.c
++++ b/src/util/logging.c
+@@ -58,6 +58,11 @@
+
+ #define VIR_FROM_THIS VIR_FROM_NONE
+
++#ifdef __UCLIBC__
++/* uclibc does not implement mkostemp GNU extention */
++#define mkostemp(x,y) mkstemp(x)
++#endif
++
+ VIR_ENUM_DECL(virLogSource)
+ VIR_ENUM_IMPL(virLogSource, VIR_LOG_FROM_LAST,
+ "file",
diff --git a/testing/ruby-shoulda-context/APKBUILD b/testing/ruby-shoulda-context/APKBUILD
new file mode 100644
index 0000000000..4c4190990e
--- /dev/null
+++ b/testing/ruby-shoulda-context/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+_gemname=shoulda-context
+pkgname=ruby-shoulda-context
+pkgver=1.0.1
+pkgrel=0
+pkgdesc="Context framework extracted from Shoulda"
+url="https://github.com/thoughtbot/shoulda"
+arch="noarch"
+license="MIT"
+depends="ruby"
+depends_dev=
+makedepends="$depends_dev ruby-gems"
+install=""
+subpackages=""
+source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
+
+_builddir="$srcdir"/$_realname-$pkgver
+build() {
+ return 0
+}
+
+package() {
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ local _geminstdir=$_gemdir/gems/$_gemname-$pkgver
+ mkdir -p "$pkgdir" || return 1
+
+ gem install --local --install-dir "$pkgdir"/$_gemdir \
+ --ignore-dependencies --verbose --no-rdoc --no-ri \
+ "$srcdir"/$_gemname-$pkgver.gem || return 1
+ rm -rf "$pkgdir"/$_gemdir/cache \
+ "$pkgdir"/$_geminstdir/ext \
+ "$pkgdir"/$_geminstdir/.require_paths
+}
+
+md5sums="f7c0aaf97f462336cb0136635a679c4b shoulda-context-1.0.1.gem"
diff --git a/testing/ruby-shoulda-matchers/APKBUILD b/testing/ruby-shoulda-matchers/APKBUILD
new file mode 100644
index 0000000000..7f33b124e7
--- /dev/null
+++ b/testing/ruby-shoulda-matchers/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+_gemname=shoulda-matchers
+pkgname=ruby-shoulda-matchers
+pkgver=1.4.1
+pkgrel=0
+pkgdesc="Making tests easy on the fingers and eyes"
+url="https://github.com/thoughtbot/shoulda"
+arch="noarch"
+license="MIT"
+depends="ruby ruby-activesupport"
+depends_dev=
+makedepends="$depends_dev ruby-gems"
+install=""
+subpackages=""
+source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
+
+_builddir="$srcdir"/$_realname-$pkgver
+build() {
+ return 0
+}
+
+package() {
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ local _geminstdir=$_gemdir/gems/$_gemname-$pkgver
+ mkdir -p "$pkgdir" || return 1
+
+ gem install --local --install-dir "$pkgdir"/$_gemdir \
+ --ignore-dependencies --verbose --no-rdoc --no-ri \
+ "$srcdir"/$_gemname-$pkgver.gem || return 1
+ rm -rf "$pkgdir"/$_gemdir/cache \
+ "$pkgdir"/$_geminstdir/ext \
+ "$pkgdir"/$_geminstdir/.require_paths
+}
+
+md5sums="03f66e5f1d2c76df58e1fd2dcc778454 shoulda-matchers-1.4.1.gem"
diff --git a/testing/ruby-shoulda/APKBUILD b/testing/ruby-shoulda/APKBUILD
index c80e35cf89..97738c3549 100644
--- a/testing/ruby-shoulda/APKBUILD
+++ b/testing/ruby-shoulda/APKBUILD
@@ -2,7 +2,7 @@
_gemname=shoulda
pkgname=ruby-shoulda
pkgver=2.11.0
-pkgrel=0
+pkgrel=0
pkgdesc="Making tests easy on the fingers and eyes"
url="https://github.com/thoughtbot/shoulda"
arch="noarch"
diff --git a/testing/ruby-unicorn/APKBUILD b/testing/ruby-unicorn/APKBUILD
index 39410eb087..d319016938 100644
--- a/testing/ruby-unicorn/APKBUILD
+++ b/testing/ruby-unicorn/APKBUILD
@@ -2,7 +2,7 @@
_gemname=unicorn
pkgname=ruby-unicorn
pkgver=4.4.0
-pkgrel=0
+pkgrel=1
pkgdesc="Unicorn is an HTTP server for Rack applications"
url="http://unicorn.bogomips.org"
arch="all"