]> Projects - orf-overlay.git/commitdiff Test
profiles: add amd64-server profile main
authorOrfeas <redacted>
Sun, 12 Jul 2026 22:53:39 +0000 (01:53 +0300)
committerOrfeas <redacted>
Sun, 12 Jul 2026 22:54:17 +0000 (01:54 +0300)
profiles/amd64-server/eapi [new file with mode: 0644]
profiles/amd64-server/make.defaults [new file with mode: 0644]
profiles/amd64-server/package.accept_keywords [new file with mode: 0644]
profiles/amd64-server/package.use [new file with mode: 0644]
profiles/amd64-server/parent [new file with mode: 0644]
profiles/profiles.desc

diff --git a/profiles/amd64-server/eapi b/profiles/amd64-server/eapi
new file mode 100644 (file)
index 0000000..45a4fb7
--- /dev/null
@@ -0,0 +1 @@
+8
diff --git a/profiles/amd64-server/make.defaults b/profiles/amd64-server/make.defaults
new file mode 100644 (file)
index 0000000..a639cdc
--- /dev/null
@@ -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 (file)
index 0000000..49ac07f
--- /dev/null
@@ -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 (file)
index 0000000..0d68c22
--- /dev/null
@@ -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 (file)
index 0000000..117f163
--- /dev/null
@@ -0,0 +1 @@
+gentoo:default/linux/amd64/23.0/no-multilib/hardened
index 0f4075c3df509154eb3fc2ddad420951c9a4c093..cd0b43b060637be7917aedae6315089fbd20ad5e 100644 (file)
@@ -1 +1,2 @@
-amd64   amd64-desktop   dev
\ No newline at end of file
+amd64   amd64-desktop   dev
+amd64   amd64-server    dev