mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
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:
parent
61c3213346
commit
d4d75ea63f
5 changed files with 25 additions and 61 deletions
|
@ -1,36 +1,5 @@
|
|||
Slpkg is a powerful software package manager that installs,
|
||||
updates, and removes packages on Slackware based systems.
|
||||
It automatically computes dependencies and figures out what
|
||||
things should occur to install packages. Slpkg makes it easier
|
||||
to maintain groups of machines without having to manually update.
|
||||
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)
|
||||
Slpkg is a software package manager that installs, updates and
|
||||
removes packages on Slackware-based systems. It automatically
|
||||
calculates dependencies and figures out what things need to
|
||||
happen to install packages. Slpkg makes it easier to manage
|
||||
groups of machines without the need for manual updates.
|
||||
|
|
|
@ -8,11 +8,8 @@ config() {
|
|||
fi
|
||||
}
|
||||
|
||||
CONFIGS="slpkg.conf repositories.conf blacklist slackware-mirrors \
|
||||
default-repositories custom-repositories rlworkman.deps pkg_security"
|
||||
for file in $CONFIGS; do
|
||||
config etc/slpkg/${file}.new
|
||||
done
|
||||
config etc/slpkg/slpkg.yaml.new
|
||||
config etc/slpkg/blacklist.yaml.new
|
||||
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
|-----handy-ruler------------------------------------------------------|
|
||||
slpkg: slpkg (Slackware Packaging Tool)
|
||||
slpkg:
|
||||
slpkg: Slpkg is a powerful software package manager that installs, updates
|
||||
slpkg: and removes packages on Slackware based systems. It automatically
|
||||
slpkg: computes dependencies and figures out what things should occur
|
||||
slpkg: to install packages. Slpkg makes it easier to maintain groups of
|
||||
slpkg: of machines without having to manually update.
|
||||
slpkg: Slpkg is a software package manager that installs, updates and
|
||||
slpkg: removes packages on Slackware-based systems. It automatically
|
||||
slpkg: calculates dependencies and figures out what things need to
|
||||
slpkg: happen to install packages. Slpkg makes it easier to manage
|
||||
slpkg: groups of machines without the need for manual updates.
|
||||
slpkg:
|
||||
slpkg: Homepage: https://dslackw.gitlab.io/slpkg
|
||||
slpkg:
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=slpkg
|
||||
VERSION=${VERSION:-3.9.8}
|
||||
VERSION=${VERSION:-4.1.3}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -81,26 +81,24 @@ find -L . \
|
|||
|
||||
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 \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/etc/slpkg
|
||||
# install configuration files
|
||||
CONFIGS="slpkg.conf repositories.conf blacklist slackware-mirrors \
|
||||
default-repositories custom-repositories rlworkman.deps pkg_security"
|
||||
for file in $CONFIGS; do
|
||||
install -D -m0644 conf/$file $PKG/etc/slpkg/${file}.new
|
||||
done
|
||||
install -D -m0644 configs/slpkg.yaml $PKG/etc/slpkg/slpkg.yaml.new
|
||||
install -D -m0644 configs/blacklist.yaml $PKG/etc/slpkg/blacklist.yaml.new
|
||||
|
||||
# keep original configuration file for reset
|
||||
cp -p conf/slpkg.conf $PKG/etc/slpkg/slpkg.conf.orig
|
||||
mkdir -p $PKG/usr/man/man1
|
||||
cp man/slpkg.1 $PKG/usr/man/man1
|
||||
|
||||
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 README.md ChangeLog.txt LICENSE ISSUES KNOWN_ISSUES REPOSITORIES.md \
|
||||
INSTALL.md requirements.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a README.rst ChangeLog.txt LICENSE.txt requirements.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="slpkg"
|
||||
VERSION="3.9.8"
|
||||
VERSION="4.1.3"
|
||||
HOMEPAGE="https://dslackw.gitlab.io/slpkg"
|
||||
DOWNLOAD="https://gitlab.com/dslackw/slpkg/-/archive/3.9.8/slpkg-3.9.8.tar.gz"
|
||||
MD5SUM="41b3f4f0f8fb8270e3b03abd2c73be2c"
|
||||
DOWNLOAD="https://gitlab.com/dslackw/slpkg/-/archive/4.1.3/slpkg-4.1.3.tar.gz"
|
||||
MD5SUM="49a8716cd964bcbac26938907051d7c0"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
REQUIRES="SQLAlchemy"
|
||||
MAINTAINER="Dimitris Zlatanidis"
|
||||
EMAIL="d.zlatanidis@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue