diff options
Diffstat (limited to 'source')
-rwxr-xr-x | source/d/git/git.SlackBuild | 2 | ||||
-rw-r--r-- | source/l/python-dnspython/dnspython.url | 1 | ||||
-rwxr-xr-x | source/l/python-dnspython/python-dnspython.SlackBuild | 92 | ||||
-rw-r--r-- | source/l/python-dnspython/slack-desc | 19 | ||||
-rw-r--r-- | source/l/python-markdown/Markdown.url | 1 | ||||
-rwxr-xr-x | source/l/python-markdown/python-markdown.SlackBuild | 82 | ||||
-rw-r--r-- | source/l/python-markdown/slack-desc | 19 | ||||
-rw-r--r-- | source/n/samba/samba.url | 4 | ||||
-rwxr-xr-x | source/xfce/elementary-xfce/elementary-xfce.SlackBuild | 6 | ||||
-rw-r--r-- | source/xfce/elementary-xfce/optipng.url | 1 |
10 files changed, 221 insertions, 6 deletions
diff --git a/source/d/git/git.SlackBuild b/source/d/git/git.SlackBuild index 2bfa0d7b..2c7ab2f5 100755 --- a/source/d/git/git.SlackBuild +++ b/source/d/git/git.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=git VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | cut -d - -f 2 | rev | cut -f 3- -d . | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} diff --git a/source/l/python-dnspython/dnspython.url b/source/l/python-dnspython/dnspython.url new file mode 100644 index 00000000..23dcd552 --- /dev/null +++ b/source/l/python-dnspython/dnspython.url @@ -0,0 +1 @@ +https://pypi.org/project/dnspython diff --git a/source/l/python-dnspython/python-dnspython.SlackBuild b/source/l/python-dnspython/python-dnspython.SlackBuild new file mode 100755 index 00000000..7bdfdfbf --- /dev/null +++ b/source/l/python-dnspython/python-dnspython.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Copyright 2021 Patrick J. Volkerding, Sebeka, MN, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +# First, convert the .zip file if needed: +if ls *.zip 1> /dev/null 2> /dev/null ; then + unzip *.zip + tar cf $(basename *.zip .zip).tar $(basename *.zip .zip) + touch -r *.zip *.tar + plzip -9 *.tar + rm -r $(basename *.zip .zip) + rm *.zip +fi + +PKGNAM=python-dnspython +SRCNAM=dnspython +VERSION=${VERSION:-$(echo ${SRCNAM}-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z || exit 1 +cd $SRCNAM-$VERSION || exit 1 + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +python3 setup.py install --root=$PKG || exit 1 + +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +cp -a *.rst LICENSE* NOTICE PKG-INFO \ + $PKG/usr/doc/$PKGNAM-$VERSION +find $PKG/usr/doc/$PKGNAM-$VERSION -type f -exec chmod 0644 {} \+ + +# If there's a HISTORY.rst, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r HISTORY.rst ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat HISTORY.rst | head -n 1000 > $DOCSDIR/HISTORY.rst + touch -r HISTORY.rst $DOCSDIR/HISTORY.rst +fi + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz diff --git a/source/l/python-dnspython/slack-desc b/source/l/python-dnspython/slack-desc new file mode 100644 index 00000000..2ba8a26b --- /dev/null +++ b/source/l/python-dnspython/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python-dnspython: python-dnspython (DNS toolkit for Python) +python-dnspython: +python-dnspython: dnspython is a DNS toolkit for Python. It supports almost all record +python-dnspython: types. It can be used for queries, zone transfers, and dynamic +python-dnspython: updates. It supports TSIG authenticated messages and EDNS0. dnspython +python-dnspython: provides both high and low level access to DNS. The high level classes +python-dnspython: perform queries for data of a given name, type, and class, and return +python-dnspython: an answer set. The low level classes allow direct manipulation of DNS +python-dnspython: zones, messages, names, and records. +python-dnspython: +python-dnspython: Homepage: https://www.dnspython.org/ diff --git a/source/l/python-markdown/Markdown.url b/source/l/python-markdown/Markdown.url new file mode 100644 index 00000000..5d837667 --- /dev/null +++ b/source/l/python-markdown/Markdown.url @@ -0,0 +1 @@ +https://pypi.org/project/Markdown diff --git a/source/l/python-markdown/python-markdown.SlackBuild b/source/l/python-markdown/python-markdown.SlackBuild new file mode 100755 index 00000000..ca75022f --- /dev/null +++ b/source/l/python-markdown/python-markdown.SlackBuild @@ -0,0 +1,82 @@ +#!/bin/bash + +# Copyright 2021 Patrick J. Volkerding, Sebeka, MN, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=python-markdown +SRCNAM=Markdown +VERSION=${VERSION:-$(echo ${SRCNAM}-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z || exit 1 +cd $SRCNAM-$VERSION || exit 1 + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +python3 setup.py install --root=$PKG || exit 1 + +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +cp -a *.rst LICENSE* NOTICE PKG-INFO \ + $PKG/usr/doc/$PKGNAM-$VERSION +find $PKG/usr/doc/$PKGNAM-$VERSION -type f -exec chmod 0644 {} \+ + +# If there's a HISTORY.rst, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r HISTORY.rst ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat HISTORY.rst | head -n 1000 > $DOCSDIR/HISTORY.rst + touch -r HISTORY.rst $DOCSDIR/HISTORY.rst +fi + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz diff --git a/source/l/python-markdown/slack-desc b/source/l/python-markdown/slack-desc new file mode 100644 index 00000000..90019035 --- /dev/null +++ b/source/l/python-markdown/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python-markdown: python-markdown (Python Markdown implementation) +python-markdown: +python-markdown: This is a Python implementation of John Gruber's Markdown. It is +python-markdown: almost completely compliant with the reference implementation, though +python-markdown: there are a few known issues. See Features for information on what +python-markdown: exactly is supported and what is not. Additional features are +python-markdown: supported by the Available Extensions. +python-markdown: +python-markdown: Homepage: https://Python-Markdown.github.io/ +python-markdown: +python-markdown: diff --git a/source/n/samba/samba.url b/source/n/samba/samba.url index 160c99af..6aa47a83 100644 --- a/source/n/samba/samba.url +++ b/source/n/samba/samba.url @@ -1,2 +1,2 @@ -https://download.samba.org/pub/samba/stable/samba-4.13.5.tar.gz -https://download.samba.org/pub/samba/stable/samba-4.13.5.tar.asc +https://download.samba.org/pub/samba/stable/samba-4.14.0.tar.gz +https://download.samba.org/pub/samba/stable/samba-4.14.0.tar.asc diff --git a/source/xfce/elementary-xfce/elementary-xfce.SlackBuild b/source/xfce/elementary-xfce/elementary-xfce.SlackBuild index a65ffd27..3e9c8d2b 100755 --- a/source/xfce/elementary-xfce/elementary-xfce.SlackBuild +++ b/source/xfce/elementary-xfce/elementary-xfce.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for elementary-xfce # Copyright 2019 Robby Workman, Tuscaloosa, Alabama, USA -# Copyright 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2020, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=elementary-xfce -VERSION=${VERSION:-0.15.1} -BUILD=${BUILD:-3} +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} diff --git a/source/xfce/elementary-xfce/optipng.url b/source/xfce/elementary-xfce/optipng.url new file mode 100644 index 00000000..a762b9bb --- /dev/null +++ b/source/xfce/elementary-xfce/optipng.url @@ -0,0 +1 @@ +http://optipng.sourceforge.net/ |