serf: dropped unmaintained port

This commit is contained in:
Tim Biermann 2021-10-31 09:36:34 +01:00
parent bf4feb0711
commit 36e2e049f8
Signed by: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 0 additions and 75 deletions

View File

@ -1,12 +0,0 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/serf-1/
-rw-r--r-- root/root usr/include/serf-1/serf.h
-rw-r--r-- root/root usr/include/serf-1/serf_bucket_types.h
-rw-r--r-- root/root usr/include/serf-1/serf_bucket_util.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libserf-1.so -> libserf-1.so.1.3.0
lrwxrwxrwx root/root usr/lib/libserf-1.so.1 -> libserf-1.so.1.3.0
-rwxr-xr-x root/root usr/lib/libserf-1.so.1.3.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/serf-1.pc

View File

@ -1,6 +0,0 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38S5I9LDuE9JBtIqB+kdFJSHWJv6HLfFQ3KhQ/iBSAwABSnEUnj6gINk1QNCkCbqZhpcj3jTeO8USLN3S8g7TgU=
SHA256 (Pkgfile) = bc3572d18e93b0db55bacd017fb6d66073bb9c1fdbfb802d860360e6712f7178
SHA256 (.footprint) = e226405dcc3a029e645718b827ec06544ae6757ad6c6c881e381acb2868a0ac4
SHA256 (serf-1.3.9.tar.bz2) = 549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc
SHA256 (scons-py3.patch) = 363732546098b4c9415eb5d38b595d04c660c6324a34159768d334507b7d241f

View File

@ -1,33 +0,0 @@
# Description: High performance C-based HTTP client library built upon the Apache Portable Runtime (APR) library.
# URL: https://serf.apache.org/
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on: apr scons
name=serf
version=1.3.9
release=2
source=(https://archive.apache.org/dist/$name/$name-$version.tar.bz2
scons-py3.patch)
build() {
cd $name-$version
# Adjust to scons built with python3
# (should go away if/when python3 becomes default python)
patch -Np1 -i $SRC/scons-py3.patch
ln -s /usr/bin/python3 python
export PATH=$SRC/$name-$version:$PATH
# removes runtime path from shared library
sed -i -e '/Append/ s/RPATH=libdir,//' SConstruct
# disable building and installing of the static library
sed -i -e '/Default/ s/lib_static,//' SConstruct
sed -i -e '/Alias/ s/install_static,//' SConstruct
scons PREFIX=/usr LIBDIR=/usr/lib
scons install --install-sandbox=$PKG
# serf-1.3.9 does not install world writable files
chmod -cR go-w $PKG/usr/include/serf-1
}

View File

@ -1,24 +0,0 @@
--- serf-1.3.9/SConstruct.orig 2019-07-26 17:49:30.910189251 +0000
+++ serf-1.3.9/SConstruct 2019-07-26 17:49:54.073821735 +0000
@@ -163,9 +163,9 @@
suffix='.def', src_suffix='.h')
})
-match = re.search('SERF_MAJOR_VERSION ([0-9]+).*'
- 'SERF_MINOR_VERSION ([0-9]+).*'
- 'SERF_PATCH_VERSION ([0-9]+)',
+match = re.search(b'SERF_MAJOR_VERSION ([0-9]+).*'
+ b'SERF_MINOR_VERSION ([0-9]+).*'
+ b'SERF_PATCH_VERSION ([0-9]+)',
env.File('serf.h').get_contents(),
re.DOTALL)
MAJOR, MINOR, PATCH = [int(x) for x in match.groups()]
@@ -183,7 +183,7 @@
unknown = opts.UnknownVariables()
if unknown:
- print 'Warning: Used unknown variables:', ', '.join(unknown.keys())
+ print ('Warning: Used unknown variables:', ', '.join(unknown.keys()))
apr = str(env['APR'])
apu = str(env['APU'])