diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2024-06-18 18:49:50 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-06-19 20:47:13 +0700 |
commit | ee8f0549cf508d9ef066ead2e3b5546b965e2bc8 (patch) | |
tree | c57ff1f873ec82c20640f9fc9e2ee7beb105761f /system/sargon | |
parent | 0063e9e5259eb99d4c44204c6b31ec2be401d69f (diff) |
system/sargon: Update for version 2.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/sargon')
-rw-r--r-- | system/sargon/README | 3 | ||||
-rw-r--r-- | system/sargon/sargon.SlackBuild | 5 | ||||
-rw-r--r-- | system/sargon/sargon.info | 8 | ||||
-rw-r--r-- | system/sargon/sargon.json | 13 |
4 files changed, 18 insertions, 11 deletions
diff --git a/system/sargon/README b/system/sargon/README index 4b86f28c67e14..bcb084a3f4a13 100644 --- a/system/sargon/README +++ b/system/sargon/README @@ -5,7 +5,8 @@ creation of privileged containers, what parts of the host file system can be visible to containers via bind or volume mechanism, what memory limits to apply, etc. -User privileges are kept in LDAP. +User privileges can be kept in a local configuration file, or in a +LDAP database, or in both. Warning: This SlackBuild requires network access when it runs, meaning it downloads files from the Internet with root access. You should diff --git a/system/sargon/sargon.SlackBuild b/system/sargon/sargon.SlackBuild index 2234b47f692bf..d09edd6c7d381 100644 --- a/system/sargon/sargon.SlackBuild +++ b/system/sargon/sargon.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for sargon -# Copyright 2019 Sergey Poznyakoff <gray@gnu.org> +# Copyright 2019-2024 Sergey Poznyakoff <gray@gnu.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sargon -VERSION=${VERSION:-1.0} +VERSION=${VERSION:-2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -58,7 +58,6 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION -patch -p1 -i $CWD/d6487688ab7ef2a9d47cb9f67cdedc0c498ff3d3.patch chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/system/sargon/sargon.info b/system/sargon/sargon.info index adfcba10a999f..bcedd3310a90c 100644 --- a/system/sargon/sargon.info +++ b/system/sargon/sargon.info @@ -1,10 +1,8 @@ PRGNAM="sargon" -VERSION="1.0" +VERSION="2.0" HOMEPAGE="https://github.com/graygnuorg/sargon" -DOWNLOAD="https://github.com/graygnuorg/sargon/archive/v1.0/sargon-1.0.tar.gz \ - https://github.com/graygnuorg/sargon/commit/d6487688ab7ef2a9d47cb9f67cdedc0c498ff3d3.patch" -MD5SUM="158b725c02b4bdf377d2b08790f2a770 \ - 703a3e5ae6f79ccd579e74cf7151c39f" +DOWNLOAD="https://github.com/graygnuorg/sargon/archive/v2.0/sargon-2.0.tar.gz" +MD5SUM="917fc442712e7986b7157b332feaf957" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="google-go-lang" diff --git a/system/sargon/sargon.json b/system/sargon/sargon.json index e73b0d7b99f9b..6c90a809fcd89 100644 --- a/system/sargon/sargon.json +++ b/system/sargon/sargon.json @@ -1,2 +1,11 @@ -{ "pidfile":"/var/run/sargon.pid" } - +{ + "pidfile": "/var/run/sargon.pid", + "ACL":[ + { + "Allow": [ "ALL" ], + "Mount": [ "/var/lib/mounts/**(globstar)" ], + "User": [ "ALL" ], + "Order": 100 + } + ] +} |