diff options
author | rene <rene@FreeBSD.org> | 2019-09-03 03:17:37 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2019-09-03 03:17:37 +0800 |
commit | 5ecbd7a935d805ea73f9c6eabcbef20610abbe68 (patch) | |
tree | 178716ff3e5c97f85405f5bff1a7b65e9954fea0 /archivers | |
parent | 6eb00d35d0e8bd27909e5ea892bd9fdc22df4bf0 (diff) | |
download | freebsd-ports-gnome-5ecbd7a935d805ea73f9c6eabcbef20610abbe68.tar.gz freebsd-ports-gnome-5ecbd7a935d805ea73f9c6eabcbef20610abbe68.tar.zst freebsd-ports-gnome-5ecbd7a935d805ea73f9c6eabcbef20610abbe68.zip |
Remove expired port:
2019-09-01 archivers/py-attic: Unsupported by upstream, please migrate to archivers/py-borg. See https://borgbackup.readthedocs.io/en/stable/usage/upgrade.html#borg-upgrade
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/py-attic/Makefile | 41 | ||||
-rw-r--r-- | archivers/py-attic/distinfo | 2 | ||||
-rw-r--r-- | archivers/py-attic/files/patch-attic_crypto.pyx | 59 | ||||
-rw-r--r-- | archivers/py-attic/pkg-descr | 6 |
5 files changed, 0 insertions, 109 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index fa3ab0b91015..75fda2fdc82d 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -171,7 +171,6 @@ SUBDIR += ppunpack SUBDIR += pxz SUBDIR += py-acefile - SUBDIR += py-attic SUBDIR += py-backports.lzma SUBDIR += py-borgbackup SUBDIR += py-brotli diff --git a/archivers/py-attic/Makefile b/archivers/py-attic/Makefile deleted file mode 100644 index e6f9672559f4..000000000000 --- a/archivers/py-attic/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# Created by: Thomas Hurst <tom@hur.st> -# $FreeBSD$ - -PORTNAME= attic -PORTVERSION= 0.16 -PORTREVISION= 2 -CATEGORIES= archivers python -MASTER_SITES= CHEESESHOP -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= Attic-${PORTVERSION} - -MAINTAINER= tom@hur.st -COMMENT= Deduplicating backup program - -LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENSE - -DEPRECATED= Unsupported by upstream, please migrate to archivers/py-borg. \ - See https://borgbackup.readthedocs.io/en/stable/usage/upgrade.html\#borg-upgrade -EXPIRATION_DATE= 2019-09-01 - -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0.1.10:devel/py-msgpack@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0.1.10:devel/py-msgpack@${PY_FLAVOR} - -USES= python:3.3-3.6 ssl -USE_PYTHON= autoplist cython distutils - -PYDISTUTILS_BUILDPATH=${BUILD_WRKSRC}/build/lib.${OPSYS:tl}-${UNAMER}-${ARCH}-${PYTHON_VER} -REINPLACE_ARGS= -i '' - -post-patch: - @${REINPLACE_CMD} -e 's|msgpack-python|msgpack|' ${WRKSRC}/setup.py - -post-install: - @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/attic/*.so - -do-test: - cd ${WRKDIR} && ${SETENV} PYTHONPATH="${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}:${PYTHONPATH}" \ - ${PYTHON_CMD} -m attic.testsuite.run - -.include <bsd.port.mk> diff --git a/archivers/py-attic/distinfo b/archivers/py-attic/distinfo deleted file mode 100644 index 3c081e3094f5..000000000000 --- a/archivers/py-attic/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (Attic-0.16.tar.gz) = 6650cd28072101c2e05941e77b93a62f91da6179785e4e4b4880916c469bba2c -SIZE (Attic-0.16.tar.gz) = 232455 diff --git a/archivers/py-attic/files/patch-attic_crypto.pyx b/archivers/py-attic/files/patch-attic_crypto.pyx deleted file mode 100644 index 56c7bda86680..000000000000 --- a/archivers/py-attic/files/patch-attic_crypto.pyx +++ /dev/null @@ -1,59 +0,0 @@ ---- attic/crypto.pyx.orig 2015-04-27 20:15:50 UTC -+++ 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/archivers/py-attic/pkg-descr b/archivers/py-attic/pkg-descr deleted file mode 100644 index 20643fc7dda9..000000000000 --- a/archivers/py-attic/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -Attic is a deduplicating backup program written in Python. 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 -the changes are stored. - -WWW: https://attic-backup.org |