diff --git a/devel/sope2/Makefile b/devel/sope2/Makefile index 67c0f9b7d6ad..43c25ce4efa9 100644 --- a/devel/sope2/Makefile +++ b/devel/sope2/Makefile @@ -1,60 +1,64 @@ PORTNAME= sope2 PORTVERSION= 2.4.3 +PORTREVISION= 1 CATEGORIES= devel gnustep MASTER_SITES= http://www.sogo.nu/files/downloads/SOGo/Sources/ DISTNAME= SOPE-${PORTVERSION} MAINTAINER= acm@FreeBSD.org COMMENT= Extensive set of GNUstep web application frameworks WWW= https://sogo.nu/ LICENSE= LGPL20 BROKEN_aarch64= fails to build: bundle.make:301: STXSaxDriver.sax/Resources/Info-gnustep.plist] Abort trap (core dumped) LIB_DEPENDS= libxml2.so:textproc/libxml2 \ libmemcached.so:databases/libmemcached WRKSRC= ${WRKDIR}/SOPE OPTIONS_DEFINE= LDAP MYSQL PGSQL MEMCACHED OPTIONS_DEFAULT= LDAP PGSQL MEMCACHED OPTIONS_SUB= yes LDAP_DESC= Build with LDAP support MYSQL_DESC= Build with MySQL support PGSQL_DESC= Build with PostgreSQL support MEMCACHED_DESC= Install memcached USES= gmake iconv gnustep ssl USE_GNUSTEP= base build USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES} LLD_UNSAFE= yes # PR 230608 SUB_LIST+= GNUSTEP_LOCAL_TOOLS=${GNUSTEP_LOCAL_TOOLS} \ GNUSTEP_MAKEFILES=${GNUSTEP_MAKEFILES} CONFIGURE_ARGS= --with-gnustep --disable-debug --enable-strip LDAP_USE= OPENLDAP=client PGSQL_USES= pgsql MYSQL_USES= mysql MEMCACHED_RUN_DEPENDS= ${LOCALBASE}/bin/memcached:databases/memcached post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/sope-core/NGStreams/configure +.for f in config.guess config.sub + @${CP} ${TEMPLATES}/$f ${WRKSRC}/sope-core/NGStreams/ +.endfor post-patch-LDAP-off: @${REINPLACE_CMD} -e '/checkLinking "ldap"/d' ${WRKSRC}/configure post-patch-PGSQL-off: @${REINPLACE_CMD} -e '/checkLinking "pq"/d' ${WRKSRC}/configure post-patch-MYSQL-off: @${REINPLACE_CMD} -e '/checkLinking "mysqlclient"/d' ${WRKSRC}/configure do-configure: cd ${WRKSRC} ; . ${GNUSTEP_MAKEFILES}/GNUstep.sh ; ./configure ${CONFIGURE_ARGS} .include diff --git a/www/sogo2/Makefile b/www/sogo2/Makefile index 63b02a71c6ba..abc21592267c 100644 --- a/www/sogo2/Makefile +++ b/www/sogo2/Makefile @@ -1,66 +1,67 @@ PORTNAME= sogo2 PORTVERSION= 2.4.3 +PORTREVISION= 1 CATEGORIES= www gnustep MASTER_SITES= http://www.sogo.nu/files/downloads/SOGo/Sources/ DISTNAME= SOGo-${PORTVERSION} MAINTAINER= acm@FreeBSD.org COMMENT= Groupware server with a focus on scalability and open standards -WWW?= https://sogo.nu/ +WWW?= https://sogo.nu/ LICENSE= GPLv2 BROKEN_FreeBSD_13= ld: error: duplicate symbol: SOGoMailCoreInfoKeys BROKEN_FreeBSD_14= ld: error: duplicate symbol: SOGoMailCoreInfoKeys LIB_DEPENDS= libmemcached.so:databases/libmemcached \ libcurl.so:ftp/curl \ libDOM.so:devel/sope2 OPTIONS_DEFINE= ACTIVESYNC OPTIONS_SUB= yes ACTIVESYNC_DESC= Enable support for ActiveSync protocol ACTIVESYNC_LIB_DEPENDS= libwbxml2.so:textproc/wbxml2 USERS= sogod GROUPS= sogod USES= gnustep ssl objc USE_GNUSTEP= base build USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}/sogo CONFLICTS?= sogo[2-4]-activesync sogo[3-4] USE_RC_SUBR= sogod SUB_LIST+= GNUSTEP_LOCAL_TOOLS=${GNUSTEP_LOCAL_TOOLS} \ GNUSTEP_MAKEFILES=${GNUSTEP_MAKEFILES} ETCDIR= ${PREFIX}/etc/${PORTNAME:S/2//} CONFIGURE_ARGS= --disable-debug --enable-strip post-patch: @${GREP} -rlF '/etc/sogo' ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} 's#/etc/sogo#${PREFIX}/etc/sogo#g' @${REINPLACE_CMD} -e 's|/usr/lib/GNUstep|${GNUSTEP_LOCAL_ROOT}/Library|' ${WRKSRC}/Apache/SOGo.conf @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure post-patch-ACTIVESYNC-on: @${REINPLACE_CMD} -e 's/Tools/Tools ActiveSync/' ${WRKSRC}/GNUmakefile do-configure: cd ${WRKSRC} ; . ${GNUSTEP_MAKEFILES}/GNUstep.sh ; ./configure ${CONFIGURE_ARGS} post-install: ${MKDIR} ${STAGEDIR}/var/spool/sogo ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/Scripts/sogo.conf ${STAGEDIR}${ETCDIR}/sogo.conf.sample ${INSTALL_DATA} ${WRKSRC}/Apache/SOGo.conf ${STAGEDIR}${ETCDIR}/SOGo-Apache.conf.sample ${INSTALL_DATA} ${WRKSRC}/Apache/SOGo-apple-ab.conf ${STAGEDIR}${ETCDIR}/SOGo-apple-ab.Apache.conf.sample ${INSTALL_DATA} ${FILESDIR}/expire-autoreply.creds.sample ${STAGEDIR}${ETCDIR}/ ${INSTALL_DATA} ${FILESDIR}/ealarms-notify.creds.sample ${STAGEDIR}${ETCDIR}/ ${INSTALL_DATA} ${FILESDIR}/cron-ealarms-notify.sample ${STAGEDIR}${PREFIX}/GNUstep/Local/Tools/Admin/ ${INSTALL_DATA} ${FILESDIR}/cron-expire-autoreply.sample ${STAGEDIR}${PREFIX}/GNUstep/Local/Tools/Admin/ .include