diff options
author | Reza Talebi <reza.talebi.73@outlook.com> | 2024-07-29 04:12:14 +0330 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-07-29 08:09:15 +0700 |
commit | 72b38bb972ebddad52a97b706f1c2eb0a52cbe19 (patch) | |
tree | 51884342b1eabd186685a6816e0bb1c3e7b8791a /system/openrc | |
parent | 643b8e8beb32f20fe7f8662f1e795bd574f7d21d (diff) |
system/openrc: Updated for version 0.54.2.
Signed-off-by: Reza Talebi <reza.talebi.73@outlook.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/openrc')
-rw-r--r-- | system/openrc/doinst.sh | 2 | ||||
-rw-r--r-- | system/openrc/openrc.SlackBuild | 39 | ||||
-rw-r--r-- | system/openrc/openrc.info | 10 |
3 files changed, 24 insertions, 27 deletions
diff --git a/system/openrc/doinst.sh b/system/openrc/doinst.sh index 59a9913953ceb..fb4b01aeefc67 100644 --- a/system/openrc/doinst.sh +++ b/system/openrc/doinst.sh @@ -13,7 +13,7 @@ config() { } BACKUP_FILE=(openrc/rc.conf logrotate.d/openrc) -BACKUP_CONF=(agetty bootmisc consolefont devfs dmesg fsck hostname hwclock keymaps killprocs localmount modules mtab net-online netmount network staticroute swap urandom) +BACKUP_CONF=(agetty bootmisc consolefont devfs dmesg fsck hostname hwclock keymaps killprocs localmount modules mtab net-online netmount network seedrng staticroute swap swclock) for file in "${BACKUP_FILE[@]}"; do config "etc/${file}.new" diff --git a/system/openrc/openrc.SlackBuild b/system/openrc/openrc.SlackBuild index d027124cb148f..e56267740def0 100644 --- a/system/openrc/openrc.SlackBuild +++ b/system/openrc/openrc.SlackBuild @@ -4,6 +4,7 @@ # Based upon https://aur.archlinux.org/packages/openrc/ # Copyright 2015-2019 Aaditya <aaditya_gnulinux@zoho.com> +# Copyright 2024 Reza Talebi, Shahin Shahr, Iran. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=openrc -VERSION=${VERSION:-0.44.10} +VERSION=${VERSION:-0.54.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,25 +81,21 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -MAKEARGS+=(PREFIX=/usr) -MAKEARGS+=(LIBNAME=lib${LIBDIRSUFFIX}) -MAKEARGS+=(LIBDIR=/usr/lib${LIBDIRSUFFIX}) -MAKEARGS+=(LIBEXECDIR=/usr/libexec/rc) -#MAKEARGS+=(SYSCONFDIR=/etc) -MAKEARGS+=(SYSCONFDIR=/etc/openrc) -MAKEARGS+=(SBINDIR=/sbin) -MAKEARGS+=(MANDIR=/usr/man) -MAKEARGS+=(DOCDIR=/usr/doc/$PRGNAM-$VERSION) -MAKEARGS+=(MKTERMCAP=ncurses) -MAKEARGS+=(MKSYSVINIT=no) -MAKEARGS+=(MKBASHCOMP=yes) -MAKEARGS+=(MKZSHCOMP=yes) -MAKEARGS+=(CFLAGS="$SLKCFLAGS -fcommon") -#MAKEARGS+=(BRANDING="$(cat /etc/slackware-version)") - -make "${MAKEARGS[@]}" - -make install "${MAKEARGS[@]}" DESTDIR=$PKG +MESONARGS+=(--prefix /usr) +MESONARGS+=(build) +MESONARGS+=(--libdir /usr/lib${LIBDIRSUFFIX}) +MESONARGS+=(--libexecdir /usr/libexec/rc) +MESONARGS+=(--sysconfdir /etc/openrc) +MESONARGS+=(--sbindir /usr/sbin) +MESONARGS+=(--mandir /usr/man) +MESONARGS+=(--datadir /usr/doc/${PRGNAM}-${VERSION}) +MESONARGS+=(-Dc_args="$SLKCFLAGS -fcommon '-DBRANDING=\"Slackware 15.0\"'") + +meson setup "${MESONARGS[@]}" +cd build +meson compile +meson install --destdir $PKG +cd .. install -Dm 0644 "$CWD/$PRGNAM.logrotate" "$PKG/etc/logrotate.d/${PRGNAM}.new" @@ -117,7 +114,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog HISTORY.md LICENSE NEWNET.md NEWS.md README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS HISTORY.md LICENSE NEWNET.md NEWS.md README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/openrc/openrc.info b/system/openrc/openrc.info index 0ef05e6d76854..375a5488796e6 100644 --- a/system/openrc/openrc.info +++ b/system/openrc/openrc.info @@ -1,10 +1,10 @@ PRGNAM="openrc" -VERSION="0.44.10" +VERSION="0.54.2" HOMEPAGE="https://github.com/OpenRC/openrc" -DOWNLOAD="https://github.com/OpenRC/openrc/archive/0.44.10/openrc-0.44.10.tar.gz" -MD5SUM="9e0cd60b1898a3bb1de662d28d105592" +DOWNLOAD="https://github.com/OpenRC/openrc/archive/0.54.2/openrc-0.54.2.tar.gz" +MD5SUM="997b6659d68ac1d4cba19b7d3ff528c3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Aaditya" -EMAIL="aaditya_gnulinux@zoho.com" +MAINTAINER="Reza Talebi" +EMAIL="reza.talebi.73@outlook.com" |