aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2025-05-13 12:03:53 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-05-17 22:33:35 +0700
commitb75e1ff4ede66cbe2bf948f5e4266bc3dcdbd285 (patch)
tree9e36b85652acf49d7df1c637b74809a6fb9634c0
parent24ea9d5cc013a25718aa24f58021985e27324c94 (diff)
system/Attic: Removed unmaintained project.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/Attic/Attic.SlackBuild104
-rw-r--r--system/Attic/Attic.info10
-rw-r--r--system/Attic/README6
-rw-r--r--system/Attic/doinst.sh3
-rw-r--r--system/Attic/openssl.diff59
-rw-r--r--system/Attic/slack-desc19
6 files changed, 0 insertions, 201 deletions
diff --git a/system/Attic/Attic.SlackBuild b/system/Attic/Attic.SlackBuild
deleted file mode 100644
index e721261435..0000000000
--- a/system/Attic/Attic.SlackBuild
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for Attic
-
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
-# 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=Attic
-VERSION=${VERSION:-0.16}
-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
-
-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
-# thanks void maintainers
-patch -p1 -i $CWD/openssl.diff
-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 {} \;
-
-for _file in attic/*.pyx; do
- rm ${_file/pyx/c}
-done
-
-python3 setup.py sdist
-python3 setup.py install --root=$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/doc/$PRGNAM-$VERSION
-cp -a CHANGES LICENSE README.rst docs/*.rst docs/*.py $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
diff --git a/system/Attic/Attic.info b/system/Attic/Attic.info
deleted file mode 100644
index 82b46d586b..0000000000
--- a/system/Attic/Attic.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="Attic"
-VERSION="0.16"
-HOMEPAGE="https://attic-backup.org"
-DOWNLOAD="https://pypi.python.org/packages/source/A/Attic/Attic-0.16.tar.gz"
-MD5SUM="9c767c883f7f48bf95e7e5307ce6b5ea"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="msgpack-python"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/system/Attic/README b/system/Attic/README
deleted file mode 100644
index daf574039b..0000000000
--- a/system/Attic/README
+++ /dev/null
@@ -1,6 +0,0 @@
-Attic is a deduplicating backup program. The main goal of attic
-is to provide an efficient and secure way to backup data. The
-data deduplication technique used makes Attic suitable for daily
-backups since only actual changes are stored.
-
-Optional dependency: llfuse (used for mounting the archives)
diff --git a/system/Attic/doinst.sh b/system/Attic/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/system/Attic/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/system/Attic/openssl.diff b/system/Attic/openssl.diff
deleted file mode 100644
index 7ebc0a9d3a..0000000000
--- a/system/Attic/openssl.diff
+++ /dev/null
@@ -1,59 +0,0 @@
---- a/attic/crypto.pyx
-+++ b/attic/crypto.pyx
-@@ -23,8 +23,9 @@ cdef extern from "openssl/evp.h":
- pass
- const EVP_MD *EVP_sha256()
- const EVP_CIPHER *EVP_aes_256_ctr()
-- void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *a)
-- void EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *a)
-+ EVP_CIPHER_CTX *EVP_CIPHER_CTX_new()
-+ const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *a)
-+ void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *a)
-
- int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl,
- const unsigned char *key, const unsigned char *iv)
-@@ -84,16 +85,16 @@ def get_random_bytes(n):
- cdef class AES:
- """A thin wrapper around the OpenSSL EVP cipher API
- """
-- cdef EVP_CIPHER_CTX ctx
-+ cdef EVP_CIPHER_CTX * ctx
-
- def __cinit__(self, key, iv=None):
-- EVP_CIPHER_CTX_init(&self.ctx)
-- if not EVP_EncryptInit_ex(&self.ctx, EVP_aes_256_ctr(), NULL, NULL, NULL):
-+ self.ctx = EVP_CIPHER_CTX_new();
-+ if not EVP_EncryptInit_ex(self.ctx, EVP_aes_256_ctr(), NULL, NULL, NULL):
- raise Exception('EVP_EncryptInit_ex failed')
- self.reset(key, iv)
-
- def __dealloc__(self):
-- EVP_CIPHER_CTX_cleanup(&self.ctx)
-+ EVP_CIPHER_CTX_free(self.ctx)
-
- def reset(self, key=None, iv=None):
- cdef const unsigned char *key2 = NULL
-@@ -102,12 +103,12 @@ cdef class AES:
- key2 = key
- if iv:
- iv2 = iv
-- if not EVP_EncryptInit_ex(&self.ctx, NULL, NULL, key2, iv2):
-+ if not EVP_EncryptInit_ex(self.ctx, NULL, NULL, key2, iv2):
- raise Exception('EVP_EncryptInit_ex failed')
-
- @property
- def iv(self):
-- return self.ctx.iv[:16]
-+ return EVP_CIPHER_CTX_iv(self.ctx)[:16]
-
- def encrypt(self, data):
- cdef int inl = len(data)
-@@ -116,7 +117,7 @@ cdef class AES:
- if not out:
- raise MemoryError
- try:
-- if not EVP_EncryptUpdate(&self.ctx, out, &outl, data, inl):
-+ if not EVP_EncryptUpdate(self.ctx, out, &outl, data, inl):
- raise Exception('EVP_EncryptUpdate failed')
- return out[:inl]
- finally:
diff --git a/system/Attic/slack-desc b/system/Attic/slack-desc
deleted file mode 100644
index edc4de4bfb..0000000000
--- a/system/Attic/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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------------------------------------------------------|
-Attic: Attic (Deduplicated backups)
-Attic:
-Attic: Attic is a deduplicating backup program written in Python.
-Attic: The main goal of Attic is to provide an efficient and secure way to
-Attic: backup data. The data deduplication technique used makes Attic
-Attic: suitable for daily backups since only actual changes are stored.
-Attic:
-Attic: Homepage: https://attic-backup.org
-Attic:
-Attic:
-Attic: