landry 7d419da129 www/sogod: set openfiles-cur to 1024 & openfiles-max to 2048
in some situations (with a bunch of users) 128fd is not enough.

ok giovanni@ sebastia@ (MAINTAINER)
2022-05-11 07:19:12 +00:00

69 lines
2.1 KiB
Makefile

COMMENT = web based groupware server
VERSION = 5.5.1
DISTNAME = SOGo-${VERSION}
PKGNAME = sogo-${VERSION}
REVISION = 0
SHARED_LIBS += GDLContentStore 3.0
SHARED_LIBS += NGCards 3.1
SHARED_LIBS += SOGo 5.1
SHARED_LIBS += SOGoUI 2.2
CATEGORIES = www
HOMEPAGE = https://sogo.nu/
MASTER_SITES = ${HOMEPAGE}/files/downloads/SOGo/Sources/
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
# LGPLv2/GPLv2
PERMIT_PACKAGE = Yes
MODULES = x11/gnustep
MODGNUSTEP_NEEDS_GUI = No
WANTLIB += c m pthread crypto memcached SBJson
WANTLIB += DOM EOControl GDLAccess NGExtensions NGLdap
WANTLIB += NGMime NGObjWeb NGStreams SaxObjC WEExtensions
WANTLIB += objc2 gnustep-base curl oath sodium ytnef zip
WANTLIB += ${COMPILER_LIBCXX}
LIB_DEPENDS += archivers/libzip \
converters/libytnef \
devel/libmemcached \
net/curl \
security/libsodium \
security/oath-toolkit \
www/sope>=${VERSION}
RUN_DEPENDS += sope-postgres-*|sope-mysql-*:www/sope,-postgres \
archivers/zip
CONFIGURE_STYLE = simple dest
CONFIGURE_ARGS += --gsmake=`gnustep-config --variable=GNUSTEP_MAKEFILES` \
--with-ssl=ssl --enable-mfa
MAKE_FLAGS += libGDLContentStore_INTERFACE_VERSION=${LIBGDLContentStore_VERSION} \
libNGCards_INTERFACE_VERSION=${LIBNGCards_VERSION} \
libOGoContentStore_INTERFACE_VERSION=${LIBOGoContentStore_VERSION} \
libSOGoUI_INTERFACE_VERSION=${LIBSOGoUI_VERSION} \
SOGo_INTERFACE_VERSION=${LIBSOGo_VERSION}
SOGOLIBDIR = lib/GNUstep/Frameworks/SOGo.framework/Versions/${LIBSOGo_VERSION}
SUBST_VARS += SOGOLIBDIR VARBASE
SCRIPTS = cas-proxy-validate.py sql-update-2.2.17_to_2.3.0.sh \
sql-update-3.2.10_to_4.0.0.sh sql-update-2.2.17_to_2.3.0-mysql.sh \
sql-update-3.2.10_to_4.0.0-mysql.sh sql-update-3.0.0-to-combined.sh \
sql-update-3.0.0-to-combined-mysql.sh updates.php
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sogo
.for _s in ${SCRIPTS}
${INSTALL_SCRIPT} -c -o ${SHAREOWN} -g ${SHAREGRP} \
${WRKSRC}/Scripts/${_s} ${PREFIX}/share/doc/sogo/${_s}
.endfor
do-test:
cd ${WRKSRC}/Tests/Integration && ${MAKE_PROGRAM} && ./teststrings.sh
cd ${WRKSRC}/Tests/Unit && ${MAKE_PROGRAM} && obj/sogo-tests
.include <bsd.port.mk>