Yoda
[Linux|FreeBSD] - User
Es hat funktioniert!Mein letzter Versuch, komplett alles aus den Ports zu bauen, ist fehl geschlagen.
Jetzt probiere ich eine Methode, die ich mir vor 2 Jahren ausgedacht hatte: Ich hole mir die Pakete aus dem BIN-Repo, die keine speziellen Optionen benötigen und baue nur diejenigen, die ich mit speziellen Optionen haben will.
Bash:> cat /home/sbin/alle_Pakete_installieren_bzw_updaten.sh #!/bin/sh . /home/sbin/alle_Pakete.cfg ( echo "# 1 # portsclean -CDL" portsclean -CDL echo "# 2 # pkg install PKG_REPO_01" pkg install ${PKG_REPO_01} echo "# 3 # portmaster -yKgtRf -U PKG_PORTS_01" portmaster -yKgtRf -U ${PKG_PORTS_01} echo "# 4 # pkg install PKG_REPO_02 BLURAY" pkg install ${PKG_REPO_02} ${BLURAY} echo "# 5 # portmaster -yKgtRf -U PKG_PORTS_02" portmaster -yKgtRf -U ${PKG_PORTS_02} echo "# 6 # portsclean -CDL" portsclean -CDL ) 2>&1 | tee /tmp/alle_Pakete_installieren_bzw_updaten.log
Bash:> cat /home/sbin/alle_Pakete.cfg #==============================================================================# BIND_VERSION="918" APACHE_VERSION="24" PHP_VERSION="81" SAMBA_VERSION="416" POSTGRESQL_VERSION="15" # für die richtige Version, siehe php81-pgsql - Abhängigkeit #==============================================================================# PKG_REPO_01=" devel/git ports-mgmt/pkg ports-mgmt/portmaster ports-mgmt/psearch shells/bash-static editors/vim sysutils/screen misc/mc archivers/rar misc/gnu-watch sysutils/zfsnap converters/base64 converters/unix2dos converters/dosunix ftp/wget ftp/lftp net/rsync net/bmon archivers/zip sysutils/dmidecode sysutils/sysinfo sysutils/smartmontools sysutils/nvme-cli sysutils/hwstat sysutils/freecolor www/squid www/squidanalyzer www/squidview security/sudo security/snoopy security/openssl security/mcrypt sysutils/pwgen sysutils/fusefs-ntfs sysutils/fusefs-ext2 sysutils/e2fsprogs sysutils/eject sysutils/lsblk sysutils/lsop sysutils/lscpu sysutils/bsdstats sysutils/zeroer sysutils/grub2-bhyve sysutils/vm-bhyve sysutils/ipmitool sysutils/pcpustat devel/pkgconf mail/fetchmail mail/fetchmailconf textproc/pdftohtml print/pstotext print/psutils print/ghostscript10 mail/dovecot mail/maildrop net-mgmt/iftop net-mgmt/ipcalc net-mgmt/sipcalc graphics/p5-Image-ExifTool www/p5-LWP-UserAgent-WithCache databases/postgresql${POSTGRESQL_VERSION}-server databases/pgtop net/samba${SAMBA_VERSION} graphics/php${PHP_VERSION}-gd textproc/php${PHP_VERSION}-xml archivers/php${PHP_VERSION}-zip ftp/php${PHP_VERSION}-curl ftp/curl www/links www/nginx www/thttpd lang/php${PHP_VERSION} lang/php${PHP_VERSION}-extensions sysutils/php${PHP_VERSION}-fileinfo databases/php${PHP_VERSION}-pdo_pgsql databases/php${PHP_VERSION}-pgsql net-im/py-matrix-synapse audio/cdparanoia audio/faac audio/vorbis-tools audio/lame textproc/dict textproc/jq net/wol " #==============================================================================# PKG_PORTS_01=" sysutils/lsof sysutils/bsdhwmon sysutils/bsdinfo audio/libsndfile multimedia/ffmpeg multimedia/libdvdread sysutils/cpupdate graphics/ImageMagick7 " #==============================================================================# PKG_REPO_02=" sysutils/dvdbackup sysutils/vobcopy sysutils/dvd+rw-tools security/nmap security/py-acme security/py-certbot security/py-certbot-dns-cloudflare multimedia/mediainfo multimedia/mkvtoolnix " #==============================================================================# BLURAY="emulators/linux-c7 multimedia/makemkv" #==============================================================================# PKG_PORTS_02=" converters/p5-JSON-PP " #==============================================================================#
Mal sehen, ob das ohne Fehler durchläuft...

Einzige Beduingung, ich muß vorher dieses Kommando ausführen:
Code:
for P in $(cd /usr/ports/multimedia/mkvtoolnix && make run-depends-list) /usr/ports/graphics/gd /usr/ports/graphics/ImageMagick7; do cd ${P} && make deinstall; done
Der vollständigkeithalber packe ich hier mal noch meine "/etc/make.conf" mit dazu, sonst sind die Angaben unvollständig:
Code:
WRKDIRPREFIX= /var/ports
DISTDIR= /var/ports/distfiles
PACKAGES= /var/ports/packages
INDEXDIR= /var/ports
BATCH=NO
OPTIONS_UNSET+=DEBUG
DEFAULT_VERSIONS+=ssl=openssl
MAKEOPTS="-j9"
KERNCONF=MYKERNEL
DISABLE_VULNERABILITIES=yes
MAKE_JOBS_UNSAFE=yes
WITH_MPM=event
.if ${.CURDIR:M*/multimedia/ffmpeg}
OPTIONS_FILE_SET+=FDK_AAC
OPTIONS_FILE_SET+=OPENSSL
OPTIONS_FILE_UNSET+=NETWORK
OPTIONS_FILE_UNSET+=GNUTLS
OPTIONS_FILE_UNSET+=GLSLANG
OPTIONS_FILE_UNSET+=LIBPLACEBO
OPTIONS_FILE_UNSET+=SHADERC
OPTIONS_FILE_UNSET+=VULKAN
.endif
.if ${.CURDIR:M*/graphics/libglvnd}
OPTIONS_FILE_SET+=X11
.endif
.if ${.CURDIR:M*/multimedia/mkvtoolnix}
OPTIONS_FILE_SET+=DVDREAD
OPTIONS_FILE_SET+=FLAC
.endif
.if ${.CURDIR:M*/editors/mg}
FLAVOR=static
.endif
.if ${.CURDIR:M*/security/su-exec}
FLAVOR=static
.endif
.if ${.CURDIR:M*/shells/oksh}
FLAVOR=static
.endif
.if ${.CURDIR:M*/games/stonesoup}
FLAVOR=console
.endif
.if ${.CURDIR:M*/games/cataclysm-dda}
FLAVOR=curses
.endif
.if ${.CURDIR:M*/net-p2p/transmission-components}
FLAVOR=cli
.endif
.if ${.CURDIR:M*/sysutils/cpu-x}
FLAVOR=ncurses
.endif
.if ${.CURDIR:M*/editors/emacs-devel}
FLAVOR=nox
.endif
.if ${.CURDIR:M*/editors/emacs}
FLAVOR=nox
.endif
.if ${.CURDIR:M*/emulators/open-vm-tools}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/emulators/qemu7}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/emulators/qemu}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/games/brogue}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/games/xnethack}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/graphics/ImageMagick7}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/graphics/gifsicle}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/graphics/ImageMagick6}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/lang/nll}
FLAVOR=nosdl
.endif
.if ${.CURDIR:M*/misc/chatgpt-shell-cli}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/net/unison232}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/net/unison251}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/net/unison248}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/net/unison240}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/net/unison}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/net/wireshark}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/net-p2p/qbittorrent}
FLAVOR=nox
.endif
.if ${.CURDIR:M*/sysutils/pwsafe}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/sysutils/dvdisaster}
FLAVOR=nox11
.endif
.if ${.CURDIR:M*/sysutils/screenfetch}
FLAVOR=nox11
.endif
Dann geht es!
