diff options
| author | Rene Ladan <rene@FreeBSD.org> | 2020-12-12 13:10:02 +0000 |
|---|---|---|
| committer | Rene Ladan <rene@FreeBSD.org> | 2020-12-12 13:10:02 +0000 |
| commit | e5aa301f0f704efbe3e5b544af4f9c22f917d62d (patch) | |
| tree | 381f336556d12177c59307ab07522e769cc24a98 /databases/py-swift/files | |
| parent | net-p2p/qtum: Upgrade from 0.19.1 to 0.20.1 (diff) | |
Remove expired ports:
2020-12-12 comms/py-libconcord: Uses deprecated version of python
2020-12-12 databases/py-swift: Uses deprecated version of python
2020-12-12 devel/py-AddOns: Uses deprecated version of python
2020-12-12 devel/py-BytecodeAssembler: Uses deprecated version of python
2020-12-12 devel/py-repoze.who-testutil: Uses deprecated version of python
2020-12-12 devel/py-riak_pb: Uses deprecated version of python
2020-12-12 devel/pythk: Uses deprecated version of python
2020-12-12 mail/py-spambayes: Uses deprecated version of python
2020-12-12 math/py-numeric: Uses deprecated version of python
2020-12-12 math/py-scientific: Uses deprecated version of python
2020-12-12 net/py-suds: Uses deprecated version of python
2020-12-12 net/pynids: Uses deprecated version of python
2020-12-12 security/py-obfsproxy-tor: Uses deprecated version of python
2020-12-12 sysutils/syslog-ng324: Agreed upon upstream one year deprecation policy
2020-12-12 www/py-pylons: Uses deprecated version of python
2020-12-12 www/py-qpy: Uses deprecated version of python
Notes
Notes:
svn path=/head/; revision=557820
Diffstat (limited to 'databases/py-swift/files')
| -rw-r--r-- | databases/py-swift/files/patch-utils.py | 17 | ||||
| -rw-r--r-- | databases/py-swift/files/swift.in | 116 |
2 files changed, 0 insertions, 133 deletions
diff --git a/databases/py-swift/files/patch-utils.py b/databases/py-swift/files/patch-utils.py deleted file mode 100644 index f63a7cc61e79..000000000000 --- a/databases/py-swift/files/patch-utils.py +++ /dev/null @@ -1,17 +0,0 @@ ---- swift/common/utils.py.orig 2014-07-07 19:08:31.000000000 +0300 -+++ swift/common/utils.py 2014-08-20 21:56:29.000000000 +0300 -@@ -552,12 +552,12 @@ - """ - global _posix_fadvise - if _posix_fadvise is None: -- _posix_fadvise = load_libc_function('posix_fadvise64') -+ _posix_fadvise = load_libc_function('posix_fadvise') - # 4 means "POSIX_FADV_DONTNEED" - ret = _posix_fadvise(fd, ctypes.c_uint64(offset), - ctypes.c_uint64(length), 4) - if ret != 0: -- logging.warn("posix_fadvise64(%(fd)s, %(offset)s, %(length)s, 4) " -+ logging.warn("posix_fadvise(%(fd)s, %(offset)s, %(length)s, 4) " - "-> %(ret)s", {'fd': fd, 'offset': offset, - 'length': length, 'ret': ret}) - diff --git a/databases/py-swift/files/swift.in b/databases/py-swift/files/swift.in deleted file mode 100644 index e663a45e3756..000000000000 --- a/databases/py-swift/files/swift.in +++ /dev/null @@ -1,116 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: swift -# REQUIRE: LOGIN -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf to enable swift: -# -# swift_enable (bool): Set it to "YES" to enable swift. -# Default is "NO". -# swift_servers (list): Specify servers to run as a space separated -# list of possible values: -# account, account-reaper, account-replicator, -# container, container-auditor, container-replicator, -# container-sync, container-updater, -# object, object-auditor, object-expirer, -# object-replicator, object-updater, -# proxy. -# The following aliases may be used: -# "ACCOUNT" -- all account servers; -# "EXPIRER" -- object-expirer; -# "CONTAINER" -- all container server; -# "OBJECT" -- all object servers; -# "PROXY" -- all proxy servers; -# "STORAGE" -- all storage node servers -# (alias for "ACCOUNT CONTAINER OBJECT"); -# "ALL" -- all servers -# (alias for "ACCOUNT CONTAINER EXPIRER OBJECT PROXY"). -# Default is "ALL". - -. /etc/rc.subr - -name="swift" -rcvar=swift_enable - -extra_commands="reload shutdown status" -reload_cmd="swift_init reload" -shutdown_cmd="swift_init shutdown" -start_cmd="swift_init start" -status_cmd="swift_init status" -stop_cmd="swift_init stop" - -required_files=%%PREFIX%%/etc/swift/swift.conf - -PATH=%%PREFIX%%/bin:$PATH - -load_rc_config $name - -: ${swift_enable:="NO"} -: ${swift_servers:="ALL"} - -swift_expand_servers() -{ - local x - - for x; do - case "${x}" in - ALL) - swift_expand_servers PROXY - swift_expand_servers EXPIRER - ;& - STORAGE) - swift_expand_servers ACCOUNT - swift_expand_servers CONTAINER - swift_expand_servers OBJECT - ;; - ACCOUNT) - echo account - echo account-reaper - echo account-replicator - ;; - EXPIRER) - echo object-expirer - ;; - CONTAINER) - echo container - echo container-auditor - echo container-replicator - echo container-sync - echo container-updater - ;; - OBJECT) - echo object - echo object-auditor - echo object-replicator - echo object-updater - ;; - PROXY) - echo proxy - ;; - account|account-reaper|account-replicator|\ - container|container-auditor|container-replicator|\ - container-sync|container-updater|\ - object|object-auditor|object-expirer|object-replicator|\ - object-updater|\ - proxy) - echo "${x}" - ;; - *) - warn "unknown service: ${x}" - exit 1 - ;; - esac - done | sort -u -} - -swift_init() -{ - local cmd=$1 - - swift-init `swift_expand_servers ${swift_servers}` ${cmd} -} - -run_rc_command "$1" |
