public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 0/1] remove the legasy musl profiles
@ 2021-08-12 22:35 William Hubbs
  2021-08-12 22:35 ` [gentoo-dev] [PATCH 1/1] profiles/hardened: " William Hubbs
  2021-08-12 23:28 ` [gentoo-dev] [PATCH 0/1] " Sam James
  0 siblings, 2 replies; 3+ messages in thread
From: William Hubbs @ 2021-08-12 22:35 UTC (permalink / raw
  To: gentoo-dev; +Cc: William Hubbs

I spoke with several people on the #gentoo-hardened channel and no one
knows of any place where these profiles are being used.

I'll apply this patch early on Aug 16 UTC if no one objects.

William Hubbs (1):
  profiles/hardened: remove the legasy musl profiles

 profiles/hardened/linux/musl/eapi               |  1 -
 profiles/hardened/linux/musl/make.defaults      |  5 -----
 profiles/hardened/linux/musl/mips/eapi          |  1 -
 profiles/hardened/linux/musl/mips/mipsel/eapi   |  1 -
 profiles/hardened/linux/musl/mips/mipsel/parent |  2 --
 profiles/hardened/linux/musl/mips/parent        |  2 --
 profiles/hardened/linux/musl/package.use.mask   |  6 ------
 profiles/hardened/linux/musl/use.force          |  8 --------
 profiles/hardened/linux/musl/use.mask           | 17 -----------------
 profiles/profiles.desc                          |  2 --
 10 files changed, 45 deletions(-)
 delete mode 100644 profiles/hardened/linux/musl/eapi
 delete mode 100644 profiles/hardened/linux/musl/make.defaults
 delete mode 100644 profiles/hardened/linux/musl/mips/eapi
 delete mode 100644 profiles/hardened/linux/musl/mips/mipsel/eapi
 delete mode 100644 profiles/hardened/linux/musl/mips/mipsel/parent
 delete mode 100644 profiles/hardened/linux/musl/mips/parent
 delete mode 100644 profiles/hardened/linux/musl/package.use.mask
 delete mode 100644 profiles/hardened/linux/musl/use.force
 delete mode 100644 profiles/hardened/linux/musl/use.mask

-- 
2.31.1



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

* [gentoo-dev] [PATCH 1/1] profiles/hardened: remove the legasy musl profiles
  2021-08-12 22:35 [gentoo-dev] [PATCH 0/1] remove the legasy musl profiles William Hubbs
@ 2021-08-12 22:35 ` William Hubbs
  2021-08-12 23:28 ` [gentoo-dev] [PATCH 0/1] " Sam James
  1 sibling, 0 replies; 3+ messages in thread
From: William Hubbs @ 2021-08-12 22:35 UTC (permalink / raw
  To: gentoo-dev; +Cc: William Hubbs

Signed-off-by: William Hubbs <williamh@gentoo.org>
---
 profiles/hardened/linux/musl/eapi               |  1 -
 profiles/hardened/linux/musl/make.defaults      |  5 -----
 profiles/hardened/linux/musl/mips/eapi          |  1 -
 profiles/hardened/linux/musl/mips/mipsel/eapi   |  1 -
 profiles/hardened/linux/musl/mips/mipsel/parent |  2 --
 profiles/hardened/linux/musl/mips/parent        |  2 --
 profiles/hardened/linux/musl/package.use.mask   |  6 ------
 profiles/hardened/linux/musl/use.force          |  8 --------
 profiles/hardened/linux/musl/use.mask           | 17 -----------------
 profiles/profiles.desc                          |  2 --
 10 files changed, 45 deletions(-)
 delete mode 100644 profiles/hardened/linux/musl/eapi
 delete mode 100644 profiles/hardened/linux/musl/make.defaults
 delete mode 100644 profiles/hardened/linux/musl/mips/eapi
 delete mode 100644 profiles/hardened/linux/musl/mips/mipsel/eapi
 delete mode 100644 profiles/hardened/linux/musl/mips/mipsel/parent
 delete mode 100644 profiles/hardened/linux/musl/mips/parent
 delete mode 100644 profiles/hardened/linux/musl/package.use.mask
 delete mode 100644 profiles/hardened/linux/musl/use.force
 delete mode 100644 profiles/hardened/linux/musl/use.mask

diff --git a/profiles/hardened/linux/musl/eapi b/profiles/hardened/linux/musl/eapi
deleted file mode 100644
index 7ed6ff82de6..00000000000
--- a/profiles/hardened/linux/musl/eapi
+++ /dev/null
@@ -1 +0,0 @@
-5
diff --git a/profiles/hardened/linux/musl/make.defaults b/profiles/hardened/linux/musl/make.defaults
deleted file mode 100644
index 1212f635f54..00000000000
--- a/profiles/hardened/linux/musl/make.defaults
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation.
-# Distributed under the terms of the GNU General Public License v2
-
-USE="${USE} hardened pic -jit -orc"
-BOOTSTRAP_USE="${BOOTSTRAP_USE} hardened pic -jit -orc"
diff --git a/profiles/hardened/linux/musl/mips/eapi b/profiles/hardened/linux/musl/mips/eapi
deleted file mode 100644
index 7ed6ff82de6..00000000000
--- a/profiles/hardened/linux/musl/mips/eapi
+++ /dev/null
@@ -1 +0,0 @@
-5
diff --git a/profiles/hardened/linux/musl/mips/mipsel/eapi b/profiles/hardened/linux/musl/mips/mipsel/eapi
deleted file mode 100644
index 7ed6ff82de6..00000000000
--- a/profiles/hardened/linux/musl/mips/mipsel/eapi
+++ /dev/null
@@ -1 +0,0 @@
-5
diff --git a/profiles/hardened/linux/musl/mips/mipsel/parent b/profiles/hardened/linux/musl/mips/mipsel/parent
deleted file mode 100644
index c3e31b29715..00000000000
--- a/profiles/hardened/linux/musl/mips/mipsel/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-../../../../../default/linux/musl/mips/mipsel
-..
diff --git a/profiles/hardened/linux/musl/mips/parent b/profiles/hardened/linux/musl/mips/parent
deleted file mode 100644
index 506bb45139d..00000000000
--- a/profiles/hardened/linux/musl/mips/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-../../../../default/linux/musl/mips
-..
diff --git a/profiles/hardened/linux/musl/package.use.mask b/profiles/hardened/linux/musl/package.use.mask
deleted file mode 100644
index ce38400b406..00000000000
--- a/profiles/hardened/linux/musl/package.use.mask
+++ /dev/null
@@ -1,6 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation.
-# Distributed under the terms of the GNU General Public License v2
-
-# Matthias Maier <tamiko@genoto.org> (2017-05-11)
-# masked in base, unmask for hardened/musl/
-sys-devel/gcc -pie
diff --git a/profiles/hardened/linux/musl/use.force b/profiles/hardened/linux/musl/use.force
deleted file mode 100644
index e2d7cf05ec5..00000000000
--- a/profiles/hardened/linux/musl/use.force
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation.
-# Distributed under the terms of the GNU General Public License v2
-
-elibc_musl
-
-# Make sure people don't accidentally turn of ssp/pie in important packages.
-pie
-ssp
diff --git a/profiles/hardened/linux/musl/use.mask b/profiles/hardened/linux/musl/use.mask
deleted file mode 100644
index b851b043ca0..00000000000
--- a/profiles/hardened/linux/musl/use.mask
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation.
-# Distributed under the terms of the GNU General Public License v2
-
--elibc_musl
-elibc_uclibc
-elibc_glibc
-
--hardened
-
-# precompiled headers are not compat with ASLR.
-pch
-
-# prelink is masked for hardened
-prelink
-
-# profile are incompatible when linking with pie
-profile
diff --git a/profiles/profiles.desc b/profiles/profiles.desc
index e7e19692b5d..c02a0d23c6c 100644
--- a/profiles/profiles.desc
+++ b/profiles/profiles.desc
@@ -254,9 +254,7 @@ arm		default/linux/arm/17.0/musl/armv7a/hardened		exp
 arm64		default/linux/arm64/17.0/musl				exp
 arm64		default/linux/arm64/17.0/musl/hardened			exp
 mips		default/linux/musl/mips					exp
-mips		hardened/linux/musl/mips				exp
 mips		default/linux/musl/mips/mipsel				exp
-mips		hardened/linux/musl/mips/mipsel				exp
 ppc		default/linux/powerpc/ppc32/17.0/musl			exp
 ppc		default/linux/powerpc/ppc32/17.0/musl/hardened		exp
 x86		default/linux/x86/17.0/musl				exp
-- 
2.31.1



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

* Re: [gentoo-dev] [PATCH 0/1] remove the legasy musl profiles
  2021-08-12 22:35 [gentoo-dev] [PATCH 0/1] remove the legasy musl profiles William Hubbs
  2021-08-12 22:35 ` [gentoo-dev] [PATCH 1/1] profiles/hardened: " William Hubbs
@ 2021-08-12 23:28 ` Sam James
  1 sibling, 0 replies; 3+ messages in thread
From: Sam James @ 2021-08-12 23:28 UTC (permalink / raw
  To: gentoo-dev; +Cc: William Hubbs

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



> On 12 Aug 2021, at 23:35, William Hubbs <williamh@gentoo.org> wrote:
> 
> I spoke with several people on the #gentoo-hardened channel and no one
> knows of any place where these profiles are being used.
> 
> I'll apply this patch early on Aug 16 UTC if no one objects.
> 

I should've thought about this earlier, but ask in #gentoo-releng too
to see if they can check spec files for any mention. I'd ping blueness too.

> William Hubbs (1):
>  profiles/hardened: remove the legasy musl profiles

s/legasy/legacy/.

Could you also do a CI run on GitHub or something to make sure
it doesn't break the tree? Simply pushing a branch will work and I can
create the pull request.

You can run it manually but it's more of a pain:
https://github.com/mgorny/repo-mirror-ci/tree/master/gentoo-ci.

best,
sam


[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

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

end of thread, other threads:[~2021-08-12 23:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-12 22:35 [gentoo-dev] [PATCH 0/1] remove the legasy musl profiles William Hubbs
2021-08-12 22:35 ` [gentoo-dev] [PATCH 1/1] profiles/hardened: " William Hubbs
2021-08-12 23:28 ` [gentoo-dev] [PATCH 0/1] " Sam James

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