Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] libbsd-0.11.3
@ 2021-03-15 15:08 Duncaen
  2021-03-30 17:31 ` libbsd-0.11.3 Duncaen
  2021-03-30 17:31 ` [PR PATCH] [Closed]: libbsd-0.11.3 Duncaen
  0 siblings, 2 replies; 3+ messages in thread
From: Duncaen @ 2021-03-15 15:08 UTC (permalink / raw)
  To: ml

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

There is a new pull request by Duncaen against master on the void-packages repository

https://github.com/Duncaen/void-packages libbsd-0.11.3
https://github.com/void-linux/void-packages/pull/29488

libbsd-0.11.3

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR


#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-musl
  - [x] armv7l
  - [x] armv6l-musl

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

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

From 464067508df8a11fdcb92c85ad4461a93216f2ba Mon Sep 17 00:00:00 2001
From: Duncaen <duncaen@voidlinux.org>
Date: Mon, 15 Mar 2021 15:58:06 +0100
Subject: [PATCH 1/2] New package: libmd-1.0.3

---
 common/shlibs          |  1 +
 srcpkgs/libmd-devel    |  1 +
 srcpkgs/libmd/template | 27 +++++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/libmd-devel
 create mode 100644 srcpkgs/libmd/template

diff --git a/common/shlibs b/common/shlibs
index 86567af2ad0f..17e56de016a6 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3966,3 +3966,4 @@ libsimavrparts.so.1 simavr-1.6_2
 libsword-1.8.1.so libsword-1.8.1_6
 libpari-gmp.so.7 pari-2.13.0_1
 libtree-sitter.so.0 tree-sitter-0.19.0_1
+libmd.so.0 libmd-1.0.3_1
diff --git a/srcpkgs/libmd-devel b/srcpkgs/libmd-devel
new file mode 120000
index 000000000000..3bdbe0fc885e
--- /dev/null
+++ b/srcpkgs/libmd-devel
@@ -0,0 +1 @@
+libmd
\ No newline at end of file
diff --git a/srcpkgs/libmd/template b/srcpkgs/libmd/template
new file mode 100644
index 000000000000..6c708785d350
--- /dev/null
+++ b/srcpkgs/libmd/template
@@ -0,0 +1,27 @@
+# Template file for 'libmd'
+pkgname=libmd
+version=1.0.3
+revision=1
+build_style=gnu-configure
+short_desc="Message Digest functions from BSD systems"
+maintainer="Duncaen <duncaen@voidlinux.org>"
+license="BSD-3-Clause, BSD-2-Clause, ISC, Beerware, custom:Public Domain"
+homepage="https://www.hadrons.org/software/libmd/"
+distfiles="https://archive.hadrons.org/software/libmd/libmd-${version}.tar.xz"
+checksum=5a02097f95cc250a3f1001865e4dbba5f1d15554120f95693c0541923c52af4a
+
+post_install() {
+	vlicense COPYING
+}
+
+libmd-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/share
+	}
+}

From fbd8f4289a18fcdae8e984cbff3461b34875e3b4 Mon Sep 17 00:00:00 2001
From: Duncaen <duncaen@voidlinux.org>
Date: Mon, 15 Mar 2021 16:05:46 +0100
Subject: [PATCH 2/2] libbsd: update to 0.11.3.

---
 srcpkgs/libbsd/patches/tests-musl.patch | 18 ++++++++++++++++++
 srcpkgs/libbsd/template                 |  5 +++--
 2 files changed, 21 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/libbsd/patches/tests-musl.patch

diff --git a/srcpkgs/libbsd/patches/tests-musl.patch b/srcpkgs/libbsd/patches/tests-musl.patch
new file mode 100644
index 000000000000..0c0043d0d540
--- /dev/null
+++ b/srcpkgs/libbsd/patches/tests-musl.patch
@@ -0,0 +1,18 @@
+--- test/fpurge.c
++++ test/fpurge.c
+@@ -29,15 +29,11 @@
+ int
+ main()
+ {
+-	static FILE fp_bad;
+ 	FILE *fp;
+ 
+ 	if (fpurge(NULL) == 0)
+ 		return 1;
+ 
+-	if (fpurge(&fp_bad) == 0)
+-		return 1;
+-
+ 	fp = fopen("/dev/zero", "r");
+ 	if (fpurge(fp) < 0)
+ 		return 1;
diff --git a/srcpkgs/libbsd/template b/srcpkgs/libbsd/template
index 19098cb84aaf..aa36c7f4e0cc 100644
--- a/srcpkgs/libbsd/template
+++ b/srcpkgs/libbsd/template
@@ -1,14 +1,15 @@
 # Template file for 'libbsd'
 pkgname=libbsd
-version=0.10.0
+version=0.11.3
 revision=1
 build_style=gnu-configure
+makedepends="libmd-devel"
 short_desc="Provides useful functions commonly found on BSD system"
 maintainer="Duncaen <duncaen@voidlinux.org>"
 license="ISC, MIT, Beerware, BSD-2-Clause, BSD-3-Clause, BSD-4-Clause"
 homepage="https://libbsd.freedesktop.org/"
 distfiles="https://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz"
-checksum=34b8adc726883d0e85b3118fa13605e179a62b31ba51f676136ecb2d0bc1a887
+checksum=ff95cf8184151dacae4247832f8d4ea8800fa127dbd15033ecfe839f285b42a1
 
 post_install() {
 	vlicense COPYING

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libbsd-0.11.3
  2021-03-15 15:08 [PR PATCH] libbsd-0.11.3 Duncaen
@ 2021-03-30 17:31 ` Duncaen
  2021-03-30 17:31 ` [PR PATCH] [Closed]: libbsd-0.11.3 Duncaen
  1 sibling, 0 replies; 3+ messages in thread
From: Duncaen @ 2021-03-30 17:31 UTC (permalink / raw)
  To: ml

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

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/29488#issuecomment-810444739

Comment:
Merged in https://github.com/void-linux/void-packages/commit/db65cc2f583636e0dabbb7ee448d3a66092bade6.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Closed]: libbsd-0.11.3
  2021-03-15 15:08 [PR PATCH] libbsd-0.11.3 Duncaen
  2021-03-30 17:31 ` libbsd-0.11.3 Duncaen
@ 2021-03-30 17:31 ` Duncaen
  1 sibling, 0 replies; 3+ messages in thread
From: Duncaen @ 2021-03-30 17:31 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

libbsd-0.11.3
https://github.com/void-linux/void-packages/pull/29488

Description:

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR


#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-musl
  - [x] armv7l
  - [x] armv6l-musl

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-30 17:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15 15:08 [PR PATCH] libbsd-0.11.3 Duncaen
2021-03-30 17:31 ` libbsd-0.11.3 Duncaen
2021-03-30 17:31 ` [PR PATCH] [Closed]: libbsd-0.11.3 Duncaen

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).