From d30c88ec829e40333150d9f0aece53ba1bcdd05a Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 5 Feb 2022 23:06:30 +0000 Subject: added auto-mainainer to build meta packages --- auto/create_meta.sh | 27 ++++++ repo/meta/all.xibuild | 11 +-- repo/meta/base.xibuild | 4 +- repo/meta/devel.xibuild | 5 + repo/meta/linux.xibuild | 5 + repo/meta/meta.xibuild | 5 + repo/meta/skip.xibuild | 5 + repo/meta/system.xibuild | 14 +-- repo/meta/systemconfigs.xibuild | 196 ---------------------------------------- repo/meta/util.xibuild | 5 + repo/meta/utilities.xibuild | 11 --- repo/meta/xi.xibuild | 5 + repo/xi/sysconfigs.xibuild | 196 ++++++++++++++++++++++++++++++++++++++++ repo/xi/xipkg.xibuild | 2 +- 14 files changed, 264 insertions(+), 227 deletions(-) create mode 100755 auto/create_meta.sh create mode 100644 repo/meta/devel.xibuild create mode 100644 repo/meta/linux.xibuild create mode 100644 repo/meta/meta.xibuild create mode 100644 repo/meta/skip.xibuild delete mode 100644 repo/meta/systemconfigs.xibuild create mode 100644 repo/meta/util.xibuild delete mode 100644 repo/meta/utilities.xibuild create mode 100644 repo/meta/xi.xibuild create mode 100644 repo/xi/sysconfigs.xibuild diff --git a/auto/create_meta.sh b/auto/create_meta.sh new file mode 100755 index 0000000..c05b084 --- /dev/null +++ b/auto/create_meta.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +create() { + local desc=$* + + printf "#!/bin/bash\n" + printf "# This file was automatically generated, do not edit!" + printf "\n\n" + + printf "DESC=\"$desc\"\n" + printf "DEPS=(" + while read repo; do + [ -d repo/$repo ] && [ ! "$repo" = "meta" ] && + for file in $(ls repo/$repo/*.xibuild); do + local name=$(basename -s ".xibuild" $file) + printf " $name" + done + done + + printf ")\n" +} + +ls repo | create 'AlL tHe pacKageS!!' > repo/meta/all.xibuild + +for repo in $(ls repo); do + [ "$repo " = "meta" ] || echo $repo | create "All the the packages available in $repo" > repo/meta/$repo.xibuild +done diff --git a/repo/meta/all.xibuild b/repo/meta/all.xibuild index f2ee6a6..fff812b 100644 --- a/repo/meta/all.xibuild +++ b/repo/meta/all.xibuild @@ -1,8 +1,5 @@ -DEPS=() -for i in $(ls -1 $(echo $BUILD_FILE_PATH | rev | cut -d/ -f3- | rev)/*/*.xibuild); do -MAKEDEPS=() - name=$(basename -s .xibuild $i) - DEPS=(${DEPS[@]} $name) -done +#!/bin/bash +# This file was automatically generated, do not edit! -DESC="AlL tHe pacKageS!!!" +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 git help2man llvm m4 make meson mpc ninja patch pkg-config rustc sgml-common texinfo xmlto linux-headers linux cacert-utils fakechroot fakeroot icecream acl attr binutils bootscripts brotli bzip2 cacerts coreutils dbus 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 libidn libldap libndp libnghttp libnl libp11-kit libpipeline libpng libpsl libsasl libseccomp libsigsegv libssh2 libtasn1 libtool libunistring libxcrypt libxml2 libxslt lz4 lzo mkinitramfs mpfr ncurses nettle networkmanager newt nspr nss openssl pahole pam pcre perl perl-xml-parser polkit popt psmisc python-mako python-markupsafe python-requests python readline rtmpdump sed shadow slang sysklogd sysvinit tar tcl xxhash xz zip zlib zstd bash cpio curl diffutils dosfstools dracut e2fsprogs elfutils file gawk grep groff inetutils iproute2 keyutils less make-ca man-db neofetch openssh procps-ng rsync unzip util-linux vim which wpa_supplicant xibuild xipkg) diff --git a/repo/meta/base.xibuild b/repo/meta/base.xibuild index 4797e39..ca34c73 100644 --- a/repo/meta/base.xibuild +++ b/repo/meta/base.xibuild @@ -1,5 +1,5 @@ #!/bin/bash -DEPS=(acl attr binutils brotli bzip2 cacerts coreutils eudev expat findutils gc gdbm gettext glibc gmp gnutls gperf grep grub guile gzip iana-etc intltool kbd kmod krb5 libcap-ng libcap libffi libiconv libidn libldap libnghttp libp11-kit libpipeline libpsl libsasl libseccomp libsigsegv libtasn1 libtool libunistring libxcrypt libxml2 libxslt lz4 lzo mpfr ncurses nettle nspr openssl pam pcre perl perl-xml-parser psmisc python-requests python readline rtmpdump sed shadow sysklogd sysvinit tar tcl xxhash xz zip zlib zstd linux-headers xipkg bootscripts systemconfigs linux dracut) -MAKEDEPS=(grep python ) +DEPS=(bash bzip2 coreutils findutils iana-etc file gawk gettext glibc grep gzip iproute2 iputils xipkg pciutils procps-ng psmisc sed shadow sysvinit tar util-linux xz linux-headers sysconfigs ) +MAKEDEPS=(grep python) DESC="The base system to be installed" diff --git a/repo/meta/devel.xibuild b/repo/meta/devel.xibuild new file mode 100644 index 0000000..1be0c1f --- /dev/null +++ b/repo/meta/devel.xibuild @@ -0,0 +1,5 @@ +#!/bin/bash +# This file was automatically generated, do not edit! + +DESC="All the the packages available in devel" +DEPS=( asciidoc autoconf2.13 autoconf automake bc bison check cmake dejagnu distcc docbook4-xml docbook-dtd docbook-xml docbook-xsl expect flex gcc git help2man llvm m4 make meson mpc ninja patch pkg-config rustc sgml-common texinfo xmlto) diff --git a/repo/meta/linux.xibuild b/repo/meta/linux.xibuild new file mode 100644 index 0000000..0c830a5 --- /dev/null +++ b/repo/meta/linux.xibuild @@ -0,0 +1,5 @@ +#!/bin/bash +# This file was automatically generated, do not edit! + +DESC="All the the packages available in linux" +DEPS=( linux-headers linux) diff --git a/repo/meta/meta.xibuild b/repo/meta/meta.xibuild new file mode 100644 index 0000000..63f0390 --- /dev/null +++ b/repo/meta/meta.xibuild @@ -0,0 +1,5 @@ +#!/bin/bash +# This file was automatically generated, do not edit! + +DESC="All the the packages available in meta" +DEPS=() diff --git a/repo/meta/skip.xibuild b/repo/meta/skip.xibuild new file mode 100644 index 0000000..4d86856 --- /dev/null +++ b/repo/meta/skip.xibuild @@ -0,0 +1,5 @@ +#!/bin/bash +# This file was automatically generated, do not edit! + +DESC="All the the packages available in skip" +DEPS=( cacert-utils fakechroot fakeroot icecream) diff --git a/repo/meta/system.xibuild b/repo/meta/system.xibuild index 06971e3..b64532e 100644 --- a/repo/meta/system.xibuild +++ b/repo/meta/system.xibuild @@ -1,11 +1,5 @@ -repo=devel +#!/bin/bash +# This file was automatically generated, do not edit! -MAKEDEPS=() -DEPS=() - -for i in $(ls -1 $(echo $BUILD_FILE_PATH | rev | cut -d/ -f3- | rev)/$repo); do - name=$(basename -s .xibuild $i) - DEPS=(${DEPS[@]} $name) -done - -DESC="The full set of system packages available on xilinux" +DESC="All the the packages available in system" +DEPS=( acl attr binutils bootscripts brotli bzip2 cacerts coreutils dbus 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 libidn libldap libndp libnghttp libnl libp11-kit libpipeline libpng libpsl libsasl libseccomp libsigsegv libssh2 libtasn1 libtool libunistring libxcrypt libxml2 libxslt lz4 lzo mkinitramfs mpfr ncurses nettle networkmanager newt nspr nss openssl pahole pam pcre perl perl-xml-parser polkit popt psmisc python-mako python-markupsafe python-requests python readline rtmpdump sed shadow slang sysklogd sysvinit tar tcl xxhash xz zip zlib zstd) diff --git a/repo/meta/systemconfigs.xibuild b/repo/meta/systemconfigs.xibuild deleted file mode 100644 index 8d0556f..0000000 --- a/repo/meta/systemconfigs.xibuild +++ /dev/null @@ -1,196 +0,0 @@ -#!/bin/bash - -MAKEDEPS=() -DEPS=(bootscripts sh) - -PKG_VER=N/A -DESC="Default system configs for xilinux" - -package () { - mkdir -pv $PKG_DEST/etc/ - mkdir -pv $PKG_DEST/etc/sysconfig - cat > $PKG_DEST/etc/sysconfig/rc.site << "EOF" -# rc.site - -# Distro Information -DISTRO="xilinux" # The distro name -DISTRO_CONTACT="xi@davidovski.xyz" # Bug report address -DISTRO_MINI="xi" # Short name used in filenames for distro config - -# Define custom colors used in messages printed to the screen - -# Please consult `man console_codes` for more information -# under the "ECMA-48 Set Graphics Rendition" section -# -# Warning: when switching from a 8bit to a 9bit font, -# the linux console will reinterpret the bold (1;) to -# the top 256 glyphs of the 9bit font. This does -# not affect framebuffer consoles - -BRACKET="\\033[1;34m" # Blue -FAILURE="\\033[1;31m" # Red -INFO="\\033[1;36m" # Cyan -NORMAL="\\033[0;39m" # Grey -SUCCESS="\\033[1;32m" # Green -WARNING="\\033[1;33m" # Yellow - -# Use a colored prefix -BMPREFIX=" " -SUCCESS_PREFIX="${SUCCESS} * ${NORMAL} " -FAILURE_PREFIX="${FAILURE}*****${NORMAL} " -WARNING_PREFIX="${WARNING} *** ${NORMAL} " - -# Manually seet the right edge of message output (characters) -# Useful when resetting console font during boot to override -# automatic screen width detection -#COLUMNS=120 - -# Interactive startup -#IPROMPT="yes" # Whether to display the interactive boot prompt -#itime="3" # The amount of time (in seconds) to display the prompt - -# The total length of the distro welcome string, without escape codes -wlen=$(echo "Welcome to ${DISTRO}" | wc -c ) -welcome_message="Welcome to ${INFO}${DISTRO}${NORMAL}" - -# The total length of the interactive string, without escape codes -#ilen=$(echo "Press 'I' to enter interactive startup" | wc -c ) -#i_message="Press '${FAILURE}I${NORMAL}' to enter interactive startup" - -# Set scripts to skip the file system check on reboot -#FASTBOOT=yes - -# Skip reading from the console -#HEADLESS=yes - -# Write out fsck progress if yes -#VERBOSE_FSCK=no - -# Speed up boot without waiting for settle in udev -#OMIT_UDEV_SETTLE=y - -# Speed up boot without waiting for settle in udev_retry -#OMIT_UDEV_RETRY_SETTLE=yes - -# Skip cleaning /tmp if yes -#SKIPTMPCLEAN=no - -# For setclock -UTC=1 -#CLOCKPARAMS= - -# For consolelog (Note that the default, 7=debug, is noisy) -#LOGLEVEL=7 - -# For network -HOSTNAME=xi - -# Delay between TERM and KILL signals at shutdown -#KILLDELAY=3 - -# Optional sysklogd parameters -SYSKLOGD_PARMS="-m 0" - -# Console parameters -UNICODE=1 -KEYMAP="de-latin1" -KEYMAP_CORRECTIONS="euro2" -FONT="lat0-16 -m 8859-15" -#LEGACY_CHARSET= -EOF - - - cat > $PKG_DEST/etc/profile << "EOF" - -umask 022 - -PS1="\u@\h \w $ " -PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/.local/bin - -export PATH -export PS1 - -# Termcap is outdated, old, and crusty, kill it. -unset TERMCAP - -# Man is much better than us at figuring this out -unset MANPATH -export QT_QPA_PLATFORMTHEME=qt5ct -EOF - - cat > $PKG_DEST/etc/inputrc << "EOF" -# Begin /etc/inputrc -# Modified by Chris Lynn - -# Allow the command prompt to wrap to the next line -set horizontal-scroll-mode Off - -# Enable 8bit input -set meta-flag On -set input-meta On - -# Turns off 8th bit stripping -set convert-meta Off - -# Keep the 8th bit for display -set output-meta On - -# none, visible or audible -set bell-style none - -# All of the following map the escape sequence of the value -# contained in the 1st argument to the readline specific functions -"\eOd": backward-word -"\eOc": forward-word - -# for linux console -"\e[1~": beginning-of-line -"\e[4~": end-of-line -"\e[5~": beginning-of-history -"\e[6~": end-of-history -"\e[3~": delete-char -"\e[2~": quoted-insert - -# for xterm -"\eOH": beginning-of-line -"\eOF": end-of-line - -# for Konsole -"\e[H": beginning-of-line -"\e[F": end-of-line - -# End /etc/inputrc -EOF - cat > $PKG_DEST/etc/shells << "EOF" - /bin/sh -EOF - - cat > $PKG_DEST/etc/lsb-release << "EOF" -LSB_VERSION=1.4 -DISTRIB_ID="xilinux" -DISTRIB_RELEASE=rolling -DISTRIB_DESCRIPTION="Xi Linux" -EOF - - cat > $PKG_DEST/etc/lsb-release << "EOF" -LSB_VERSION=1.4 -DISTRIB_ID=xi -DISTRIB_RELEASE=rolling -DISTRIB_DESCRIPTION="XiLinux" -EOF - cat > $PKG_DEST/etc/os-release << "EOF" -NAME="xilinux" -PRETTY_NAME="XiLinux" -ID=xi -BUILD_ID=rolling -ANSI_COLOR="38;2;23;147;209" -HOME_URL="https://xi.davidovski.xyz" -DOCUMENTATION_URL="https://xi.davidovski.xyz" -SUPPORT_URL="https://xi.davidovski.xyz" -BUG_REPORT_URL="https://xi.davidovski.xyz" -LOGO=xilinux-logo - -EOF - - -} diff --git a/repo/meta/util.xibuild b/repo/meta/util.xibuild new file mode 100644 index 0000000..03888a8 --- /dev/null +++ b/repo/meta/util.xibuild @@ -0,0 +1,5 @@ +#!/bin/bash +# This file was automatically generated, do not edit! + +DESC="All the the packages available in util" +DEPS=( bash cpio curl diffutils dosfstools dracut e2fsprogs elfutils file gawk grep groff inetutils iproute2 keyutils less make-ca man-db neofetch openssh procps-ng rsync unzip util-linux vim which wpa_supplicant) diff --git a/repo/meta/utilities.xibuild b/repo/meta/utilities.xibuild deleted file mode 100644 index e4818fa..0000000 --- a/repo/meta/utilities.xibuild +++ /dev/null @@ -1,11 +0,0 @@ -repo=util - -MAKEDEPS=() -DEPS=() - -for i in $(ls -1 $(echo $BUILD_FILE_PATH | rev | cut -d/ -f3- | rev)/$repo); do - name=$(basename -s .xibuild $i) - DEPS=(${DEPS[@]} $name) -done - -DESC="The full set of utility programs available for xilinux" diff --git a/repo/meta/xi.xibuild b/repo/meta/xi.xibuild new file mode 100644 index 0000000..1dc60e5 --- /dev/null +++ b/repo/meta/xi.xibuild @@ -0,0 +1,5 @@ +#!/bin/bash +# This file was automatically generated, do not edit! + +DESC="All the the packages available in xi" +DEPS=( xibuild xipkg) diff --git a/repo/xi/sysconfigs.xibuild b/repo/xi/sysconfigs.xibuild new file mode 100644 index 0000000..8d0556f --- /dev/null +++ b/repo/xi/sysconfigs.xibuild @@ -0,0 +1,196 @@ +#!/bin/bash + +MAKEDEPS=() +DEPS=(bootscripts sh) + +PKG_VER=N/A +DESC="Default system configs for xilinux" + +package () { + mkdir -pv $PKG_DEST/etc/ + mkdir -pv $PKG_DEST/etc/sysconfig + cat > $PKG_DEST/etc/sysconfig/rc.site << "EOF" +# rc.site + +# Distro Information +DISTRO="xilinux" # The distro name +DISTRO_CONTACT="xi@davidovski.xyz" # Bug report address +DISTRO_MINI="xi" # Short name used in filenames for distro config + +# Define custom colors used in messages printed to the screen + +# Please consult `man console_codes` for more information +# under the "ECMA-48 Set Graphics Rendition" section +# +# Warning: when switching from a 8bit to a 9bit font, +# the linux console will reinterpret the bold (1;) to +# the top 256 glyphs of the 9bit font. This does +# not affect framebuffer consoles + +BRACKET="\\033[1;34m" # Blue +FAILURE="\\033[1;31m" # Red +INFO="\\033[1;36m" # Cyan +NORMAL="\\033[0;39m" # Grey +SUCCESS="\\033[1;32m" # Green +WARNING="\\033[1;33m" # Yellow + +# Use a colored prefix +BMPREFIX=" " +SUCCESS_PREFIX="${SUCCESS} * ${NORMAL} " +FAILURE_PREFIX="${FAILURE}*****${NORMAL} " +WARNING_PREFIX="${WARNING} *** ${NORMAL} " + +# Manually seet the right edge of message output (characters) +# Useful when resetting console font during boot to override +# automatic screen width detection +#COLUMNS=120 + +# Interactive startup +#IPROMPT="yes" # Whether to display the interactive boot prompt +#itime="3" # The amount of time (in seconds) to display the prompt + +# The total length of the distro welcome string, without escape codes +wlen=$(echo "Welcome to ${DISTRO}" | wc -c ) +welcome_message="Welcome to ${INFO}${DISTRO}${NORMAL}" + +# The total length of the interactive string, without escape codes +#ilen=$(echo "Press 'I' to enter interactive startup" | wc -c ) +#i_message="Press '${FAILURE}I${NORMAL}' to enter interactive startup" + +# Set scripts to skip the file system check on reboot +#FASTBOOT=yes + +# Skip reading from the console +#HEADLESS=yes + +# Write out fsck progress if yes +#VERBOSE_FSCK=no + +# Speed up boot without waiting for settle in udev +#OMIT_UDEV_SETTLE=y + +# Speed up boot without waiting for settle in udev_retry +#OMIT_UDEV_RETRY_SETTLE=yes + +# Skip cleaning /tmp if yes +#SKIPTMPCLEAN=no + +# For setclock +UTC=1 +#CLOCKPARAMS= + +# For consolelog (Note that the default, 7=debug, is noisy) +#LOGLEVEL=7 + +# For network +HOSTNAME=xi + +# Delay between TERM and KILL signals at shutdown +#KILLDELAY=3 + +# Optional sysklogd parameters +SYSKLOGD_PARMS="-m 0" + +# Console parameters +UNICODE=1 +KEYMAP="de-latin1" +KEYMAP_CORRECTIONS="euro2" +FONT="lat0-16 -m 8859-15" +#LEGACY_CHARSET= +EOF + + + cat > $PKG_DEST/etc/profile << "EOF" + +umask 022 + +PS1="\u@\h \w $ " +PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/.local/bin + +export PATH +export PS1 + +# Termcap is outdated, old, and crusty, kill it. +unset TERMCAP + +# Man is much better than us at figuring this out +unset MANPATH +export QT_QPA_PLATFORMTHEME=qt5ct +EOF + + cat > $PKG_DEST/etc/inputrc << "EOF" +# Begin /etc/inputrc +# Modified by Chris Lynn + +# Allow the command prompt to wrap to the next line +set horizontal-scroll-mode Off + +# Enable 8bit input +set meta-flag On +set input-meta On + +# Turns off 8th bit stripping +set convert-meta Off + +# Keep the 8th bit for display +set output-meta On + +# none, visible or audible +set bell-style none + +# All of the following map the escape sequence of the value +# contained in the 1st argument to the readline specific functions +"\eOd": backward-word +"\eOc": forward-word + +# for linux console +"\e[1~": beginning-of-line +"\e[4~": end-of-line +"\e[5~": beginning-of-history +"\e[6~": end-of-history +"\e[3~": delete-char +"\e[2~": quoted-insert + +# for xterm +"\eOH": beginning-of-line +"\eOF": end-of-line + +# for Konsole +"\e[H": beginning-of-line +"\e[F": end-of-line + +# End /etc/inputrc +EOF + cat > $PKG_DEST/etc/shells << "EOF" + /bin/sh +EOF + + cat > $PKG_DEST/etc/lsb-release << "EOF" +LSB_VERSION=1.4 +DISTRIB_ID="xilinux" +DISTRIB_RELEASE=rolling +DISTRIB_DESCRIPTION="Xi Linux" +EOF + + cat > $PKG_DEST/etc/lsb-release << "EOF" +LSB_VERSION=1.4 +DISTRIB_ID=xi +DISTRIB_RELEASE=rolling +DISTRIB_DESCRIPTION="XiLinux" +EOF + cat > $PKG_DEST/etc/os-release << "EOF" +NAME="xilinux" +PRETTY_NAME="XiLinux" +ID=xi +BUILD_ID=rolling +ANSI_COLOR="38;2;23;147;209" +HOME_URL="https://xi.davidovski.xyz" +DOCUMENTATION_URL="https://xi.davidovski.xyz" +SUPPORT_URL="https://xi.davidovski.xyz" +BUG_REPORT_URL="https://xi.davidovski.xyz" +LOGO=xilinux-logo + +EOF + + +} diff --git a/repo/xi/xipkg.xibuild b/repo/xi/xipkg.xibuild index c2018b3..b7445c2 100644 --- a/repo/xi/xipkg.xibuild +++ b/repo/xi/xipkg.xibuild @@ -1,7 +1,7 @@ #!/bin/bash MAKEDEPS=(python make zip) -DEPS=(tar python python-requests) +DEPS=(tar python python-requests curl) SOURCE=https://git.davidovski.xyz/xilinux/xipkg.git DESC="The xilinux package manager" -- cgit v1.2.1