Start
This commit is contained in:
13
deltachat-desktop/README
Normal file
13
deltachat-desktop/README
Normal file
@ -0,0 +1,13 @@
|
||||
Delta Chat is a chat app that sends messages via e-mails, encrypted
|
||||
if possible, with Autocrypt. You do not have to sign up anywhere, just
|
||||
use your existing e-mail account with Delta Chat.
|
||||
|
||||
Features:
|
||||
|
||||
* Interactive web apps in chat for gaming and collaboration.
|
||||
* Reliable instant messaging with multi-profile and multi-device support.
|
||||
* Audited end-to-end encryption safe against network and server attacks.
|
||||
* FOSS software, built on Internet Standards, avoiding xkcd927.
|
||||
* Creation of a groups.
|
||||
* Multi-client.
|
||||
* Support Experimental of audio/video calls.
|
101
deltachat-desktop/deltachat-desktop.SlackBuild
Executable file
101
deltachat-desktop/deltachat-desktop.SlackBuild
Executable file
@ -0,0 +1,101 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Slackware build script for Delta Chat
|
||||
|
||||
# Copyright 2025 Slackjeff <slackjeff@riseup.net>
|
||||
# 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.
|
||||
|
||||
#########################################################################
|
||||
# ChangeLog
|
||||
#
|
||||
# IMPORTANT: update this if you change this script!)
|
||||
#########################################################################
|
||||
|
||||
# 1.0 01-JAN-2023 Added (Version: 1.34.2)
|
||||
# 2.0 04-JULY-2023 Added (Version: 1.38.1)
|
||||
# 3.0 24-DEC-2023 Added (Version: 1.42.2)
|
||||
# 4.0 18-MAR-2025 Added (Version: 1.54.2)
|
||||
# * Now delta chat also provides a tar.gz. We no longer use AppImage.
|
||||
# * To maintain standards, modified to deltachat-desktop
|
||||
|
||||
|
||||
|
||||
cd "$(dirname "$0")" ; CWD=$(pwd)
|
||||
|
||||
PRGNAM="deltachat-desktop"
|
||||
VERSION=${VERSION:-1.54.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
ARCH="${ARCH:-$(uname -m)}"
|
||||
if [ "$ARCH" != "x86_64" ]; then
|
||||
echo "$ARCH is not supported for $PRGNAM-$VERSION."
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
if [ -n "${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"
|
||||
|
||||
# Create the necessary structure.
|
||||
mkdir -p "$TMP" "$PKG" "$OUTPUT"
|
||||
mkdir -p "$PKG/install"
|
||||
mkdir -p "$PKG/usr/doc/$PRGNAM-$VERSION"
|
||||
mkdir -p "$PKG/usr/share/$PRGNAM-$VERSION"
|
||||
mkdir -p "$PKG/usr/share/applications"
|
||||
mkdir -p "$PKG/usr/share/pixmaps"
|
||||
mkdir -p "$PKG/usr/bin"
|
||||
mkdir -p "$PKG/opt"
|
||||
|
||||
cd $PKG/opt
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
|
||||
# Fix Perms
|
||||
chown -R root:root .
|
||||
find . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
|
||||
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
|
||||
|
||||
ln -s "/opt/$PRGNAM-$VERSION/$PRGNAM" "$PKG/usr/bin/$PRGNAM"
|
||||
ln -s "/opt/$PRGNAM-$VERSION/$PRGNAM.png" "$PKG/usr/share/pixmaps/$PRGNAM.png"
|
||||
|
||||
cat $CWD/$PRGNAM.SlackBuild > "$PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild"
|
||||
cat $CWD/README > "$PKG/usr/doc/$PRGNAM-$VERSION/README"
|
||||
cat $CWD/slack-desc > "$PKG/install/slack-desc"
|
||||
cat $CWD/doinst.sh > "$PKG/install/doinst.sh"
|
||||
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
|
||||
|
||||
cd "$PKG"
|
||||
|
||||
# Strip
|
||||
find . -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
10
deltachat-desktop/deltachat-desktop.desktop
Normal file
10
deltachat-desktop/deltachat-desktop.desktop
Normal file
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Name=DeltaChat
|
||||
Exec=deltachat-desktop --no-sandbox %U
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=deltachat-desktop
|
||||
StartupWMClass=DeltaChat
|
||||
Comment=Desktop Application for delta.chat
|
||||
Keywords=dc;chat;delta;messaging;messenger;email
|
||||
Categories=Network;Chat;InstantMessaging;
|
10
deltachat-desktop/deltachat-desktop.info
Normal file
10
deltachat-desktop/deltachat-desktop.info
Normal file
@ -0,0 +1,10 @@
|
||||
PRGNAM="deltachat-desktop"
|
||||
VERSION="1.54.2"
|
||||
HOMEPAGE="https://delta.chat/"
|
||||
DOWNLOAD="UNSUPPORTED"
|
||||
MD5SUM=""
|
||||
DOWNLOAD_x86_64="https://download.delta.chat/desktop/v1.54.2/deltachat-desktop-1.54.2.tar.gz"
|
||||
MD5SUM_x86_64="0c2239af06b0d16cdca70ed2e0b35358"
|
||||
REQUIRES=""
|
||||
MAINTAINER="slackjeff"
|
||||
EMAIL="slackjeff@riseup.net"
|
3
deltachat-desktop/doinst.sh
Normal file
3
deltachat-desktop/doinst.sh
Normal file
@ -0,0 +1,3 @@
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
19
deltachat-desktop/slack-desc
Normal file
19
deltachat-desktop/slack-desc
Normal file
@ -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 ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
deltachat-desktop: deltachat-desktop (messaging app that works over e-mail.)
|
||||
deltachat-desktop:
|
||||
deltachat-desktop: New chat app that sends messages via e-mails, encrypted if possible
|
||||
deltachat-desktop: with Autocrypt. You do not have to sign up anywhere, just use your
|
||||
deltachat-desktop: existing e-mail account with Delta Chat.
|
||||
deltachat-desktop: Independent of any company or services. You own your data.
|
||||
deltachat-desktop:
|
||||
deltachat-desktop:
|
||||
deltachat-desktop:
|
||||
deltachat-desktop: https://delta.chat/
|
||||
deltachat-desktop:
|
13
gromit-mpx/README
Normal file
13
gromit-mpx/README
Normal file
@ -0,0 +1,13 @@
|
||||
Gromit-MPX is an on-screen annotation tool that works with any
|
||||
Unix desktop environment under X11 as well as Wayland.
|
||||
Its main use is for making presentations of some application.
|
||||
|
||||
How Use:
|
||||
|
||||
F9: toggle painting
|
||||
SHIFT-F9: clear screen
|
||||
CTRL-F9: toggle visibility
|
||||
ALT-F9: quit Gromit-MPX
|
||||
F8: undo last stroke
|
||||
SHIFT-F8: redo last undone stroke
|
||||
|
9
gromit-mpx/doinst.sh
Normal file
9
gromit-mpx/doinst.sh
Normal file
@ -0,0 +1,9 @@
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
109
gromit-mpx/gromit-mpx.SlackBuild
Executable file
109
gromit-mpx/gromit-mpx.SlackBuild
Executable file
@ -0,0 +1,109 @@
|
||||
#!/bin/bash
|
||||
# Slackware build script for manaplus
|
||||
# Copyright 2018 slackjeff <slackjeff@riseup.net>
|
||||
# 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=gromit-mpx
|
||||
VERSION=${VERSION:-1.7.0}
|
||||
BUILD=${BUILD:-1}
|
||||
DOCS="AUTHORS CONTRIBUTING.md ChangeLog README.md COPYING NEWS.md"
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
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}
|
||||
|
||||
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-$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 {} \;
|
||||
|
||||
# Build
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_SYSCONFDIR:PATH='/etc' \
|
||||
-DCMAKE_INSTALL_MANDIR=/usr/man \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
make install/strip DESTDIR=$PKG
|
||||
cd ..
|
||||
|
||||
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
|
||||
|
||||
rm -rf $PKG/usr/share/doc
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a $DOCS $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
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
|
10
gromit-mpx/gromit-mpx.info
Normal file
10
gromit-mpx/gromit-mpx.info
Normal file
@ -0,0 +1,10 @@
|
||||
PRGNAM="gromit-mpx"
|
||||
VERSION="1.7.0"
|
||||
HOMEPAGE="https://github.com/bk138/gromit-mpx"
|
||||
DOWNLOAD="https://github.com/bk138/gromit-mpx/archive/1.7.0/gromit-mpx-1.7.0.tar.gz"
|
||||
MD5SUM="045626b36cb6ec75014415f1e393008d"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="slackjeff"
|
||||
EMAIL="slackjeff@riseup.net"
|
19
gromit-mpx/slack-desc
Normal file
19
gromit-mpx/slack-desc
Normal file
@ -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------------------------------------------------------|
|
||||
gromit-mpx: gromit-mpx (On-screen annotation tool)
|
||||
gromit-mpx:
|
||||
gromit-mpx: Its main use is for making presentations of some application.
|
||||
gromit-mpx: Normally, you would have to move the mouse pointer around the point
|
||||
gromit-mpx: of interest until hopefully everybody noticed it.
|
||||
gromit-mpx: With Gromit-MPX, you can draw everywhere onto the screen,
|
||||
gromit-mpx: highlighting some button or area.
|
||||
gromit-mpx:
|
||||
gromit-mpx:
|
||||
gromit-mpx: https://github.com/bk138/gromit-mpx
|
||||
gromit-mpx:
|
7
nordpass/README
Normal file
7
nordpass/README
Normal file
@ -0,0 +1,7 @@
|
||||
NordPass Password Manager.
|
||||
|
||||
Organize online life with NordPass — a secure solution for passwords,
|
||||
passkeys, credit cards, and more.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
This SlackBuild downloads and installs the official Snap under '/opt'.
|
3
nordpass/doinst.sh
Normal file
3
nordpass/doinst.sh
Normal file
@ -0,0 +1,3 @@
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
101
nordpass/nordpass.SlackBuild
Executable file
101
nordpass/nordpass.SlackBuild
Executable file
@ -0,0 +1,101 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Slackware build script for NordPass
|
||||
|
||||
# Copyright 2023 Slackjeff <slackjeff@riseup.net>
|
||||
# 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.
|
||||
|
||||
#########################################################################
|
||||
# ChangeLog
|
||||
#
|
||||
# IMPORTANT: update this if you change this script!)
|
||||
#########################################################################
|
||||
# 2.0 18-MARC-2025 UPGRADE (Version: 5.29.7)
|
||||
|
||||
cd "$(dirname "$0")" ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=nordpass
|
||||
VERSION=${VERSION:-5.29.7}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
#######################################################
|
||||
# For future reference only.
|
||||
# curl -sH 'Snap-Device-Series: 16' \
|
||||
# http://api.snapcraft.io/v2/snaps/info/nordpass | \
|
||||
# jq -r '."channel-map"[].download.url'
|
||||
#######################################################
|
||||
SNAPID='00CQ2MvSr0Ex7zwdGhCYTa0ZLMw3H6hf'
|
||||
SNAPREV='197'
|
||||
|
||||
ARCH="${ARCH:-$(uname -m)}"
|
||||
if [ "$ARCH" != "x86_64" ]; then
|
||||
echo "$ARCH is not supported for $PRGNAM-$VERSION."
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
if [ -n "${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}"
|
||||
|
||||
SNAPNAM="${SNAPID}_${SNAPREV}.snap"
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf "$PKG"
|
||||
mkdir -p "$TMP" "$PKG" "$OUTPUT"
|
||||
mkdir -p "$PKG/install"
|
||||
mkdir -p "$PKG/usr/doc/$PRGNAM-$VERSION"
|
||||
mkdir -p "$PKG/usr/share/$PRGNAM-$VERSION"
|
||||
mkdir -p "$PKG/usr/share/applications"
|
||||
mkdir -p "$PKG/usr/share/pixmaps"
|
||||
mkdir -p "$PKG/usr/bin"
|
||||
mkdir -p "$PKG/opt"
|
||||
cd $PKG/opt
|
||||
install -m 755 $CWD/$SNAPNAM .
|
||||
unsquashfs -q -f -d "$PKG/opt/$PRGNAM" "$SNAPNAM"
|
||||
rm "$SNAPNAM"
|
||||
# Fix Perms
|
||||
chown -R root:root .
|
||||
find . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
|
||||
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
|
||||
|
||||
ln -s "/opt/$PRGNAM/$PRGNAM" "$PKG/usr/bin/$PRGNAM"
|
||||
ln -s "/opt/$PRGNAM/meta/gui/icon.png" "$PKG/usr/share/pixmaps/$PRGNAM.png"
|
||||
|
||||
cat $CWD/$PRGNAM.SlackBuild > "$PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild"
|
||||
cat $CWD/README > "$PKG/usr/doc/$PRGNAM-$VERSION/README"
|
||||
cat $CWD/slack-desc > "$PKG/install/slack-desc"
|
||||
cat $CWD/doinst.sh > "$PKG/install/doinst.sh"
|
||||
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
|
||||
|
||||
cd "$PKG"
|
||||
|
||||
# Strip
|
||||
find . -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
14
nordpass/nordpass.desktop
Normal file
14
nordpass/nordpass.desktop
Normal file
@ -0,0 +1,14 @@
|
||||
[Desktop Entry]
|
||||
Name=NordPass
|
||||
Exec=nordpass %U
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=/opt/nordpass/meta/gui/icon.png
|
||||
StartupWMClass=NordPass
|
||||
X-GNOME-Autostart-enabled=true
|
||||
X-GNOME-Autostart-Delay=10
|
||||
X-KDE-autostart-after=panel
|
||||
X-MATE-Autostart-Delay=10
|
||||
Comment=NordPass is your freedom from password stress. Generate and securely store strong passwords and autofill them with a single click.
|
||||
MimeType=x-scheme-handler/nordpass;
|
||||
Categories=Utility;
|
10
nordpass/nordpass.info
Normal file
10
nordpass/nordpass.info
Normal file
@ -0,0 +1,10 @@
|
||||
PRGNAM="nordpass"
|
||||
VERSION="5.29.7"
|
||||
HOMEPAGE="https://nordpass.com/"
|
||||
DOWNLOAD="UNSUPPORTED"
|
||||
MD5SUM=""
|
||||
DOWNLOAD_x86_64="https://api.snapcraft.io/api/v1/snaps/download/00CQ2MvSr0Ex7zwdGhCYTa0ZLMw3H6hf_197.snap"
|
||||
MD5SUM_x86_64="8f7a4b86cb83eee3bc7345a40dd6c3a7"
|
||||
REQUIRES=""
|
||||
MAINTAINER="slackjeff"
|
||||
EMAIL="slackjeff@riseup.net"
|
19
nordpass/slack-desc
Normal file
19
nordpass/slack-desc
Normal file
@ -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 ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
nordpass: nordpass (Secure and intuitive password manager)
|
||||
nordpass:
|
||||
nordpass: Organize online life with NordPass - a secure solution for passwords
|
||||
nordpass: passkeys, credit cards, and more.
|
||||
nordpass:
|
||||
nordpass: Generate strong passwords, Securely share passwords with co-workers.
|
||||
nordpass: Find out if your data has been breached.
|
||||
nordpass:
|
||||
nordpass:
|
||||
nordpass: https://nordpass.com
|
||||
nordpass:
|
13
riseup-vpn/README
Normal file
13
riseup-vpn/README
Normal file
@ -0,0 +1,13 @@
|
||||
Gromit-MPX is an on-screen annotation tool that works with any
|
||||
Unix desktop environment under X11 as well as Wayland.
|
||||
Its main use is for making presentations of some application.
|
||||
|
||||
How Use:
|
||||
|
||||
F9: toggle painting
|
||||
SHIFT-F9: clear screen
|
||||
CTRL-F9: toggle visibility
|
||||
ALT-F9: quit Gromit-MPX
|
||||
F8: undo last stroke
|
||||
SHIFT-F8: redo last undone stroke
|
||||
|
9
riseup-vpn/doinst.sh
Normal file
9
riseup-vpn/doinst.sh
Normal file
@ -0,0 +1,9 @@
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
108
riseup-vpn/riseup-vpn.SlackBuild
Normal file
108
riseup-vpn/riseup-vpn.SlackBuild
Normal file
@ -0,0 +1,108 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Slackware build script for NordVPN
|
||||
#
|
||||
# Copyright 2019-2021 Reza Talebi, Shahin Shahr, Iran.
|
||||
# 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.
|
||||
|
||||
# Modified by Pouria Rezaei <Pouria.rz@outlook.com>
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=riseup-vpn
|
||||
VERSION=${VERSION:-3.19.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
# Select nordvpn's default group
|
||||
NORD_GROUP=${NORD_GROUP:-nordvpn}
|
||||
|
||||
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
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
DEBARCH="i386"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
DEBARCH="i386"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
DEBARCH="amd64"
|
||||
else
|
||||
echo "Package for $ARCH architecture is not available."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
bailout() {
|
||||
echo " You must have a $NORD_GROUP group to run this script. "
|
||||
echo " Something like this should suffice for most systems (Run as root): "
|
||||
echo " # groupadd -g 373 $NORD_GROUP "
|
||||
echo " # usermod -aG $NORD_GROUP \$USER (Replace \$USER with your username)"
|
||||
echo " Then log out of the system and login again."
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Bail if group isn't valid on your system.
|
||||
if ! grep -q "^$NORD_GROUP:" /etc/group; then
|
||||
bailout
|
||||
fi
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
mkdir -p $PRGNAM-$VERSION
|
||||
|
||||
cd $PKG
|
||||
ar p $CWD/${PRGNAM}_${VERSION}_${DEBARCH}.deb data.tar.gz | tar zxv
|
||||
|
||||
rm -fR etc usr/lib
|
||||
|
||||
# Move man where the man likes
|
||||
mv usr/share/man usr/
|
||||
rm -rf $PKG/usr/share/doc
|
||||
|
||||
mkdir -p $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
|
||||
install -m 0755 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -p -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
|
10
riseup-vpn/riseup-vpn.info
Normal file
10
riseup-vpn/riseup-vpn.info
Normal file
@ -0,0 +1,10 @@
|
||||
PRGNAM="riseup-vpn"
|
||||
VERSION="0.21.11"
|
||||
HOMEPAGE="https://0xacab.org/leap/bitmask-vpn"
|
||||
DOWNLOAD="UNSUPPORTED"
|
||||
MD5SUM=""
|
||||
DOWNLOAD_x86_64="https://api.snapcraft.io/api/v1/snaps/download/kcdab1evtjtNRe7Mrm0Qd57fioCuDBUV_184.snap"
|
||||
MD5SUM_x86_64="f4a5e94ec34bcf999e016ffca6d64ff8"
|
||||
REQUIRES=""
|
||||
MAINTAINER="slackjeff"
|
||||
EMAIL="slackjeff@riseup.net"
|
19
riseup-vpn/slack-desc
Normal file
19
riseup-vpn/slack-desc
Normal file
@ -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------------------------------------------------------|
|
||||
gromit-mpx: gromit-mpx (On-screen annotation tool)
|
||||
gromit-mpx:
|
||||
gromit-mpx: Its main use is for making presentations of some application.
|
||||
gromit-mpx: Normally, you would have to move the mouse pointer around the point
|
||||
gromit-mpx: of interest until hopefully everybody noticed it.
|
||||
gromit-mpx: With Gromit-MPX, you can draw everywhere onto the screen,
|
||||
gromit-mpx: highlighting some button or area.
|
||||
gromit-mpx:
|
||||
gromit-mpx:
|
||||
gromit-mpx: https://github.com/bk138/gromit-mpx
|
||||
gromit-mpx:
|
12
screenfetch/README
Normal file
12
screenfetch/README
Normal file
@ -0,0 +1,12 @@
|
||||
screenfetch (bash screenshot information tool)
|
||||
|
||||
Screenfetch is a Bash Screenshot Information Tool. This handy Bash
|
||||
script can be used to generate one of those nifty terminal theme
|
||||
information + ASCII distribution logos you see in everyone's
|
||||
screenshots nowadays. It will auto-detect your distribution and
|
||||
display an ASCII version of that distribution's logo and some
|
||||
valuable information to the right.
|
||||
|
||||
scrot is an optional dependency. Without it you won't be able to
|
||||
use -s option (take a screenshot). You can also specify a custom
|
||||
screenshot command.
|
101
screenfetch/screenfetch.SlackBuild
Executable file
101
screenfetch/screenfetch.SlackBuild
Executable file
@ -0,0 +1,101 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Slackware build script for Screenfetch.
|
||||
#
|
||||
# Copyright 2012-2017 Bojan Popovic, Belgrade, Serbia, <bocke@slackware-srbija.org>.
|
||||
# Copyright 2017-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
|
||||
# Copyright slackjeff <slackjeff@riseup.net>
|
||||
#
|
||||
# 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.
|
||||
|
||||
#########################################################################
|
||||
# ChangeLog
|
||||
#
|
||||
# IMPORTANT: update this if you change this script!)
|
||||
#########################################################################
|
||||
#
|
||||
# 1.0 15-DEC-2012 Added (ver. 2.7.5)
|
||||
# 1.1 08-JUL-2013 Updated to a new upstream ver. 3.0.5. Fixes Slack64
|
||||
# detection.
|
||||
# 1.2 06-DEC-2013 Updated to a new upstream ver. 3.2.2.
|
||||
# 1.3 23-JUN-2014 Changed source URL (willysr).
|
||||
# 1.4 25-JUN-2014 Updated slack-desc (willysr).
|
||||
# 1.5 23-JUL-2014 Updated to a new upstream ver. 3.5.0.
|
||||
# 1.6 07-DEC-2014 Updated to a new upstream ver. 3.6.5
|
||||
# 1.7 30-JAN-2015 Added a source alternative (willysr).
|
||||
# 1.8 31-JAN-2015 Updated changelog. Synced changelog to git history.
|
||||
# Updated changelog formating. Updated tar extraction line
|
||||
# to eliminate (harmless but annoying) extraction errors.
|
||||
# 1.9 27-MAR-2017 Updated for version 3.8.0. Added a manpage.
|
||||
# 2.0 20-JUNE-2020 Updated to a new upstream ver. 3.9.1.
|
||||
# Added Double quotes in variables.
|
||||
# 2.1 18-MAR-2025 New upstream version \o
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM="screenfetch"
|
||||
SRCNAM="screenFetch"
|
||||
VERSION="${VERSION:-3.9.9}"
|
||||
BUILD="${BUILD:-1}"
|
||||
TAG="${TAG:-_SBo}"
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
ARCH="noarch"
|
||||
DOCS="CHANGELOG COPYING README.mkdn TODO update-manpage.sh"
|
||||
|
||||
# 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 [ -n "${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/$SRCNAM-$VERSION.tar.gz"
|
||||
mv "$SRCNAM-$VERSION" "$PRGNAM-$VERSION"
|
||||
cd "$PRGNAM-$VERSION"
|
||||
|
||||
install -m 755 -D "$PRGNAM-dev" "$PKG/usr/bin/$PRGNAM"
|
||||
|
||||
# manpage
|
||||
mkdir -p "$PKG/usr/man/man1"
|
||||
install -m 644 screenfetch.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
|
||||
|
||||
# Other docs
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
chmod 644 $DOCS; cp -a $DOCS $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"
|
||||
|
||||
cd "$PKG"
|
||||
/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
10
screenfetch/screenfetch.info
Normal file
10
screenfetch/screenfetch.info
Normal file
@ -0,0 +1,10 @@
|
||||
PRGNAM="screenfetch"
|
||||
VERSION="3.9.9"
|
||||
HOMEPAGE="https://github.com/KittyKatt/screenFetch"
|
||||
DOWNLOAD="https://github.com/KittyKatt/screenFetch/archive/v3.9.9/screenFetch-3.9.9.tar.gz"
|
||||
MD5SUM="989cbc96cd9502a3a7d0c36ed5ea1dfe"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="slackjeff"
|
||||
EMAIL="slackjeff@riseup.net"
|
19
screenfetch/slack-desc
Normal file
19
screenfetch/slack-desc
Normal file
@ -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------------------------------------------------------|
|
||||
screenfetch: screenfetch (bash screenshot information tool)
|
||||
screenfetch:
|
||||
screenfetch: Screenfetch is a Bash Screenshot Information Tool. This handy Bash
|
||||
screenfetch: script can be used to generate one of those nifty terminal theme
|
||||
screenfetch: information + ASCII distribution logos you see in everyone's
|
||||
screenfetch: screenshots nowadays. It will auto-detect your distribution and
|
||||
screenfetch: display an ASCII version of that distribution's logo and some
|
||||
screenfetch: valuable information to the right.
|
||||
screenfetch:
|
||||
screenfetch: Home page: https://github.com/KittyKatt/screenFetch
|
||||
screenfetch:
|
14
secure-delete/README
Normal file
14
secure-delete/README
Normal file
@ -0,0 +1,14 @@
|
||||
Tools to wipe files, free disk space, swap and memory.
|
||||
|
||||
This use Gutmann method based tools for securely wiping data from files,
|
||||
free disk space, swap and memory.
|
||||
|
||||
Tools:
|
||||
|
||||
files: srm
|
||||
free disk space: sfill
|
||||
swap: sswap
|
||||
memory: sdmem
|
||||
|
||||
This package maybe conflict with "srm" program and "srm" manpage present
|
||||
in "srm" package also available on SlackBuilds.
|
111
secure-delete/secure-delete.SlackBuild
Executable file
111
secure-delete/secure-delete.SlackBuild
Executable file
@ -0,0 +1,111 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Slackware build script for secure-delete.
|
||||
#
|
||||
# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
|
||||
# All rights reserved.
|
||||
# Copyright slackjeff, <slackjeff@riseup.net>
|
||||
#
|
||||
# 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=secure-delete
|
||||
VERSION=${VERSION:-3.1_6}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
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
|
||||
|
||||
SRCNAM=${SRCNAM:-secure-delete}
|
||||
SRCVER=${SRCVER:-3.1.orig}
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/${SRCNAM}_${SRCVER}.tar.gz
|
||||
mv $SRCNAM-$SRCVER $PRGNAM-$VERSION
|
||||
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 {} \;
|
||||
|
||||
patch < $CWD/${PRGNAM}_${VERSION}.diff
|
||||
|
||||
make -j1 prefix=/usr 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
|
||||
|
||||
mkdir -p $PKG/usr/man/man1
|
||||
cp sfill.1 smem.1 srm.1 sswap.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/bin
|
||||
cp -a sfill smem srm sswap $PKG/usr/bin
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp CHANGES README secure_delete.doc TODO usenix6-gutmann.doc $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
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
|
10
secure-delete/secure-delete.info
Normal file
10
secure-delete/secure-delete.info
Normal file
@ -0,0 +1,10 @@
|
||||
PRGNAM="secure-delete"
|
||||
VERSION="3.1_6"
|
||||
HOMEPAGE="https://packages.debian.org/buster/secure-delete"
|
||||
DOWNLOAD="http://deb.debian.org/debian/pool/main/s/secure-delete/secure-delete_3.1.orig.tar.gz"
|
||||
MD5SUM="1a9d31a049f9ee916c994cb613a2754e"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="slackjeff"
|
||||
EMAIL="slackjeff@riseup.net"
|
478
secure-delete/secure-delete_3.1_6.diff
Normal file
478
secure-delete/secure-delete_3.1_6.diff
Normal file
@ -0,0 +1,478 @@
|
||||
--- secure-delete-3.1.orig/srm.1
|
||||
+++ secure-delete-3.1/srm.1
|
||||
@@ -55,7 +55,7 @@
|
||||
.TP
|
||||
.B \-d
|
||||
ignore the two special dot files . and .. on the commandline. (so you can
|
||||
-execute it like "srm -d .* *")
|
||||
+execute it like "srm \-d .* *")
|
||||
.TP
|
||||
.B \-f
|
||||
fast (and insecure mode): no /dev/urandom, no synchronize mode.
|
||||
@@ -65,7 +65,7 @@
|
||||
and a final mode random values.
|
||||
.TP
|
||||
.B \-l
|
||||
--l for a second time lessons the security even more: only one random pass
|
||||
+\-l for a second time lessons the security even more: only one random pass
|
||||
is written.
|
||||
.TP
|
||||
.B \-r
|
||||
@@ -95,7 +95,7 @@
|
||||
which comes with the
|
||||
.I secure_deletion package
|
||||
to ensure to wipe also the free diskspace. However, If already a small
|
||||
-file aquired a block with your precious data, no tool known to me can help
|
||||
+file acquired a block with your precious data, no tool known to me can help
|
||||
you here. For a secure deletion of the swap space
|
||||
.I sswap
|
||||
is available.
|
||||
@@ -136,5 +136,5 @@
|
||||
(1),
|
||||
.I sswap
|
||||
(1),
|
||||
-.I smem
|
||||
+.I sdmem
|
||||
(1)
|
||||
--- secure-delete-3.1.orig/sfill.1
|
||||
+++ secure-delete-3.1/sfill.1
|
||||
@@ -16,7 +16,7 @@
|
||||
is designed to delete data which lies on available diskspace on mediums
|
||||
in a secure manner which can not be recovered by thiefs, law enforcement
|
||||
or other threats.
|
||||
-The wipe algorythm is based on the paper "Secure Deletion of Data from
|
||||
+The wipe algorithm is based on the paper "Secure Deletion of Data from
|
||||
Magnetic and Solid-State Memory" presented at the 6th Usenix Security
|
||||
Symposium by Peter Gutmann, one of the leading civilian cryptographers.
|
||||
.PP
|
||||
@@ -59,7 +59,7 @@
|
||||
and a final mode with random values.
|
||||
.TP
|
||||
.B \-l
|
||||
--l for a second time lessons the security even more: only one random pass
|
||||
+\-l for a second time lessons the security even more: only one random pass
|
||||
is written.
|
||||
.TP
|
||||
.B \-v
|
||||
@@ -130,5 +130,5 @@
|
||||
(1),
|
||||
.I sswap
|
||||
(1),
|
||||
-.I smem
|
||||
+.I sdmem
|
||||
(1)
|
||||
--- secure-delete-3.1.orig/Makefile
|
||||
+++ secure-delete-3.1/Makefile
|
||||
@@ -1,19 +1,19 @@
|
||||
CC=gcc
|
||||
-OPT=-O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
||||
+OPT=$(CFLAGS) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
||||
#OPT=-Wall -D_DEBUG_ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
||||
-INSTALL_DIR=/usr/local/bin
|
||||
+INSTALL_DIR=$(prefix)/bin
|
||||
MAN_DIR=/usr/local/man
|
||||
DOC_DIR=/usr/share/doc/secure_delete
|
||||
OPT_MOD=-D__KERNEL__ -DMODULE -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
|
||||
#LD_MOD=-r
|
||||
|
||||
-all: sdel-lib.o srm sfill sswap smem sdel-mod.o
|
||||
- @echo
|
||||
- @echo "A Puritan is someone who is deathly afraid that someone, somewhere, is"
|
||||
- @echo "having fun."
|
||||
- @echo
|
||||
- @echo "I hope YOU have fun!"
|
||||
- @echo
|
||||
+all: sdel-lib.o srm sfill sswap smem
|
||||
+# @echo
|
||||
+# @echo "A Puritan is someone who is deathly afraid that someone, somewhere, is"
|
||||
+# @echo "having fun."
|
||||
+# @echo
|
||||
+# @echo "I hope YOU have fun!"
|
||||
+# @echo
|
||||
|
||||
sdel-mod.o: sdel-mod.c
|
||||
$(CC) $(OPT) $(OPT_MOD) $(LD_MOD) -I/lib/modules/`uname -r`/build/include -c sdel-mod.c
|
||||
@@ -23,32 +23,28 @@
|
||||
|
||||
srm: srm.c
|
||||
$(CC) ${OPT} -o srm srm.c sdel-lib.o
|
||||
- -strip srm
|
||||
sfill: sfill.c
|
||||
$(CC) ${OPT} -o sfill sfill.c sdel-lib.o
|
||||
- -strip sfill
|
||||
sswap: sswap.c
|
||||
$(CC) ${OPT} -o sswap sswap.c sdel-lib.o
|
||||
- -strip sswap
|
||||
smem: smem.c
|
||||
$(CC) ${OPT} -o smem smem.c sdel-lib.o
|
||||
- -strip smem
|
||||
|
||||
clean:
|
||||
rm -f sfill srm sswap smem sdel sdel-lib.o sdel-mod.o core *~
|
||||
|
||||
install: all
|
||||
mkdir -p -m 755 ${INSTALL_DIR} 2> /dev/null
|
||||
- rm -f sdel && ln -s srm sdel
|
||||
- cp -f sdel srm sfill sswap smem the_cleaner.sh ${INSTALL_DIR}
|
||||
- chmod 711 ${INSTALL_DIR}/srm ${INSTALL_DIR}/sfill ${INSTALL_DIR}/sswap ${INSTALL_DIR}/smem ${INSTALL_DIR}/the_cleaner.sh
|
||||
- mkdir -p -m 755 ${MAN_DIR}/man1 2> /dev/null
|
||||
- cp -f srm.1 sfill.1 sswap.1 smem.1 ${MAN_DIR}/man1
|
||||
- chmod 644 ${MAN_DIR}/man1/srm.1 ${MAN_DIR}/man1/sfill.1 ${MAN_DIR}/man1/sswap.1 ${MAN_DIR}/man1/smem.1
|
||||
- mkdir -p -m 755 ${DOC_DIR} 2> /dev/null
|
||||
- cp -f CHANGES FILES README secure_delete.doc usenix6-gutmann.doc ${DOC_DIR}
|
||||
- -test -e sdel-mod.o && cp -f sdel-mod.o /lib/modules/`uname -r`/kernel/drivers/char
|
||||
+# rm -f sdel && ln -s srm sdel
|
||||
+ cp -f srm sfill sswap smem ${INSTALL_DIR}
|
||||
+ chmod 711 ${INSTALL_DIR}/srm ${INSTALL_DIR}/sfill ${INSTALL_DIR}/sswap ${INSTALL_DIR}/smem
|
||||
+# mkdir -p -m 755 ${MAN_DIR}/man1 2> /dev/null
|
||||
+# cp -f srm.1 sfill.1 sswap.1 smem.1 ${MAN_DIR}/man1
|
||||
+# chmod 644 ${MAN_DIR}/man1/srm.1 ${MAN_DIR}/man1/sfill.1 ${MAN_DIR}/man1/sswap.1 ${MAN_DIR}/man1/smem.1
|
||||
+# mkdir -p -m 755 ${DOC_DIR} 2> /dev/null
|
||||
+# cp -f CHANGES FILES README secure_delete.doc usenix6-gutmann.doc ${DOC_DIR}
|
||||
+# -test -e sdel-mod.o && cp -f sdel-mod.o /lib/modules/`uname -r`/kernel/drivers/char
|
||||
# @-test '!' -e sdel-mod.o -a `uname -s` = 'Linux' && echo "type \"make sdel-mod install\" to compile and install the Linux loadable kernel module for secure delete"
|
||||
- @echo
|
||||
- @echo "If men could get pregnant, abortion would be a sacrament."
|
||||
- @echo
|
||||
+# @echo
|
||||
+# @echo "If men could get pregnant, abortion would be a sacrament."
|
||||
+# @echo
|
||||
--- secure-delete-3.1.orig/srm.c
|
||||
+++ secure-delete-3.1/srm.c
|
||||
@@ -110,7 +110,7 @@
|
||||
if ( (filestat.st_dev != controlstat.st_dev) || (filestat.st_ino != controlstat.st_ino) ) {
|
||||
fprintf(stderr, "Race found! (directory %s became a link)\n", filename);
|
||||
} else {
|
||||
- if ((dir = opendir (".")) != NULL) {
|
||||
+ if ((dir = opendir (".")) < 0) {
|
||||
(void) chmod(".", 0700); /* ignore permission errors */
|
||||
dir = opendir (".");
|
||||
}
|
||||
@@ -166,8 +166,10 @@
|
||||
return 3;
|
||||
}
|
||||
|
||||
- if (sdel_overwrite(mode, fd, 0, bufsize, filestat.st_size > 0 ? filestat.st_size : 1, zero) == 0)
|
||||
+ if (sdel_overwrite(mode, fd, 0, bufsize, filestat.st_size > 0 ? filestat.st_size : 1, zero) == 0) {
|
||||
+ close(fd);
|
||||
return sdel_unlink(filename, 0, 1, slow);
|
||||
+ }
|
||||
} /* end IS_REG() */
|
||||
else {
|
||||
if (S_ISDIR(filestat.st_mode)) {
|
||||
--- secure-delete-3.1.orig/smem.1
|
||||
+++ secure-delete-3.1/smem.1
|
||||
@@ -3,16 +3,16 @@
|
||||
.if n .sp
|
||||
.if t .sp 0.4
|
||||
..
|
||||
-.TH SMEM 1
|
||||
+.TH SDMEM 1
|
||||
|
||||
.SH NAME
|
||||
-smem \- secure memory wiper (secure_deletion toolkit)
|
||||
+sdmem \- secure memory wiper (secure_deletion toolkit)
|
||||
|
||||
.SH SYNOPSIS
|
||||
-.B smem [-f] [-l] [-l] [-v]
|
||||
+.B sdmem [-f] [-l] [-l] [-v]
|
||||
|
||||
.SH DESCRIPTION
|
||||
-.I smem
|
||||
+.I sdmem
|
||||
is designed to delete data which may lie still in your memory (RAM)
|
||||
in a secure manner which can not be recovered by thiefs, law enforcement
|
||||
or other threats.
|
||||
@@ -24,7 +24,7 @@
|
||||
.PP
|
||||
The
|
||||
.I secure data deletion
|
||||
-process of smem goes like this:
|
||||
+process of sdmem goes like this:
|
||||
.PP
|
||||
.TP
|
||||
.B *
|
||||
@@ -51,20 +51,26 @@
|
||||
and a final random one.
|
||||
.TP
|
||||
.B \-l
|
||||
--l for a second time lessons the security even more: only one pass with
|
||||
+\-l for a second time lessons the security even more: only one pass with
|
||||
0x00 is written.
|
||||
.TP
|
||||
.B \-v
|
||||
verbose mode
|
||||
.PP
|
||||
|
||||
+.SH NOTE
|
||||
+.TP
|
||||
+This utility was originally called
|
||||
+.I smem
|
||||
+but was renamed for debian to avoid name clashes with another package.
|
||||
+
|
||||
.SH BEWARE
|
||||
.TP
|
||||
.B SLOW
|
||||
-Wiping the memory is very slow. You might use smem with the -ll option. (tip)
|
||||
+Wiping the memory is very slow. You might use sdmem with the \-ll option. (tip)
|
||||
.TP
|
||||
.B BETA!
|
||||
-.I smem
|
||||
+.I sdmem
|
||||
is still beta.
|
||||
|
||||
.PP
|
||||
@@ -84,7 +90,7 @@
|
||||
can be obtained from
|
||||
.I http://www.thc.org
|
||||
.Sp
|
||||
-.I smem
|
||||
+.I sdmem
|
||||
and the
|
||||
.I secure_deletion package
|
||||
is (C) 1997-2003 by van Hauser / THC (vh@thc.org)
|
||||
--- secure-delete-3.1.orig/sswap.1
|
||||
+++ secure-delete-3.1/sswap.1
|
||||
@@ -49,7 +49,7 @@
|
||||
a final mode with random values.
|
||||
.TP
|
||||
.B \-l
|
||||
--l for a second time lessons the security even more: only one pass with
|
||||
+\-l for a second time lessons the security even more: only one pass with
|
||||
random values is written.
|
||||
.TP
|
||||
.B \-v
|
||||
@@ -106,5 +106,5 @@
|
||||
(1),
|
||||
.I sfill
|
||||
(1),
|
||||
-.I smem
|
||||
+.I sdmem
|
||||
(1)
|
||||
--- secure-delete-3.1.orig/debian/docs
|
||||
+++ secure-delete-3.1/debian/docs
|
||||
@@ -0,0 +1,4 @@
|
||||
+README
|
||||
+TODO
|
||||
+secure_delete.doc
|
||||
+usenix6-gutmann.doc
|
||||
--- secure-delete-3.1.orig/debian/control
|
||||
+++ secure-delete-3.1/debian/control
|
||||
@@ -0,0 +1,13 @@
|
||||
+Source: secure-delete
|
||||
+Section: utils
|
||||
+Priority: optional
|
||||
+Maintainer: Robert Lemmen <robertle@semistable.com>
|
||||
+Build-Depends: debhelper (>= 7.0.0)
|
||||
+Standards-Version: 3.9.4
|
||||
+
|
||||
+Package: secure-delete
|
||||
+Architecture: any
|
||||
+Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
+Description: tools to wipe files, free disk space, swap and memory
|
||||
+ Gutmann method based tools for securely wiping data from files, free
|
||||
+ disk space, swap and memory: srm, sfill, sswap and sdmem.
|
||||
--- secure-delete-3.1.orig/debian/compat
|
||||
+++ secure-delete-3.1/debian/compat
|
||||
@@ -0,0 +1 @@
|
||||
+7
|
||||
--- secure-delete-3.1.orig/debian/changelog
|
||||
+++ secure-delete-3.1/debian/changelog
|
||||
@@ -0,0 +1,46 @@
|
||||
+secure-delete (3.1-6) unstable; urgency=low
|
||||
+
|
||||
+ * Enable hardening flags during build
|
||||
+ * Update packaging
|
||||
+ * Bump standards-version
|
||||
+ * Fix a few minus-vs-hyphen bugs in manpages
|
||||
+ * Fixed a few typos (closes: #486018, #653260)
|
||||
+ * Tone down description a little bit and include binary names
|
||||
+ (closes: #680336, #538151)
|
||||
+
|
||||
+ -- Robert Lemmen <robertle@semistable.com> Fri, 05 Jul 2013 08:50:37 +0100
|
||||
+
|
||||
+secure-delete (3.1-5) unstable; urgency=low
|
||||
+
|
||||
+ * Rename smem to sdmem to avoid name clash with smem package
|
||||
+ * Bumped Standards-Version to 3.8.3 and related fixes
|
||||
+
|
||||
+ -- Robert Lemmen <robertle@semistable.com> Tue, 05 Jan 2010 14:55:00 +0000
|
||||
+
|
||||
+secure-delete (3.1-4) unstable; urgency=low
|
||||
+
|
||||
+ * Fixed licensing info (closes: #428102)
|
||||
+ * Fixed handling of nostrip build option (closes: #438009)
|
||||
+
|
||||
+ -- Robert Lemmen <robertle@semistable.com> Tue, 28 Aug 2007 13:21:17 +0200
|
||||
+
|
||||
+secure-delete (3.1-3) unstable; urgency=low
|
||||
+
|
||||
+ * Moved from experimental
|
||||
+ * Added more documentation
|
||||
+
|
||||
+ -- Robert Lemmen <robertle@semistable.com> Thu, 5 Oct 2006 22:04:17 +0200
|
||||
+
|
||||
+secure-delete (3.1-2) experimental; urgency=low
|
||||
+
|
||||
+ * Upload to experimental instead of unstable.
|
||||
+ * Added description on how to test security to README.Debian.
|
||||
+
|
||||
+ -- Robert Lemmen <robertle@semistable.com> Mon, 2 May 2005 11:55:11 +0200
|
||||
+
|
||||
+secure-delete (3.1-1) unstable; urgency=low
|
||||
+
|
||||
+ * Initial Release.
|
||||
+
|
||||
+ -- Robert Lemmen <robertle@semistable.com> Thu, 29 Jan 2004 18:09:26 +0100
|
||||
+
|
||||
--- secure-delete-3.1.orig/debian/copyright
|
||||
+++ secure-delete-3.1/debian/copyright
|
||||
@@ -0,0 +1,17 @@
|
||||
+This package was debianized by Robert Lemmen <robertle@semistable.com> on
|
||||
+Thu, 29 Jan 2004 18:09:26 +0100.
|
||||
+
|
||||
+It was downloaded from http://www.thc.org
|
||||
+
|
||||
+Upstream Author: van Hauser <vh@thc.org>
|
||||
+
|
||||
+Copyright: 1999-2004 van Hauser
|
||||
+
|
||||
+ You are free to distribute this software under the terms of
|
||||
+ the GNU General Public License.
|
||||
+ On Debian systems, the complete text of the GNU General Public
|
||||
+ License can be found in /usr/share/common-licenses/GPL file.
|
||||
+
|
||||
+The file "usenix6-gutmann.doc" is licensed under the "Creative Commons
|
||||
+Attribution 3.0" license, which you can find at
|
||||
+http://creativecommons.org/licenses/by/3.0/
|
||||
--- secure-delete-3.1.orig/debian/watch
|
||||
+++ secure-delete-3.1/debian/watch
|
||||
@@ -0,0 +1,3 @@
|
||||
+version=2
|
||||
+http://www.thc.org/releases.php .*secure[-_]delete-(.*)\.tar\.gz
|
||||
+
|
||||
--- secure-delete-3.1.orig/debian/README.Debian
|
||||
+++ secure-delete-3.1/debian/README.Debian
|
||||
@@ -0,0 +1,56 @@
|
||||
+secure-delete for Debian
|
||||
+------------------------
|
||||
+
|
||||
+The original package and debian versions prio to 3.1-5 contained a utility
|
||||
+called smem that wiped memory. This utility seems to be of limited use and
|
||||
+clashes with another binary of the same name, it is therefore renamed to sdmem.
|
||||
+
|
||||
+The source for secure_delete contains a 2.4 kernel module that turns every
|
||||
+call to unlink() into a secure remove, this module is not yet part of this
|
||||
+package for technical reasons. if you need it please "apt_get source
|
||||
+secure-delete" and build it yourself for now.
|
||||
+
|
||||
+Also note that securely wiping data from magnetic media is a difficult task and
|
||||
+depends a lot on the filesystem in question (among other things). So there is no
|
||||
+guarantee that this program will work in your configuration, but you can and
|
||||
+should check for yourself by creating a loopback filesystem, mountig it and
|
||||
+creating a file in it, then securely wiping it and grepping for it's contents in
|
||||
+the loopback file:
|
||||
+
|
||||
+dd if=/dev/zero of=disk bs=4096 count=1024
|
||||
+mke2fs disk
|
||||
+losetup /dev/loop0 disk
|
||||
+mkdir test
|
||||
+mount /dev/loop0 test
|
||||
+cd test
|
||||
+for ((i=0; i<10000; i++))
|
||||
+do
|
||||
+ echo "ofenrohr" >> file;
|
||||
+done
|
||||
+cd ..
|
||||
+umount test
|
||||
+losetup -d /dev/loop0
|
||||
+grep "ofenrohr" disk
|
||||
+--> this should result in a "binary file disk matches"
|
||||
+losetup /dev/loop0 disk
|
||||
+mount /dev/loop0 test
|
||||
+cd test
|
||||
+srm file
|
||||
+cd ..
|
||||
+umount test
|
||||
+losetup -d /dev/loop0
|
||||
+grep "ofenrohr" disk
|
||||
+--> this should not find anything
|
||||
+
|
||||
+Please make sure you use the correct filesystem type and options during the
|
||||
+mkfs!
|
||||
+
|
||||
+Another general problem of wiping data from disks is that most harddisks will
|
||||
+occasionally mark a sector as "bad" and copy it's contents to a new location
|
||||
+that the disk will pretend is at the original location. Since this is completely
|
||||
+transparent, there is no way to access these sectors without touching the disks
|
||||
+hardware. These sectors may then contain sensitive information that could be
|
||||
+retrieved from the disk. If you want better security, use an encrypting
|
||||
+filesystem (dm-crypt, loop-aes), and forget the key if you want to wipe it.
|
||||
+
|
||||
+ -- Robert Lemmen <robertle@semistable.com>, Thu, 29 Jan 2004 18:09:26 +0100
|
||||
--- secure-delete-3.1.orig/debian/rules
|
||||
+++ secure-delete-3.1/debian/rules
|
||||
@@ -0,0 +1,59 @@
|
||||
+#!/usr/bin/make -f
|
||||
+
|
||||
+# Uncomment this to turn on verbose mode.
|
||||
+#export DH_VERBOSE=1
|
||||
+
|
||||
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
|
||||
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
|
||||
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
|
||||
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
|
||||
+
|
||||
+build: build-arch build-indep
|
||||
+build-arch: build-stamp
|
||||
+build-indep: build-stamp
|
||||
+
|
||||
+build-stamp:
|
||||
+ dh_testdir
|
||||
+ CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)" $(MAKE)
|
||||
+ touch build-stamp
|
||||
+
|
||||
+clean:
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ rm -f build-stamp
|
||||
+ $(MAKE) clean
|
||||
+ dh_clean
|
||||
+
|
||||
+install: build
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_prep
|
||||
+ dh_installdirs
|
||||
+ $(MAKE) install prefix=$(CURDIR)/debian/secure-delete/usr
|
||||
+
|
||||
+
|
||||
+binary-indep: build install
|
||||
+
|
||||
+binary-arch: build install
|
||||
+ dh_testdir
|
||||
+ dh_testroot
|
||||
+ dh_installchangelogs CHANGES
|
||||
+ dh_installdocs README TODO
|
||||
+ dh_installman sfill.1 srm.1 smem.1 sswap.1
|
||||
+ # rename smem
|
||||
+ mv $(CURDIR)/debian/secure-delete/usr/bin/smem \
|
||||
+ $(CURDIR)/debian/secure-delete/usr/bin/sdmem
|
||||
+ mv $(CURDIR)/debian/secure-delete/usr/share/man/man1/smem.1 \
|
||||
+ $(CURDIR)/debian/secure-delete/usr/share/man/man1/sdmem.1
|
||||
+ dh_link
|
||||
+ dh_strip
|
||||
+ dh_compress
|
||||
+ dh_fixperms
|
||||
+ dh_installdeb
|
||||
+ dh_shlibdeps
|
||||
+ dh_gencontrol
|
||||
+ dh_md5sums
|
||||
+ dh_builddeb
|
||||
+
|
||||
+binary: binary-indep binary-arch
|
||||
+.PHONY: build clean binary-indep binary-arch binary install
|
||||
--- secure-delete-3.1.orig/debian/source/format
|
||||
+++ secure-delete-3.1/debian/source/format
|
||||
@@ -0,0 +1 @@
|
||||
+1.0
|
19
secure-delete/slack-desc
Normal file
19
secure-delete/slack-desc
Normal file
@ -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------------------------------------------------------|
|
||||
secure-delete: secure-delete (wipe files, free disk space, swap and memory)
|
||||
secure-delete:
|
||||
secure-delete: Gutmann method based tools for securely wiping data.
|
||||
secure-delete:
|
||||
secure-delete: Home page: https://packages.debian.org/buster/secure-delete
|
||||
secure-delete:
|
||||
secure-delete:
|
||||
secure-delete:
|
||||
secure-delete:
|
||||
secure-delete:
|
||||
secure-delete:
|
19
session/README
Normal file
19
session/README
Normal file
@ -0,0 +1,19 @@
|
||||
Session is an end-to-end encrypted messenger that minimises sensitive
|
||||
metadata, designed and built for people who want absolute privacy
|
||||
and freedom from any form of surveillance.
|
||||
|
||||
* No Phone Numbers
|
||||
|
||||
* No Data Breaches
|
||||
|
||||
* No Footprints
|
||||
|
||||
* Open Source
|
||||
|
||||
* Censorship Resistant
|
||||
|
||||
Session has also undergone a security audit by Quarkslab
|
||||
|
||||
------------------------------------------------------------------------
|
||||
This SlackBuild downloads and installs the official AppImage under
|
||||
'/opt'.
|
9
session/doinst.sh
Normal file
9
session/doinst.sh
Normal file
@ -0,0 +1,9 @@
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
10
session/session-desktop.desktop
Normal file
10
session/session-desktop.desktop
Normal file
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Name=Session
|
||||
Exec=session-desktop
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=session-desktop
|
||||
StartupWMClass=Session
|
||||
X-AppImage-Version=1.10.3
|
||||
Comment=Private messaging from your desktop
|
||||
Categories=Network;
|
96
session/session.SlackBuild
Executable file
96
session/session.SlackBuild
Executable file
@ -0,0 +1,96 @@
|
||||
#!/bin/bash
|
||||
# Slackware build script for Session Messenger
|
||||
|
||||
# Copyright 2023 Slackjeff <slackjeff@riseup.net>
|
||||
# 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.
|
||||
|
||||
#########################################################################
|
||||
# ChangeLog
|
||||
#
|
||||
# IMPORTANT: update this if you change this script!)
|
||||
#########################################################################
|
||||
# 2.0 04-JULY-2023 UPGRADE (Version: 1.10.8)
|
||||
# 2.1 01-AGO-2023 UPGRADE (Version: 1.11.0)
|
||||
# 2.2 11-MAR-2025 UPGRADE (Version: 1.14.5)
|
||||
# 2.3 18-MAR-2025 UPGRADE (Version: 1.15.0)
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=session
|
||||
VERSION=${VERSION:-1.15.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
|
||||
if [ "$ARCH" != "x86_64" ]; then
|
||||
echo "$ARCH is not supported for $PRGNAM-$VERSION."
|
||||
exit 1
|
||||
else
|
||||
DEBIANARCH='amd64'
|
||||
fi
|
||||
|
||||
if [ -n "${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 $PKG
|
||||
mv $CWD/${PRGNAM}-desktop-linux-${DEBIANARCH}-${VERSION}.deb $CWD/${PRGNAM}-${VERSION}-${DEBIANARCH}.deb
|
||||
ar p $CWD/${PRGNAM}-${VERSION}-${DEBIANARCH}.deb data.tar.xz | tar -xvJ
|
||||
|
||||
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 {} \;
|
||||
|
||||
# Fix name.
|
||||
mkdir -p $PKG/opt
|
||||
mv opt/Session opt/$PRGNAM
|
||||
|
||||
mkdir -p $PKG/usr/bin
|
||||
ln -sf /opt/$PRGNAM/session-desktop $PKG/usr/bin/
|
||||
|
||||
mkdir -p $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
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
mkdir -p $PKG/usr/share/applications
|
||||
cat $CWD/$PRGNAM-desktop.desktop > $PKG/usr/share/applications/$PRGNAM-desktop.desktop
|
||||
|
||||
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
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
|
10
session/session.info
Normal file
10
session/session.info
Normal file
@ -0,0 +1,10 @@
|
||||
PRGNAM="session"
|
||||
VERSION="1.15.0"
|
||||
HOMEPAGE="https://getsession.org/"
|
||||
DOWNLOAD="UNSUPPORTED"
|
||||
MD5SUM=""
|
||||
DOWNLOAD_x86_64="https://github.com/session-foundation/session-desktop/releases/download/v1.15.0/session-desktop-linux-amd64-1.15.0.deb"
|
||||
MD5SUM_x86_64="610487319f6d01387737da0b91b1a20c"
|
||||
REQUIRES=""
|
||||
MAINTAINER="slackjeff"
|
||||
EMAIL="slackjeff@riseup.net"
|
19
session/slack-desc
Normal file
19
session/slack-desc
Normal file
@ -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 ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
session: session (Send Messages,Not Metadata.)
|
||||
session:
|
||||
session: Session is an end-to-end encrypted messenger that minimises sensitive
|
||||
session: metadata, designed and built for people who want absolute privacy and
|
||||
session: freedom from any form of surveillance.
|
||||
session:
|
||||
session:
|
||||
session:
|
||||
session:
|
||||
session: https://getsession.org/
|
||||
session:
|
Reference in New Issue
Block a user