Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moar hardened relax #2210

Merged
merged 3 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions app-misc/sstelfox-dotfiles/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sidhayn@gmail.com</email>
<name>Zero_Chaos</name>
</maintainer>
<upstream>
<remote-id type="github">sstelfox/dotfiles</remote-id>
</upstream>
<use>
<flag name="nvim">Symlink nvim config into skel</flag>
</use>
</pkgmetadata>
26 changes: 26 additions & 0 deletions app-misc/sstelfox-dotfiles/sstelfox-dotfiles-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3

DESCRIPTION="Sam Stelfox's dotfiles"
HOMEPAGE="https://github.com/sstelfox/dotfiles"
EGIT_REPO_URI="https://github.com/sstelfox/dotfiles.git"

LICENSE="MIT"
SLOT="0"
IUSE="nvim"

RDEPEND="nvim? ( app-editors/neovim )"

src_install() {
insinto "/usr/share/${PN}"
doins -r *

if use nvim; then
dodir /etc/skel
ln -s "/usr/share/${PN}/nvim" /etc/skel/nvim || die
fi
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
=app-misc/fslint-2.42 **
app-misc/siglo
app-misc/sstelfox-dotfiles **
app-misc/workrave ~amd64
24 changes: 24 additions & 0 deletions profiles/pentoo/zero-system/profile.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,9 @@ fi
if [[ ${CATEGORY}/${PN} == dev-libs/libfido2 ]]; then
export CFLAGS="${CFLAGS} -fPIC"
fi
if [[ ${CATEGORY}/${PN} == dev-lua/luv ]]; then
export CFLAGS="${CFLAGS} -fPIC"
fi
if [[ ${CATEGORY}/${PN} == dev-libs/libical ]]; then
export CFLAGS="${CFLAGS} -fPIC"
export CXXFLAGS="${CXXFLAGS} -fPIC"
Expand Down Expand Up @@ -1092,6 +1095,24 @@ fi
if [[ ${CATEGORY}/${PN} == media-plugins/gst-plugins-cdparanoia ]]; then
export CFLAGS="${CFLAGS/-fPIE -pie/}"
fi
if [[ ${CATEGORY}/${PN} == dev-lua/mpack ]]; then
export CFLAGS="${CFLAGS/-fPIE -pie/}"
fi
if [[ ${CATEGORY}/${PN} == dev-libs/tree-sitter-vim ]]; then
export CFLAGS="${CFLAGS/-fPIE -pie/}"
fi
if [[ ${CATEGORY}/${PN} == dev-libs/tree-sitter-lua ]]; then
export CFLAGS="${CFLAGS/-fPIE -pie/}"
fi
if [[ ${CATEGORY}/${PN} == dev-libs/tree-sitter-python ]]; then
export CFLAGS="${CFLAGS/-fPIE -pie/}"
fi
if [[ ${CATEGORY}/${PN} == dev-libs/tree-sitter-vimdoc ]]; then
export CFLAGS="${CFLAGS/-fPIE -pie/}"
fi
if [[ ${CATEGORY}/${PN} == dev-libs/tree-sitter-query ]]; then
export CFLAGS="${CFLAGS/-fPIE -pie/}"
fi
if [[ ${CATEGORY}/${PN} == dev-python/pandas ]]; then
export CFLAGS="${CFLAGS/-fPIE -pie/}"
export CXXFLAGS="${CXXFLAGS/-fPIE -pie/}"
Expand Down Expand Up @@ -1333,6 +1354,9 @@ fi
if [[ ${CATEGORY}/${PN} == dev-python/tree-sitter ]]; then
export CFLAGS="${CFLAGS/-fPIE -pie/}"
fi
if [[ ${CATEGORY}/${PN} == dev-libs/msgpack ]]; then
export CFLAGS="${CFLAGS/-fPIE -pie/}"
fi
if [[ ${CATEGORY}/${PN} == dev-python/msgpack ]]; then
export CFLAGS="${CFLAGS/-fPIE -pie/}"
fi
Expand Down
Loading