From: Orfeas Date: Sun, 12 Jul 2026 22:53:39 +0000 (+0300) Subject: profiles: add amd64-server profile X-Git-Url: https://git.orfeas.xyz/?a=commitdiff_plain;p=orf-overlay.git profiles: add amd64-server profile --- diff --git a/profiles/amd64-server/eapi b/profiles/amd64-server/eapi new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/profiles/amd64-server/eapi @@ -0,0 +1 @@ +8 diff --git a/profiles/amd64-server/make.defaults b/profiles/amd64-server/make.defaults new file mode 100644 index 0000000..a639cdc --- /dev/null +++ b/profiles/amd64-server/make.defaults @@ -0,0 +1,59 @@ +#-----# +# CPU # +#-----# +CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2 popcnt" + +#-------------------------------------------------------------------# +# LTO # +# # +# Source: https://wiki.gentoo.org/wiki/LTO#Enabling_LTO_System-wide # +#-------------------------------------------------------------------# +WARNING_FLAGS="-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" +LTO_FLAGS="-flto ${WARNING_FLAGS}" +USE="${USE} lto" + +#-------------------# +# Compilation flags # +#-------------------# +COMMON_FLAGS="-march=x86-64-v3 -O2 -pipe ${LTO_FLAGS}" +RUSTFLAGS="-C target-cpu=x86-64" + +CFLAGS="${COMMON_FLAGS}" +CXXFLAGS="${COMMON_FLAGS}" +FCFLAGS="${COMMON_FLAGS}" +FFLAGS="${COMMON_FLAGS}" + +#--------# +# Gentoo # +#--------# +USE="${USE} dist-kernel bindist" + +#----------# +# Security # +#----------# +USE="${USE} caps filecaps acl -suid -skey" + +#---------------# +# Optimizations # +#---------------# +USE="${USE} orc" + +#-------------# +# Video cards # +#-------------# +VIDEO_CARDS="fbdev amdgpu radeon radeonsi zink" + +#---------------# +# Input Devices # +#---------------# +INPUT_DEVICES="evdev libinput" + +#--------------# +# Localization # +#--------------# +L10N="" + +#----------# +# Licenses # +#----------# +ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE" diff --git a/profiles/amd64-server/package.accept_keywords b/profiles/amd64-server/package.accept_keywords new file mode 100644 index 0000000..49ac07f --- /dev/null +++ b/profiles/amd64-server/package.accept_keywords @@ -0,0 +1,4 @@ +#---------# +# Various # +#---------# +app-misc/keyd ~amd64 diff --git a/profiles/amd64-server/package.use b/profiles/amd64-server/package.use new file mode 100644 index 0000000..0d68c22 --- /dev/null +++ b/profiles/amd64-server/package.use @@ -0,0 +1,36 @@ +#--------# +# Gentoo # +#--------# +sys-apps/portage doc gentoo-dev + +#---------------# +# Kernel & Boot # +#---------------# +sys-kernel/gentoo-kernel savedconfig +sys-kernel/installkernel dracut grub +app-admin/eclean-kernel zstd + +#---------# +# Network # +#---------# +#--- wext are deprecated +net-misc/networkmanager -wext +#--- avahi printer discovery +app-misc/ca-certificates cacert +net-misc/inetutils telnet traceroute whois ftp ftpd + +#-----------# +# Languages # +#-----------# +net-libs/nodejs npm +dev-lang/zig doc +dev-lang/rust system-llvm +dev-debug/gdb debuginfod + +#---------# +# Various # +#---------# +sys-fs/fuse suid +app-admin/sudo offensive +app-admin/doas persist +app-crypt/pinentry -gtk diff --git a/profiles/amd64-server/parent b/profiles/amd64-server/parent new file mode 100644 index 0000000..117f163 --- /dev/null +++ b/profiles/amd64-server/parent @@ -0,0 +1 @@ +gentoo:default/linux/amd64/23.0/no-multilib/hardened diff --git a/profiles/profiles.desc b/profiles/profiles.desc index 0f4075c..cd0b43b 100644 --- a/profiles/profiles.desc +++ b/profiles/profiles.desc @@ -1 +1,2 @@ -amd64 amd64-desktop dev \ No newline at end of file +amd64 amd64-desktop dev +amd64 amd64-server dev