system/slpkg: Updated for version 4.1.3.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2022-06-27 16:07:12 +03:00 committed by Willy Sudiarto Raharjo
parent 61c3213346
commit d4d75ea63f
No known key found for this signature in database
GPG key ID: 3F617144D7238786
5 changed files with 25 additions and 61 deletions

View file

@ -1,36 +1,5 @@
Slpkg is a powerful software package manager that installs, Slpkg is a software package manager that installs, updates and
updates, and removes packages on Slackware based systems. removes packages on Slackware-based systems. It automatically
It automatically computes dependencies and figures out what calculates dependencies and figures out what things need to
things should occur to install packages. Slpkg makes it easier happen to install packages. Slpkg makes it easier to manage
to maintain groups of machines without having to manually update. groups of machines without the need for manual updates.
Slpkg works in accordance with the standards of the organization
slackbuilds.org to builds packages. Also uses the Slackware Linux
instructions for installation, upgrading or removing packages.
What makes slpkg to distinguish it from the other tools;
The user-friendliness it's a primary target as well as easy to
understand and use, also use colours (by default) to highlight
packages and display warning messages, and many of the others
available options it's ready to use.
Features
* Dependencies resolutions
* Dependencies visualizations
* Multiple options
* Multiple repositories
* Easy configuration
* Fully configurable
* Adaptability
* Powerful options
* Source builder
* Faster process
* Better Security
Optional dependencies:
* python3-pythondialog (for dialog box interface)
* pygraphviz (for drawing dependencies diagram)
* graph-easy (for drawing ascii dependencies diagram)
* aria2 (alternative downloader)
* httpie (alternative downloader)

View file

@ -8,11 +8,8 @@ config() {
fi fi
} }
CONFIGS="slpkg.conf repositories.conf blacklist slackware-mirrors \ config etc/slpkg/slpkg.yaml.new
default-repositories custom-repositories rlworkman.deps pkg_security" config etc/slpkg/blacklist.yaml.new
for file in $CONFIGS; do
config etc/slpkg/${file}.new
done
if [ -x /usr/bin/update-desktop-database ]; then if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1

View file

@ -8,11 +8,11 @@
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
slpkg: slpkg (Slackware Packaging Tool) slpkg: slpkg (Slackware Packaging Tool)
slpkg: slpkg:
slpkg: Slpkg is a powerful software package manager that installs, updates slpkg: Slpkg is a software package manager that installs, updates and
slpkg: and removes packages on Slackware based systems. It automatically slpkg: removes packages on Slackware-based systems. It automatically
slpkg: computes dependencies and figures out what things should occur slpkg: calculates dependencies and figures out what things need to
slpkg: to install packages. Slpkg makes it easier to maintain groups of slpkg: happen to install packages. Slpkg makes it easier to manage
slpkg: of machines without having to manually update. slpkg: groups of machines without the need for manual updates.
slpkg: slpkg:
slpkg: Homepage: https://dslackw.gitlab.io/slpkg slpkg: Homepage: https://dslackw.gitlab.io/slpkg
slpkg: slpkg:

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=slpkg PRGNAM=slpkg
VERSION=${VERSION:-3.9.8} VERSION=${VERSION:-4.1.3}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -81,26 +81,24 @@ find -L . \
python3 setup.py install --root=$PKG python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/sbin
cp bin/slpkg $PKG/usr/sbin/slpkg
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/etc/slpkg mkdir -p $PKG/etc/slpkg
# install configuration files install -D -m0644 configs/slpkg.yaml $PKG/etc/slpkg/slpkg.yaml.new
CONFIGS="slpkg.conf repositories.conf blacklist slackware-mirrors \ install -D -m0644 configs/blacklist.yaml $PKG/etc/slpkg/blacklist.yaml.new
default-repositories custom-repositories rlworkman.deps pkg_security"
for file in $CONFIGS; do
install -D -m0644 conf/$file $PKG/etc/slpkg/${file}.new
done
# keep original configuration file for reset mkdir -p $PKG/usr/man/man1
cp -p conf/slpkg.conf $PKG/etc/slpkg/slpkg.conf.orig cp man/slpkg.1 $PKG/usr/man/man1
find $PKG/usr/man -type f -exec gzip -9 {} \; 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 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md ChangeLog.txt LICENSE ISSUES KNOWN_ISSUES REPOSITORIES.md \ cp -a README.rst ChangeLog.txt LICENSE.txt requirements.txt $PKG/usr/doc/$PRGNAM-$VERSION
INSTALL.md requirements.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="slpkg" PRGNAM="slpkg"
VERSION="3.9.8" VERSION="4.1.3"
HOMEPAGE="https://dslackw.gitlab.io/slpkg" HOMEPAGE="https://dslackw.gitlab.io/slpkg"
DOWNLOAD="https://gitlab.com/dslackw/slpkg/-/archive/3.9.8/slpkg-3.9.8.tar.gz" DOWNLOAD="https://gitlab.com/dslackw/slpkg/-/archive/4.1.3/slpkg-4.1.3.tar.gz"
MD5SUM="41b3f4f0f8fb8270e3b03abd2c73be2c" MD5SUM="49a8716cd964bcbac26938907051d7c0"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES="SQLAlchemy"
MAINTAINER="Dimitris Zlatanidis" MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com" EMAIL="d.zlatanidis@gmail.com"