diff options
| author | ivan-boikov <ik.boikov.public@protonmail.com> | 2023-12-28 15:22:41 +0100 |
|---|---|---|
| committer | ivan-boikov <ik.boikov.public@protonmail.com> | 2023-12-28 15:22:41 +0100 |
| commit | 1ad99cc0276798031310b710a1b8193d9f64b699 (patch) | |
| tree | a80574003ceefcda55876547dbcce35d1c8bde87 /portage | |
Initial commit
Diffstat (limited to 'portage')
| -rwxr-xr-x | portage/portage/conf-update.d/etckeeper | 32 | ||||
| -rw-r--r-- | portage/portage/env/1core.conf | 1 | ||||
| -rw-r--r-- | portage/portage/env/2cores.conf | 1 | ||||
| -rw-r--r-- | portage/portage/env/4cores.conf | 1 | ||||
| -rw-r--r-- | portage/portage/env/8cores.conf | 1 | ||||
| -rw-r--r-- | portage/portage/env/nodistcc.conf | 1 | ||||
| -rw-r--r-- | portage/portage/env/notmpfs.conf | 1 | ||||
| -rw-r--r-- | portage/portage/make.conf | 38 | ||||
| l--------- | portage/portage/make.profile | 1 | ||||
| -rw-r--r-- | portage/portage/package.accept_keywords | 60 | ||||
| -rw-r--r-- | portage/portage/package.license | 1 | ||||
| -rw-r--r-- | portage/portage/package.mask | 20 | ||||
| -rw-r--r-- | portage/portage/package.unmask | 7 | ||||
| -rw-r--r-- | portage/portage/package.use/00cpu-flags | 1 | ||||
| -rw-r--r-- | portage/portage/package.use/common | 38 | ||||
| -rw-r--r-- | portage/portage/repos.conf/eselect-repo.conf | 36 | ||||
| -rw-r--r-- | portage/portage/sets/ibase | 48 | ||||
| -rw-r--r-- | portage/portage/sets/icommon | 111 | ||||
| -rw-r--r-- | portage/portage/sets/ilaptop | 8 | ||||
| -rw-r--r-- | portage/portage/sets/ipc | 8 | ||||
| -rw-r--r-- | portage/portage/sets/svp | 7 |
21 files changed, 422 insertions, 0 deletions
diff --git a/portage/portage/conf-update.d/etckeeper b/portage/portage/conf-update.d/etckeeper new file mode 100755 index 0000000..d0546c8 --- /dev/null +++ b/portage/portage/conf-update.d/etckeeper @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +set -eu + +# etckeeper hook for portage's conf-update hooks (e.g. invoked by +# dispatch-conf). Requires portage > 3.0.22. + +# Do nothing if etckeeper is not initialized. +if [[ ! -f "/etc/etckeeper/etckeeper.conf" ]]; then + exit +fi + +echo "conf-update.d ${@}" + +case "${1}" in + pre-session) + echo "Commiting uncommited changes before starting a configuration update session" + etckeeper pre-install + ;; + post-session) + echo "Commiting uncommited changes before after finishing a configuration update session" + etckeeper post-install + ;; + post-update) + ACTION=${1} + FILE_PATH=${2} + FILE=$(basename "${FILE_PATH}") + + echo "Commiting changes for ${FILE}" + etckeeper vcs add "${FILE_PATH}" + etckeeper vcs commit -m "${FILE}: ${ACTION} (conf-update.d hook)" + ;; +esac diff --git a/portage/portage/env/1core.conf b/portage/portage/env/1core.conf new file mode 100644 index 0000000..3bd894a --- /dev/null +++ b/portage/portage/env/1core.conf @@ -0,0 +1 @@ +MAKEOPTS="-j1 -l2" diff --git a/portage/portage/env/2cores.conf b/portage/portage/env/2cores.conf new file mode 100644 index 0000000..4122219 --- /dev/null +++ b/portage/portage/env/2cores.conf @@ -0,0 +1 @@ +MAKEOPTS="-j2 -l3" diff --git a/portage/portage/env/4cores.conf b/portage/portage/env/4cores.conf new file mode 100644 index 0000000..73990a5 --- /dev/null +++ b/portage/portage/env/4cores.conf @@ -0,0 +1 @@ +MAKEOPTS="-j4 -l5" diff --git a/portage/portage/env/8cores.conf b/portage/portage/env/8cores.conf new file mode 100644 index 0000000..2ec1ed0 --- /dev/null +++ b/portage/portage/env/8cores.conf @@ -0,0 +1 @@ +MAKEOPTS="-j8 -l9" diff --git a/portage/portage/env/nodistcc.conf b/portage/portage/env/nodistcc.conf new file mode 100644 index 0000000..01ed12b --- /dev/null +++ b/portage/portage/env/nodistcc.conf @@ -0,0 +1 @@ +FEATURES="-distcc" diff --git a/portage/portage/env/notmpfs.conf b/portage/portage/env/notmpfs.conf new file mode 100644 index 0000000..b8a96f4 --- /dev/null +++ b/portage/portage/env/notmpfs.conf @@ -0,0 +1 @@ +PORTAGE_TMPDIR="/var/tmp/notmpfs" diff --git a/portage/portage/make.conf b/portage/portage/make.conf new file mode 100644 index 0000000..14ad846 --- /dev/null +++ b/portage/portage/make.conf @@ -0,0 +1,38 @@ +COMMON_FLAGS="-march=native -O2 -pipe" +CFLAGS="${COMMON_FLAGS}" +CXXFLAGS="${COMMON_FLAGS}" +FCFLAGS="${COMMON_FLAGS}" +FFLAGS="${COMMON_FLAGS}" + +LC_MESSAGES=C + +PORTAGE_NICENESS=19 +PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}" + +EMERGE_DEFAULT_OPTS="--ask --ask-enter-invalid --jobs=6 --load-average=11.9" +MAKEOPTS="-j8" + +FEATURES="nostrip pid-sandbox collision-protect downgrade-backup ipc-sandbox network-sandbox parallel-fetch parallel-install sign" + +ACCEPT_LICENSE="-* @BINARY-REDISTRIBUTABLE" +ACCEPT_KEYWORDS="amd64" + +QEMU_SOFTMMU_TARGETS="arm x86_64" +QEMU_USER_TARGETS="x86_64" + +INPUT_DEVIDES="libinput keyboard wacom" +VIDEO_CARDS="nvidia" + +USE="caps filecaps seccomp verify-sig \ + cjk bash-completion -emacs \ + aac flac mp3 ogg opus \ + apng eps gif jpeg jpeg2k jpegxl webp png postscript tiff \ + djvu epub pdf \ + bzip2 lz4 lzma lzo zip zlib zstd \ + udev dbus lm-sensors \ + X xorg xinerama -wayland elogind \ + opengl vulkan v4l vaapi \ + alsa pipewire -pulseaudio -jack \ + gtk qt5 -kde -gnome -gnome-keyring -gtk-doc \ + -bluetooth -smartcard \ + -systemd -policykit -gstreamer -ldap -networkmanager -cups" diff --git a/portage/portage/make.profile b/portage/portage/make.profile new file mode 120000 index 0000000..da3320a --- /dev/null +++ b/portage/portage/make.profile @@ -0,0 +1 @@ +../../var/db/repos/gentoo/profiles/default/linux/amd64/17.1/hardened/selinux
\ No newline at end of file diff --git a/portage/portage/package.accept_keywords b/portage/portage/package.accept_keywords new file mode 100644 index 0000000..b638dc8 --- /dev/null +++ b/portage/portage/package.accept_keywords @@ -0,0 +1,60 @@ +# unstable stuff from Gentoo repo +# last check: 2023-08-19 +mail-mta/proton-mail-bridge ~amd64 +media-video/droidcam ~amd64 +media-sound/spek ~amd64 +www-plugins/lightspark ~amd64 +sys-boot/mokutil ~amd64 +games-util/joystick ~amd64 +sys-fs/archivemount ~amd64 +sys-fs/jmtpfs ~amd64 +# stable oath-toolkit requires old versions of dev-libs/xmlsec, which is annoying for updates +sys-auth/oath-toolkit ~amd64 + +app-emulation/wine-proton ~amd64 +games-action/multimc-bin ~amd64 + +media-video/mpv::vapoursynth ~amd64 +media-libs/vapoursynth ~amd64 + +www-apps/hugo ~amd64 + +sys-fs/fragview ~amd64 + +app-forensics/lynis ~amd64 + +dev-vcs/git-filter-repo ~amd64 + +# remote control of players +mpv-plugin/mpv-mpris ~amd64 + +# laptop stuff +x11-apps/igt-gpu-tools ~amd64 + + +# GURU +net-p2p/monero ~amd64 +dev-libs/randomx ~amd64 +dev-libs/supercop ~amd64 + +app-misc/dragon ~amd64 + +>=media-sound/ncpamixer-9999 ~amd64 ** + +games-emulation/citra ~amd64 ** + + +# gentoobr +x11-misc/devour ~amd64 + + +# ArchFeh +>=media-sound/pamixer-9999 ** + + +# fem +app-admin/pass-git-helper ~amd64 + + +# ace +games-util/mangohud ~amd64 diff --git a/portage/portage/package.license b/portage/portage/package.license new file mode 100644 index 0000000..6a04a1f --- /dev/null +++ b/portage/portage/package.license @@ -0,0 +1 @@ +media-fonts/mikachan-font-otf free-noncomm diff --git a/portage/portage/package.mask b/portage/portage/package.mask new file mode 100644 index 0000000..ff1e7f7 --- /dev/null +++ b/portage/portage/package.mask @@ -0,0 +1,20 @@ +# obvious overcomplicated crap +sys-auth/polkit +sys-apps/systemd + +# 6.0 and upwards requires systemd +>=www-misc/profile-sync-daemon-6.0 + +# avoiding distcc failures + unneeded recompilation +sys-devel/binutils +sys-devel/gcc +sys-libs/glibc +sys-devel/llvm +sys-devel/llvmgold +sys-devel/clang + +# kinda forgot why +#>=dev-libs/openssl-3.0.10 + +# for SVP +>=dev-qt/qtdeclarative-6.0 diff --git a/portage/portage/package.unmask b/portage/portage/package.unmask new file mode 100644 index 0000000..e289821 --- /dev/null +++ b/portage/portage/package.unmask @@ -0,0 +1,7 @@ +=sys-devel/binutils-2.40-r5 +=sys-devel/gcc-13.2.1_p20230826 +=sys-libs/glibc-2.37-r7 +# llvm and clang must have same version! +=sys-devel/llvm-16.0.6 +=sys-devel/llvmgold-16 +=sys-devel/clang-16.0.6 diff --git a/portage/portage/package.use/00cpu-flags b/portage/portage/package.use/00cpu-flags new file mode 100644 index 0000000..102a85d --- /dev/null +++ b/portage/portage/package.use/00cpu-flags @@ -0,0 +1 @@ +*/* CPU_FLAGS_X86: aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 diff --git a/portage/portage/package.use/common b/portage/portage/package.use/common new file mode 100644 index 0000000..bdde8a3 --- /dev/null +++ b/portage/portage/package.use/common @@ -0,0 +1,38 @@ +app-alternatives/sh dash -bash +app-shells/dash static + +# fuck DRM +www-client/firefox-bin -gmp-autoupdate + +media-video/mpv::vapoursynth vapoursynth + +media-video/ffmpeg x264 x265 + +# VimTex needs synctex to rebuild +app-text/zathura synctex + +mail-client/neomutt notmuch + +media-sound/pulseaudio -daemon +# pipewire-alsa replaces pulseaudio ALSA plugin +# sound-server replaces pulseaudio daemon +media-video/pipewire pipewire-alsa sound-server jack-sdk + +# allows ssh -X +x11-base/xorg-server xcsecurity + +net-fs/samba client + +app-emulation/virt-manager gui +app-emulation/qemu spice usb usbredir + +app-emulation/wine-proton pulseaudio +virtual/wine proton + +sys-libs/zlib minizip + +dev-python/PyQt5 -opengl + +app-misc/nnn gitstatus + +app-text/texlive -cjk l10n_fr diff --git a/portage/portage/repos.conf/eselect-repo.conf b/portage/portage/repos.conf/eselect-repo.conf new file mode 100644 index 0000000..2b1756e --- /dev/null +++ b/portage/portage/repos.conf/eselect-repo.conf @@ -0,0 +1,36 @@ +# created by eselect-repo + +[vapoursynth] +location = /var/db/repos/vapoursynth +sync-type = git +sync-uri = https://github.com/gentoo-mirror/vapoursynth + +[monero] +location = /var/db/repos/monero +sync-type = git +sync-uri = https://github.com/gentoo-mirror/monero.git + +[guru] +location = /var/db/repos/guru +sync-type = git +sync-uri = https://github.com/gentoo-mirror/guru.git + +[gentoobr] +location = /var/db/repos/gentoobr +sync-type = git +sync-uri = https://github.com/gentoo-mirror/gentoobr.git + +[ArchFeh] +location = /var/db/repos/ArchFeh +sync-type = git +sync-uri = https://github.com/gentoo-mirror/ArchFeh.git + +[ace] +location = /var/db/repos/ace +sync-type = git +sync-uri = https://github.com/gentoo-mirror/ace.git + +[fem-overlay] +location = /var/db/repos/fem-overlay +sync-type = git +sync-uri = https://github.com/gentoo-mirror/fem-overlay.git diff --git a/portage/portage/sets/ibase b/portage/portage/sets/ibase new file mode 100644 index 0000000..e89fc23 --- /dev/null +++ b/portage/portage/sets/ibase @@ -0,0 +1,48 @@ +app-admin/stow +app-admin/sudo +app-admin/sysklogd +app-arch/atool +app-arch/p7zip +app-arch/unrar +app-crypt/efitools +app-crypt/sbsigntools +app-crypt/signify +app-editors/nano +app-editors/neovim +app-eselect/eselect-repository +app-misc/nnn +app-portage/eix +app-portage/euses +app-portage/gentoolkit +app-portage/portage-utils +app-text/highlight +dev-vcs/git +net-analyzer/iftop +net-analyzer/nmap +net-analyzer/traceroute +net-dns/bind-tools +net-firewall/ufw +net-fs/cifs-utils +net-misc/chrony +net-misc/iperf +sys-apps/lshw +sys-apps/pciutils +sys-apps/usbutils +sys-boot/efibootmgr +sys-boot/mokutil +sys-devel/distcc +sys-fs/btrfs-progs +sys-fs/cryptsetup +sys-fs/dosfstools +sys-fs/ncdu +sys-kernel/genkernel +sys-kernel/gentoo-sources +sys-kernel/linux-firmware +virtual/cron +sys-process/htop +sys-process/lsof +sys-apps/etckeeper +app-misc/trash-cli +app-shells/bash-completion +dev-python/pip +dev-python/virtualenv diff --git a/portage/portage/sets/icommon b/portage/portage/sets/icommon new file mode 100644 index 0000000..378eee2 --- /dev/null +++ b/portage/portage/sets/icommon @@ -0,0 +1,111 @@ +@ibase + +# latex +app-text/texlive +dev-tex/biblatex +dev-tex/latexmk +dev-tex/glossaries + +# email +mail-client/mutt +mail-mta/opensmtpd +app-misc/abook +net-mail/isync +www-client/w3m + +# others +app-admin/pass +app-admin/pass-git-helper +app-admin/pass-otp +app-backup/borgbackup +app-backup/snapper +app-crypt/pinentry +app-emulation/qemu +app-emulation/virt-manager +app-emulation/winetricks +app-misc/dragon +app-misc/reptyr +app-misc/tmux +app-office/libreoffice-bin +app-portage/cpuid2cpuflags +app-shells/fzf +app-text/pdftk +app-text/xournalpp +app-text/zathura-meta +dev-qt/qtstyleplugins +dev-util/android-tools +dev-util/shellcheck-bin +dev-util/valgrind +games-util/joystick +lxde-base/lxappearance +media-fonts/fontawesome +media-fonts/fonts-meta +media-gfx/gimp +media-gfx/imagemagick +media-gfx/inkscape +media-gfx/maim +media-gfx/sxiv +media-sound/mpc +media-sound/mpd +media-sound/ncmpcpp +media-sound/ncpamixer +media-sound/opus-tools +media-sound/pamixer +media-sound/playerctl +media-sound/shntool +media-sound/spek +media-tv/v4l-utils +media-video/droidcam +media-video/ffmpeg +media-video/libva-utils +media-video/mediainfo +media-video/mpv::vapoursynth +mpv-plugin/mpv-mpris +media-video/pipewire +net-analyzer/iftop +net-fs/curlftpfs +net-fs/samba +net-ftp/lftp +net-im/signal-desktop-bin +net-im/telegram-desktop +net-misc/rclone +net-misc/yt-dlp +net-p2p/monero +net-p2p/syncthing +net-vpn/openvpn +sys-apps/firejail +sys-apps/lm-sensors +sys-apps/smartmontools +sys-block/gparted +sys-fs/archivemount +sys-fs/bees +sys-fs/btrfsmaintenance +sys-fs/compsize +sys-fs/exfatprogs +sys-fs/jmtpfs +sys-fs/simple-mtpfs +sys-fs/fragview +sys-power/cpupower +virtual/jre +virtual/wine +www-client/firefox-bin +x11-base/xorg-server +x11-misc/devour +x11-misc/dmenu +x11-misc/dunst +x11-misc/grabc +x11-misc/redshift +x11-misc/slock +x11-misc/tabbed +x11-misc/unclutter-xfixes +x11-misc/xautolock +x11-misc/xclip +x11-misc/xcompmgr +x11-misc/xdotool +x11-misc/xwallpaper +sys-apps/pv +x11-apps/mesa-progs +x11-apps/setxkbmap +x11-apps/xdpyinfo +x11-apps/xev +x11-drivers/xf86-input-wacom diff --git a/portage/portage/sets/ilaptop b/portage/portage/sets/ilaptop new file mode 100644 index 0000000..6d372da --- /dev/null +++ b/portage/portage/sets/ilaptop @@ -0,0 +1,8 @@ +@icommon + +sys-power/acpilight +x11-apps/igt-gpu-tools +sys-firmware/intel-microcode +net-vpn/networkmanager-openvpn +x11-drivers/xf86-video-intel +media-libs/libva-intel-driver diff --git a/portage/portage/sets/ipc b/portage/portage/sets/ipc new file mode 100644 index 0000000..1c31a89 --- /dev/null +++ b/portage/portage/sets/ipc @@ -0,0 +1,8 @@ +@icommon + +games-action/multimc-bin + +app-emulation/dxvk +app-emulation/vkd3d-proton +dev-util/vulkan-tools +games-util/mangohud::ace diff --git a/portage/portage/sets/svp b/portage/portage/sets/svp new file mode 100644 index 0000000..8005ca8 --- /dev/null +++ b/portage/portage/sets/svp @@ -0,0 +1,7 @@ +dev-qt/qtdeclarative +dev-qt/qtconcurrent +dev-qt/qtsvg +media-libs/vapoursynth +media-video/mediainfo +sys-process/lsof +media-video/mpv::vapoursynth |
