Github messages for voidlinux
 help / color / mirror / Atom feed
From: CameronNemo <CameronNemo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: libslirp-4.2.0
Date: Tue, 31 Mar 2020 19:40:17 +0200	[thread overview]
Message-ID: <20200331174017.oXZ5tu7lGOzXMRjPL1w7EQgyL7_D6SjleBruw16WEqY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20335@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 375 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages libslirp
https://github.com/void-linux/void-packages/pull/20335

New package: libslirp-4.2.0
Draft for now, until slirp4netns 1.0 is released.

A patch file from https://github.com/void-linux/void-packages/pull/20335.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libslirp-20335.patch --]
[-- Type: text/x-diff, Size: 3308 bytes --]

From 3cfb3a0bcbf950ac8817ef9da9a7d0c79f76ceb3 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Mon, 23 Mar 2020 19:15:29 -0700
Subject: [PATCH 1/2] New package: libslirp-4.2.0

---
 common/shlibs             |  1 +
 srcpkgs/libslirp-devel    |  1 +
 srcpkgs/libslirp/template | 28 ++++++++++++++++++++++++++++
 3 files changed, 30 insertions(+)
 create mode 120000 srcpkgs/libslirp-devel
 create mode 100644 srcpkgs/libslirp/template

diff --git a/common/shlibs b/common/shlibs
index 6d9745f8467..0943651406d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3855,3 +3855,4 @@ libraven.so.0 budgie-desktop-10.5.1_1
 libbudgie-private.so.0 budgie-desktop-10.5.1_1
 libbudgietheme.so.0 budgie-desktop-10.5.1_1
 libbudgie-plugin.so.0 budgie-desktop-10.5.1_1
+libslirp.so.0 libslirp-4.2.0_1
diff --git a/srcpkgs/libslirp-devel b/srcpkgs/libslirp-devel
new file mode 120000
index 00000000000..069657f0d17
--- /dev/null
+++ b/srcpkgs/libslirp-devel
@@ -0,0 +1 @@
+libslirp
\ No newline at end of file
diff --git a/srcpkgs/libslirp/template b/srcpkgs/libslirp/template
new file mode 100644
index 00000000000..2406dc8010d
--- /dev/null
+++ b/srcpkgs/libslirp/template
@@ -0,0 +1,28 @@
+# Template file for 'libslirp'
+pkgname=libslirp
+version=4.2.0
+revision=1
+wrksrc="libslirp-v${version}"
+build_style=meson
+hostmakedepends="pkg-config"
+makedepends="libglib-devel"
+short_desc="User-mode networking library used by VMs and containers"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="BSD-3-Clause"
+homepage="https://gitlab.freedesktop.org/slirp/libslirp"
+distfiles="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v${version}/libslirp-v${version}.tar.gz"
+checksum=8c088bb60952d18e615962a83bcd4f03fa0988d913bce9457fea9377e72ab9f3
+
+post_install() {
+	vlicense COPYRIGHT
+}
+
+libslirp-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove usr/lib/*.so
+	}
+}

From 1c3ea4e423d9b7ee1bb4d9a7b8d7080ba375bd8c Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Tue, 31 Mar 2020 10:23:02 -0700
Subject: [PATCH 2/2] slirp4netns: update to 1.0.0.

---
 srcpkgs/slirp4netns/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/slirp4netns/template b/srcpkgs/slirp4netns/template
index e40897610a2..ee0842c873b 100644
--- a/srcpkgs/slirp4netns/template
+++ b/srcpkgs/slirp4netns/template
@@ -1,16 +1,16 @@
 # Template file for 'slirp4netns'
 pkgname=slirp4netns
-version=0.4.3
+version=1.0.0
 revision=1
 build_style=gnu-configure
 hostmakedepends="autoconf automake pkg-config"
-makedepends="glib-devel libseccomp-devel libcap-devel"
+makedepends="libslirp-devel libseccomp-devel libcap-devel"
 short_desc="User-mode networking for unprivileged network namespaces"
 maintainer="Cameron Nemo <cnemo@tutanota.com>"
 license="GPL-2.0-only"
 homepage="https://github.com/rootless-containers/slirp4netns"
 distfiles="https://github.com/rootless-containers/slirp4netns/archive/v${version}.tar.gz"
-checksum=d699bc28a031512ed4fe13ca5a812dbc00415a61d7444a41bac2da6b62f9c53a
+checksum=2b4e9b54144485865df29ccf94c2a5309f01e58c66a84e1b1779ec094e0b4be0
 
 pre_configure() {
 	./autogen.sh

  parent reply	other threads:[~2020-03-31 17:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20335@inbox.vuxu.org>
2020-03-31 17:12 ` CameronNemo
2020-03-31 17:40 ` CameronNemo [this message]
2020-04-02 18:12 ` [PR PATCH] [Merged]: slirp4netns: update to 1.0.0 Hoshpak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200331174017.oXZ5tu7lGOzXMRjPL1w7EQgyL7_D6SjleBruw16WEqY@z \
    --to=cameronnemo@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).