Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (e2a71e1f54b984be2fc9cfb4a51d0320e2709d73)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (e2a71e1f54b984be2fc9cfb4a51d0320e2709d73)
  • Date: Fri, 17 Jun 2022 00:57:23 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemaage.org>:

smgl/openrc/BUILD | 18 +++++-------------
smgl/openrc/CONFIGURE | 7 +++++++
smgl/openrc/DEPENDS | 23 +++++++++++++++++++++--
smgl/openrc/DETAILS | 5 +++--
smgl/openrc/HISTORY | 6 ++++++
smgl/openrc/INSTALL | 2 +-
6 files changed, 43 insertions(+), 18 deletions(-)

New commits:
commit e2a71e1f54b984be2fc9cfb4a51d0320e2709d73
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>

smgl/openrc: version 0.45.1

diff --git a/smgl/openrc/BUILD b/smgl/openrc/BUILD
index f65d0e3..e28a140 100755
--- a/smgl/openrc/BUILD
+++ b/smgl/openrc/BUILD
@@ -1,13 +1,5 @@
-cd $SOURCE_DIRECTORY &&
-OPTS+=" DESTDIR=$INSTALL_ROOT" &&
-#OPTS+=" DESTDIR=$INSTALL_ROOT/opt/openrc" &&
-#OPTS+=" DESTDIR=/tmp/openrc-image" &&
-#OPTS+=" MKPREFIX=yes" &&
-#OPTS+=" PREFIX=/opt/openrc" &&
-OPTS+=" BRANDING=\"SourceMage$(uname -s)\"" &&
-OPTS+=" MKBASHCOMP=yes" &&
-OPTS+=" MKPKGCONFIG=yes" &&
-OPTS+=" MKNET=yes" &&
-OPTS+=" LIBNAME=lib" &&
-#OPTS+="" &&
-make $OPTS
+OPTS+=" ${OPENRC_OPTS}" &&
+OPTS+=" rootprefix=${INSTALL_ROOT}" &&
+OPTS+=" branding=\"SourceMage$(uname -s)\"" &&
+
+default_build
diff --git a/smgl/openrc/CONFIGURE b/smgl/openrc/CONFIGURE
new file mode 100755
index 0000000..2ea7958
--- /dev/null
+++ b/smgl/openrc/CONFIGURE
@@ -0,0 +1,7 @@
+. "${GRIMOIRE}/MESON_CONFIGURE" &&
+
+config_query_option OPENRC_OPTS "Install experimental networking scripts?"
"n" \
+ "newnet=true" "newnet=false" &&
+
+config_query_option OPENRC_OPTS "Enable SysVinit compatibility?" "n" \
+ "sysvinit=true" "sysvinit=false"
diff --git a/smgl/openrc/DEPENDS b/smgl/openrc/DEPENDS
index 6b812a3..274cb51 100755
--- a/smgl/openrc/DEPENDS
+++ b/smgl/openrc/DEPENDS
@@ -1,2 +1,21 @@
-depends ncurses 'MKTERMCAP=ncurses' &&
-optional_depends linux-pam 'MKPAM=pam'
+. "${GRIMOIRE}/MESON_DEPENDS" &&
+
+optional_depends audit 'audit=enabled' 'audit=disabled' 'enable audit
support' &&
+
+optional_depends bash-completion 'bash-completions=true'
'bash-completions=false' \
+ 'install bash completions' &&
+
+optional_depends libcap 'capabilities=enabled' 'capabilities=disabled'
'enable capabilities support' &&
+
+optional_depends libselinux 'selinux=enabled' 'selinux=disabled' 'enable
SELinux support' &&
+
+optional_depends linux-pam 'pam=true' 'pam=false' 'for PAM support' &&
+
+optional_depends pkgconfig 'pkgconfig=true' 'pkgconfig=false' 'build
PKGConfig files' &&
+
+optional_depends termcap 'termcap=termcap' '' 'for termcap usage (instead of
ncurses)' &&
+if ! is_depends_enabled ${SPELL} termcap; then
+ depends ncurses
+fi &&
+
+optional_depends zsh 'zsh-completions=true' 'zsh-completions=false' 'install
zsh completions'
diff --git a/smgl/openrc/DETAILS b/smgl/openrc/DETAILS
index 9e7b417..3eee8ff 100755
--- a/smgl/openrc/DETAILS
+++ b/smgl/openrc/DETAILS
@@ -1,6 +1,7 @@
+. "${GRIMOIRE}/MESON_FUNCTIONS"
SPELL=openrc
- VERSION=0.41.1
-
SOURCE_HASH=sha512:b810cd7ae01f7fc49ff0f72e6d0ad1b41b0fc3eb9c15f58001d9aa8e9d7845b272b93d5ac6e175b09ab588b99d87292256486c4129cc208b70249bbbe957485d
+ VERSION=0.45.1
+
SOURCE_HASH=sha512:340661c6f8fc60dd7fbbe4a84aaeb0a9a7337577e6d98698c34db3c160890780376587ca6f803563fec53e852593265a28c307fa38a5f71a3e48c62cd63611a1
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
WEB_SITE=https://github.com/OpenRC/$SPELL
diff --git a/smgl/openrc/HISTORY b/smgl/openrc/HISTORY
index 7926a06..5070756 100644
--- a/smgl/openrc/HISTORY
+++ b/smgl/openrc/HISTORY
@@ -1,3 +1,9 @@
+2022-06-16 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 0.45.1, mesonified
+ * BUILD, CONFIGURE, DEPENDS, INSTALL: converted to meson build system,
+ added newnet, sysvinit knobs, added optional depends on audit,
+ bash-completion, zsh, libselinux, libcap and pkgconfig
+
2022-05-15 Florian Franzmann <bwlf AT bandrate.org>
* CONFLICTS: add conflicts with other init-system spells
* PROVIDES: provide INIT and LOGIN-DAEMON
diff --git a/smgl/openrc/INSTALL b/smgl/openrc/INSTALL
index 8b8f583..7202fe3 100755
--- a/smgl/openrc/INSTALL
+++ b/smgl/openrc/INSTALL
@@ -1 +1 @@
-make $OPTS install
+DESTDIR="${INSTALL_ROOT}" default_install




Archive powered by MHonArc 2.6.24.

Top of Page