diff options
author | davidovski <david@davidovski.xyz> | 2022-02-21 20:38:23 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-21 20:38:23 +0000 |
commit | e6d87da3fba638080f1c43d8930b09e462d0e040 (patch) | |
tree | 4d6044bd5f37e75f21dc5ddd8c004a66a344a8dc | |
parent | 659a17748c93c6523d2266511f4a5013a2c335be (diff) |
added dash
-rw-r--r-- | repo/meta/all.xibuild | 2 | ||||
-rw-r--r-- | repo/meta/sh.xibuild | 2 | ||||
-rw-r--r-- | repo/meta/util.xibuild | 2 | ||||
-rw-r--r-- | repo/meta/x11.xibuild | 2 | ||||
-rw-r--r-- | repo/util/bash.xibuild | 4 | ||||
-rw-r--r-- | repo/util/dash.xibuild | 24 |
6 files changed, 31 insertions, 5 deletions
diff --git a/repo/meta/all.xibuild b/repo/meta/all.xibuild index db5105c..370a608 100644 --- a/repo/meta/all.xibuild +++ b/repo/meta/all.xibuild @@ -2,4 +2,4 @@ # This file was automatically generated, do not edit! DESC="AlL tHe pacKageS!!" -DEPS=( asciidoc autoconf2-13 autoconf automake bc bison check cmake dejagnu distcc docbook4-xml docbook-dtd docbook-xml docbook-xsl expect flex gcc gdb git help2man icecream-sundae icecream llvm m4 make meson mpc ninja patch pkg-config rustc sgml-common texinfo xmlto encodings font-adobe-utopia-type1 font-alias font-bh-ttf font-bh-type1 fontconfig font-ibm-type1 font-misc-ethiopic font-util font-xfree86-type1 linux-firmware linux-headers linux cacert-utils fakechroot fakeroot acl acpid attr binutils bootscripts brotli bzip2 cacerts coreutils dbus dhcp efibootmgr efivar elogind eudev expat findutils freetype2 gc gdbm gettext glibc glib gmp gnutls gobject-introspection gperf grub guile gzip iana-etc icu intltool js78 kbd kmod krb5 ldns libarchive libcap-ng libcap libffi libgudev libidn libldap liblinear libndp libnghttp libnl libp11-kit libpcap libpipeline libpng libpsl libptytty libsasl libseccomp libsigsegv libssh2 libtasn1 libtirpc libtool libunistring libusb libxcrypt libxml2 libxslt lua lz4 lzo mkinitramfs mpfr mtdev ncurses nettle networkmanager newt nspr nss openssl pahole pam pcre perl perl-xml-parser polkit popt psmisc python-mako python-markupsafe python-requests python-six python readline rtmpdump sed shadow slang sysklogd sysvinit tar tcl tomlc99 xxhash xz zip zlib zstd acpi bash cpio curl diffutils dosfstools dracut e2fsprogs elfutils file gawk genfstab grep groff htop inetutils iproute2 iw keyutils less lm-sensors lynx make-ca man-db neofetch nmap openssh pciutils pm-utils procps-ng rsync sudo unzip usbutils util-linux vim webfs wget which wpa_supplicant iceauth intel-vaapi-driver libdmx libdrm libepoxy libevdev libfontenc libfs libice libinput libpciaccess libsm libva libvdpau-va-gl libvdpau libwacom libx11 libxau libxaw libxcb libxcomposite libxcursor libxcvt libxdamage libxdmcp libxext libxfixes libxfont2 libxft libxinerama libxi libxkbfile libxmu libxpm libxrandr libxrender libxres libxscrnsaver libxshmfence libxtst libxt libxvmc libxv libxxf86dga libxxf86vm luit mesa mkfontscale pixman rxvt-unicode sessreg setxkbmap smproxy wayland-protocols wayland x11perf xauth xbacklight xbitmaps xcb-proto xcb-util-cursor xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xcb-util xclock xcmsdb xcursorgen xcursor-themes xdpyinfo xdriinfo xev xeyes xf86-input-evdev xf86-input-libinput xf86-input-synaptics xf86-input-wacom xf86-video-amdgpu xf86-video-ati xf86-video-fbdev xf86-video-intel xf86-video-nouveau xf86-video-vmware xgamma xhost xinput xkbcomp xkbevd xkbutils xkeyboardconfig xkill xlsatoms xlsclients xmessage xmodmap xorg-libs xorgproto xorg-server xorg-util-macros xorg-xinit xprop xpr xrandr xrdb xrefresh xsetroot xset xterm xtrans xvinfo xwd xwininfo xwud sysconfigs xibuild xib xipkg xiutils) +DEPS=( asciidoc autoconf2-13 autoconf automake bc bison check cmake dejagnu distcc docbook4-xml docbook-dtd docbook-xml docbook-xsl expect flex gcc gdb git help2man icecream-sundae icecream llvm m4 make meson mpc ninja patch pkg-config rustc sgml-common texinfo xmlto encodings font-adobe-utopia-type1 font-alias font-bh-ttf font-bh-type1 fontconfig font-ibm-type1 font-misc-ethiopic font-util font-xfree86-type1 linux-firmware linux-headers linux cacert-utils fakechroot fakeroot acl acpid attr binutils bootscripts brotli bzip2 cacerts coreutils dbus dhcp efibootmgr efivar elogind eudev expat findutils freetype2 gc gdbm gettext glibc glib gmp gnutls gobject-introspection gperf grub guile gzip iana-etc icu intltool js78 kbd kmod krb5 ldns libarchive libcap-ng libcap libffi libgudev libidn libldap liblinear libndp libnghttp libnl libp11-kit libpcap libpipeline libpng libpsl libptytty libsasl libseccomp libsigsegv libssh2 libtasn1 libtirpc libtool libunistring libusb libxcrypt libxml2 libxslt lua lz4 lzo mkinitramfs mpfr mtdev ncurses nettle networkmanager newt nspr nss openssl pahole pam pcre perl perl-xml-parser polkit popt psmisc python-mako python-markupsafe python-requests python-six python readline rtmpdump sed shadow slang sysklogd sysvinit tar tcl tomlc99 xxhash xz zip zlib zstd acpi bash cpio curl dash diffutils dosfstools dracut e2fsprogs elfutils file fzf gawk genfstab grep groff htop inetutils iproute2 iw keyutils less lm-sensors lynx make-ca man-db neofetch nmap openssh pciutils pm-utils procps-ng rsync sudo unzip usbutils util-linux vim webfs wget which wireless-tools wpa_supplicant bspwm iceauth intel-vaapi-driver libdmx libdrm libepoxy libevdev libfontenc libfs libice libinput libpciaccess libsm libva libvdpau-va-gl libvdpau libwacom libx11 libxau libxaw libxcb libxcomposite libxcursor libxcvt libxdamage libxdmcp libxext libxfixes libxfont2 libxft libxinerama libxi libxkbfile libxmu libxpm libxrandr libxrender libxres libxscrnsaver libxshmfence libxtst libxt libxvmc libxv libxxf86dga libxxf86vm luit mesa mkfontscale pixman rxvt-unicode sessreg setxkbmap smproxy sxhkd wayland-protocols wayland x11perf xauth xbacklight xbitmaps xcb-proto xcb-util-cursor xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xcb-util xclock xcmsdb xcursorgen xcursor-themes xdpyinfo xdriinfo xev xeyes xf86-input-evdev xf86-input-libinput xf86-input-synaptics xf86-input-wacom xf86-video-amdgpu xf86-video-ati xf86-video-fbdev xf86-video-intel xf86-video-nouveau xf86-video-vmware xgamma xhost xinput xkbcomp xkbevd xkbutils xkeyboardconfig xkill xlsatoms xlsclients xmessage xmodmap xorg-libs xorgproto xorg-server xorg-util-macros xorg-xinit xprop xpr xrandr xrdb xrefresh xsetroot xset xterm xtrans xvinfo xwd xwininfo xwud sysconfigs xibuild xib xipkg xiutils) diff --git a/repo/meta/sh.xibuild b/repo/meta/sh.xibuild index a3ae799..589d6e4 100644 --- a/repo/meta/sh.xibuild +++ b/repo/meta/sh.xibuild @@ -1,5 +1,5 @@ #!/bin/bash -DEPS=(bash) +DEPS=(dash) MAKEDEPS=() DESC="The system shell" diff --git a/repo/meta/util.xibuild b/repo/meta/util.xibuild index 280b5d5..2528bf7 100644 --- a/repo/meta/util.xibuild +++ b/repo/meta/util.xibuild @@ -2,4 +2,4 @@ # This file was automatically generated, do not edit! DESC="All the the packages available in util" -DEPS=( acpi bash cpio curl diffutils dosfstools dracut e2fsprogs elfutils file gawk genfstab grep groff htop inetutils iproute2 iw keyutils less lm-sensors lynx make-ca man-db neofetch nmap openssh pciutils pm-utils procps-ng rsync sudo unzip usbutils util-linux vim webfs wget which wpa_supplicant) +DEPS=( acpi bash cpio curl dash diffutils dosfstools dracut e2fsprogs elfutils file fzf gawk genfstab grep groff htop inetutils iproute2 iw keyutils less lm-sensors lynx make-ca man-db neofetch nmap openssh pciutils pm-utils procps-ng rsync sudo unzip usbutils util-linux vim webfs wget which wireless-tools wpa_supplicant) diff --git a/repo/meta/x11.xibuild b/repo/meta/x11.xibuild index 67cf299..4dbf5a2 100644 --- a/repo/meta/x11.xibuild +++ b/repo/meta/x11.xibuild @@ -2,4 +2,4 @@ # This file was automatically generated, do not edit! DESC="All the the packages available in x11" -DEPS=( iceauth intel-vaapi-driver libdmx libdrm libepoxy libevdev libfontenc libfs libice libinput libpciaccess libsm libva libvdpau-va-gl libvdpau libwacom libx11 libxau libxaw libxcb libxcomposite libxcursor libxcvt libxdamage libxdmcp libxext libxfixes libxfont2 libxft libxinerama libxi libxkbfile libxmu libxpm libxrandr libxrender libxres libxscrnsaver libxshmfence libxtst libxt libxvmc libxv libxxf86dga libxxf86vm luit mesa mkfontscale pixman rxvt-unicode sessreg setxkbmap smproxy wayland-protocols wayland x11perf xauth xbacklight xbitmaps xcb-proto xcb-util-cursor xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xcb-util xclock xcmsdb xcursorgen xcursor-themes xdpyinfo xdriinfo xev xeyes xf86-input-evdev xf86-input-libinput xf86-input-synaptics xf86-input-wacom xf86-video-amdgpu xf86-video-ati xf86-video-fbdev xf86-video-intel xf86-video-nouveau xf86-video-vmware xgamma xhost xinput xkbcomp xkbevd xkbutils xkeyboardconfig xkill xlsatoms xlsclients xmessage xmodmap xorg-libs xorgproto xorg-server xorg-util-macros xorg-xinit xprop xpr xrandr xrdb xrefresh xsetroot xset xterm xtrans xvinfo xwd xwininfo xwud) +DEPS=( bspwm iceauth intel-vaapi-driver libdmx libdrm libepoxy libevdev libfontenc libfs libice libinput libpciaccess libsm libva libvdpau-va-gl libvdpau libwacom libx11 libxau libxaw libxcb libxcomposite libxcursor libxcvt libxdamage libxdmcp libxext libxfixes libxfont2 libxft libxinerama libxi libxkbfile libxmu libxpm libxrandr libxrender libxres libxscrnsaver libxshmfence libxtst libxt libxvmc libxv libxxf86dga libxxf86vm luit mesa mkfontscale pixman rxvt-unicode sessreg setxkbmap smproxy sxhkd wayland-protocols wayland x11perf xauth xbacklight xbitmaps xcb-proto xcb-util-cursor xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xcb-util xclock xcmsdb xcursorgen xcursor-themes xdpyinfo xdriinfo xev xeyes xf86-input-evdev xf86-input-libinput xf86-input-synaptics xf86-input-wacom xf86-video-amdgpu xf86-video-ati xf86-video-fbdev xf86-video-intel xf86-video-nouveau xf86-video-vmware xgamma xhost xinput xkbcomp xkbevd xkbutils xkeyboardconfig xkill xlsatoms xlsclients xmessage xmodmap xorg-libs xorgproto xorg-server xorg-util-macros xorg-xinit xprop xpr xrandr xrdb xrefresh xsetroot xset xterm xtrans xvinfo xwd xwininfo xwud) diff --git a/repo/util/bash.xibuild b/repo/util/bash.xibuild index 8e1a3d8..15f0f89 100644 --- a/repo/util/bash.xibuild +++ b/repo/util/bash.xibuild @@ -14,7 +14,9 @@ build () { package () { make DESTDIR=$PKG_DEST install - ln $PKG_DEST/usr/bin/bash $PKG_DEST/usr/bin/sh + + # favouring dash as /bin/sh + #ln $PKG_DEST/usr/bin/bash $PKG_DEST/usr/bin/sh } postinstall () { diff --git a/repo/util/dash.xibuild b/repo/util/dash.xibuild new file mode 100644 index 0000000..c12f1e6 --- /dev/null +++ b/repo/util/dash.xibuild @@ -0,0 +1,24 @@ +#!/bin/bash + +MAKEDEPS=(make ) +DEPS=(glibc) + +PKG_VER=0.5.11.5 +SOURCE=http://gondor.apana.org.au/~herbert/dash/files/dash-$PKG_VER.tar.gz +DESC="POSIX compliant shell that aims to be as small as possible" + +build () { + ./configure --bindir=/bin --mandir=/usr/share/man && + make +} + +package () { + make DESTDIR=$PKG_DEST install + ln $PKG_DEST/usr/bin/dash $PKG_DEST/usr/bin/sh +} + +postinstall () { + if [ -f /etc/shells ] || grep -vq "dash" /etc/shells; then + echo "/bin/bash" >> /etc/shells + fi +} |