Compare commits
5 Commits
9611c9f049
...
6666e890fa
Author | SHA1 | Date | |
---|---|---|---|
6666e890fa | |||
2ad0a7942c | |||
30b0b9c3a8 | |||
9bf56439a6 | |||
bd6304f15b |
@ -35,6 +35,7 @@ media-sound
|
||||
media-video
|
||||
net-firewall
|
||||
net-im
|
||||
net-libs
|
||||
net-misc
|
||||
net-p2p
|
||||
net-www
|
||||
|
43
packages/net-libs/ccnet/ccnet-6.1.8.exheres-0
Normal file
43
packages/net-libs/ccnet/ccnet-6.1.8.exheres-0
Normal file
@ -0,0 +1,43 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require python [ blacklist=3 has_bin=false multibuild=false ]
|
||||
require github [ user=haiwen tag="v${PV}" ]
|
||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||
require vala [ vala_dep=true ]
|
||||
|
||||
SUMMARY="Ccnet is a framework for writing networked applications in C"
|
||||
=""
|
||||
|
||||
LICENCES="GPL-2" # has openssl linking exception
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS="
|
||||
( providers: libressl openssl ) [[ number-selected = exactly-one ]]
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-db/sqlite:3
|
||||
dev-libs/glib:2
|
||||
dev-libs/jansson
|
||||
dev-libs/libevent
|
||||
net-libs/libsearpc[python_abis:*(-)?]
|
||||
providers:libressl? ( dev-libs/libressl:= )
|
||||
providers:openssl? ( dev-libs/openssl )
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||
"${FILES}"/fix-libressl-build.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
edo sed -i -e "s/(DESTDIR)//" libccnet.pc.in
|
||||
edo sed -i -e 's/valac /${VALAC} /' lib/Makefile.am
|
||||
eautoreconf
|
||||
}
|
16
packages/net-libs/ccnet/files/fix-libressl-build.patch
Normal file
16
packages/net-libs/ccnet/files/fix-libressl-build.patch
Normal file
@ -0,0 +1,16 @@
|
||||
Source: Me
|
||||
Reason: fix build with libressl
|
||||
Upstream: No, notified https://github.com/haiwen/ccnet/issues/122
|
||||
|
||||
--- a/lib/rsa.c 2017-05-28 03:23:49.499297000 +0200
|
||||
+++ b/lib/rsa.c 2017-05-28 03:34:19.755854000 +0200
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
/* Forward compatibility functions if libssl < 1.1.0. */
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
|
||||
int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
|
||||
{
|
||||
|
37
packages/net-libs/libsearpc/libsearpc-3.1.exheres-0
Normal file
37
packages/net-libs/libsearpc/libsearpc-3.1.exheres-0
Normal file
@ -0,0 +1,37 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require python [ blacklist=3 has_bin=true multibuild=false ]
|
||||
require github [ user=haiwen tag="v${PV}-latest" ]
|
||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||
|
||||
SUMMARY="A simple C language RPC framework (including both server side & client side)"
|
||||
|
||||
LICENCES="Apache-2.0"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-libs/glib:2
|
||||
dev-libs/jansson
|
||||
run:
|
||||
dev-python/simplejson[python_abis:*(-)?]
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
edo sed -i -e "s/(DESTDIR)//" ${PN}.pc.in
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
edo sed -i -e "s:env python[[:digit:].]*$:env ${PYTHON##*/}:" \
|
||||
"${IMAGE}"/usr/$(exhost --target)/bin/searpc-codegen.py
|
||||
}
|
21
packages/net-misc/seafile-client/files/select-qt5.patch
Normal file
21
packages/net-misc/seafile-client/files/select-qt5.patch
Normal file
@ -0,0 +1,21 @@
|
||||
Source: gentoo
|
||||
Reason: make sure qt5 is picked
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 4261fba..24fbbda 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -158,11 +158,8 @@ SET(QT_VERSION_MAJOR 5)
|
||||
# have to keep using QtWebKit on windows because QtWebEngine can't be
|
||||
# compiled in msys2/mingw (QtWebEnigne is based on chrome, which has to be
|
||||
# compiled with MSVC.)
|
||||
-FIND_PROGRAM(qmake_executable NAMES qmake qmake.exe)
|
||||
-EXECUTE_PROCESS(COMMAND
|
||||
- bash -c "${qmake_executable} --version | grep -iE '^using qt version [0-9.]+' | awk '{print $4}'"
|
||||
- OUTPUT_VARIABLE DETECTED_QT_VERSION
|
||||
- OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
+FIND_PACKAGE(Qt5Core)
|
||||
+SET(DETECTED_QT_VERSION ${Qt5Core_VERSION})
|
||||
MESSAGE("qt5 version: ${DETECTED_QT_VERSION}")
|
||||
IF(WIN32 OR DETECTED_QT_VERSION VERSION_LESS 5.6.0)
|
||||
ADD_DEFINITIONS(-DSEAFILE_USE_WEBKIT)
|
@ -0,0 +1,42 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require github [ user=haiwen tag="v${PV}" ]
|
||||
require cmake [ api=2 ]
|
||||
require gtk-icon-cache
|
||||
|
||||
SUMMARY="Seafile desktop client"
|
||||
DESCRIPTION="
|
||||
Seafile is an enterprise file hosting platform with high reliability and
|
||||
performance. Put files on your own server. Sync and share files across different
|
||||
devices, or access all the files as a virtual disk.
|
||||
"
|
||||
HOMEPAGE="https://www.seafile.com ${HOMEPAGE}"
|
||||
|
||||
LICENCES="Apache-2.0"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS="
|
||||
( providers: libressl openssl ) [[ number-selected = exactly-one ]]
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-db/sqlite:3
|
||||
dev-libs/jansson
|
||||
dev-libs/libevent
|
||||
net-libs/ccnet[~${PV}]
|
||||
net-libs/libsearpc
|
||||
net-misc/seafile[~${PV}]
|
||||
x11-libs/qtbase:5
|
||||
providers:libressl? ( dev-libs/libressl:= )
|
||||
providers:openssl? ( dev-libs/openssl )
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||
"${FILES}"/select-qt5.patch
|
||||
)
|
47
packages/net-misc/seafile/seafile-6.1.8.exheres-0
Normal file
47
packages/net-misc/seafile/seafile-6.1.8.exheres-0
Normal file
@ -0,0 +1,47 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require python [ blacklist=3 has_bin=true multibuild=false ]
|
||||
require github [ user=haiwen tag="v${PV}" ]
|
||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||
require vala [ vala_dep=true ]
|
||||
|
||||
SUMMARY="File syncing and sharing software with file encryption and group sharing, emphasis on reliability and high performance"
|
||||
HOMEPAGE="https://www.seafile.com ${HOMEPAGE}"
|
||||
|
||||
LICENCES="GPL-2" # has openssl linking exception
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS="
|
||||
( providers: libressl openssl ) [[ number-selected = exactly-one ]]
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-db/sqlite:3
|
||||
dev-libs/glib:2
|
||||
dev-libs/jansson
|
||||
dev-libs/libevent
|
||||
net-libs/ccnet[~${PV}][python_abis:*(-)?]
|
||||
net-libs/libsearpc[python_abis:*(-)?]
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
providers:libressl? ( dev-libs/libressl:= )
|
||||
providers:openssl? ( dev-libs/openssl )
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
edo sed -i -e 's/valac /${VALAC} /' lib/Makefile.am
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
edo sed -i -e "s:env python[[:digit:].]*$:env ${PYTHON##*/}:" \
|
||||
"${IMAGE}"/usr/$(exhost --target)/bin/seaf-cli
|
||||
}
|
Loading…
Reference in New Issue
Block a user