diff --git a/srcpkgs/base-system/template b/srcpkgs/base-system/template index 3e7b508..e73c0c9 100644 --- a/srcpkgs/base-system/template +++ b/srcpkgs/base-system/template @@ -1,7 +1,7 @@ # Template file for 'base-system' pkgname=base-system -version=0.114 -revision=7 +version=0.115 +revision=1 bootstrap=yes build_style=meta short_desc="EvolutionOS base system meta package" @@ -11,10 +11,10 @@ homepage="https://hectabit.org/evolutionos" depends=" base-files busybox-evolution - mdocml>=1.13.3 shadow + mdocml>=1.13.3 shadow eudev procps-ng tzdata iana-etc dhcpcd - iwd xbps wifi-firmware - dinit removed-packages + iwd kmod xbps wifi-firmware + dinit removed-packages dinit-services evolution-patches booster-evolution" case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/base-voidstrap/template b/srcpkgs/base-voidstrap/template deleted file mode 100644 index 5215ad2..0000000 --- a/srcpkgs/base-voidstrap/template +++ /dev/null @@ -1,21 +0,0 @@ -# Template file for 'base-voidstrap' -pkgname=base-voidstrap -version=0.11 -revision=1 -build_style=meta -short_desc="Void Linux base system meta package for containers/chroots" -maintainer="Enno Boland " -license="Public Domain" -homepage="https://www.voidlinux.org/" - -depends=" - base-files ncurses coreutils busybox-core - bash file less util-linux man-pages - mdocml>=1.13.3 shadow e2fsprogs btrfs-progs xfsprogs dosfstools kbd - procps-ng iana-etc eudev runit-void openssh dhcpcd - iproute2 iputils xbps kmod removed-packages" - -case "$XBPS_TARGET_MACHINE" in - *-musl) depends+=" musl";; - *) depends+=" glibc-locales";; -esac diff --git a/srcpkgs/booster-evolution/template b/srcpkgs/booster-evolution/template index b393c60..8e0a400 100644 --- a/srcpkgs/booster-evolution/template +++ b/srcpkgs/booster-evolution/template @@ -1,7 +1,7 @@ # Template file for 'booster-evolution' pkgname=booster-evolution version=0.11 -revision=1 +revision=2 build_style=go go_import_path=github.com/anatol/booster hostmakedepends="git ruby-ronn" @@ -9,9 +9,9 @@ short_desc="Fast and secure initramfs generator" maintainer="Tracker-Friendly " license="MIT" homepage="https://github.com/anatol/booster" +conf_files="/etc/booster.yaml" distfiles="https://github.com/anatol/booster/archive/${version}.tar.gz" checksum=2f111b1729143c38ec287e5567ae9f57e0fb8118cc11afa22657da8ac9b0105a -conf_files="/etc/booster.yaml" replaces="booster" alternatives=" initramfs:/etc/kernel.d/post-install/20-initramfs:/usr/libexec/booster/kernel-hook-postinst @@ -28,6 +28,7 @@ do_build() { ronn docs/manpage.md + touch booster.yaml } do_install() { @@ -41,7 +42,7 @@ do_install() { vinstall "${_srcdir}/init" 755 usr/lib/booster vman docs/manpage.1 booster.1 - vconf booster.yaml + vconf booster.yaml vinstall ${FILESDIR}/kernel-hook-postinst 755 usr/libexec/booster vinstall ${FILESDIR}/kernel-hook-postrm 755 usr/libexec/booster @@ -49,4 +50,6 @@ do_install() { vcompletion contrib/completion/bash bash booster vlicense LICENSE + + } diff --git a/srcpkgs/busybox-evolution/diff b/srcpkgs/busybox-evolution/diff deleted file mode 100644 index f647e30..0000000 --- a/srcpkgs/busybox-evolution/diff +++ /dev/null @@ -1,128 +0,0 @@ -# Template file for 'busybox' -pkgname=busybox -version=1.34.1 -revision=4 -hostmakedepends="perl" -checkdepends="tar which zip" -short_desc="Swiss Army Knife of Embedded Linux" -maintainer="Cameron Nemo " -license="GPL-2.0-only" -homepage="https://www.busybox.net" -distfiles="${homepage}/downloads/busybox-${version}.tar.bz2" -checksum=415fbd89e5344c96acf449d94a6f956dbed62e18e835fc83e064db33a34bd549 - -_alternatives_core=" - ash:ash:/usr/bin/busybox - awk:awk:/usr/bin/busybox - hostname:hostname:/usr/bin/busybox - sh:sh:/usr/bin/busybox - vi:vi:/usr/bin/busybox - logger:logger:/usr/bin/busybox" - -_alternatives=" - ${_alternatives_core} - ntpd:ntpd:/usr/bin/busybox - ntpd:ntpd:/etc/sv/busybox-ntpd" - -alternatives="${_alternatives}" -register_shell="/usr/bin/ash" - -_patch_config() { - local t="$1" - shift - while [ "$1" ]; do - local p="$1" - shift - echo "Applying $p..." - patch "${t}/.config" <"${FILESDIR}/dotconfig.d/${p}.patch" - done -} - -do_configure() { - mkdir -p src - mv * src || true - - local t - for t in busybox busybox-static busybox-core busybox-huge; do - mkdir -p $t - cp -f ${FILESDIR}/dotconfig ${t}/.config - - case "$XBPS_TARGET_MACHINE" in - *-musl) vsed -i -e /CONFIG_FEATURE_VI_REGEX_SEARCH/s/y/n/ \ - ${t}/.config;; - esac - - if [ "$CROSS_BUILD" ]; then - vsed -i -e \ - "s,\(CONFIG_CROSS_COMPILER_PREFIX\).*,\1=\"${XBPS_CROSS_TRIPLET}-\",g" \ - ${t}/.config - fi - done - - _patch_config busybox udhcpc ntpd - _patch_config busybox-static udhcpc ntpd static - _patch_config busybox-huge udhcpc ntpd httpd mdev sysklogd huge - - for t in busybox-core busybox busybox-static busybox-huge; do - make -C "${t}" KBUILD_SRC="${wrksrc}/src" -f "${wrksrc}/src/Makefile" oldconfig - make -C "${t}" KBUILD_SRC="${wrksrc}/src" -f "${wrksrc}/src/Makefile" prepare "${makejobs}" - done - - if [ "$SOURCE_DATE_EPOCH" ]; then - # rewrite date with the one from the date wrapper. - d=$(date +"%F %T %Z") - sed -i "s/\(#define AUTOCONF_TIMESTAMP\).*/\1 \"$d\"/" */include/autoconf.h - fi -} - -do_build() { - for t in busybox-core busybox busybox-static busybox-huge; do - make -C "${t}" SKIP_STRIP=y "${makejobs}" - done -} - -do_check() { - for t in busybox-core busybox busybox-static busybox-huge; do - make -C "${t}" "${makejobs}" \ - SKIP_KNOWN_BUGS=yes SKIP_INTERNET_TESTS=yes \ - check - done -} - -do_install() { - vbin busybox/busybox_unstripped busybox - vman busybox/docs/busybox.1 - vsv busybox-ntpd -} - -busybox-core_package() { - short_desc+=" (essential applets)" - conflicts="busybox>=0 busybox-huge>=0" - alternatives="${_alternatives_core}" - register_shell="/usr/bin/ash" - pkg_install() { - vbin busybox-core/busybox_unstripped busybox - vman busybox-core/docs/busybox.1 - } -} - -busybox-static_package() { - short_desc+=" (statically linked)" - pkg_install() { - vbin busybox-static/busybox busybox.static - } -} - -busybox-huge_package() { - short_desc+=" (extra applets)" - conflicts="busybox>=0 busybox-core>=0" - alternatives="${_alternatives}" - register_shell="/usr/bin/ash" - pkg_install() { - vbin busybox-huge/busybox_unstripped busybox - vman busybox-huge/docs/busybox.1 - vsv busybox-ntpd - vsv busybox-syslogd - vsv busybox-klogd - } -} diff --git a/srcpkgs/busybox-evolution/files/dotconfig b/srcpkgs/busybox-evolution/files/dotconfig index edc489f..0d73df4 100644 --- a/srcpkgs/busybox-evolution/files/dotconfig +++ b/srcpkgs/busybox-evolution/files/dotconfig @@ -660,12 +660,12 @@ CONFIG_FEATURE_MDEV_DAEMON=y CONFIG_MESG=y CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP=y CONFIG_MKE2FS=y -CONFIG_MKFS_EXT2=y +# CONFIG_MKFS_EXT2=y CONFIG_MKFS_MINIX=y CONFIG_FEATURE_MINIX2=y # CONFIG_MKFS_REISER is not set -CONFIG_MKDOSFS=y -CONFIG_MKFS_VFAT=y +# CONFIG_MKDOSFS is not set +# CONFIG_MKFS_VFAT is not set CONFIG_MKSWAP=y CONFIG_FEATURE_MKSWAP_UUID=y CONFIG_MORE=y diff --git a/srcpkgs/busybox-evolution/template b/srcpkgs/busybox-evolution/template index 272fb23..0209a10 100644 --- a/srcpkgs/busybox-evolution/template +++ b/srcpkgs/busybox-evolution/template @@ -1,7 +1,7 @@ # Template file for 'busybox' pkgname=busybox-evolution version=1.36.1 -revision=4 +revision=5 hostmakedepends="perl pkg-config" checkdepends="tar which zip" short_desc="Swiss Army Knife of Embedded Linux (evolutionOS edition)" diff --git a/srcpkgs/dinit-services/INSTALL b/srcpkgs/dinit-services/INSTALL new file mode 100644 index 0000000..91c7508 --- /dev/null +++ b/srcpkgs/dinit-services/INSTALL @@ -0,0 +1,4 @@ +case "$ACTION" in +post) + drunner +esac diff --git a/srcpkgs/dinit/files/dinit.d/agetty.sh b/srcpkgs/dinit-services/files/dinit.d/agetty.sh similarity index 100% rename from srcpkgs/dinit/files/dinit.d/agetty.sh rename to srcpkgs/dinit-services/files/dinit.d/agetty.sh diff --git a/srcpkgs/dinit/files/dinit.d/boot b/srcpkgs/dinit-services/files/dinit.d/boot similarity index 100% rename from srcpkgs/dinit/files/dinit.d/boot rename to srcpkgs/dinit-services/files/dinit.d/boot diff --git a/srcpkgs/dinit/files/dinit.d/boot.d/drunner b/srcpkgs/dinit-services/files/dinit.d/boot.d/drunner similarity index 100% rename from srcpkgs/dinit/files/dinit.d/boot.d/drunner rename to srcpkgs/dinit-services/files/dinit.d/boot.d/drunner diff --git a/srcpkgs/dinit/files/dinit.d/boot.d/early-filesystems b/srcpkgs/dinit-services/files/dinit.d/boot.d/early-filesystems similarity index 100% rename from srcpkgs/dinit/files/dinit.d/boot.d/early-filesystems rename to srcpkgs/dinit-services/files/dinit.d/boot.d/early-filesystems diff --git a/srcpkgs/dinit/files/dinit.d/boot.d/hostname b/srcpkgs/dinit-services/files/dinit.d/boot.d/hostname similarity index 100% rename from srcpkgs/dinit/files/dinit.d/boot.d/hostname rename to srcpkgs/dinit-services/files/dinit.d/boot.d/hostname diff --git a/srcpkgs/dinit/files/dinit.d/boot.d/hwclock b/srcpkgs/dinit-services/files/dinit.d/boot.d/hwclock similarity index 100% rename from srcpkgs/dinit/files/dinit.d/boot.d/hwclock rename to srcpkgs/dinit-services/files/dinit.d/boot.d/hwclock diff --git a/srcpkgs/dinit/files/dinit.d/boot.d/rcboot b/srcpkgs/dinit-services/files/dinit.d/boot.d/rcboot similarity index 100% rename from srcpkgs/dinit/files/dinit.d/boot.d/rcboot rename to srcpkgs/dinit-services/files/dinit.d/boot.d/rcboot diff --git a/srcpkgs/dinit/files/dinit.d/boot.d/rootrw b/srcpkgs/dinit-services/files/dinit.d/boot.d/rootrw similarity index 100% rename from srcpkgs/dinit/files/dinit.d/boot.d/rootrw rename to srcpkgs/dinit-services/files/dinit.d/boot.d/rootrw diff --git a/srcpkgs/dinit/files/dinit.d/boot.d/udev-settle b/srcpkgs/dinit-services/files/dinit.d/boot.d/udev-settle similarity index 100% rename from srcpkgs/dinit/files/dinit.d/boot.d/udev-settle rename to srcpkgs/dinit-services/files/dinit.d/boot.d/udev-settle diff --git a/srcpkgs/dinit/files/dinit.d/boot.d/udev-trigger b/srcpkgs/dinit-services/files/dinit.d/boot.d/udev-trigger similarity index 100% rename from srcpkgs/dinit/files/dinit.d/boot.d/udev-trigger rename to srcpkgs/dinit-services/files/dinit.d/boot.d/udev-trigger diff --git a/srcpkgs/dinit/files/dinit.d/ntpd b/srcpkgs/dinit-services/files/dinit.d/busybox-ntpd similarity index 100% rename from srcpkgs/dinit/files/dinit.d/ntpd rename to srcpkgs/dinit-services/files/dinit.d/busybox-ntpd diff --git a/srcpkgs/dinit/files/dinit.d/drunner b/srcpkgs/dinit-services/files/dinit.d/drunner similarity index 100% rename from srcpkgs/dinit/files/dinit.d/drunner rename to srcpkgs/dinit-services/files/dinit.d/drunner diff --git a/srcpkgs/dinit/files/dinit.d/early-filesystems b/srcpkgs/dinit-services/files/dinit.d/early-filesystems similarity index 100% rename from srcpkgs/dinit/files/dinit.d/early-filesystems rename to srcpkgs/dinit-services/files/dinit.d/early-filesystems diff --git a/srcpkgs/dinit/files/dinit.d/early-filesystems.sh b/srcpkgs/dinit-services/files/dinit.d/early-filesystems.sh similarity index 100% rename from srcpkgs/dinit/files/dinit.d/early-filesystems.sh rename to srcpkgs/dinit-services/files/dinit.d/early-filesystems.sh diff --git a/srcpkgs/dinit/files/dinit.d/hostname b/srcpkgs/dinit-services/files/dinit.d/hostname similarity index 100% rename from srcpkgs/dinit/files/dinit.d/hostname rename to srcpkgs/dinit-services/files/dinit.d/hostname diff --git a/srcpkgs/dinit/files/dinit.d/hwclock b/srcpkgs/dinit-services/files/dinit.d/hwclock similarity index 100% rename from srcpkgs/dinit/files/dinit.d/hwclock rename to srcpkgs/dinit-services/files/dinit.d/hwclock diff --git a/srcpkgs/dinit/files/dinit.d/loginready b/srcpkgs/dinit-services/files/dinit.d/loginready similarity index 100% rename from srcpkgs/dinit/files/dinit.d/loginready rename to srcpkgs/dinit-services/files/dinit.d/loginready diff --git a/srcpkgs/dinit/files/dinit.d/rcboot b/srcpkgs/dinit-services/files/dinit.d/rcboot similarity index 100% rename from srcpkgs/dinit/files/dinit.d/rcboot rename to srcpkgs/dinit-services/files/dinit.d/rcboot diff --git a/srcpkgs/dinit/files/dinit.d/rcboot.sh b/srcpkgs/dinit-services/files/dinit.d/rcboot.sh similarity index 94% rename from srcpkgs/dinit/files/dinit.d/rcboot.sh rename to srcpkgs/dinit-services/files/dinit.d/rcboot.sh index 4addb4f..9a3fa1e 100755 --- a/srcpkgs/dinit/files/dinit.d/rcboot.sh +++ b/srcpkgs/dinit-services/files/dinit.d/rcboot.sh @@ -25,8 +25,6 @@ if [ "$1" != "stop" ]; then # You can put other static configuration here: #/sbin/ifconfig eth0 192.168.1.38 netmask 255.255.255.0 broadcast 192.168.1.255 - echo "myhost" > /proc/sys/kernel/hostname - # /usr/sbin/alsactl restore else diff --git a/srcpkgs/dinit/files/dinit.d/rootrw b/srcpkgs/dinit-services/files/dinit.d/rootrw similarity index 100% rename from srcpkgs/dinit/files/dinit.d/rootrw rename to srcpkgs/dinit-services/files/dinit.d/rootrw diff --git a/srcpkgs/dinit/files/dinit.d/splash b/srcpkgs/dinit-services/files/dinit.d/splash similarity index 100% rename from srcpkgs/dinit/files/dinit.d/splash rename to srcpkgs/dinit-services/files/dinit.d/splash diff --git a/srcpkgs/dinit/files/dinit.d/tty1-agetty b/srcpkgs/dinit-services/files/dinit.d/tty1-agetty similarity index 100% rename from srcpkgs/dinit/files/dinit.d/tty1-agetty rename to srcpkgs/dinit-services/files/dinit.d/tty1-agetty diff --git a/srcpkgs/dinit/files/dinit.d/tty2-agetty b/srcpkgs/dinit-services/files/dinit.d/tty2-agetty similarity index 100% rename from srcpkgs/dinit/files/dinit.d/tty2-agetty rename to srcpkgs/dinit-services/files/dinit.d/tty2-agetty diff --git a/srcpkgs/dinit/files/dinit.d/tty3-agetty b/srcpkgs/dinit-services/files/dinit.d/tty3-agetty similarity index 100% rename from srcpkgs/dinit/files/dinit.d/tty3-agetty rename to srcpkgs/dinit-services/files/dinit.d/tty3-agetty diff --git a/srcpkgs/dinit/files/dinit.d/tty4-agetty b/srcpkgs/dinit-services/files/dinit.d/tty4-agetty similarity index 100% rename from srcpkgs/dinit/files/dinit.d/tty4-agetty rename to srcpkgs/dinit-services/files/dinit.d/tty4-agetty diff --git a/srcpkgs/dinit/files/dinit.d/tty5-agetty b/srcpkgs/dinit-services/files/dinit.d/tty5-agetty similarity index 100% rename from srcpkgs/dinit/files/dinit.d/tty5-agetty rename to srcpkgs/dinit-services/files/dinit.d/tty5-agetty diff --git a/srcpkgs/dinit/files/dinit.d/tty6-agetty b/srcpkgs/dinit-services/files/dinit.d/tty6-agetty similarity index 100% rename from srcpkgs/dinit/files/dinit.d/tty6-agetty rename to srcpkgs/dinit-services/files/dinit.d/tty6-agetty diff --git a/srcpkgs/dinit/files/dinit.d/tty7-agetty b/srcpkgs/dinit-services/files/dinit.d/tty7-agetty similarity index 100% rename from srcpkgs/dinit/files/dinit.d/tty7-agetty rename to srcpkgs/dinit-services/files/dinit.d/tty7-agetty diff --git a/srcpkgs/dinit/files/dinit.d/udev-settle b/srcpkgs/dinit-services/files/dinit.d/udev-settle similarity index 100% rename from srcpkgs/dinit/files/dinit.d/udev-settle rename to srcpkgs/dinit-services/files/dinit.d/udev-settle diff --git a/srcpkgs/dinit/files/dinit.d/udev-trigger b/srcpkgs/dinit-services/files/dinit.d/udev-trigger similarity index 100% rename from srcpkgs/dinit/files/dinit.d/udev-trigger rename to srcpkgs/dinit-services/files/dinit.d/udev-trigger diff --git a/srcpkgs/dinit/files/drunner b/srcpkgs/dinit-services/files/drunner similarity index 84% rename from srcpkgs/dinit/files/drunner rename to srcpkgs/dinit-services/files/drunner index 2b9a8da..20e9b56 100755 --- a/srcpkgs/dinit/files/drunner +++ b/srcpkgs/dinit-services/files/drunner @@ -1,5 +1,11 @@ #!/bin/sh +if [ -e /etc/runit/runsvdir/default ]; then + : +else + mkdir -p /etc/runit/runsvdir/default +fi + for i in $(ls /etc/sv/); do rm -f /etc/dinit.d/boot.d/runitb.d mkdir -p /etc/dinit.d/runitb.d/"$i" @@ -15,3 +21,5 @@ done for i in $(ls /etc/runit/runsvdir/default/); do ln -sf /etc/dinit.d/"$i" /etc/dinit.d/boot.d/ done + +rm -rf /etc/dinit.d/boot.d/runitb.d diff --git a/srcpkgs/dinit-services/template b/srcpkgs/dinit-services/template new file mode 100644 index 0000000..0e78799 --- /dev/null +++ b/srcpkgs/dinit-services/template @@ -0,0 +1,17 @@ +#!/bin/sh +pkgname=dinit-services +version=1.0 +revision=0 +short_desc="System services for evolutionOS" +maintainer="Tracker-Friendly " +homepage="https://github.com/davmac314/dinit" +license="GPL-3.0" +conflicts="runit-void" +build_style=meta + +do_install() { + mkdir -p ${DESTDIR}/etc/dinit.d/ + cp -r ${FILESDIR}/dinit.d/* ${DESTDIR}/etc/dinit.d/ + vbin ${FILESDIR}/drunner + ln -s /usr/bin/dinit ${DESTDIR}/usr/bin/init +} diff --git a/srcpkgs/dinit/template b/srcpkgs/dinit/template index 6536b8d..2f1532a 100644 --- a/srcpkgs/dinit/template +++ b/srcpkgs/dinit/template @@ -1,13 +1,13 @@ #!/bin/sh pkgname=dinit version=0.17.1 -revision=7 +revision=8 short_desc="Simple Linux / BSD init system (NOT MY SOFTWARE)" maintainer="Tracker-Friendly " homepage="https://github.com/davmac314/dinit" license="GPL-3.0" makedepends="git make gcc m4" -conflicts="runit runit-void" +conflicts="runit" do_build() { echo "Building..." @@ -29,8 +29,4 @@ do_install() { mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin/ rm -rf ${DESTDIR}/sbin ls ${DESTDIR}/usr/bin - mkdir -p ${DESTDIR}/etc/dinit.d/ - cp -r ${FILESDIR}/dinit.d/* ${DESTDIR}/etc/dinit.d/ - vbin ${FILESDIR}/drunner - ln -s /usr/bin/dinit ${DESTDIR}/usr/bin/init } diff --git a/srcpkgs/evolution-desktop/INSTALL b/srcpkgs/evolution-desktop/INSTALL index 1f5e087..a0656d7 100644 --- a/srcpkgs/evolution-desktop/INSTALL +++ b/srcpkgs/evolution-desktop/INSTALL @@ -7,13 +7,10 @@ post) mv /etc/greetd/config.toml.2 /etc/greetd/config.toml usermod -d /etc/greetd/greeter greeter chown greeter /etc/greetd/greeter -R - cp -r /run/runit/supervise.agetty-tty1 /run/runit/supervise.greetd - cp -r /run/runit/supervise.agetty-tty1 /run/runit/supervise.polkitd - cp -r /run/runit/supervise.agetty-tty1 /run/runit/supervise.dbus tty="$(cat /sys/class/tty/tty0/active | sed 's/.*\(.\)$/\1/')" echo "chvt 5" >> /etc/rc.local chvt "$tty" - rm -rf /etc/dinit.d/boot.d/agetty-tty5 + rm -rf /etc/dinit.d/boot.d/tty5-agetty sed -i '/ctrl_interface_group=.*$/d' /etc/wpa_supplicant/wpa_supplicant.conf if [ -d /etc/runit/runsvdir/default/wpa_supplicant ]; then : diff --git a/srcpkgs/evolution-desktop/files/bin/audioctl b/srcpkgs/evolution-desktop/files/bin/audioctl index 5ec075f..cfbff12 100755 --- a/srcpkgs/evolution-desktop/files/bin/audioctl +++ b/srcpkgs/evolution-desktop/files/bin/audioctl @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh pactl set-sink-mute @DEFAULT_SINK@ 0 if [ "$1" = "up" ]; then if [ "$(pactl list sinks | grep '^[[:space:]]Volume:' | head -n $(( $SINK + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,')" = "100" ]; then diff --git a/srcpkgs/evolution-desktop/files/bin/enabledesktop b/srcpkgs/evolution-desktop/files/bin/enabledesktop index 8cac500..2f4506a 100755 --- a/srcpkgs/evolution-desktop/files/bin/enabledesktop +++ b/srcpkgs/evolution-desktop/files/bin/enabledesktop @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh help() { echo "Help:" @@ -7,16 +7,16 @@ help() { echo " nothing: Enables Evolution-Desktop at launch" } -if [[ "$1" = "" ]]; then +if [ "$1" = "" ]; then drunner ln -s /etc/dinit.d/greetd /etc/dinit.d/boot.d/greetd ln -s /etc/dinit.d/evolution-desktop /etc/dinit.d/boot.d/evolution-desktop echo "Evolution-Desktop will now start at launch." -elif [[ "$1" = "-h" ]]; then +elif [ "$1" = "-h" ]; then help -elif [[ "$1" = "--help" ]]; then +elif [ "$1" = "--help" ]; then help -elif [[ "$1" = "-r" ]]; then +elif [ "$1" = "-r" ]; then rm -f /etc/dinit.d/boot.d/greetd rm -f /etc/dinit.d/boot.d/evolution-desktop echo "Evolution-Desktop will no longer start at launch" diff --git a/srcpkgs/evolution-desktop/template b/srcpkgs/evolution-desktop/template index 8319473..5a1e237 100644 --- a/srcpkgs/evolution-desktop/template +++ b/srcpkgs/evolution-desktop/template @@ -1,6 +1,6 @@ pkgname=evolution-desktop version=1.1 -revision=13 +revision=16 build_style=meta maintainer="Tracker-Friendly " short_desc="Desktop and Greeter for EvolutionOS" @@ -10,7 +10,7 @@ depends="wayfire greetd wf-shell wcm mesa mesa-dri elogind polkit mate-polkit gr conf_files="/usr/bin/Wayfire /usr/bin/startsession" do_install() { - #!/bin/bash + #!/bin/sh mkdir -p ${DESTDIR}/etc/runit/runsvdir/default cp -r ${FILESDIR}/var/service/* ${DESTDIR}/etc/runit/runsvdir/default/ diff --git a/srcpkgs/evolution-patches/INSTALL b/srcpkgs/evolution-patches/INSTALL index c392798..5d61244 100644 --- a/srcpkgs/evolution-patches/INSTALL +++ b/srcpkgs/evolution-patches/INSTALL @@ -7,7 +7,7 @@ if command -v busybox >/dev/null 2>&1; then for i in $(busybox --list-full); do if [ -e "/$i" ]; then - busybox echo "Error: $i already exists." + : else busybox echo "Creating symlink from /bin/busybox to $i" busybox ln -s "/usr/bin/busybox" "/$i" diff --git a/srcpkgs/evolution-patches/template b/srcpkgs/evolution-patches/template index 497380f..5dddf99 100644 --- a/srcpkgs/evolution-patches/template +++ b/srcpkgs/evolution-patches/template @@ -1,6 +1,6 @@ pkgname=evolution-patches -version=1.1 -revision=6 +version=1.2 +revision=0 build_style=meta maintainer="Tracker-Friendly " short_desc="Simple patches that enable an usable OS out of the box" @@ -17,7 +17,7 @@ do_install() { # Get the list of commands from busybox - commands="[ [[ arch ascii base32 base64 basename brctl cat chgrp chmod chown chroot comm cp crc32 cttyhack cut date dc dd df dirname dnsdomainname du dumpkmap echo ed env expand expr factor false fatattr fbset fold fsync fuser getty groups head hexedit i2cdetect i2cdump i2cget i2cset i2ctransfer id ifconfig ifenslave install iostat ipaddr iplink ipneigh iproute iprule iptunnel killall killall5 link ln loadkmap ls lsof lsscsi lzcat md5sum mkdir mkfifo mknod mkstat mv nc netstat nice nl nohup nproc nslookup od partprobe paste patch pipe_progress powertop printenv printf pstree pwd readlink realpath rm rmdir seq setfattr sha1sum sha256sum sha3sum sha512sum shred shuf sleep sort split ssl_client stat strings stty sum svok sync tac tail tee telnet test time touch tr true truncate ts tty uevent uname unexpand uniq unlink unxz unzip uudecode uuencode wc wget whoami whois xxd xz xzcat yes sh find diff gunzip tar gzip sed which mktemp grep xargs cmp egrep fgrep lspci lsusb mpstat tree tsort zcat add-shell addgroup adduser adjtimex ar arp ash awk bc beep chat cksum conspy crond crontab cryptpw delgroup deluser devmem dhcprelay dnsd dos2unix dpkg dpkg-deb dumpleases ether-wake fakeidentd fbsplash fdflush fdformat freeramdisk ftpd ftpget ftpput hd hdparm hostid hostname httpd hush ifdown ifplugd ifup inetd ipcalc klogd linux32 linux64 loadfont logger logname logread lpd lpq lpr lzma lzop lzopcat makedevs makemime mdev microcom mim minips mkdosfs mkfs.ext2 mkfs.vfat mkpasswd mt nameif nanddump nandwrite nbd-client netcat nmeter ntpd nuke ping ping6 popmaildir pscan raidautorun rdate rdev readahead reformime remove-shell resize resume route rpm rpm2cpio run-init runlevel rx seedrng sendmail setconsole setlogcons setserial slattach smemcap start-stop-daemon syslogd tcpsvd telnetd tftp tftpd timeout traceroute traceroute6 ttysize tunctl ubiattach ubidetach ubimkvol ubirename ubirmvol ubirsvol ubiupdatevol udhcpc udhcpc6 udhcpd udpsvd uncompress unix2dos unlzma unlzop users usleep vconfig vi volname w watchdog who zcip" + commands="[ [[ arch ascii base32 base64 basename brctl cat chgrp chmod chown chroot comm cp crc32 cttyhack cut date dc dd df dirname dnsdomainname du dumpkmap echo ed env expand expr factor false fatattr fbset fold fsync fuser getty groups head hexedit i2cdetect i2cdump i2cget i2cset i2ctransfer id ifconfig ifenslave install iostat ipaddr iplink ipneigh iproute iprule iptunnel killall killall5 link ln loadkmap ls lsof lsscsi lzcat md5sum mkdir mkfifo mknod mkstat mv nc netstat nice nl nohup nproc nslookup od partprobe paste patch pipe_progress powertop printenv printf pstree pwd readlink realpath rm rmdir seq setfattr sha1sum sha256sum sha3sum sha512sum shred shuf sleep sort split ssl_client stat strings stty sum svok sync tac tail tee telnet test time touch tr true truncate ts tty uevent uname unexpand uniq unlink unxz unzip uudecode uuencode wc wget whoami whois xxd xz xzcat yes sh find diff gunzip tar gzip sed which mktemp grep xargs cmp egrep fgrep lspci lsusb mpstat tree tsort zcat add-shell addgroup adduser adjtimex ar arp ash awk bc beep chat cksum conspy crond crontab cryptpw delgroup deluser devmem dhcprelay dnsd dos2unix dpkg dpkg-deb dumpleases ether-wake fakeidentd fbsplash fdflush fdformat freeramdisk ftpd ftpget ftpput hd hdparm hostid hostname httpd hush ifdown ifplugd ifup inetd ipcalc klogd linux32 linux64 loadfont logger logname logread lpd lpq lpr lzma lzop lzopcat makedevs makemime mdev microcom mim minips mkpasswd mt nameif nanddump nandwrite nbd-client netcat nmeter ntpd nuke ping ping6 popmaildir pscan raidautorun rdate rdev readahead reformime remove-shell resize resume route rpm rpm2cpio run-init runlevel rx seedrng sendmail setconsole setlogcons setserial slattach smemcap start-stop-daemon syslogd tcpsvd telnetd tftp tftpd timeout traceroute traceroute6 ttysize tunctl ubiattach ubidetach ubimkvol ubirename ubirmvol ubirsvol ubiupdatevol udhcpc udhcpc6 udhcpd udpsvd uncompress unix2dos unlzma unlzop users usleep vconfig vi volname w watchdog who zcip" mkdir -p ${DESTDIR}/usr/bin/ # Loop through each command for cmd in $commands; do @@ -31,8 +31,6 @@ do_install() { echo ${DESTDIR} echo done - mkdir -p ${DESTDIR}/etc/sv/agetty-tty1 - cp ${FILESDIR}/conf ${DESTDIR}/etc/sv/agetty-tty1/conf mkdir -p ${DESTDIR}/usr/share/xbps.d cp ${FILESDIR}/main.conf ${DESTDIR}/usr/share/xbps.d/*-0-evolution-main.conf mkdir -p ${DESTDIR}/etc/ @@ -43,7 +41,7 @@ do_install() { mkdir -p ${DESTDIR}/etc/dinit.d/boot.d - for i in $(echo "agetty-tty1 agetty-tty2 agetty-tty3 agetty-tty4 agetty-tty5 agetty-tty6 agetty-tty7 dbus dbus-log dhcpcd dhcpcd-log ead ead-log iwd iwd-log loginready ntpd runitb.d splash sshd sshd-log udevd"); do - ln -sf "/etc/dintit.d/$i" "${DESTDIR}/etc/dinit.d/boot.d/$i" + for i in $(echo "tty1-agetty tty2-agetty tty3-agetty tty4-agetty tty5-agetty tty6-agetty tty7-agetty dbus dbus-log dhcpcd dhcpcd-log ead ead-log iwd iwd-log loginready ntpd runitb.d splash sshd sshd-log udevd"); do + ln -sf "/etc/dinit.d/$i" "${DESTDIR}/etc/dinit.d/boot.d/$i" done } diff --git a/srcpkgs/evolution-theme-switcher/template b/srcpkgs/evolution-theme-switcher/template index d0ba06c..de84559 100644 --- a/srcpkgs/evolution-theme-switcher/template +++ b/srcpkgs/evolution-theme-switcher/template @@ -1,10 +1,10 @@ #!/bin/sh pkgname=evolution-theme-switcher version=1.0 -revision=5 +revision=6 short_desc="Just a theme switcher for evolution-desktop" maintainer="Tracker-Friendly " -homepage="https://hectabit.org/centrifuge/HectaBit/dconf-theme-switcher" +homepage="https://centrifuge.hectabit.org/HectaBit/dconf-theme-switcher" license="GPL-3.0" makedepends="make gcc git pkg-config gtk+3-devel dconf" depends="gtk+3 dconf" @@ -13,7 +13,7 @@ do_build() { echo "Building..." cd ${XBPS_BUILDDIR} rm -rf gtkgreet - git clone https://hectabit.org/centrifuge/HectaBit/dconf-theme-switcher.git + git clone https://centrifuge.hectabit.org/HectaBit/dconf-theme-switcher cd dconf-theme-switcher make } diff --git a/srcpkgs/grub-arm64-efi b/srcpkgs/grub-arm64-efi deleted file mode 120000 index 2c8276e..0000000 --- a/srcpkgs/grub-arm64-efi +++ /dev/null @@ -1 +0,0 @@ -grub \ No newline at end of file diff --git a/srcpkgs/grub-i386-efi b/srcpkgs/grub-i386-efi deleted file mode 120000 index 2c8276e..0000000 --- a/srcpkgs/grub-i386-efi +++ /dev/null @@ -1 +0,0 @@ -grub \ No newline at end of file diff --git a/srcpkgs/grub-x86_64-efi b/srcpkgs/grub-x86_64-efi deleted file mode 120000 index 2c8276e..0000000 --- a/srcpkgs/grub-x86_64-efi +++ /dev/null @@ -1 +0,0 @@ -grub \ No newline at end of file diff --git a/srcpkgs/grub/files/grub.default b/srcpkgs/grub/files/grub.default deleted file mode 100644 index 4b07afe..0000000 --- a/srcpkgs/grub/files/grub.default +++ /dev/null @@ -1,21 +0,0 @@ -# -# Configuration file for GRUB. -# -GRUB_DEFAULT=0 -#GRUB_HIDDEN_TIMEOUT=0 -#GRUB_HIDDEN_TIMEOUT_QUIET=false -GRUB_TIMEOUT=5 -GRUB_DISTRIBUTOR="EvolutionOS" -GRUB_CMDLINE_LINUX_DEFAULT="loglevel=4" -# Uncomment to use basic console -#GRUB_TERMINAL_INPUT="console" -# Uncomment to disable graphical terminal -#GRUB_TERMINAL_OUTPUT=console -#GRUB_BACKGROUND=/usr/share/void-artwork/splash.png -#GRUB_GFXMODE=1920x1080x32 -#GRUB_DISABLE_LINUX_UUID=true -GRUB_DISABLE_RECOVERY=true -# Uncomment and set to the desired menu colors. Used by normal and wallpaper -# modes only. Entries specified as foreground/background. -#GRUB_COLOR_NORMAL="light-blue/black" -#GRUB_COLOR_HIGHLIGHT="light-cyan/blue" diff --git a/srcpkgs/grub/files/kernel.d/grub.post b/srcpkgs/grub/files/kernel.d/grub.post deleted file mode 100644 index 561d8b2..0000000 --- a/srcpkgs/grub/files/kernel.d/grub.post +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# -# Kernel hook for GRUB 2. -# -# Arguments passed to this script: $1 pkgname, $2 version. -# -PKGNAME="$1" -VERSION="$2" - -export ZPOOL_VDEV_NAME_PATH=YES - -if command -v grub-mkconfig >/dev/null 2>&1; then - if [ -d $ROOTDIR/boot/grub ]; then - grub-mkconfig -o $ROOTDIR/boot/grub/grub.cfg - exit $? - fi -fi - -exit 0 diff --git a/srcpkgs/grub/patches/0004-add-GRUB_COLOR_variables.patch b/srcpkgs/grub/patches/0004-add-GRUB_COLOR_variables.patch deleted file mode 100644 index 903a39c..0000000 --- a/srcpkgs/grub/patches/0004-add-GRUB_COLOR_variables.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in -index f8cbb8d..f271608 100644 ---- a/util/grub-mkconfig.in -+++ b/util/grub-mkconfig.in -@@ -246,6 +246,8 @@ export GRUB_DEFAULT \ - GRUB_BACKGROUND \ - GRUB_THEME \ - GRUB_GFXPAYLOAD_LINUX \ -+ GRUB_COLOR_NORMAL \ -+ GRUB_COLOR_HIGHLIGHT \ - GRUB_INIT_TUNE \ - GRUB_SAVEDEFAULT \ - GRUB_ENABLE_CRYPTODISK \ -diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in -index d2e7252..8259f45 100644 ---- a/util/grub.d/00_header.in -+++ b/util/grub.d/00_header.in -@@ -125,6 +125,14 @@ cat < -Date: Tue, 28 Sep 2021 13:50:47 +0800 -Subject: build: Fix build error with binutils 2.36 - -The following procedure to build xen/pvgrub is broken. - - git clone https://git.savannah.gnu.org/git/grub.git - cd grub - ./bootstrap - mkdir build-xen - cd build-xen - ../configure --with-platform=xen - make - -It fails with the message: - - /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: - section .note.gnu.property VMA [0000000000400158,0000000000400187] - overlaps section .bss VMA [000000000000f000,000000000041e1af] - -The most significant factor is that new assembler (GNU as) generates the -.note.gnu.property section as default. This note section overlaps with -.bss because it doesn't reposition with -Wl,-Ttext,0 with which the base -address of .text section is set, rather the address of .note.gnu.property -is calculated for some reason from 0x400000 where the ELF executable -defaults to start. - -Using -Ttext-segment doesn't help either, though it is said to set the -address of the first byte of the text segment according to "man ld". -What it actually does is to override the default 0x400000, aka the image -base address, to something else. The entire process can be observed in -the default linker script used by gcc [1]. Therefore we can't expect it -to achieve the same thing as -Ttext given that the first segment where -.text resides is offset by SIZEOF_HEADERS plus some sections may be -preceding it within the first segment. The end result is .text always -has to start with non-zero address with -Wl,-Ttext-segment,0 if using -default linker script. - -It is also worth mentioning that binutils upstream apparently doesn't -seem to consider this as a bug [2] and proposed to use -Wl,-Ttext-segment,0 -which is not fruitful as what has been tested by Gentoo [3]. - -As long as GRUB didn't use ISA information encoded in .note.gnu.property, -we can safely drop it via -Wa,-mx86-used-note=no assembler option to -fix the linker error above. - -This is considered a better approach than using custom linker script to -drop the .note.gnu.property section because object file manipulation can -also be hampered one way or the other in that linker script may not be -helpful. See also this commit removing the section in the process of objcopy. - - 6643507ce build: Fix GRUB i386-pc build with Ubuntu gcc - -[1] In /usr/lib64/ldscripts/elf_x86_64.x or use 'gcc -Wl,--verbose ...' - PROVIDE (__executable_start = SEGMENT_START("text-segment", 0x400000)); - . = SEGMENT_START("text-segment", 0x400000) + SIZEOF_HEADERS; -[2] https://sourceware.org/bugzilla/show_bug.cgi?id=27377 -[3] https://bugs.gentoo.org/787221 - -Signed-off-by: Michael Chang -Reviewed-by: Daniel Kiper ---- - configure.ac | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -(limited to 'configure.ac') - -diff --git a/configure.ac b/configure.ac -index eeb5d22..8d1c81a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -840,6 +840,20 @@ if ( test "x$target_cpu" = xi386 || test "x$target_cpu" = xx86_64 ) && test "x$p - TARGET_CFLAGS="$TARGET_CFLAGS -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow" - fi - -+if ( test "x$target_cpu" = xi386 || test "x$target_cpu" = xx86_64 ); then -+ AC_CACHE_CHECK([whether -Wa,-mx86-used-note works], [grub_cv_cc_mx86_used_note], [ -+ CFLAGS="$TARGET_CFLAGS -Wa,-mx86-used-note=no -Werror" -+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])], -+ [grub_cv_cc_mx86_used_note=yes], -+ [grub_cv_cc_mx86_used_note=no]) -+ ]) -+ -+ if test "x$grub_cv_cc_mx86_used_note" = xyes; then -+ TARGET_CFLAGS="$TARGET_CFLAGS -Wa,-mx86-used-note=no" -+ TARGET_CCASFLAGS="$TARGET_CCASFLAGS -Wa,-mx86-used-note=no" -+ fi -+fi -+ - # GRUB doesn't use float or doubles at all. Yet some toolchains may decide - # that floats are a good fit to run instead of what's written in the code. - # Given that floating point unit is disabled (if present to begin with) --- -cgit v1.1 - diff --git a/srcpkgs/grub/patches/grub-install-pvxen-paths.patch b/srcpkgs/grub/patches/grub-install-pvxen-paths.patch deleted file mode 100644 index 0965c05..0000000 --- a/srcpkgs/grub/patches/grub-install-pvxen-paths.patch +++ /dev/null @@ -1,71 +0,0 @@ -From 04aa0aa735f4bfa2d7a4f6593745fbe1d7fa0d0a Mon Sep 17 00:00:00 2001 -From: Ian Campbell -Date: Sat, 6 Sep 2014 12:20:12 +0100 -Subject: grub-install: Install PV Xen binaries into the upstream specified - path - -Upstream have defined a specification for where guests ought to place their -xenpv grub binaries in order to facilitate chainloading from a stage 1 grub -loaded from dom0. - -http://xenbits.xen.org/docs/unstable-staging/misc/x86-xenpv-bootloader.html - -The spec calls for installation into /boot/xen/pvboot-i386.elf or -/boot/xen/pvboot-x86_64.elf. - -Signed-off-by: Ian Campbell - -Bug-Debian: https://bugs.debian.org/762307 -Forwarded: http://lists.gnu.org/archive/html/grub-devel/2014-10/msg00041.html -Last-Update: 2014-10-24 - -Patch-Name: grub-install-pvxen-paths.patch - ---- -v2: Respect bootdir, create /boot/xen as needed. ---- - util/grub-install.c | 24 ++++++++++++++++++++++-- - 1 file changed, 22 insertions(+), 2 deletions(-) - -diff --git a/util/grub-install.c b/util/grub-install.c -index b82c14d41..caadada98 100644 ---- a/util/grub-install.c -+++ b/util/grub-install.c -@@ -1962,6 +1962,28 @@ main (int argc, char *argv[]) - } - break; - -+ case GRUB_INSTALL_PLATFORM_I386_XEN: -+ { -+ char *path = grub_util_path_concat (2, bootdir, "xen"); -+ char *dst = grub_util_path_concat (2, path, "pvboot-i386.elf"); -+ grub_install_mkdir_p (path); -+ grub_install_copy_file (imgfile, dst, 1); -+ free (dst); -+ free (path); -+ } -+ break; -+ -+ case GRUB_INSTALL_PLATFORM_X86_64_XEN: -+ { -+ char *path = grub_util_path_concat (2, bootdir, "xen"); -+ char *dst = grub_util_path_concat (2, path, "pvboot-x86_64.elf"); -+ grub_install_mkdir_p (path); -+ grub_install_copy_file (imgfile, dst, 1); -+ free (dst); -+ free (path); -+ } -+ break; -+ - case GRUB_INSTALL_PLATFORM_MIPSEL_LOONGSON: - case GRUB_INSTALL_PLATFORM_MIPSEL_QEMU_MIPS: - case GRUB_INSTALL_PLATFORM_MIPS_QEMU_MIPS: -@@ -1971,8 +1971,6 @@ main (int argc, char *argv[]) - case GRUB_INSTALL_PLATFORM_MIPSEL_ARC: - case GRUB_INSTALL_PLATFORM_ARM_UBOOT: - case GRUB_INSTALL_PLATFORM_I386_QEMU: -- case GRUB_INSTALL_PLATFORM_I386_XEN: -- case GRUB_INSTALL_PLATFORM_X86_64_XEN: - case GRUB_INSTALL_PLATFORM_I386_XEN_PVH: - grub_util_warn ("%s", - _("WARNING: no platform-specific install was performed")); diff --git a/srcpkgs/grub/patches/ieee1275-clear-reset.patch b/srcpkgs/grub/patches/ieee1275-clear-reset.patch deleted file mode 100644 index 18ff773..0000000 --- a/srcpkgs/grub/patches/ieee1275-clear-reset.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 54b741317568867fc4ad801a65397d05f3ea0f59 Mon Sep 17 00:00:00 2001 -From: Paulo Flabiano Smorigo -Date: Thu, 25 Sep 2014 18:41:29 -0300 -Subject: Include a text attribute reset in the clear command for ppc - -Always clear text attribute for clear command in order to avoid problems -after it boots. - -* grub-core/term/terminfo.c: Add escape for text attribute reset - -Bug-Ubuntu: https://bugs.launchpad.net/bugs/1295255 -Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00076.html -Last-Update: 2014-09-26 - -Patch-Name: ieee1275-clear-reset.patch ---- - grub-core/term/terminfo.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/grub-core/term/terminfo.c b/grub-core/term/terminfo.c -index f0d3e3deb..7cb7909c8 100644 ---- a/grub-core/term/terminfo.c -+++ b/grub-core/term/terminfo.c -@@ -151,7 +151,7 @@ grub_terminfo_set_current (struct grub_term_output *term, - /* Clear the screen. Using serial console, screen(1) only recognizes the - * ANSI escape sequence. Using video console, Apple Open Firmware - * (version 3.1.1) only recognizes the literal ^L. So use both. */ -- data->cls = grub_strdup (" \e[2J"); -+ data->cls = grub_strdup (" \e[2J\e[m"); - data->reverse_video_on = grub_strdup ("\e[7m"); - data->reverse_video_off = grub_strdup ("\e[m"); - if (grub_strcmp ("ieee1275", str) == 0) diff --git a/srcpkgs/grub/patches/install_powerpc_machtypes.patch b/srcpkgs/grub/patches/install_powerpc_machtypes.patch deleted file mode 100644 index ca992d9..0000000 --- a/srcpkgs/grub/patches/install_powerpc_machtypes.patch +++ /dev/null @@ -1,220 +0,0 @@ -From 35118b5023b0d9b4e3ad82f6e15fb696ad8e2a10 Mon Sep 17 00:00:00 2001 -From: Colin Watson -Date: Tue, 28 Jan 2014 14:40:02 +0000 -Subject: Port yaboot logic for various powerpc machine types - -Some powerpc machines require not updating the NVRAM. This can be handled -by existing grub-install command-line options, but it's friendlier to detect -this automatically. - -On chrp_ibm machines, use the nvram utility rather than nvsetenv. (This -is possibly suitable for other machines too, but that needs to be -verified.) - -Forwarded: no -Last-Update: 2014-10-15 - -Patch-Name: install_powerpc_machtypes.patch ---- - grub-core/osdep/basic/platform.c | 5 +++ - grub-core/osdep/linux/platform.c | 72 ++++++++++++++++++++++++++++++ - grub-core/osdep/unix/platform.c | 28 +++++++++--- - grub-core/osdep/windows/platform.c | 6 +++ - include/grub/util/install.h | 3 ++ - util/grub-install.c | 11 +++++ - 6 files changed, 119 insertions(+), 6 deletions(-) - -diff --git a/grub-core/osdep/basic/platform.c b/grub-core/osdep/basic/platform.c -index 4b5502aeb..2ab907976 100644 ---- a/grub-core/osdep/basic/platform.c -+++ b/grub-core/osdep/basic/platform.c -@@ -30,3 +30,8 @@ grub_install_get_default_x86_platform (void) - return "i386-pc"; - } - -+const char * -+grub_install_get_default_powerpc_machtype (void) -+{ -+ return "generic"; -+} -diff --git a/grub-core/osdep/linux/platform.c b/grub-core/osdep/linux/platform.c -index 35f1bcc0e..9805c36d4 100644 ---- a/grub-core/osdep/linux/platform.c -+++ b/grub-core/osdep/linux/platform.c -@@ -23,6 +23,7 @@ - #include - #include - #include -+#include - #include - - #include -@@ -154,3 +154,74 @@ grub_install_get_default_x86_platform (void) - grub_util_info ("... not found"); - return "i386-pc"; - } -+ -+const char * -+grub_install_get_default_powerpc_machtype (void) -+{ -+ FILE *fp; -+ char *buf = NULL; -+ size_t len = 0; -+ const char *machtype = "generic"; -+ -+ fp = grub_util_fopen ("/proc/cpuinfo", "r"); -+ if (! fp) -+ return machtype; -+ -+ while (getline (&buf, &len, fp) > 0) -+ { -+ if (strncmp (buf, "pmac-generation", -+ sizeof ("pmac-generation") - 1) == 0) -+ { -+ if (strstr (buf, "NewWorld")) -+ { -+ machtype = "pmac_newworld"; -+ break; -+ } -+ if (strstr (buf, "OldWorld")) -+ { -+ machtype = "pmac_oldworld"; -+ break; -+ } -+ } -+ -+ if (strncmp (buf, "motherboard", sizeof ("motherboard") - 1) == 0 && -+ strstr (buf, "AAPL")) -+ { -+ machtype = "pmac_oldworld"; -+ break; -+ } -+ -+ if (strncmp (buf, "machine", sizeof ("machine") - 1) == 0 && -+ strstr (buf, "CHRP IBM")) -+ { -+ if (strstr (buf, "qemu")) -+ { -+ machtype = "chrp_ibm_qemu"; -+ break; -+ } -+ else -+ { -+ machtype = "chrp_ibm"; -+ break; -+ } -+ } -+ -+ if (strncmp (buf, "platform", sizeof ("platform") - 1) == 0) -+ { -+ if (strstr (buf, "Maple")) -+ { -+ machtype = "maple"; -+ break; -+ } -+ if (strstr (buf, "Cell")) -+ { -+ machtype = "cell"; -+ break; -+ } -+ } -+ } -+ -+ free (buf); -+ fclose (fp); -+ return machtype; -+} -diff --git a/grub-core/osdep/unix/platform.c b/grub-core/osdep/unix/platform.c -index a3fcfcaca..28cb37e15 100644 ---- a/grub-core/osdep/unix/platform.c -+++ b/grub-core/osdep/unix/platform.c -@@ -218,13 +218,29 @@ grub_install_register_ieee1275 (int is_prep, const char *install_device, - else - boot_device = get_ofpathname (install_device); - -- if (grub_util_exec ((const char * []){ "nvsetenv", "boot-device", -- boot_device, NULL })) -+ if (strcmp (grub_install_get_default_powerpc_machtype (), "chrp_ibm") == 0) - { -- char *cmd = xasprintf ("setenv boot-device %s", boot_device); -- grub_util_error (_("`nvsetenv' failed. \nYou will have to set `boot-device' variable manually. At the IEEE1275 prompt, type:\n %s\n"), -- cmd); -- free (cmd); -+ char *arg = xasprintf ("boot-device=%s", boot_device); -+ if (grub_util_exec ((const char * []){ "nvram", -+ "--update-config", arg, NULL })) -+ { -+ char *cmd = xasprintf ("setenv boot-device %s", boot_device); -+ grub_util_error (_("`nvram' failed. \nYou will have to set `boot-device' variable manually. At the IEEE1275 prompt, type:\n %s\n"), -+ cmd); -+ free (cmd); -+ } -+ free (arg); -+ } -+ else -+ { -+ if (grub_util_exec ((const char * []){ "nvsetenv", "boot-device", -+ boot_device, NULL })) -+ { -+ char *cmd = xasprintf ("setenv boot-device %s", boot_device); -+ grub_util_error (_("`nvsetenv' failed. \nYou will have to set `boot-device' variable manually. At the IEEE1275 prompt, type:\n %s\n"), -+ cmd); -+ free (cmd); -+ } - } - - free (boot_device); -diff --git a/grub-core/osdep/windows/platform.c b/grub-core/osdep/windows/platform.c -index 912269191..c30025b13 100644 ---- a/grub-core/osdep/windows/platform.c -+++ b/grub-core/osdep/windows/platform.c -@@ -128,6 +128,12 @@ grub_install_get_default_x86_platform (void) - return "i386-efi"; - } - -+const char * -+grub_install_get_default_powerpc_machtype (void) -+{ -+ return "generic"; -+} -+ - static void * - get_efi_variable (const wchar_t *varname, ssize_t *len) - { -diff --git a/include/grub/util/install.h b/include/grub/util/install.h -index 5ca4811cd..9f517a1bb 100644 ---- a/include/grub/util/install.h -+++ b/include/grub/util/install.h -@@ -223,6 +223,9 @@ grub_install_get_default_arm_platform (void); - const char * - grub_install_get_default_x86_platform (void); - -+const char * -+grub_install_get_default_powerpc_machtype (void); -+ - int - grub_install_register_efi (grub_device_t efidir_grub_dev, - const char *efifile_path, -diff --git a/util/grub-install.c b/util/grub-install.c -index e1a0202da..70b22eec4 100644 ---- a/util/grub-install.c -+++ b/util/grub-install.c -@@ -1179,7 +1179,18 @@ main (int argc, char *argv[]) - - if (platform == GRUB_INSTALL_PLATFORM_POWERPC_IEEE1275) - { -+ const char *machtype = grub_install_get_default_powerpc_machtype (); - int is_guess = 0; -+ -+ if (strcmp (machtype, "pmac_oldworld") == 0) -+ update_nvram = 0; -+ else if (strcmp (machtype, "cell") == 0) -+ update_nvram = 0; -+ else if (strcmp (machtype, "generic") == 0) -+ update_nvram = 0; -+ else if (strcmp (machtype, "chrp_ibm_qemu") == 0) -+ update_nvram = 0; -+ - if (!macppcdir) - { - char *d; diff --git a/srcpkgs/grub/patches/os-prober-osx86.patch b/srcpkgs/grub/patches/os-prober-osx86.patch deleted file mode 100644 index f0357c7..0000000 --- a/srcpkgs/grub/patches/os-prober-osx86.patch +++ /dev/null @@ -1,16 +0,0 @@ -Patches OS X detection out of os-prober hook on non-x86 architectures. The -menu entries generated for those are invalid for non-x86 Mac stuff. ---- a/util/grub.d/30_os-prober.in -+++ b/util/grub.d/30_os-prober.in -@@ -45,6 +45,11 @@ if [ -z "${OSPROBED}" ] ; then - fi - - osx_entry() { -+ # GRUB won't load OS X outside of x86, no entry -+ case "x`uname -m`" in -+ xi?86|xx86_64) ;; -+ *) return ;; -+ esac - if [ x$2 = x32 ]; then - # TRANSLATORS: it refers to kernel architecture (32-bit) - bitstr="$(gettext "(32-bit)")" diff --git a/srcpkgs/grub/patches/ppc64el-disable-vsx.patch b/srcpkgs/grub/patches/ppc64el-disable-vsx.patch deleted file mode 100644 index 67744dd..0000000 --- a/srcpkgs/grub/patches/ppc64el-disable-vsx.patch +++ /dev/null @@ -1,52 +0,0 @@ -From efc381a55124b12fc74ed8117283f11367c9372a Mon Sep 17 00:00:00 2001 -From: Paulo Flabiano Smorigo -Date: Thu, 25 Sep 2014 19:33:39 -0300 -Subject: Disable VSX instruction - -VSX bit is enabled by default for Power7 and Power8 CPU models, -so we need to disable them in order to avoid instruction exceptions. -Kernel will activate it when necessary. - -* grub-core/kern/powerpc/ieee1275/startup.S: Disable VSX. - -Also-By: Adhemerval Zanella -Also-By: Colin Watson - -Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00078.html -Last-Update: 2015-01-27 - -Patch-Name: ppc64el-disable-vsx.patch ---- - grub-core/kern/powerpc/ieee1275/startup.S | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/grub-core/kern/powerpc/ieee1275/startup.S b/grub-core/kern/powerpc/ieee1275/startup.S -index 21c884b43..de9a9601a 100644 ---- a/grub-core/kern/powerpc/ieee1275/startup.S -+++ b/grub-core/kern/powerpc/ieee1275/startup.S -@@ -20,6 +20,8 @@ - #include - #include - -+#define MSR_VSX 0x80 -+ - .extern __bss_start - .extern _end - -@@ -28,6 +30,16 @@ - .globl start, _start - start: - _start: -+ _start: -+ -+ /* Disable VSX instruction */ -+ mfmsr 0 -+ oris 0,0,MSR_VSX -+ /* The "VSX Available" bit is in the lower half of the MSR, so we -+ don't need mtmsrd, which in any case won't work in 32-bit mode. */ -+ mtmsr 0 -+ isync -+ - li 2, 0 - li 13, 0 - diff --git a/srcpkgs/grub/patches/xx-e2fsprogs-1.patch b/srcpkgs/grub/patches/xx-e2fsprogs-1.patch deleted file mode 100644 index 5cd8327..0000000 --- a/srcpkgs/grub/patches/xx-e2fsprogs-1.patch +++ /dev/null @@ -1,62 +0,0 @@ -Patch-Source: https://git.savannah.gnu.org/cgit/grub.git/commit/?id=7fd5feff97c4b1f446f8fcf6d37aca0c64e7c763 -useful because e2fsprogs 1.47 defaults to this enabled, and grub won't touch it --- -From 7fd5feff97c4b1f446f8fcf6d37aca0c64e7c763 Mon Sep 17 00:00:00 2001 -From: Javier Martinez Canillas -Date: Fri, 11 Jun 2021 21:36:16 +0200 -Subject: fs/ext2: Ignore checksum seed incompat feature - -This incompat feature is used to denote that the filesystem stored its -metadata checksum seed in the superblock. This is used to allow tune2fs -changing the UUID on a mounted metdata_csum filesystem without having -to rewrite all the disk metadata. However, the GRUB doesn't use the -metadata checksum at all. So, it can just ignore this feature if it -is enabled. This is consistent with the GRUB filesystem code in general -which just does a best effort to access the filesystem's data. - -The checksum seed incompat feature has to be removed from the ignore -list if the support for metadata checksum verification is added to the -GRUB ext2 driver later. - -Suggested-by: Eric Sandeen -Suggested-by: Lukas Czerner -Signed-off-by: Javier Martinez Canillas -Reviewed-by: Lukas Czerner -Reviewed-by: Daniel Kiper ---- - grub-core/fs/ext2.c | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -diff --git a/grub-core/fs/ext2.c b/grub-core/fs/ext2.c -index e7dd78e..4953a15 100644 ---- a/grub-core/fs/ext2.c -+++ b/grub-core/fs/ext2.c -@@ -103,6 +103,7 @@ GRUB_MOD_LICENSE ("GPLv3+"); - #define EXT4_FEATURE_INCOMPAT_64BIT 0x0080 - #define EXT4_FEATURE_INCOMPAT_MMP 0x0100 - #define EXT4_FEATURE_INCOMPAT_FLEX_BG 0x0200 -+#define EXT4_FEATURE_INCOMPAT_CSUM_SEED 0x2000 - #define EXT4_FEATURE_INCOMPAT_ENCRYPT 0x10000 - - /* The set of back-incompatible features this driver DOES support. Add (OR) -@@ -123,10 +124,15 @@ GRUB_MOD_LICENSE ("GPLv3+"); - * mmp: Not really back-incompatible - was added as such to - * avoid multiple read-write mounts. Safe to ignore for this - * RO driver. -+ * checksum seed: Not really back-incompatible - was added to allow tools -+ * such as tune2fs to change the UUID on a mounted metadata -+ * checksummed filesystem. Safe to ignore for now since the -+ * driver doesn't support checksum verification. However, it -+ * has to be removed from this list if the support is added later. - */ - #define EXT2_DRIVER_IGNORED_INCOMPAT ( EXT3_FEATURE_INCOMPAT_RECOVER \ -- | EXT4_FEATURE_INCOMPAT_MMP) -- -+ | EXT4_FEATURE_INCOMPAT_MMP \ -+ | EXT4_FEATURE_INCOMPAT_CSUM_SEED) - - #define EXT3_JOURNAL_MAGIC_NUMBER 0xc03b3998U - --- -cgit v1.1 - diff --git a/srcpkgs/grub/patches/xx-e2fsprogs-2.patch b/srcpkgs/grub/patches/xx-e2fsprogs-2.patch deleted file mode 100644 index 7e02e20..0000000 --- a/srcpkgs/grub/patches/xx-e2fsprogs-2.patch +++ /dev/null @@ -1,60 +0,0 @@ -Patch-Source: https://git.savannah.gnu.org/cgit/grub.git/patch/?id=2e9fa73a040462b81bfbfe56c0bc7ad2d30b446b -useful to support the large_dir ext4 feature --- -From 2e9fa73a040462b81bfbfe56c0bc7ad2d30b446b Mon Sep 17 00:00:00 2001 -From: Theodore Ts'o -Date: Tue, 30 Aug 2022 22:41:59 -0400 -Subject: fs/ext2: Ignore the large_dir incompat feature - -Recently, ext4 added the large_dir feature, which adds support for -a 3 level htree directory support. - -The GRUB supports existing file systems with htree directories by -ignoring their existence, and since the index nodes for the hash tree -look like deleted directory entries (by design), the GRUB can simply do -a brute force O(n) linear search of directories. The same is true for -3 level deep htrees indicated by large_dir feature flag. - -Hence, it is safe for the GRUB to ignore the large_dir incompat feature. - -Fixes: https://savannah.gnu.org/bugs/?61606 - -Signed-off-by: Theodore Ts'o -Reviewed-by: Daniel Kiper ---- - grub-core/fs/ext2.c | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -diff --git a/grub-core/fs/ext2.c b/grub-core/fs/ext2.c -index 0989e26..e1cc5e6 100644 ---- a/grub-core/fs/ext2.c -+++ b/grub-core/fs/ext2.c -@@ -104,6 +104,7 @@ GRUB_MOD_LICENSE ("GPLv3+"); - #define EXT4_FEATURE_INCOMPAT_MMP 0x0100 - #define EXT4_FEATURE_INCOMPAT_FLEX_BG 0x0200 - #define EXT4_FEATURE_INCOMPAT_CSUM_SEED 0x2000 -+#define EXT4_FEATURE_INCOMPAT_LARGEDIR 0x4000 /* >2GB or 3 level htree */ - #define EXT4_FEATURE_INCOMPAT_ENCRYPT 0x10000 - - /* The set of back-incompatible features this driver DOES support. Add (OR) -@@ -129,10 +130,17 @@ GRUB_MOD_LICENSE ("GPLv3+"); - * checksummed filesystem. Safe to ignore for now since the - * driver doesn't support checksum verification. However, it - * has to be removed from this list if the support is added later. -+ * large_dir: Not back-incompatible given that the GRUB ext2 driver does -+ * not implement EXT2_FEATURE_COMPAT_DIR_INDEX. If the GRUB -+ * eventually supports the htree feature (aka dir_index) -+ * it should support 3 level htrees and then move -+ * EXT4_FEATURE_INCOMPAT_LARGEDIR to -+ * EXT2_DRIVER_SUPPORTED_INCOMPAT. - */ - #define EXT2_DRIVER_IGNORED_INCOMPAT ( EXT3_FEATURE_INCOMPAT_RECOVER \ - | EXT4_FEATURE_INCOMPAT_MMP \ -- | EXT4_FEATURE_INCOMPAT_CSUM_SEED) -+ | EXT4_FEATURE_INCOMPAT_CSUM_SEED \ -+ | EXT4_FEATURE_INCOMPAT_LARGEDIR) - - #define EXT3_JOURNAL_MAGIC_NUMBER 0xc03b3998U - --- -cgit v1.1 diff --git a/srcpkgs/grub/template b/srcpkgs/grub/template deleted file mode 100644 index a8a5948..0000000 --- a/srcpkgs/grub/template +++ /dev/null @@ -1,223 +0,0 @@ -# Template file for 'grub' -pkgname=grub -version=2.06 -revision=4 -hostmakedepends="python3 pkg-config flex freetype-devel font-unifont-bdf help2man - automake gettext-devel-tools" -makedepends="libusb-compat-devel ncurses-devel freetype-devel - liblzma-devel device-mapper-devel fuse-devel" -depends="os-prober" -conf_files="/etc/default/grub /etc/grub.d/*" -short_desc="GRand Unified Bootloader 2" -maintainer="Tracker-Friendly " -license="GPL-3.0-or-later" -homepage="https://www.gnu.org/software/grub/" -distfiles="${GNU_SITE}/grub/grub-${version}.tar.xz" -checksum=b79ea44af91b93d17cd3fe80bdae6ed43770678a9a5ae192ccea803ebb657ee1 - -archs="i686 x86_64-musl" -nopie=yes - -subpackages="grub-utils" -# _SUPPLEMENTARY_BUILDS is a list of - version of grub to build -case "$XBPS_TARGET_MACHINE" in - x86_64*) - _NATIVE_PLATFORM=pc - _SUPPLEMENTARY_BUILDS="i386-efi x86_64-efi i386-coreboot x86_64-xen" - subpackages+=" grub-i386-efi grub-x86_64-efi grub-i386-coreboot grub-xen" - ;; - i686*) - CFLAGS="-D_FILE_OFFSET_BITS=64" - hostmakedepends+=" cross-x86_64-linux-musl" - configure_args+=" ac_cv_sizeof_off_t=8" - _NATIVE_PLATFORM=pc - _SUPPLEMENTARY_BUILDS="i386-efi x86_64-efi i386-coreboot i386-xen" - subpackages+=" grub-i386-efi grub-x86_64-efi grub-i386-coreboot grub-xen" - ;; - aarch64*) - _NATIVE_PLATFORM=efi - subpackages+=" grub-arm64-efi" - ;; - ppc*) - _NATIVE_PLATFORM=ieee1275 - subpackages+=" grub-powerpc-ieee1275" - ;; -esac - -pre_configure() { - autoreconf -fi -} - -do_configure() { - # workaround for https://savannah.gnu.org/bugs/?60458 - # some more info: https://www.linuxquestions.org/questions/showthread.php?p=6257712 - # grub 2.06 reboots immediately when compiled with -O2, - # only affects legacy BIOS - export CFLAGS="${CFLAGS/-O2/-Os}" - export CXXFLAGS="${CXXFLAGS/-O2/-Os}" - - unset CC AS LD RANLIB CPP - local freestanding_cflags="-fno-stack-protector" - - # building with altivec generates broken grub core - case "$XBPS_TARGET_MACHINE" in - ppc*) freestanding_cflags+=" -mno-altivec" ;; - esac - CFLAGS+=" $freestanding_cflags" - - configure_args+=" --enable-device-mapper --enable-cache-stats --enable-nls - --enable-grub-mkfont --enable-grub-mount --disable-werror - --sbindir=/usr/bin" - - # build tools - msg_normal "Configuring grub tools...\n" - mkdir $wrksrc/build - cd $wrksrc/build - ../configure --host=${XBPS_TARGET_MACHINE} ${configure_args} \ - ${_NATIVE_PLATFORM:+--with-platform=${_NATIVE_PLATFORM}} - - for _SUPP_BUILD in ${_SUPPLEMENTARY_BUILDS}; do - _TARGET=${_SUPP_BUILD%%-*} - _PLATFORM=${_SUPP_BUILD##*-} - msg_normal "Configuring ${_TARGET} ${_PLATFORM} grub...\n" - mkdir $wrksrc/${_PLATFORM}_${_TARGET}_build - cd $wrksrc/${_PLATFORM}_${_TARGET}_build - if [ "$_TARGET" = x86_64 ] && - [ "${XBPS_TARGET_MACHINE%-musl}" = i686 ]; then - _TARGET=x86_64-linux-musl - fi - CFLAGS="$freestanding_cflags" \ - ../configure --host=${XBPS_TARGET_MACHINE} \ - --target=${_TARGET} \ - --with-platform=${_PLATFORM} ${configure_args} \ - --disable-efiemu \ - --libdir=/usr/lib - done -} - -do_build() { - # XXX remove the strip wrapper - rm ${XBPS_WRAPPERDIR}/strip - - msg_normal "Building grub tools...\n" - cd $wrksrc/build - make ${makejobs} - - for _SUPP_BUILD in ${_SUPPLEMENTARY_BUILDS}; do - _TARGET=${_SUPP_BUILD%%-*} - _PLATFORM=${_SUPP_BUILD##*-} - msg_normal "Building ${_TARGET} ${_PLATFORM} grub...\n" - cd $wrksrc/${_PLATFORM}_${_TARGET}_build - make ${makejobs} - done -} - -do_install() { - # XXX remove the strip wrapper - rm ${XBPS_WRAPPERDIR}/strip - - for _SUPP_BUILD in ${_SUPPLEMENTARY_BUILDS}; do - _TARGET=${_SUPP_BUILD%%-*} - _GRUB_TARGET=${_TARGET} - case "${_GRUB_TARGET}" in - aarch64*) - _GRUB_TARGET=arm64 - ;; - esac - _PLATFORM=${_SUPP_BUILD##*-} - cd $wrksrc/${_PLATFORM}_${_TARGET}_build - make DESTDIR=$DESTDIR/${_PLATFORM}_${_TARGET} install - # Remove non-platform specific files - rm -rf ${DESTDIR}/${_PLATFORM}_${_TARGET}/{boot,etc,usr/{share,bin}} - rm -f ${DESTDIR}/${_PLATFORM}_${_TARGET}/usr/lib/grub/${_GRUB_TARGET}-${_PLATFORM}/${_GRUB_TARGET}-* - rm -f ${DESTDIR}/${_PLATFORM}_${_TARGET}/usr/lib/grub/${_GRUB_TARGET}-${_PLATFORM}/*.{module,image} - cp -r ${DESTDIR}/${_PLATFORM}_${_TARGET}/* ${DESTDIR} - rm -rf ${DESTDIR}/${_PLATFORM}_${_TARGET} - done - - cd $wrksrc/build - make DESTDIR=$DESTDIR install - - # Required to compress info files. - vmkdir usr/share/info - touch -f ${DESTDIR}/usr/share/info/dir - - vinstall ${FILESDIR}/grub.default 644 etc/default grub - # Kernel hooks. - vinstall ${FILESDIR}/kernel.d/grub.post 750 \ - etc/kernel.d/post-install 50-grub - vinstall ${FILESDIR}/kernel.d/grub.post 750 \ - etc/kernel.d/post-remove 50-grub - - # update-grub for noobs. - printf "#!/bin/sh\ngrub-mkconfig -o /boot/grub/grub.cfg\nexit \$?\n" >> \ - ${DESTDIR}/usr/bin/update-grub - chmod 755 ${DESTDIR}/usr/bin/update-grub - - vmkdir usr/share/bash-completion/completions - mv ${DESTDIR}/etc/bash_completion.d/grub \ - ${DESTDIR}/usr/share/bash-completion/completions - - # Remove useless tools - rm ${DESTDIR}/usr/bin/grub-ofpathname - rm ${DESTDIR}/usr/bin/grub-sparc64-setup -} - -grub-utils_package() { - short_desc+=" - additional utilities" - depends="grub>=${version}" - pkg_install() { - vmove usr/bin/grub-menulst2cfg - vmove usr/bin/grub-fstest - vmove usr/bin/grub-mkfont - } -} -grub-x86_64-efi_package() { - depends="grub>=$version dosfstools efibootmgr" - short_desc+=" - x86_64 EFI support" - pkg_install() { - vmove usr/lib/grub/x86_64-efi - } -} -grub-i386-efi_package() { - depends="grub>=$version dosfstools efibootmgr" - short_desc+=" - i386 EFI support" - pkg_install() { - vmove usr/lib/grub/i386-efi - } -} -grub-i386-coreboot_package() { - depends="grub>=$version" - short_desc+=" - i386 coreboot support" - pkg_install() { - vmove usr/lib/grub/i386-coreboot - } -} -grub-xen_package() { - depends="grub>=$version" - short_desc+=" - Xen PV support" - pkg_install() { - case "$XBPS_TARGET_MACHINE" in - x86_64*) - vmove usr/lib/grub/x86_64-xen - ;; - i686*) - vmove usr/lib/grub/i386-xen - ;; - esac - } -} -grub-arm64-efi_package() { - depends="grub>=$version dosfstools efibootmgr" - short_desc+=" - arm64 EFI support" - pkg_install() { - vmove usr/lib/grub/arm64-efi - } -} -grub-powerpc-ieee1275_package() { - depends="grub>=$version powerpc-utils" - short_desc+=" - powerpc Open Firmware support" - pkg_install() { - vmove usr/lib/grub/powerpc-ieee1275 - } -} diff --git a/srcpkgs/gtkloadspinner/template b/srcpkgs/gtkloadspinner/template index 8830732..2f5c8a6 100644 --- a/srcpkgs/gtkloadspinner/template +++ b/srcpkgs/gtkloadspinner/template @@ -1,10 +1,10 @@ #!/bin/sh pkgname=gtkloadspinner version=1.0 -revision=2 +revision=3 short_desc="Ridonculously simple spinner for GTK" maintainer="Tracker-Friendly " -homepage="https://hectabit.org/centrifuge/hectabit/GtkLoadSpinner" +homepage="https://centrifuge.hectabit.org/hectabit/GtkLoadSpinner" license="GPL-3.0" makedepends="make gcc git pkg-config gtk+3-devel" depends="gtk+3" @@ -13,7 +13,7 @@ do_build() { echo "Building..." cd ${XBPS_BUILDDIR} rm -rf gtkgreet - git clone https://hectabit.org/centrifuge/hectabit/GtkLoadSpinner.git + git clone https://centrifuge.hectabit.org/hectabit/GtkLoadSpinner cd GtkLoadSpinner make } diff --git a/srcpkgs/linux-base/template b/srcpkgs/linux-base/template index 1f386d9..b49a80d 100644 --- a/srcpkgs/linux-base/template +++ b/srcpkgs/linux-base/template @@ -1,18 +1,18 @@ # Template file for 'linux-base' pkgname=linux-base -version=2021.07.21 -revision=1 +version=2023.10.26 +revision=0 build_style=meta short_desc="Linux kernel base dependencies" -maintainer="Érico Nogueira " +maintainer="Tracker-Friendly " license="Public Domain" homepage="https://voidlinux.org/" case "$XBPS_TARGET_MACHINE" in i686*|x86_64*) - depends="linux-firmware-amd linux-firmware-intel linux-firmware-nvidia linux-firmware-network booster" + depends="linux-firmware-amd linux-firmware-intel linux-firmware-nvidia linux-firmware-network booster-evolution" ;; ppc*|armv7l*|aarch64*) - depends="linux-firmware-amd linux-firmware-nvidia linux-firmware-network booster" + depends="linux-firmware-amd linux-firmware-nvidia linux-firmware-network booster-evolution" ;; esac diff --git a/srcpkgs/neofetch/template b/srcpkgs/neofetch/template index 533890e..4cb2581 100644 --- a/srcpkgs/neofetch/template +++ b/srcpkgs/neofetch/template @@ -4,7 +4,7 @@ version=7.1.0 revision=8 short_desc="Simple system information script (not my software)" maintainer="Tracker-Friendly " -homepage="https://hectabit.org/centrifuge/evolutionos/neofetch" +homepage="https://centrifuge.hectabit.org/evolutionos/neofetch" license="MIT" makedepends="make git" depends="bash" @@ -16,7 +16,7 @@ do_build() { do_install() { echo "Installing..." - git clone --depth=1 https://hectabit.org/centrifuge/evolutionos/neofetch.git + git clone --depth=1 https://centrifuge.hectabit.org/evolutionos/neofetch.git cd neofetch mkdir -p ${DESTDIR}/usr/ make PREFIX=${DESTDIR}/usr/ install