public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/oc/
@ 2024-03-21  5:58 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-03-21  5:58 UTC (permalink / raw
  To: gentoo-commits

commit:     ec105e48578ab0964c600fcd6cb09d42e349215e
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 21 05:47:42 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 05:57:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec105e48

sci-libs/oc: mark as LTO-unsafe, strict-aliasing unsafe

Upstream is libdap. They exist. They have lots of maintained software,
it is simply that oc isn't one of them as far as I can tell.

What happened to it? I don't know. Maybe it's legacy abandoned software.
Their distfiles server still has it, but that's it.

Possibly we should delete the package instead...

Closes: https://bugs.gentoo.org/862906
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/oc/oc-2.0.ebuild | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/sci-libs/oc/oc-2.0.ebuild b/sci-libs/oc/oc-2.0.ebuild
index ee688999d5dd..9dd7413b919e 100644
--- a/sci-libs/oc/oc-2.0.ebuild
+++ b/sci-libs/oc/oc-2.0.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit flag-o-matic
+
 DESCRIPTION="Network Data Access Protocol client C library"
 HOMEPAGE="https://opendap.org/"
 SRC_URI="https://opendap.org/pub/OC/source/${P}.tar.gz"
@@ -18,6 +20,15 @@ RDEPEND="net-misc/curl"
 DEPEND="${RDEPEND}"
 
 src_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/862906
+	#
+	# Upstream exists, they just don't seem to mention oc anymore, *anywhere*.
+	#
+	# Do not trust with LTO either.
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	econf --disable-static
 }
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/oc/
@ 2024-03-21  5:58 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-03-21  5:58 UTC (permalink / raw
  To: gentoo-commits

commit:     e1b5811317b003508b5a6e71590145220c70ec62
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 21 05:51:02 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 05:57:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1b58113

sci-libs/oc: update EAPI 7 -> 8

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/oc/{oc-2.0.ebuild => oc-2.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/oc/oc-2.0.ebuild b/sci-libs/oc/oc-2.0-r1.ebuild
similarity index 99%
rename from sci-libs/oc/oc-2.0.ebuild
rename to sci-libs/oc/oc-2.0-r1.ebuild
index 9dd7413b919e..7928f0b41d15 100644
--- a/sci-libs/oc/oc-2.0.ebuild
+++ b/sci-libs/oc/oc-2.0-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit flag-o-matic
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/oc/
@ 2020-06-11 12:25 David Seifert
  0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2020-06-11 12:25 UTC (permalink / raw
  To: gentoo-commits

commit:     a43ac70793602eef8dc693dc3ee6d2f8e90efb17
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu Jun 11 12:25:21 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Jun 11 12:25:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a43ac707

sci-libs/oc: use HTTPS

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/oc/oc-2.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-libs/oc/oc-2.0.ebuild b/sci-libs/oc/oc-2.0.ebuild
index 24434e06661..ee688999d5d 100644
--- a/sci-libs/oc/oc-2.0.ebuild
+++ b/sci-libs/oc/oc-2.0.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 DESCRIPTION="Network Data Access Protocol client C library"
-HOMEPAGE="http://opendap.org/"
-SRC_URI="http://opendap.org/pub/OC/source/${P}.tar.gz"
+HOMEPAGE="https://opendap.org/"
+SRC_URI="https://opendap.org/pub/OC/source/${P}.tar.gz"
 
 LICENSE="LGPL-2"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/oc/
@ 2019-12-13 17:41 David Seifert
  0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2019-12-13 17:41 UTC (permalink / raw
  To: gentoo-commits

commit:     7043fcf71d39c109aafc7a53d0f83344a0d7ad18
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 13 17:40:23 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Dec 13 17:40:23 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7043fcf7

sci-libs/oc: Port to EAPI 7

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/oc/oc-2.0.ebuild | 25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

diff --git a/sci-libs/oc/oc-2.0.ebuild b/sci-libs/oc/oc-2.0.ebuild
index f44b5451489..24434e06661 100644
--- a/sci-libs/oc/oc-2.0.ebuild
+++ b/sci-libs/oc/oc-2.0.ebuild
@@ -1,26 +1,33 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
-inherit autotools-utils
+EAPI=7
 
 DESCRIPTION="Network Data Access Protocol client C library"
 HOMEPAGE="http://opendap.org/"
 SRC_URI="http://opendap.org/pub/OC/source/${P}.tar.gz"
 
 LICENSE="LGPL-2"
-
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc static-libs"
+IUSE="doc"
+# tests need network
+RESTRICT="test"
 
 RDEPEND="net-misc/curl"
 DEPEND="${RDEPEND}"
 
-# tests need network
-#PROPERTIES=network
+src_configure() {
+	econf --disable-static
+}
 
 src_install() {
-	autotools-utils_src_install
-	use doc; dodoc docs/oc*html && dohtml docs/html/*
+	if use doc; then
+		dodoc docs/oc*html
+		HTML_DOCS=( docs/html/. )
+	fi
+	default
+
+	# no static archives
+	find "${D}" -name '*.la' -delete || die
 }


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

end of thread, other threads:[~2024-03-21  5:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-21  5:58 [gentoo-commits] repo/gentoo:master commit in: sci-libs/oc/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-03-21  5:58 Sam James
2020-06-11 12:25 David Seifert
2019-12-13 17:41 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox