aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgit/README16
-rw-r--r--cgit/cgit.SlackBuild136
-rw-r--r--cgit/cgit.info12
-rw-r--r--cgit/config/cgit-httpd.conf62
-rw-r--r--cgit/config/cgit-lighttpd.conf20
-rw-r--r--cgit/config/cgit.conf2
-rw-r--r--cgit/config/cgitrc.sample29
-rw-r--r--cgit/config/email-gravatar-sbo-additions.css28
-rw-r--r--cgit/config/email-gravatar-sbo.lua26
-rw-r--r--cgit/config/email-libravatar-korg-additions.css28
-rw-r--r--cgit/config/email-libravatar-korg.lua15
-rw-r--r--cgit/patch/0001-UI-Add-support-for-project-sponsor-page.patch108
-rw-r--r--cgit/slack-desc19
-rw-r--r--dendrite/dendrite.SlackBuild35
-rw-r--r--dendrite/dendrite.info8
-rw-r--r--dendrite/slack-desc16
-rw-r--r--efi-sync/README19
-rw-r--r--efi-sync/doinst.sh25
-rw-r--r--efi-sync/efi-sync.SlackBuild62
-rw-r--r--efi-sync/efi-sync.info10
-rw-r--r--efi-sync/files/rc.efi-sync.new60
-rw-r--r--efi-sync/slack-desc19
-rw-r--r--gmid/README15
-rw-r--r--gmid/doinst.sh36
-rw-r--r--gmid/files/gmid.conf.new30
-rw-r--r--gmid/files/rc.gmid.new93
-rw-r--r--gmid/gmid.SlackBuild83
-rw-r--r--gmid/gmid.info10
-rw-r--r--gmid/slack-desc19
-rw-r--r--[-rwxr-xr-x]gnunet/gnunet.SlackBuild19
-rw-r--r--gnunet/gnunet.info8
-rw-r--r--gnunet/slack-desc15
-rw-r--r--[-rwxr-xr-x]libeufin/libeufin.SlackBuild29
-rw-r--r--libeufin/libeufin.info8
-rw-r--r--libeufin/root/etc/rc.d/rc.libeufin.new50
-rw-r--r--libeufin/slack-desc15
-rw-r--r--mautrix-whatsapp/doinst.sh16
-rw-r--r--mautrix-whatsapp/mautrix-whatsapp.SlackBuild34
-rw-r--r--mautrix-whatsapp/mautrix-whatsapp.info10
-rw-r--r--mautrix-whatsapp/slack-desc15
-rw-r--r--mirror/README4
-rw-r--r--mirror/doinst.sh43
-rw-r--r--mirror/mirror.SlackBuild70
-rw-r--r--mirror/mirror.info10
-rw-r--r--mirror/mirror.toml10
-rw-r--r--mirror/rc.mirror55
-rw-r--r--mirror/slack-desc19
-rw-r--r--[-rwxr-xr-x]pkgtools-go/pkgtools-go.SlackBuild23
-rw-r--r--pkgtools-go/slack-desc16
-rw-r--r--postgresql/postgresql.SlackBuild2
-rw-r--r--postgresql/postgresql.info6
-rw-r--r--taler-exchange/patch/1-remove-header.patch45
-rw-r--r--taler-exchange/patch/2-remove-double-constant.patch42
-rw-r--r--taler-exchange/slack-desc15
-rw-r--r--[-rwxr-xr-x]taler-exchange/taler-exchange.SlackBuild36
-rw-r--r--taler-exchange/taler-exchange.info8
-rw-r--r--taler-merchant/slack-desc9
-rw-r--r--[-rwxr-xr-x]taler-merchant/taler-merchant.SlackBuild35
-rw-r--r--taler-merchant/taler-merchant.info8
59 files changed, 1576 insertions, 140 deletions
diff --git a/cgit/README b/cgit/README
new file mode 100644
index 0000000..c9b0e46
--- /dev/null
+++ b/cgit/README
@@ -0,0 +1,16 @@
+cgit is a web interface (cgi) for git repositories, written in C.
+
+The folder /var/cache/cgit, must be owned by your webserver user.
+
+A sample /etc/cgitrc (you must provide one) is in the docs folder,
+and so are some example configuration files for apache and lighttpd.
+
+luacrypto or lua-md5 are optional dependencies (for avatars support),
+but first you have to build this against lua (use lua, *NOT* lua52
+or lua53).
+
+If you want to use the email-libravatar-korg.lua filter or the
+email-gravatar-sbo.lua one, have a look also to the suggested css
+additions (in the docs folder).
+
+This version is patched to support the repository tab 'sponsor-page'.
diff --git a/cgit/cgit.SlackBuild b/cgit/cgit.SlackBuild
new file mode 100644
index 0000000..1ae106c
--- /dev/null
+++ b/cgit/cgit.SlackBuild
@@ -0,0 +1,136 @@
+#!/bin/bash
+
+# Slackware build script for cgit
+# Copyright 2013-2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# 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)
+
+PRGNAM=cgit
+VERSION=${VERSION:-1.2.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_slackcoder}
+PKGTYPE=${PKGTYPE:-tgz}
+
+DOCROOT=${DOCROOT:-/var/www}
+
+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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+CGIT_VERSION=${CGIT_VERSION:-v$VERSION}
+GIT_VERSION=${GIT_VERSION:-2.26.2}
+
+DOCS="cgitrc.5.txt COPYING README $CWD/config/cgitrc.sample \
+ $CWD/config/cgit-lighttpd.conf $CWD/config/cgit-httpd.conf \
+ $CWD/config/email-libravatar-korg-additions.css \
+ $CWD/config/email-gravatar-sbo-additions.css"
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+cd $PRGNAM-$VERSION
+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 {} \;
+
+# prepare sources
+sed -i Makefile \
+ -e "s|-g -Wall -Igit|-Wall ${SLKCFLAGS} -Igit|" \
+ -e "s|\/lib$|/lib${LIBDIRSUFFIX}|" \
+ -e "s|(libdir)|(prefix)/share|" \
+ -e "s|/usr/local|/usr|" || exit 1
+sed -e "s|@DOCROOT@|$DOCROOT|g" $CWD/config/cgit.conf > cgit.conf
+echo "CGIT_VERSION = $CGIT_VERSION" >> cgit.conf
+
+# extract the git tarball
+rm -fR git
+tar xvf $CWD/git-$GIT_VERSION.tar.?z*
+mv git-* git
+
+for p in $CWD/patch/*.patch; do
+ echo "applying patch $p"
+ patch -p1 <"$p"
+done
+
+make
+make install DESTDIR=$PKG
+
+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
+
+# install additionals lua scripts
+install -m 0644 -D $CWD/config/email-libravatar-korg.lua \
+ $PKG/usr/share/cgit/filters/email-libravatar-korg.lua
+install -m 0644 -D $CWD/config/email-gravatar-sbo.lua \
+ $PKG/usr/share/cgit/filters/email-gravatar-sbo.lua
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+install -m0644 -oroot $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+sed -i "s|@DOCROOT@|$DOCROOT|g" $PKG/usr/doc/$PRGNAM-$VERSION/*
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# prepare the cache dir: default permissions are for the apache user and group
+mkdir -p $PKG/var/cache/cgit
+chown 80:80 $PKG/var/cache/cgit
+chmod 775 $PKG/var/cache/cgit
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/cgit/cgit.info b/cgit/cgit.info
new file mode 100644
index 0000000..1c62402
--- /dev/null
+++ b/cgit/cgit.info
@@ -0,0 +1,12 @@
+PRGNAM="cgit"
+VERSION="1.2.3"
+HOMEPAGE="https://git.zx2c4.com/cgit/about/"
+DOWNLOAD="https://git.zx2c4.com/cgit/snapshot/cgit-1.2.3.tar.xz \
+ https://www.kernel.org/pub/software/scm/git/git-2.26.2.tar.xz"
+MD5SUM="2d44ca575a8770fae48139c18dac6986 \
+ f9a832256032e711973dd7be4981ab4c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/cgit/config/cgit-httpd.conf b/cgit/config/cgit-httpd.conf
new file mode 100644
index 0000000..4b757ea
--- /dev/null
+++ b/cgit/config/cgit-httpd.conf
@@ -0,0 +1,62 @@
+# Sample folder and virtual host configurations for httpd.
+# edit, move it to /etc/httpd/extra and include it in
+# /etc/httpd/httpd.conf with a line
+#
+# Include /etc/httpd/extra/cgit.conf
+#
+# uncomment also the line
+#
+# AddHandler cgi-script .cgi
+#
+# and enable mod_cgi (or mod_cgid, depending on your apache
+# configuration)
+
+## Version 1: cgit in a /cgit subdirectory of the main host
+## This will need the following 3 lines in your /etc/cgitrc
+##
+## virtual-root=/cgit/
+## css=/static/cgit.css
+## logo=/static/cgit.png
+##
+#Alias /static/cgit.css "@DOCROOT@/cgi-bin/cgit.css"
+#Alias /static/cgit.png "@DOCROOT@/cgi-bin/cgit.png"
+#ScriptAlias /cgit/ "@DOCROOT@/cgi-bin/cgit.cgi/"
+#RedirectMatch ^/cgit$ /cgit/
+#<Directory "@DOCROOT@/cgi-bin/">
+# AllowOverride None
+# Options ExecCGI FollowSymlinks
+# Require all granted
+#</Directory>
+
+# Version 2: cgit as a handler to whole vhost
+# Thanks to Robby Workman for this elegant example
+<VirtualHost *:80>
+ ServerName cgit.yourdomain.ltd
+
+ Options FollowSymlinks
+
+ SetEnv CGIT_CONFIG /etc/cgitrc
+
+ DocumentRoot @DOCROOT@/cgi-bin
+
+ <Directory @DOCROOT@/cgi-bin>
+ AllowOverride None
+ Require all granted
+ DirectoryIndex cgit.cgi
+ </Directory>
+
+ Alias /cgit.css @DOCROOT@/cgi-bin/cgit.css
+ Alias /cgit.png @DOCROOT@/cgi-bin/cgit.png
+ Alias /favicon.ico @DOCROOT@/cgi-bin/favicon.ico
+ Alias /robots.txt @DOCROOT@/cgi-bin/robots.txt
+ Alias / @DOCROOT@/cgi-bin/cgit.cgi/
+
+ <Location />
+ Options ExecCGI
+ Require all granted
+ </Location>
+
+ <Files cgit.cgi>
+ SetHandler cgi-script
+ </Files>
+</VirtualHost>
diff --git a/cgit/config/cgit-lighttpd.conf b/cgit/config/cgit-lighttpd.conf
new file mode 100644
index 0000000..ce7ccce
--- /dev/null
+++ b/cgit/config/cgit-lighttpd.conf
@@ -0,0 +1,20 @@
+# sample virtual host configuration for lighttpd.
+# edit, move to /etc/lighttpd/ and include it in /etc/lighttpd/lighttpd.conf
+# with a line
+#
+# include "cgit-lighttpd.conf"
+
+$HTTP["host"] == "cgit.my.domain" {
+ alias.url = (
+ "/static/" => "@DOCROOT@/cgi-bin/",
+ "/cgit.cgi" => "@DOCROOT@/cgi-bin/cgit.cgi",
+ )
+ url.rewrite-once = (
+ "^/static/.*$" => "$0",
+ "^/([^?/]+/[^?]*)?(?:\?(.*))?$" => "/cgit.cgi?url=$1&$2",
+ )
+ cgi.assign = (
+ "@DOCROOT@/cgi-bin/cgit.cgi" => "",
+ )
+}
+
diff --git a/cgit/config/cgit.conf b/cgit/config/cgit.conf
new file mode 100644
index 0000000..a569414
--- /dev/null
+++ b/cgit/config/cgit.conf
@@ -0,0 +1,2 @@
+CGIT_SCRIPT_PATH = @DOCROOT@/cgi-bin
+CACHE_ROOT = /var/cache/cgit
diff --git a/cgit/config/cgitrc.sample b/cgit/config/cgitrc.sample
new file mode 100644
index 0000000..31d7708
--- /dev/null
+++ b/cgit/config/cgitrc.sample
@@ -0,0 +1,29 @@
+# sample /etc/cgitrc file: two repos are defined
+# you can see a demo here http://cgit.ponce.cc/
+# For more options, see cgitrc.5.txt in the docs folder
+
+root-title=ponce's repository browser
+root-desc=a fast interface to these git repositories
+virtual-root=/
+snapshots=tar.gz
+branch-sort=age
+# for this to work you have to build cgit against lua
+# and install luacrypto too.
+# you wull have also to add email-gravatar-sbo-additions.css
+# at the bottom of your installed cgit.css
+email-filter=lua:/usr/share/cgit/filters/email-gravatar-sbo.lua
+
+#css=/cgit.css
+#logo=/cgit.png
+
+# repository specific data
+repo.url=slackbuilds
+repo.path=/path/to/repo/.git
+repo.desc=slackbuilds.org fork for slackware-current
+repo.owner=my.address _at_ my.isp
+# the default branch here is set to current (default if omitted is master)
+repo.defbranch=current
+repo.clone-url=git://github.com/Ponce/slackbuilds.git
+
+# if you need to display other repositories you can more config blocks
+# like the one above
diff --git a/cgit/config/email-gravatar-sbo-additions.css b/cgit/config/email-gravatar-sbo-additions.css
new file mode 100644
index 0000000..f7dbc32
--- /dev/null
+++ b/cgit/config/email-gravatar-sbo-additions.css
@@ -0,0 +1,28 @@
+div#cgit span.gravatar img.onhover {
+ display: none;
+ border: 1px solid gray;
+ padding: 0px;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+ width: 128px;
+ height: 128px;
+}
+
+div#cgit span.gravatar img.inline {
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+ width: 13px;
+ height: 13px;
+ margin-right: 0.2em;
+ opacity: 0.8;
+}
+
+div#cgit span.gravatar:hover > img.onhover {
+ display: block;
+ position: absolute;
+ margin-left: 1.5em;
+ background-color: #eeeeee;
+ box-shadow: 5px 5px 3px #bbb;
+}
diff --git a/cgit/config/email-gravatar-sbo.lua b/cgit/config/email-gravatar-sbo.lua
new file mode 100644
index 0000000..0b8cb17
--- /dev/null
+++ b/cgit/config/email-gravatar-sbo.lua
@@ -0,0 +1,26 @@
+-- This script may be used with the email-filter or repo.email-filter settings in cgitrc.
+-- It adds gravatar icons to author names. It is designed to be used with the lua:
+-- prefix in filters. It takes some part from the kernel.org's one.
+--
+-- Requirements:
+-- luacrypto >= 0.3
+-- <http://mkottman.github.io/luacrypto/>
+--
+
+local crypto = require("crypto")
+
+function filter_open(email, page)
+ buffer = ""
+ md5 = crypto.digest("md5", email:sub(2, -2):lower())
+end
+
+function filter_close()
+ html("<span class='gravatar'><img class='inline' src='//www.gravatar.com/avatar/" .. md5 .. "?s=13&amp;d=retro' /><img class='onhover' src='//www.gravatar.com/avatar/" .. md5 .. "?s=128&d=retro' /></span> " .. buffer)
+ return 0
+end
+
+function filter_write(str)
+ buffer = buffer .. str
+end
+
+
diff --git a/cgit/config/email-libravatar-korg-additions.css b/cgit/config/email-libravatar-korg-additions.css
new file mode 100644
index 0000000..e44d052
--- /dev/null
+++ b/cgit/config/email-libravatar-korg-additions.css
@@ -0,0 +1,28 @@
+div#cgit span.libravatar img.onhover {
+ display: none;
+ border: 1px solid gray;
+ padding: 0px;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+ width: 128px;
+ height: 128px;
+}
+
+div#cgit span.libravatar img.inline {
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+ width: 13px;
+ height: 13px;
+ margin-right: 0.2em;
+ opacity: 0.4;
+}
+
+div#cgit span.libravatar:hover > img.onhover {
+ display: block;
+ position: absolute;
+ margin-left: 1.5em;
+ background-color: #eeeeee;
+ box-shadow: 5px 5px 3px #bbb;
+}
diff --git a/cgit/config/email-libravatar-korg.lua b/cgit/config/email-libravatar-korg.lua
new file mode 100644
index 0000000..2d67991
--- /dev/null
+++ b/cgit/config/email-libravatar-korg.lua
@@ -0,0 +1,15 @@
+local md5 = require("md5")
+
+function filter_open(email, page)
+ buffer = ""
+ hexdigest = md5.sumhexa(email:sub(2, -2):lower())
+end
+
+function filter_close()
+ html("<span class='libravatar'><img class='inline' src='//seccdn.libravatar.org/avatar/" .. hexdigest .. "?s=13&d=retro' /><img class='onhover' src='//seccdn.libravatar.org/avatar/" .. hexdigest .. "?s=128&d=retro' /></span>" .. buffer)
+ return 0
+end
+
+function filter_write(str)
+ buffer = buffer .. str
+end
diff --git a/cgit/patch/0001-UI-Add-support-for-project-sponsor-page.patch b/cgit/patch/0001-UI-Add-support-for-project-sponsor-page.patch
new file mode 100644
index 0000000..21a3622
--- /dev/null
+++ b/cgit/patch/0001-UI-Add-support-for-project-sponsor-page.patch
@@ -0,0 +1,108 @@
+From a6cb50a01bcd2b45c44336cc85f2a3d5d602a856 Mon Sep 17 00:00:00 2001
+From: Slack Coder <slackcoder@server.ky>
+Date: Tue, 29 Oct 2024 11:43:48 -0500
+Subject: [PATCH] UI: Add support for project sponsor page
+
+Add an extra configuration parameter repo.sponsor-page to link to a project's
+sponsorship page.
+---
+ cgit.c | 4 ++++
+ cgit.h | 1 +
+ cgitrc.5.txt | 3 +++
+ scan-tree.c | 2 ++
+ shared.c | 1 +
+ ui-shared.c | 5 +++++
+ 6 files changed, 16 insertions(+)
+
+diff --git a/cgit.c b/cgit.c
+index c4320f0..e19b9c1 100644
+--- a/cgit.c
++++ b/cgit.c
+@@ -54,6 +54,8 @@ static void repo_config(struct cgit_repo *repo, const char *name, const char *va
+ repo->owner = xstrdup(value);
+ else if (!strcmp(name, "homepage"))
+ repo->homepage = xstrdup(value);
++ else if (!strcmp(name, "sponsor-page"))
++ repo->sponsor_page = xstrdup(value);
+ else if (!strcmp(name, "defbranch"))
+ repo->defbranch = xstrdup(value);
+ else if (!strcmp(name, "extra-head-content"))
+@@ -814,6 +816,8 @@ static void print_repo(FILE *f, struct cgit_repo *repo)
+ fprintf(f, "repo.section=%s\n", repo->section);
+ if (repo->homepage)
+ fprintf(f, "repo.homepage=%s\n", repo->homepage);
++ if (repo->sponsor_page)
++ fprintf(f, "repo.sponsor-page=%s\n", repo->sponsor_page);
+ if (repo->clone_url)
+ fprintf(f, "repo.clone-url=%s\n", repo->clone_url);
+ fprintf(f, "repo.enable-blame=%d\n",
+diff --git a/cgit.h b/cgit.h
+index 7ec46b4..0136ea6 100644
+--- a/cgit.h
++++ b/cgit.h
+@@ -85,6 +85,7 @@ struct cgit_repo {
+ char *extra_head_content;
+ char *owner;
+ char *homepage;
++ char *sponsor_page;
+ char *defbranch;
+ char *module_link;
+ struct string_list readme;
+diff --git a/cgitrc.5.txt b/cgitrc.5.txt
+index 33a6a8c..d1429c5 100644
+--- a/cgitrc.5.txt
++++ b/cgitrc.5.txt
+@@ -528,6 +528,9 @@ repo.hide::
+ repo.homepage::
+ The value to show as repository homepage. Default value: none.
+
++repo.sponsor-page::
++ The value to show as repository sponsor page. Default value: none.
++
+ repo.ignore::
+ Flag which, when set to "1", ignores the repository. The repository
+ is not shown in the index and cannot be accessed by providing a direct
+diff --git a/scan-tree.c b/scan-tree.c
+index 6a2f65a..bdd3e70 100644
+--- a/scan-tree.c
++++ b/scan-tree.c
+@@ -66,6 +66,8 @@ static int gitconfig_config(const char *key, const char *value, void *cb)
+ config_fn(repo, "section", value);
+ else if (!strcmp(key, "gitweb.homepage"))
+ config_fn(repo, "homepage", value);
++ else if (!strcmp(key, "gitweb.sponsor-page"))
++ config_fn(repo, "sponsor-page", value);
+ else if (skip_prefix(key, "cgit.", &name))
+ config_fn(repo, name, value);
+
+diff --git a/shared.c b/shared.c
+index 8115469..099a3b9 100644
+--- a/shared.c
++++ b/shared.c
+@@ -56,6 +56,7 @@ struct cgit_repo *cgit_add_repo(const char *url)
+ ret->extra_head_content = NULL;
+ ret->owner = NULL;
+ ret->homepage = NULL;
++ ret->sponsor_page = NULL;
+ ret->section = ctx.cfg.section;
+ ret->snapshots = ctx.cfg.snapshots;
+ ret->enable_blame = ctx.cfg.enable_blame;
+diff --git a/ui-shared.c b/ui-shared.c
+index d2358f2..4d2d94e 100644
+--- a/ui-shared.c
++++ b/ui-shared.c
+@@ -1060,6 +1060,11 @@ void cgit_print_pageheader(void)
+ html_attr(ctx.repo->homepage);
+ html("'>homepage</a>");
+ }
++ if (ctx.repo->sponsor_page) {
++ html("<a href='");
++ html_attr(ctx.repo->sponsor_page);
++ html("'>sponsor</a>");
++ }
+ html("</td><td class='form'>");
+ html("<form class='right' method='get' action='");
+ if (ctx.cfg.virtual_root) {
+--
+2.46.2
+
diff --git a/cgit/slack-desc b/cgit/slack-desc
new file mode 100644
index 0000000..c9b4091
--- /dev/null
+++ b/cgit/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------------------------------------------------------|
+cgit: cgit (web frontend for git repositories)
+cgit:
+cgit: cgit is a web interface (cgi) for git repositories, written in C.
+cgit:
+cgit: Homepage: https://git.zx2c4.com/cgit/about/
+cgit:
+cgit:
+cgit:
+cgit:
+cgit:
+cgit:
diff --git a/dendrite/dendrite.SlackBuild b/dendrite/dendrite.SlackBuild
index b94bc92..05694d1 100644
--- a/dendrite/dendrite.SlackBuild
+++ b/dendrite/dendrite.SlackBuild
@@ -1,9 +1,12 @@
-#!/bin/sh
+#!/bin/bash
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dendrite
-VERSION=${VERSION:-0.13.7}
+VERSION=${VERSION:-0.13.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_slackcoder}
+PKGTYPE=${PKGTYPE:-txz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -13,33 +16,23 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-0.13.7
-tar xvf $CWD/v0.13.7.tar.gz
-cd $PRGNAM-0.13.7
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/v$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -78,4 +71,4 @@ mkdir -p "$PKG/var/log/dendrite"
chmod u=rwX,g=rX,o= "$PKG/var/log/dendrite"
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-0.13.7-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/dendrite/dendrite.info b/dendrite/dendrite.info
index b00d8cb..ba0d0c5 100644
--- a/dendrite/dendrite.info
+++ b/dendrite/dendrite.info
@@ -1,8 +1,10 @@
PRGNAM="dendrite"
-VERSION="0.13.7"
+VERSION="0.13.8"
HOMEPAGE="https://github.com/matrix-org/dendrite"
-DOWNLOAD="https://github.com/matrix-org/dendrite/archive/refs/tags/v0.13.7.tar.gz"
-MD5SUM="48eda1ded8f326dc20682a658f0c23ce"
+DOWNLOAD="https://github.com/matrix-org/dendrite/archive/refs/tags/v0.13.8.tar.gz"
+MD5SUM="80f5c895a9afdefbc5b8f22881a4f2e5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
REQUIRES="google-go-lang postgresql"
MAINTAINER="Slack Coder"
EMAIL="slackcoder@server.ky"
diff --git a/dendrite/slack-desc b/dendrite/slack-desc
index c23e028..0550265 100644
--- a/dendrite/slack-desc
+++ b/dendrite/slack-desc
@@ -1,7 +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------------------------------------------------------|
-dendrite: dendrite
+dendrite: dendrite (Matrix home server)
dendrite:
-dendrite: Dendrite is a second-generation Matrix homeserver written in Go. It
+dendrite: Dendrite is a second-generation Matrix home server written in Go. It
dendrite: intends to provide an efficient, reliable and scalable alternative to
dendrite: Synapse.
dendrite:
+dendrite:
+dendrite:
+dendrite:
+dendrite:
+dendrite:
diff --git a/efi-sync/README b/efi-sync/README
new file mode 100644
index 0000000..71a5cef
--- /dev/null
+++ b/efi-sync/README
@@ -0,0 +1,19 @@
+efi-sync is a program which will update your efi when your kernel or its
+related files are updated.
+
+To have efi-sync to start and stop with your host, add to the beginning of
+/etc/rc.d/rc.local:
+
+ if [ -x /etc/rc.d/rc.efi-sync ]; then
+ /etc/rc.d/rc.efi-sync start
+ fi
+
+and to /etc/rc.d/rc.local_shutdown (creating it if needed):
+
+ if [ -x /etc/rc.d/rc.efi-sync ]; then
+ /etc/rc.d/rc.efi-sync stop
+ fi
+
+Also ensure your EFI is mounted on boot by having its entry configured in
+/etc/fstab. For more instructions, refer to the project's README in this
+packages documentation under /usr/doc.
diff --git a/efi-sync/doinst.sh b/efi-sync/doinst.sh
new file mode 100644
index 0000000..519c0d5
--- /dev/null
+++ b/efi-sync/doinst.sh
@@ -0,0 +1,25 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+preserve_perms etc/rc.d/rc.efi-sync.new
diff --git a/efi-sync/efi-sync.SlackBuild b/efi-sync/efi-sync.SlackBuild
new file mode 100644
index 0000000..1d1a60c
--- /dev/null
+++ b/efi-sync/efi-sync.SlackBuild
@@ -0,0 +1,62 @@
+#!/bin/bash
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=efi-sync
+VERSION=${VERSION:-0.2.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_slackcoder}
+PKGTYPE=${PKGTYPE:-txz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+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 {} \;
+
+mkdir -p $PKG/usr/sbin
+cp efi-sync $PKG/usr/sbin/
+chmod +x $PKG/usr/sbin/efi-sync
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -a \
+ README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cp "$CWD/README" "$PKG/usr/doc/$PRGNAM-$VERSION/README_slackware.md"
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+mkdir -p "$PKG/etc/rc.d"
+cp -R "$CWD/files/rc.efi-sync.new" "$PKG/etc/rc.d/"
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/efi-sync/efi-sync.info b/efi-sync/efi-sync.info
new file mode 100644
index 0000000..5cae79e
--- /dev/null
+++ b/efi-sync/efi-sync.info
@@ -0,0 +1,10 @@
+PRGNAM="efi-sync"
+VERSION="0.2.1"
+HOMEPAGE="https://git.server.ky/slackcoder/efi-sync"
+DOWNLOAD="https://git.server.ky/slackcoder/efi-sync/snapshot/efi-sync-0.2.1.tar.xz"
+MD5SUM="6676df09479f4f97cbc56f5aada21aa6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Slack Coder"
+EMAIL="slackcoder@server.ky"
diff --git a/efi-sync/files/rc.efi-sync.new b/efi-sync/files/rc.efi-sync.new
new file mode 100644
index 0000000..727c93b
--- /dev/null
+++ b/efi-sync/files/rc.efi-sync.new
@@ -0,0 +1,60 @@
+#!/bin/sh
+#
+# Startup/shutdown script for GNU Taler's exchange.
+#
+
+# Seconds to wait for daemon to shutdown.
+SHUTDOWN_WAIT=60
+
+mkdir -p /run/efi-sync
+
+start() {
+ echo "Starting EFI Sync"
+
+ daemon \
+ --name=efi-sync \
+ --pidfiles=/run/efi-sync \
+ --output=/var/log/efi-sync.log \
+ -- efi-sync watch
+}
+
+stop() {
+ echo "Stopping EFI Sync"
+
+ if /usr/bin/daemon --pidfiles=/run/efi-sync --name=efi-sync --running ; then
+ /usr/bin/daemon --pidfiles=/run/efi-sync --name=efi-sync --stop
+ fi
+
+ # Wait for daemon to politely shutdown.
+ sleep 1
+ if /usr/bin/daemon --pidfiles=/run/efi-sync --name=efi-sync --running; then
+ echo "Waiting up to ${SHUTDOWN_WAIT} to stop..."
+
+ let "count = 0"
+ while /usr/bin/daemon --pidfiles=/run/efi-sync --name=efi-sync --running && [[ $count -lt 60 ]]; do
+ sleep 1
+ let "count = $count + 1"
+ done
+ fi
+}
+
+status() {
+ if /usr/bin/daemon --pidfiles=/run/efi-sync --name=efi-sync --running ; then
+ /usr/bin/daemon --pidfiles=/run/efi-sync --name=efi-sync --running --verbose
+ fi
+}
+
+case "$1" in
+start)
+ start
+ ;;
+stop)
+ stop
+ ;;
+status)
+ status
+ ;;
+*)
+ echo $"Usage: $0 {start|stop|status}"
+ exit 1
+esac
diff --git a/efi-sync/slack-desc b/efi-sync/slack-desc
new file mode 100644
index 0000000..1c4590c
--- /dev/null
+++ b/efi-sync/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------------------------------------------------------|
+efi-sync: efi-sync (Kernel EFI installer)
+efi-sync:
+efi-sync: Automatically install your kernel into the EFI on updates.
+efi-sync:
+efi-sync:
+efi-sync:
+efi-sync:
+efi-sync:
+efi-sync:
+efi-sync:
+efi-sync:
diff --git a/gmid/README b/gmid/README
new file mode 100644
index 0000000..87646b7
--- /dev/null
+++ b/gmid/README
@@ -0,0 +1,15 @@
+It can serve static files, has optional FastCGI and proxying support,
+and a rich configuration syntax.
+
+To have the gmid daemon start and stop with your host, add to
+/etc/rc.d/rc.local:
+
+ if [ -x /etc/rc.d/rc.gmid ]; then
+ /etc/rc.d/rc.gmid start
+ fi
+
+and to /etc/rc.d/rc.local_shutdown (creating it if needed):
+
+ if [ -x /etc/rc.d/rc.gmid ]; then
+ /etc/rc.d/rc.gmid stop
+ fi
diff --git a/gmid/doinst.sh b/gmid/doinst.sh
new file mode 100644
index 0000000..9c1195c
--- /dev/null
+++ b/gmid/doinst.sh
@@ -0,0 +1,36 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+
+if ! getent passwd gmid >/dev/null; then
+ useradd gmid \
+ --comment 'gmid gemini server' \
+ --user-group \
+ --system \
+ --home-dir /srv/gmid \
+ || true
+fi
+
+preserve_perms etc/gmid.conf.new
+preserve_perms etc/rc.d/rc.gmid.new
diff --git a/gmid/files/gmid.conf.new b/gmid/files/gmid.conf.new
new file mode 100644
index 0000000..c725e4f
--- /dev/null
+++ b/gmid/files/gmid.conf.new
@@ -0,0 +1,30 @@
+# Directory to isolate process.
+#
+# Only available when starting gmid as root.
+chroot "/srv/gmid"
+
+# User to run daemon as. Mandatory if chroot is used.
+user "gmid"
+
+# An example of a server block:
+server "example.com" {
+ listen on * port 1965
+
+ # Path to the root directory of your capsule.
+ root "example.com"
+
+ # Set self-signed TLS cert and key. It is better to keep the keys
+ # outside the chroot.
+ #
+ # This key expires after 365 days, keep in mind to renew it.
+ #
+ # openssl req -x509 \
+ # -newkey rsa:4096 \
+ # -days 365 \
+ # -nodes \
+ # -out /etc/ssl/gmid/example.com.pem \
+ # -keyout /etc/ssl/gmid/example.com.key \
+ # -subj "/CN=example.com"
+ cert "/etc/ssl/gmid/example.com.pem"
+ key "/etc/ssl/gmid/example.com.key"
+}
diff --git a/gmid/files/rc.gmid.new b/gmid/files/rc.gmid.new
new file mode 100644
index 0000000..4b9e006
--- /dev/null
+++ b/gmid/files/rc.gmid.new
@@ -0,0 +1,93 @@
+#!/bin/sh
+#
+# Startup/shutdown script for the gmid gemini service.
+#
+
+GMID_USER=${GMID_USER:-root}
+
+create_gmid_run_dir() {
+ if [ ! -d /run/gmid/ ]; then
+ mkdir -p /run/gmid
+ chown gmid:gmid /run/gmid
+ fi
+}
+
+gmid_reload()
+{
+ create_gmid_run_dir
+
+ local pid="$(2>/dev/null cat /run/gmid/gmid.pid)"
+
+ if [ -z "$pid" ] || ! kill -0 "$pid" >/dev/null; then
+ echo "gmid is not running"
+
+ return
+ fi
+
+ echo "Reloading gmid configuration"
+ kill -HUP "$(cat /run/gmid/gmid.pid)"
+}
+
+gmid_start() {
+ create_gmid_run_dir
+
+ local pid="$(2>/dev/null cat /run/gmid/gmid.pid)"
+
+ if [ -n "$pid" ] || kill -0 "$pid" 2>/dev/null; then
+ echo "gmid is already running"
+
+ return
+ fi
+
+ echo "Starting gmid gemini service"
+ sudo -u "$GMID_USER" -- gmid \
+ -c /etc/gmid.conf \
+ -P /run/gmid/gmid.pid
+}
+
+gmid_status() {
+ create_gmid_run_dir
+
+ local pid="$(2>/dev/null cat /run/gmid/gmid.pid)"
+
+ if [ -z "$pid" ] || ! kill -0 "$pid" 2>/dev/null; then
+ echo "gmid is not running"
+
+ return
+ fi
+
+ echo "gmid is running"
+}
+
+gmid_stop() {
+ echo "Stopping gmid gemini service"
+ create_gmid_run_dir
+
+ local pid="$(2>/dev/null cat /run/gmid/gmid.pid)"
+
+ if [ -z "$pid" ] || ! kill -0 "$pid" 2>/dev/null; then
+ echo "gmid is not running"
+
+ return
+ fi
+
+ sudo -u "$GMID_USER" -- kill -TERM "$pid"
+}
+
+case "$1" in
+reload)
+ gmid_reload
+ ;;
+start)
+ gmid_start
+ ;;
+status)
+ gmid_status
+ ;;
+stop)
+ gmid_stop
+ ;;
+*)
+ echo "Usage: $0 {reload|start|status|stop}"
+ exit 1
+esac
diff --git a/gmid/gmid.SlackBuild b/gmid/gmid.SlackBuild
new file mode 100644
index 0000000..3c0e6ad
--- /dev/null
+++ b/gmid/gmid.SlackBuild
@@ -0,0 +1,83 @@
+#!/bin/bash
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gmid
+VERSION=${VERSION:-2.1.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_slackcoder}
+PKGTYPE=${PKGTYPE:-txz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+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 {} \;
+
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --mandir=/usr/man
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+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
+
+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
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -a \
+ ChangeLog \
+ LICENSE \
+ README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cp "$CWD/README" "$PKG/usr/doc/$PRGNAM-$VERSION/README_slackware.md"
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+mkdir -p "$PKG/etc"
+cp -R "$CWD/files/gmid.conf.new" "$PKG/etc"
+
+mkdir -p "$PKG/etc/rc.d"
+cp -R "$CWD/files/rc.gmid.new" "$PKG/etc/rc.d/"
+
+mkdir -p "$PKG/srv/gmid"
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gmid/gmid.info b/gmid/gmid.info
new file mode 100644
index 0000000..d1284c8
--- /dev/null
+++ b/gmid/gmid.info
@@ -0,0 +1,10 @@
+PRGNAM="gmid"
+VERSION="2.1.1"
+HOMEPAGE="https://gmid.omarpolo.com"
+DOWNLOAD="https://ftp.omarpolo.com/gmid-2.1.1.tar.gz"
+MD5SUM="fda53ff9cd666ca1de9c5f56511a3465"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Slack Coder"
+EMAIL="slackcoder@server.ky"
diff --git a/gmid/slack-desc b/gmid/slack-desc
new file mode 100644
index 0000000..0d24c6a
--- /dev/null
+++ b/gmid/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------------------------------------------------------|
+gmid: gmid (Gemini server)
+gmid:
+gmid: It can serve static files, has optional FastCGI and proxying
+gmid: support, and a rich configuration syntax.
+gmid:
+gmid:
+gmid:
+gmid:
+gmid:
+gmid:
+gmid:
diff --git a/gnunet/gnunet.SlackBuild b/gnunet/gnunet.SlackBuild
index 89b906d..b321c9d 100755..100644
--- a/gnunet/gnunet.SlackBuild
+++ b/gnunet/gnunet.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnunet
@@ -22,10 +22,13 @@
# 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)
+
PRGNAM=gnunet
-VERSION=${VERSION:-0.21.0}
+VERSION=${VERSION:-0.22.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_slackcoder}
+PKGTYPE=${PKGTYPE:-txz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,25 +38,25 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
set -e
rm -rf $PKG
@@ -93,4 +96,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gnunet/gnunet.info b/gnunet/gnunet.info
index a22e14e..205d17b 100644
--- a/gnunet/gnunet.info
+++ b/gnunet/gnunet.info
@@ -1,8 +1,10 @@
PRGNAM="gnunet"
-VERSION="0.21.0"
+VERSION="0.22.0"
HOMEPAGE="https://gnunet.org"
-DOWNLOAD="https://ftpmirror.gnu.org/gnu/gnunet/gnunet-0.21.0.tar.gz"
-MD5SUM="bea71cd62208138c69977db8fd96e8e1"
+DOWNLOAD="https://ftpmirror.gnu.org/gnu/gnunet/gnunet-0.22.0.tar.gz"
+MD5SUM="1491b09098d2b3ffe3e74a32037eeefa"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
REQUIRES="libmicrohttpd postgresql"
MAINTAINER="Slack Coder"
EMAIL="slackcoder@server.ky"
diff --git a/gnunet/slack-desc b/gnunet/slack-desc
index de3dd1e..7afba71 100644
--- a/gnunet/slack-desc
+++ b/gnunet/slack-desc
@@ -1,6 +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------------------------------------------------------|
-gnunet: gnunet
+gnunet: gnunet (GNUnet is a network stack for decentralized apps)
gnunet:
gnunet: GNUnet is a software framework for decentralized, peer-to-peer
gnunet: networking.
gnunet:
+gnunet:
+gnunet:
+gnunet:
+gnunet:
+gnunet:
+gnunet:
diff --git a/libeufin/libeufin.SlackBuild b/libeufin/libeufin.SlackBuild
index 88bdb82..56aada0 100755..100644
--- a/libeufin/libeufin.SlackBuild
+++ b/libeufin/libeufin.SlackBuild
@@ -1,9 +1,12 @@
-#!/bin/sh
+#!/bin/bash
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libeufin
-VERSION=${VERSION:-0.9.4a}
+VERSION=${VERSION:-0.13.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_slackcoder}
+PKGTYPE=${PKGTYPE:-txz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -13,25 +16,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -80,4 +73,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
(cd $CWD/root && find . -type f -not -path . -exec install -D -m 755 {} "$PKG/{}" \; )
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libeufin/libeufin.info b/libeufin/libeufin.info
index f3eb95d..4bc3512 100644
--- a/libeufin/libeufin.info
+++ b/libeufin/libeufin.info
@@ -1,8 +1,10 @@
PRGNAM="libeufin"
-VERSION="0.9.4a"
+VERSION="0.13.0"
HOMEPAGE="https://taler.net"
-DOWNLOAD="https://ftpmirror.gnu.org/gnu/taler/libeufin-0.9.4a-sources.tar.gz"
-MD5SUM="326b152030353c1cbd5a90c927118666"
+DOWNLOAD="https://ftpmirror.gnu.org/gnu/taler/libeufin-0.13.0-sources.tar.gz"
+MD5SUM="be28bf3e59904300520b8e61d45cbba6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
REQUIRES="zulu-openjdk17"
MAINTAINER="Slack Coder"
EMAIL="slackcoder@server.ky"
diff --git a/libeufin/root/etc/rc.d/rc.libeufin.new b/libeufin/root/etc/rc.d/rc.libeufin.new
new file mode 100644
index 0000000..42e9c3e
--- /dev/null
+++ b/libeufin/root/etc/rc.d/rc.libeufin.new
@@ -0,0 +1,50 @@
+#!/bin/sh
+#
+# Startup/shutdown script for GNU Taler's libeufin bank.
+#
+
+export USERPROFILE=/var/lib/libeufin
+
+create_run_dir() {
+ if [ ! -d /run/libeufin-bank/ ]; then
+ mkdir -p /run/libeufin-bank
+ chown libeufin-bank:libeufin-bank /run/libeufin-bank
+ chmod g+wX /run/libeufin-bank
+ fi
+}
+
+start() {
+ echo "Starting Libeufin Bank"
+ create_run_dir
+
+ daemon \
+ --name=libeufin-bank \
+ --user=libeufin-bank \
+ --pidfiles=/run/libeufin-bank \
+ --output=/var/log/taler/libeufin-bank.log \
+ -- libeufin-bank serve --config /etc/libeufin/libeufin-bank.conf
+}
+
+stop() {
+ echo "Stopping Libeufin Bank"
+ /usr/bin/daemon --name=libeufin-bank --pidfiles=/run/libeufin-bank --stop
+}
+
+status() {
+ /usr/bin/daemon --name=libeufin-bank --pidfiles=/run/libeufin-bank --running --verbose
+}
+
+case "$1" in
+start)
+ start
+ ;;
+stop)
+ stop
+ ;;
+status)
+ status
+ ;;
+*)
+ echo "Usage: $0 {start|stop|status}"
+ exit 1
+esac
diff --git a/libeufin/slack-desc b/libeufin/slack-desc
index 70f03c5..6f4a8be 100644
--- a/libeufin/slack-desc
+++ b/libeufin/slack-desc
@@ -1,6 +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------------------------------------------------------|
-libeufin: libeufin
+libeufin: libeufin (software tooling for European FinTech)
libeufin:
libeufin: LibEuFin is a project providing free software tooling for European
libeufin: FinTech.
libeufin:
+libeufin:
+libeufin:
+libeufin:
+libeufin:
+libeufin:
+libeufin:
diff --git a/mautrix-whatsapp/doinst.sh b/mautrix-whatsapp/doinst.sh
index 792310f..743e861 100644
--- a/mautrix-whatsapp/doinst.sh
+++ b/mautrix-whatsapp/doinst.sh
@@ -11,6 +11,18 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+
if ! getent passwd mautrix-whatsapp >/dev/null; then
useradd mautrix-whatsapp \
--comment 'Mautrix whatsapp matrix bridge' \
@@ -20,8 +32,8 @@ if ! getent passwd mautrix-whatsapp >/dev/null; then
|| true
fi
-config etc/rc.d/rc.mautrix-whatsapp.new
-config etc/mautrix-whatsapp/config.yaml.new
+preserve_perms etc/rc.d/rc.mautrix-whatsapp.new
+preserve_perms etc/mautrix-whatsapp/config.yaml.new
chown root:mautrix-whatsapp etc/mautrix-whatsapp
chown mautrix-whatsapp:mautrix-whatsapp var/lib/mautrix-whatsapp
diff --git a/mautrix-whatsapp/mautrix-whatsapp.SlackBuild b/mautrix-whatsapp/mautrix-whatsapp.SlackBuild
index 49709b0..bc76344 100644
--- a/mautrix-whatsapp/mautrix-whatsapp.SlackBuild
+++ b/mautrix-whatsapp/mautrix-whatsapp.SlackBuild
@@ -1,9 +1,12 @@
-#!/bin/sh
+#!/bin/bash
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mautrix-whatsapp
-VERSION=${VERSION:-0.10.5}
+VERSION=${VERSION:-0.10.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_slackcoder}
+PKGTYPE=${PKGTYPE:-txz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -13,25 +16,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -74,10 +67,11 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
mkdir -p "$PKG/etc/$PRGNAM"
-chmod -R u=rwX,g=rwX,o= "$PKG/etc/$PRGNAM"
+cp "$CWD/files/config.yaml.new" "$PKG/etc/$PRGNAM/"
+chmod -R u=rwX,g=rX,o= "$PKG/etc/$PRGNAM"
mkdir -p "$PKG/etc/rc.d"
-cp -R "$CWD/files/rc.$PRGNAM.new" "$PKG/etc/rc.d/"
+cp "$CWD/files/rc.$PRGNAM.new" "$PKG/etc/rc.d/"
mkdir -p "$PKG/var/lib/$PRGNAM"
chmod u=rwX,g=rX,o= "$PKG/var/lib/$PRGNAM"
@@ -85,4 +79,4 @@ mkdir -p "$PKG/var/log/$PRGNAM"
chmod u=rwX,g=rX,o= "$PKG/var/log/$PRGNAM"
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/mautrix-whatsapp/mautrix-whatsapp.info b/mautrix-whatsapp/mautrix-whatsapp.info
index a1e051e..77bb7b7 100644
--- a/mautrix-whatsapp/mautrix-whatsapp.info
+++ b/mautrix-whatsapp/mautrix-whatsapp.info
@@ -1,8 +1,10 @@
PRGNAM="mautrix-whatsapp"
-VERSION="0.10.5"
+VERSION="0.10.9"
HOMEPAGE="https://github.com/mautrix/whatsapp"
-DOWNLOAD="https://github.com/mautrix/whatsapp/archive/refs/tags/v0.10.5.tar.gz"
-MD5SUM="b49f34cafecc56653ff402b7bafd8816"
-REQUIRES="olm postgresql"
+DOWNLOAD="https://github.com/mautrix/whatsapp/archive/refs/tags/v0.10.9.tar.gz"
+MD5SUM="aec9954bb6d41f9213e994fc2ddab4d0"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="google-go-lang olm postgresql"
MAINTAINER="Slack Coder"
EMAIL="slackcoder@server.ky"
diff --git a/mautrix-whatsapp/slack-desc b/mautrix-whatsapp/slack-desc
index 0c7b7f5..5574046 100644
--- a/mautrix-whatsapp/slack-desc
+++ b/mautrix-whatsapp/slack-desc
@@ -1,6 +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------------------------------------------------------|
-mautrix-whatsapp: mautrix-whatsapp
+mautrix-whatsapp: mautrix-whatsapp (Matrix-WhatsApp puppeting bridge)
mautrix-whatsapp:
mautrix-whatsapp: A Matrix-WhatsApp puppeting bridge based on whatsmeow.
mautrix-whatsapp:
mautrix-whatsapp:
+mautrix-whatsapp:
+mautrix-whatsapp:
+mautrix-whatsapp:
+mautrix-whatsapp:
+mautrix-whatsapp:
+mautrix-whatsapp:
diff --git a/mirror/README b/mirror/README
new file mode 100644
index 0000000..c44d191
--- /dev/null
+++ b/mirror/README
@@ -0,0 +1,4 @@
+Mirror free and open-source projects you like with minimal effort.
+
+Use this project as a service to keep a local or hosted copy of the
+projects source code or their assets.
diff --git a/mirror/doinst.sh b/mirror/doinst.sh
new file mode 100644
index 0000000..60cac25
--- /dev/null
+++ b/mirror/doinst.sh
@@ -0,0 +1,43 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+if ! getent group mirror >/dev/null; then
+ groupadd mirror \
+ --system
+fi
+
+if ! getent passwd mirror >/dev/null; then
+ useradd mirror \
+ --comment 'Mirror' \
+ --gid mirror \
+ --system \
+ --home-dir /var/empty \
+ --shell /bin/false \
+ || true
+fi
+
+chown mirror:mirror /var/log/mirror
+
+preserve_perms etc/rc.d/rc.mirror.new
+preserve_perms etc/mirror/mirror.toml.new
diff --git a/mirror/mirror.SlackBuild b/mirror/mirror.SlackBuild
new file mode 100644
index 0000000..c87bba3
--- /dev/null
+++ b/mirror/mirror.SlackBuild
@@ -0,0 +1,70 @@
+#!/bin/bash
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=mirror
+VERSION=${VERSION:-0.0.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_slackcoder}
+PKGTYPE=${PKGTYPE:-txz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP="${TMP:-/tmp/SBo}"
+PKG="$TMP/package-$PRGNAM"
+OUTPUT="${OUTPUT:-/tmp}"
+
+set -e
+
+rm -rf "$PKG"
+mkdir -p "$TMP" "$PKG" "$OUTPUT"
+cd "$TMP"
+rm -rf "$PRGNAM-$VERSION"
+tar xvf "$CWD/$PRGNAM-$VERSION.tar.xz"
+cd "$PRGNAM-$VERSION"
+
+#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 {} \;
+
+# Point go to the location of the source tree
+export GOPATH="$TMP/$PRGNAM-$VERSION.gopath"
+export GOBIN="$PKG/usr/sbin"
+
+go install \
+ -ldflags="-linkmode external -extldflags -static -X main.Version=$VERSION" \
+ -a -x ./...
+
+mkdir -p "$PKG/usr/doc/$PRGNAM-$VERSION"
+cp -a \
+ README.md \
+ "$PKG/usr/doc/$PRGNAM-$VERSION"
+cat "$CWD/$PRGNAM.SlackBuild" > "$PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild"
+
+mkdir -p "$PKG/install"
+cat "$CWD/slack-desc" > "$PKG/install/slack-desc"
+cat "$CWD/doinst.sh" > "$PKG/install/doinst.sh"
+
+mkdir -p "$PKG/etc/rc.d"
+cat "$CWD/rc.mirror" > "$PKG/etc/rc.d/rc.mirror.new"
+mkdir -p $PKG/etc/mirror
+cat "$CWD/mirror.toml" > "$PKG/etc/mirror/mirror.toml.new"
+mkdir -p $PKG/etc/mirror/conf.d
+mkdir -p "$PKG/var/log/mirror"
+
+cd "$PKG"
+/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
diff --git a/mirror/mirror.info b/mirror/mirror.info
new file mode 100644
index 0000000..414d771
--- /dev/null
+++ b/mirror/mirror.info
@@ -0,0 +1,10 @@
+PRGNAM="mirror"
+VERSION="0.0.4"
+HOMEPAGE="https://git.server.ky/slackcoder/mirror/about"
+DOWNLOAD="https://git.server.ky/slackcoder/mirror/snapshot/mirror-0.0.4.tar.xz"
+MD5SUM="3e554d1e7ad72e88fe1680d156c1f4ac"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="google-go-lang"
+MAINTAINER="Slack Coder"
+EMAIL="slackcoder@server.ky"
diff --git a/mirror/mirror.toml b/mirror/mirror.toml
new file mode 100644
index 0000000..d3522e6
--- /dev/null
+++ b/mirror/mirror.toml
@@ -0,0 +1,10 @@
+[global]
+min-interval = "15s"
+max-interval = "1m"
+
+[[mirrors]]
+method = "git"
+from = "https://github.com/ytdl-org/youtube-dl"
+to = "/home/cypher/Desktop/youtube-dl"
+description = "Command-line program to download videos from YouTube.com and other video sites"
+
diff --git a/mirror/rc.mirror b/mirror/rc.mirror
new file mode 100644
index 0000000..28a1d2f
--- /dev/null
+++ b/mirror/rc.mirror
@@ -0,0 +1,55 @@
+#!/bin/sh
+#
+# Startup/shutdown script for the mirror service.
+#
+
+create_run_dir() {
+ if [ ! -d /run/mirror/ ]; then
+ mkdir -p /run/mirror
+ chown :mirror /run/mirror
+ chmod g+wX /run/mirror
+ fi
+}
+
+mirror_start() {
+ echo "Starting Mirror service"
+ create_run_dir
+
+ daemon \
+ --name=mirror \
+ --user=mirror \
+ --pidfiles=/run/mirror \
+ --output=/var/log/mirror/mirror.log \
+ -- mirror
+}
+
+mirror_stop() {
+ echo "Stopping Mirror service"
+ /usr/bin/daemon --name=mirror --pidfiles=/run/mirror --stop
+}
+
+mirror_reload() {
+ /usr/bin/daemon --name=mirror --pidfiles=/run/mirror --signal=hup
+}
+
+mirror_status() {
+ /usr/bin/daemon --name=mirror --pidfiles=/run/mirror --running --verbose
+}
+
+case "$1" in
+start)
+ mirror_start
+ ;;
+stop)
+ mirror_stop
+ ;;
+reload)
+ mirror_reload
+ ;;
+status)
+ mirror_status
+ ;;
+*)
+ echo "Usage: $0 {start|stop|reload|status}"
+ exit 1
+esac
diff --git a/mirror/slack-desc b/mirror/slack-desc
new file mode 100644
index 0000000..0ae8fd7
--- /dev/null
+++ b/mirror/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------------------------------------------------------|
+mirror: mirror (simple mirroring service)
+mirror:
+mirror: Mirror project assets and source code.
+mirror:
+mirror:
+mirror:
+mirror:
+mirror:
+mirror:
+mirror:
+mirror:
diff --git a/pkgtools-go/pkgtools-go.SlackBuild b/pkgtools-go/pkgtools-go.SlackBuild
index 52bac4f..3d3dc2b 100755..100644
--- a/pkgtools-go/pkgtools-go.SlackBuild
+++ b/pkgtools-go/pkgtools-go.SlackBuild
@@ -1,11 +1,12 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for pkgtools
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pkgtools-go
VERSION=${VERSION:-0.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_slackcoder}
+PKGTYPE=${PKGTYPE:-txz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -15,21 +16,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD="$(pwd)"
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP="${TMP:-/tmp/SBo}"
PKG="$TMP/package-$PRGNAM"
OUTPUT="${OUTPUT:-/tmp}"
-if [ "$ARCH" = "i586" ]; then
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf "$PKG"
@@ -64,5 +59,5 @@ mkdir -p "$PKG/install"
cat "$CWD/slack-desc" > "$PKG/install/slack-desc"
cd "$PKG"
-/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}"
+/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/pkgtools-go/slack-desc b/pkgtools-go/slack-desc
index df9aa37..e30f441 100644
--- a/pkgtools-go/slack-desc
+++ b/pkgtools-go/slack-desc
@@ -1,5 +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------------------------------------------------------|
-pkgtools-go: pkgtools-go
+pkgtools-go: pkgtools-go (pkgtools but in Golang)
pkgtools-go:
pkgtools-go: An alternative set of slackware package management tools.
pkgtools-go:
+pkgtools-go:
+pkgtools-go:
+pkgtools-go:
+pkgtools-go:
+pkgtools-go:
+pkgtools-go:
+pkgtools-go:
diff --git a/postgresql/postgresql.SlackBuild b/postgresql/postgresql.SlackBuild
index 02d2c60..3e48833 100644
--- a/postgresql/postgresql.SlackBuild
+++ b/postgresql/postgresql.SlackBuild
@@ -31,7 +31,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=postgresql
-VERSION=${VERSION:-15.6}
+VERSION=${VERSION:-15.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_slackcoder}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/postgresql/postgresql.info b/postgresql/postgresql.info
index 25300a6..c154d37 100644
--- a/postgresql/postgresql.info
+++ b/postgresql/postgresql.info
@@ -1,8 +1,8 @@
PRGNAM="postgresql"
-VERSION="15.6"
+VERSION="15.8"
HOMEPAGE="https://www.postgresql.org"
-DOWNLOAD="https://ftp.postgresql.org/pub/source/v15.6/postgresql-15.6.tar.gz"
-MD5SUM="c6477aef3c361b3c85181bb0944da74f"
+DOWNLOAD="https://ftp.postgresql.org/pub/source/v15.8/postgresql-15.8.tar.gz"
+MD5SUM="571b4d77498b70fdccd9bc0c12b8a95f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/taler-exchange/patch/1-remove-header.patch b/taler-exchange/patch/1-remove-header.patch
new file mode 100644
index 0000000..20e8f30
--- /dev/null
+++ b/taler-exchange/patch/1-remove-header.patch
@@ -0,0 +1,45 @@
+Only in b/src/exchange: sedjui6lB
+diff -ru a/src/exchange/taler-exchange-httpd_kyc-wallet.c b/src/exchange/taler-exchange-httpd_kyc-wallet.c
+--- a/src/exchange/taler-exchange-httpd_kyc-wallet.c 2024-08-19 03:08:33.447317541 -0500
++++ b/src/exchange/taler-exchange-httpd_kyc-wallet.c 2024-10-01 14:36:38.206822705 -0500
+@@ -30,7 +30,6 @@
+ #include "taler-exchange-httpd_common_kyc.h"
+ #include "taler-exchange-httpd_kyc-wallet.h"
+ #include "taler-exchange-httpd_responses.h"
+-#include "taler-exchange-httpd_withdraw.h"
+
+
+ /**
+diff -ru a/src/exchange/taler-exchange-httpd_purses_merge.c b/src/exchange/taler-exchange-httpd_purses_merge.c
+--- a/src/exchange/taler-exchange-httpd_purses_merge.c 2024-08-19 03:08:33.447317541 -0500
++++ b/src/exchange/taler-exchange-httpd_purses_merge.c 2024-10-01 14:36:38.213822705 -0500
+@@ -33,7 +33,6 @@
+ #include "taler-exchange-httpd_common_kyc.h"
+ #include "taler-exchange-httpd_purses_merge.h"
+ #include "taler-exchange-httpd_responses.h"
+-#include "taler-exchange-httpd_withdraw.h"
+ #include "taler_exchangedb_lib.h"
+ #include "taler-exchange-httpd_keys.h"
+
+diff -ru a/src/exchange/taler-exchange-httpd_reserves_close.c b/src/exchange/taler-exchange-httpd_reserves_close.c
+--- a/src/exchange/taler-exchange-httpd_reserves_close.c 2024-08-19 03:08:33.448317541 -0500
++++ b/src/exchange/taler-exchange-httpd_reserves_close.c 2024-10-01 14:36:38.215822705 -0500
+@@ -30,7 +30,6 @@
+ #include "taler-exchange-httpd_common_kyc.h"
+ #include "taler-exchange-httpd_keys.h"
+ #include "taler-exchange-httpd_reserves_close.h"
+-#include "taler-exchange-httpd_withdraw.h"
+ #include "taler-exchange-httpd_responses.h"
+
+
+diff -ru a/src/exchange/taler-exchange-httpd_reserves_purse.c b/src/exchange/taler-exchange-httpd_reserves_purse.c
+--- a/src/exchange/taler-exchange-httpd_reserves_purse.c 2024-08-26 12:13:30.709771927 -0500
++++ b/src/exchange/taler-exchange-httpd_reserves_purse.c 2024-10-01 14:36:38.217822705 -0500
+@@ -32,7 +32,6 @@
+ #include "taler-exchange-httpd_common_kyc.h"
+ #include "taler-exchange-httpd_reserves_purse.h"
+ #include "taler-exchange-httpd_responses.h"
+-#include "taler-exchange-httpd_withdraw.h"
+ #include "taler_exchangedb_lib.h"
+ #include "taler-exchange-httpd_keys.h"
+
diff --git a/taler-exchange/patch/2-remove-double-constant.patch b/taler-exchange/patch/2-remove-double-constant.patch
new file mode 100644
index 0000000..2ed21fd
--- /dev/null
+++ b/taler-exchange/patch/2-remove-double-constant.patch
@@ -0,0 +1,42 @@
+diff -ru a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c
+--- a/src/benchmark/taler-exchange-benchmark.c 2024-10-01 14:48:00.588810485 -0500
++++ b/src/benchmark/taler-exchange-benchmark.c 2024-10-01 14:49:16.372809128 -0500
+@@ -296,7 +296,7 @@
+ GNUNET_TIME_UNIT_ZERO,
+ amount_1,
+ MHD_HTTP_OK));
+- if (eval_probability (refresh_rate / 100.0d))
++ if (eval_probability (refresh_rate / 100.0))
+ {
+ char *melt_label;
+ char *reveal_label;
+@@ -630,7 +630,7 @@
+ " * Reserve=%u * Parallel=%u, operations in %s\n",
+ howmany_coins,
+ howmany_coins,
+- howmany_coins * (refresh_rate / 100.0d),
++ howmany_coins * (refresh_rate / 100.0),
+ howmany_reserves,
+ howmany_clients,
+ GNUNET_STRINGS_relative_time_to_string (
+diff -ru a/src/lib/exchange_api_stefan.c b/src/lib/exchange_api_stefan.c
+--- a/src/lib/exchange_api_stefan.c 2024-10-01 14:48:00.564810485 -0500
++++ b/src/lib/exchange_api_stefan.c 2024-10-01 14:49:16.396809127 -0500
+@@ -125,7 +125,7 @@
+ min = get_unit (keys);
+ if (NULL == min)
+ return GNUNET_SYSERR;
+- if (1.0d <= keys->stefan_lin)
++ if (1.0 <= keys->stefan_lin)
+ {
+ /* This cannot work, linear STEFAN fee estimate always
+ exceed any gross amount. */
+@@ -273,7 +273,7 @@
+ min = get_unit (keys);
+ if (NULL == min)
+ return GNUNET_SYSERR;
+- if (1.0d <= keys->stefan_lin)
++ if (1.0 <= keys->stefan_lin)
+ {
+ /* This cannot work, linear STEFAN fee estimate always
+ exceed any gross amount. */
diff --git a/taler-exchange/slack-desc b/taler-exchange/slack-desc
index 712c373..3994f72 100644
--- a/taler-exchange/slack-desc
+++ b/taler-exchange/slack-desc
@@ -1,6 +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------------------------------------------------------|
-taler-exchange: taler-exchange
+taler-exchange: taler-exchange (exchange for Taler payment system)
taler-exchange:
taler-exchange: The exchange for the Taler payment system.
taler-exchange:
taler-exchange:
+taler-exchange:
+taler-exchange:
+taler-exchange:
+taler-exchange:
+taler-exchange:
+taler-exchange:
diff --git a/taler-exchange/taler-exchange.SlackBuild b/taler-exchange/taler-exchange.SlackBuild
index 3b76dd1..ac8b215 100755..100644
--- a/taler-exchange/taler-exchange.SlackBuild
+++ b/taler-exchange/taler-exchange.SlackBuild
@@ -1,9 +1,12 @@
-#!/bin/sh
+#!/bin/bash
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=taler-exchange
-VERSION=${VERSION:-0.9.4a}
+VERSION=${VERSION:-0.13.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_slackcoder}
+PKGTYPE=${PKGTYPE:-txz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -13,7 +16,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -37,9 +44,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-0.9.4a
-tar xvf $CWD/$PRGNAM-0.9.4a.tar.gz
-cd $PRGNAM-0.9.4a
+rm -rf $PRGNAM-0.13.0
+tar xvf $CWD/$PRGNAM-0.13.0.tar.gz
+cd $PRGNAM-0.13.0
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -47,13 +54,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+for p in $CWD/patch/*.patch; do
+ echo "applying patch $p"
+ patch -p1 <"$p"
+done
+
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-0.9.4a \
+ --docdir=/usr/doc/$PRGNAM-0.13.0 \
--disable-static \
--build=$ARCH-slackware-linux
make
@@ -62,9 +74,9 @@ make DESTDIR="$PKG" install
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/usr/doc/$PRGNAM-0.9.4a
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-0.9.4a/$PRGNAM.SlackBuild
-cat $CWD/README > $PKG/usr/doc/$PRGNAM-0.9.4a/README_slackware.txt
+mkdir -p $PKG/usr/doc/$PRGNAM-0.13.0
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-0.13.0/$PRGNAM.SlackBuild
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-0.13.0/README_slackware.txt
cp -a \
AUTHORS \
COPYING \
@@ -73,7 +85,7 @@ cp -a \
NEWS \
README \
README.1st \
- $PKG/usr/doc/$PRGNAM-0.9.4a
+ $PKG/usr/doc/$PRGNAM-0.13.0
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
@@ -91,4 +103,4 @@ chmod g+w $PKG/var/log/taler
chmod -R u=rwX,g=rX,o= $PKG/etc/taler/secrets/*
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-0.9.4a-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-0.13.0-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/taler-exchange/taler-exchange.info b/taler-exchange/taler-exchange.info
index 0a1558a..2602dee 100644
--- a/taler-exchange/taler-exchange.info
+++ b/taler-exchange/taler-exchange.info
@@ -1,8 +1,10 @@
PRGNAM="taler-exchange"
-VERSION="0.9.4a"
+VERSION="0.13.0"
HOMEPAGE="https://taler.net"
-DOWNLOAD="https://ftpmirror.gnu.org/gnu/taler/taler-exchange-0.9.4a.tar.gz"
-MD5SUM="04705ee8fc210ec161b5ba5e4b007d3b"
+DOWNLOAD="https://ftpmirror.gnu.org/gnu/taler/taler-exchange-0.13.0.tar.gz"
+MD5SUM="67889315a20300af3f9220d69e16106a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
REQUIRES="gnunet jq postgresql"
MAINTAINER="Slack Coder"
EMAIL="slackcoder@server.ky"
diff --git a/taler-merchant/slack-desc b/taler-merchant/slack-desc
index 6071631..69fb14b 100644
--- a/taler-merchant/slack-desc
+++ b/taler-merchant/slack-desc
@@ -1,5 +1,12 @@
+# 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------------------------------------------------------|
-taler-merchant: taler-merchant
+taler-merchant: taler-merchant (Taler payment system merchant)
taler-merchant:
taler-merchant: The merchant for the Taler payment system.
taler-merchant:
diff --git a/taler-merchant/taler-merchant.SlackBuild b/taler-merchant/taler-merchant.SlackBuild
index bfeb870..8ed3915 100755..100644
--- a/taler-merchant/taler-merchant.SlackBuild
+++ b/taler-merchant/taler-merchant.SlackBuild
@@ -1,9 +1,12 @@
-#!/bin/sh
+#!/bin/bash
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=taler-merchant
-VERSION=${VERSION:-0.9.4b}
+VERSION=${VERSION:-0.13.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_slackcoder}
+PKGTYPE=${PKGTYPE:-txz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -13,8 +16,12 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/sky}
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -37,9 +44,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-0.9.4b
-tar xvf $CWD/$PRGNAM-0.9.4b.tar.gz
-cd $PRGNAM-0.9.4b
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -53,7 +60,7 @@ find -L . \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-0.9.4b \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--build=$ARCH-slackware-linux
make
@@ -62,17 +69,17 @@ make DESTDIR="$PKG" install
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/usr/doc/$PRGNAM-0.9.4b
-cp -a COPYING COPYING.* README $PKG/usr/doc/$PRGNAM-0.9.4b
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-0.9.4b/$PRGNAM.SlackBuild
-cat $CWD/README > $PKG/usr/doc/$PRGNAM-0.9.4b/README_slackware.txt
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING COPYING.* README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README_slackware.txt
cp -a \
AUTHORS \
COPYING* \
ChangeLog \
NEWS \
README \
- $PKG/usr/doc/$PRGNAM-0.9.4b
+ $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
@@ -90,4 +97,4 @@ chmod g+w $PKG/var/log/taler
chmod -R u=rwX,g=rX,o= $PKG/etc/taler/secrets
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-0.9.4b-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/taler-merchant/taler-merchant.info b/taler-merchant/taler-merchant.info
index f93b314..1fdc10f 100644
--- a/taler-merchant/taler-merchant.info
+++ b/taler-merchant/taler-merchant.info
@@ -1,8 +1,10 @@
PRGNAM="taler-merchant"
-VERSION="0.9.4b"
+VERSION="0.13.0"
HOMEPAGE="https://taler.net"
-DOWNLOAD="https://ftpmirror.gnu.org/gnu/taler/taler-merchant-0.9.4b.tar.gz"
-MD5SUM="6762ff93cbbe55b452ea9a213b935585"
+DOWNLOAD="https://ftpmirror.gnu.org/gnu/taler/taler-merchant-0.13.0.tar.gz"
+MD5SUM="bf768c4ff26660fc7e3d23adaabe99dd"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
REQUIRES="gnunet taler-exchange"
MAINTAINER="Slack Coder"
EMAIL="slackcoder@server.ky"