* [gentoo-commits] repo/gentoo:master commit in: app-crypt/libmd/files/, app-crypt/libmd/
@ 2021-08-15 21:46 David Seifert
0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2021-08-15 21:46 UTC (permalink / raw
To: gentoo-commits
commit: d7731e1c2660eb3ac74653b43a7e70e01ce6f36d
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 15 21:45:50 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Aug 15 21:45:50 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7731e1c
app-crypt/libmd: Fix broken symlinks
Closes: https://bugs.gentoo.org/803083
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../libmd/files/libmd-1.0.3-out-of-source.patch | 56 ++++++++++++++++++++++
...libmd-1.0.3-r1.ebuild => libmd-1.0.3-r2.ebuild} | 15 ++++--
2 files changed, 67 insertions(+), 4 deletions(-)
diff --git a/app-crypt/libmd/files/libmd-1.0.3-out-of-source.patch b/app-crypt/libmd/files/libmd-1.0.3-out-of-source.patch
new file mode 100644
index 00000000000..77edac0115f
--- /dev/null
+++ b/app-crypt/libmd/files/libmd-1.0.3-out-of-source.patch
@@ -0,0 +1,56 @@
+--- a/man/Makefile.am
++++ b/man/Makefile.am
+@@ -41,7 +41,7 @@
+ $(nil)
+
+ $(md2_FUNCS): md2.3
+- $(LN_S) -f $< $(DESTDIR)$(man3dir)/$@.3
++ cd "$(DESTDIR)$(man3dir)" && $(LN_S) -f md2.3 $@.3
+
+ md4_FUNCS = \
+ MD4Transform \
+@@ -56,7 +56,7 @@
+ $(nil)
+
+ $(md4_FUNCS): md4.3
+- $(LN_S) -f $< $(DESTDIR)$(man3dir)/$@.3
++ cd "$(DESTDIR)$(man3dir)" && $(LN_S) -f md4.3 $@.3
+
+ md5_FUNCS = \
+ MD5Transform \
+@@ -71,7 +71,7 @@
+ $(nil)
+
+ $(md5_FUNCS): md5.3
+- $(LN_S) -f $< $(DESTDIR)$(man3dir)/$@.3
++ cd "$(DESTDIR)$(man3dir)" && $(LN_S) -f md5.3 $@.3
+
+ rmd160_FUNCS = \
+ RMD160Transform \
+@@ -86,7 +86,7 @@
+ $(nil)
+
+ $(rmd160_FUNCS): rmd160.3
+- $(LN_S) -f $< $(DESTDIR)$(man3dir)/$@.3
++ cd "$(DESTDIR)$(man3dir)" && $(LN_S) -f rmd160.3 $@.3
+
+ sha1_FUNCS = \
+ SHA1Transform \
+@@ -101,7 +101,7 @@
+ $(nil)
+
+ $(sha1_FUNCS): sha1.3
+- $(LN_S) -f $< $(DESTDIR)$(man3dir)/$@.3
++ cd "$(DESTDIR)$(man3dir)" && $(LN_S) -f sha1.3 $@.3
+
+ sha2_FUNCS = \
+ SHA256Init \
+@@ -134,7 +134,7 @@
+ $(nil)
+
+ $(sha2_FUNCS): sha2.3
+- $(LN_S) -f $< $(DESTDIR)$(man3dir)/$@.3
++ cd "$(DESTDIR)$(man3dir)" && $(LN_S) -f sha2.3 $@.3
+
+ digest_FUNCS = \
+ $(md2_FUNCS) \
diff --git a/app-crypt/libmd/libmd-1.0.3-r1.ebuild b/app-crypt/libmd/libmd-1.0.3-r2.ebuild
similarity index 71%
rename from app-crypt/libmd/libmd-1.0.3-r1.ebuild
rename to app-crypt/libmd/libmd-1.0.3-r2.ebuild
index b6ab0631326..936aefd8f40 100644
--- a/app-crypt/libmd/libmd-1.0.3-r1.ebuild
+++ b/app-crypt/libmd/libmd-1.0.3-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit multilib-minimal
+inherit autotools multilib-minimal
DESCRIPTION="Message Digest functions from BSD systems"
HOMEPAGE="https://www.hadrons.org/software/libmd/"
@@ -13,11 +13,18 @@ LICENSE="|| ( BSD BSD-2 ISC BEER-WARE public-domain )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+PATCHES=( "${FILESDIR}"/${P}-out-of-source.patch )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
multilib_src_configure() {
ECONF_SOURCE="${S}" econf
}
-multilib_src_install() {
- default
- find "${ED}" -type f -name "*.la" -delete || die
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -type f -name '*.la' -delete || die
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-crypt/libmd/files/, app-crypt/libmd/
@ 2022-01-27 10:07 David Seifert
0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2022-01-27 10:07 UTC (permalink / raw
To: gentoo-commits
commit: a3da198dcd29061496e00d4f8473d8e9f4e32826
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 27 10:07:09 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Jan 27 10:07:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3da198d
app-crypt/libmd: drop 1.0.3-r2
Signed-off-by: David Seifert <soap <AT> gentoo.org>
app-crypt/libmd/Manifest | 1 -
.../libmd/files/libmd-1.0.3-out-of-source.patch | 56 ----------------------
app-crypt/libmd/libmd-1.0.3-r2.ebuild | 30 ------------
3 files changed, 87 deletions(-)
diff --git a/app-crypt/libmd/Manifest b/app-crypt/libmd/Manifest
index 907624d3255f..d757164e6e0d 100644
--- a/app-crypt/libmd/Manifest
+++ b/app-crypt/libmd/Manifest
@@ -1,2 +1 @@
-DIST libmd-1.0.3.tar.xz 258584 BLAKE2B 35b732800a4b0a7b8d0a88eeff5e7e80fe55ab5ed05b7a7a1ffe866e156cc6dc6daca95f865a56297857b10b1bdfc9815b5bf0b198e8284f217498265c08fcc9 SHA512 f4b5a86bea7b9fac9f7f173032ee436d1e7141f760c1a114a785d31644edbf6802fe8193cc4cf3b5c66d38963be919c05055780bdf6bf5a47927690490ff5966
DIST libmd-1.0.4.tar.xz 264472 BLAKE2B ddc2da74635f5cc009c66a58ae82b83e6e0930e18af8a6b0ecec7cbf378246707b493a99fb97d3491d0d626a0d5ef068baea6a3ba2ec311c5a1516ba5b4e2fd5 SHA512 731553ecc5e0e1eb228cced8fccd531fe31fb5c7627ca30013d287e1aeb8222959cf7498fbb7414bbabb967b25d4e8b0edd54fc47f6ccf55fc91087db0725ce3
diff --git a/app-crypt/libmd/files/libmd-1.0.3-out-of-source.patch b/app-crypt/libmd/files/libmd-1.0.3-out-of-source.patch
deleted file mode 100644
index 77edac0115f0..000000000000
--- a/app-crypt/libmd/files/libmd-1.0.3-out-of-source.patch
+++ /dev/null
@@ -1,56 +0,0 @@
---- a/man/Makefile.am
-+++ b/man/Makefile.am
-@@ -41,7 +41,7 @@
- $(nil)
-
- $(md2_FUNCS): md2.3
-- $(LN_S) -f $< $(DESTDIR)$(man3dir)/$@.3
-+ cd "$(DESTDIR)$(man3dir)" && $(LN_S) -f md2.3 $@.3
-
- md4_FUNCS = \
- MD4Transform \
-@@ -56,7 +56,7 @@
- $(nil)
-
- $(md4_FUNCS): md4.3
-- $(LN_S) -f $< $(DESTDIR)$(man3dir)/$@.3
-+ cd "$(DESTDIR)$(man3dir)" && $(LN_S) -f md4.3 $@.3
-
- md5_FUNCS = \
- MD5Transform \
-@@ -71,7 +71,7 @@
- $(nil)
-
- $(md5_FUNCS): md5.3
-- $(LN_S) -f $< $(DESTDIR)$(man3dir)/$@.3
-+ cd "$(DESTDIR)$(man3dir)" && $(LN_S) -f md5.3 $@.3
-
- rmd160_FUNCS = \
- RMD160Transform \
-@@ -86,7 +86,7 @@
- $(nil)
-
- $(rmd160_FUNCS): rmd160.3
-- $(LN_S) -f $< $(DESTDIR)$(man3dir)/$@.3
-+ cd "$(DESTDIR)$(man3dir)" && $(LN_S) -f rmd160.3 $@.3
-
- sha1_FUNCS = \
- SHA1Transform \
-@@ -101,7 +101,7 @@
- $(nil)
-
- $(sha1_FUNCS): sha1.3
-- $(LN_S) -f $< $(DESTDIR)$(man3dir)/$@.3
-+ cd "$(DESTDIR)$(man3dir)" && $(LN_S) -f sha1.3 $@.3
-
- sha2_FUNCS = \
- SHA256Init \
-@@ -134,7 +134,7 @@
- $(nil)
-
- $(sha2_FUNCS): sha2.3
-- $(LN_S) -f $< $(DESTDIR)$(man3dir)/$@.3
-+ cd "$(DESTDIR)$(man3dir)" && $(LN_S) -f sha2.3 $@.3
-
- digest_FUNCS = \
- $(md2_FUNCS) \
diff --git a/app-crypt/libmd/libmd-1.0.3-r2.ebuild b/app-crypt/libmd/libmd-1.0.3-r2.ebuild
deleted file mode 100644
index fc1811f2948b..000000000000
--- a/app-crypt/libmd/libmd-1.0.3-r2.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools multilib-minimal
-
-DESCRIPTION="Message Digest functions from BSD systems"
-HOMEPAGE="https://www.hadrons.org/software/libmd/"
-SRC_URI="https://archive.hadrons.org/software/libmd/${P}.tar.xz"
-
-LICENSE="|| ( BSD BSD-2 ISC BEER-WARE public-domain )"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
-
-PATCHES=( "${FILESDIR}"/${P}-out-of-source.patch )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-multilib_src_configure() {
- ECONF_SOURCE="${S}" econf
-}
-
-multilib_src_install_all() {
- einstalldocs
- find "${ED}" -type f -name '*.la' -delete || die
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-crypt/libmd/files/, app-crypt/libmd/
@ 2023-02-13 4:23 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2023-02-13 4:23 UTC (permalink / raw
To: gentoo-commits
commit: f7a25164f606a8b12dac5f144057d3d53c74f1ad
Author: Violet Purcell <vimproved <AT> inventati <DOT> org>
AuthorDate: Mon Feb 13 04:04:04 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 04:23:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7a25164
app-crypt/libmd: Backport Clang 16 configure fix
Closes: https://bugs.gentoo.org/894010
Signed-off-by: Violet Purcell <vimproved <AT> inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/29565
Signed-off-by: Sam James <sam <AT> gentoo.org>
...x-version-script-linker-support-detection.patch | 38 ++++++++++++++++++++++
app-crypt/libmd/libmd-1.0.4.ebuild | 13 +++++++-
2 files changed, 50 insertions(+), 1 deletion(-)
diff --git a/app-crypt/libmd/files/libmd-1.0.4-fix-version-script-linker-support-detection.patch b/app-crypt/libmd/files/libmd-1.0.4-fix-version-script-linker-support-detection.patch
new file mode 100644
index 000000000000..bcee3a06611f
--- /dev/null
+++ b/app-crypt/libmd/files/libmd-1.0.4-fix-version-script-linker-support-detection.patch
@@ -0,0 +1,38 @@
+From e408786075b9540f76783f5c3ce87f6d1ece13cf Mon Sep 17 00:00:00 2001
+From: Guillem Jover <guillem@hadrons.org>
+Date: Sun, 12 Feb 2023 23:55:09 +0100
+Subject: [PATCH] build: Fix version script linker support detection
+
+When the linker uses --no-undefined-version either specified by the user
+or as the default behavior (such as with newer clang >= 16 releases), a missing symbol definition will cause a linker error if that symbol is
+listed in the version script.
+
+
+Bug: https://bugs.gentoo.org/894010
+Upstream issue: https://gitlab.freedesktop.org/libbsd/libmd/-/issues/1
+Upstream commit: https://gitlab.freedesktop.org/libbsd/libmd/-/commit/e408786075b9540f76783f5c3ce87f6d1ece13cf
+
+---
+ m4/libmd-linker.m4 | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/m4/libmd-linker.m4 b/m4/libmd-linker.m4
+index 7d1236a..3d6edcd 100644
+--- a/m4/libmd-linker.m4
++++ b/m4/libmd-linker.m4
+@@ -8,7 +8,11 @@ AC_DEFUN([LIBMD_LINKER_VERSION_SCRIPT], [
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map"
+ AC_LINK_IFELSE([
+- AC_LANG_PROGRAM([], [])
++ AC_LANG_PROGRAM([[
++extern int symbol(void);
++int symbol(void) { return 0; }
++]], [[
++]])
+ ], [
+ libmd_cv_version_script=yes
+ ], [
+--
+GitLab
+
diff --git a/app-crypt/libmd/libmd-1.0.4.ebuild b/app-crypt/libmd/libmd-1.0.4.ebuild
index 95989a9ac9f9..62869ee7db54 100644
--- a/app-crypt/libmd/libmd-1.0.4.ebuild
+++ b/app-crypt/libmd/libmd-1.0.4.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit multilib-minimal
+inherit autotools multilib-minimal
DESCRIPTION="Message Digest functions from BSD systems"
HOMEPAGE="https://www.hadrons.org/software/libmd/"
@@ -13,6 +13,17 @@ LICENSE="|| ( BSD BSD-2 ISC BEER-WARE public-domain )"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
+PATCHES=(
+ "${FILESDIR}/${P}-fix-version-script-linker-support-detection.patch"
+)
+
+src_prepare() {
+ default
+
+ # Drop on next release, only needed for lld patch
+ eautoreconf
+}
+
multilib_src_configure() {
ECONF_SOURCE="${S}" econf
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-02-13 4:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-27 10:07 [gentoo-commits] repo/gentoo:master commit in: app-crypt/libmd/files/, app-crypt/libmd/ David Seifert
-- strict thread matches above, loose matches on Subject: below --
2023-02-13 4:23 Sam James
2021-08-15 21:46 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox