diff --git a/www/jetty9/Makefile b/www/jetty9/Makefile index dde7aa955fd0..688514470ff8 100644 --- a/www/jetty9/Makefile +++ b/www/jetty9/Makefile @@ -1,69 +1,70 @@ PORTNAME= jetty -PORTVERSION= 9.4.29 +PORTVERSION= 9.4.48 CATEGORIES= www java MASTER_SITES= https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/${PORTVERSION}.${JDVDATE}/ PKGNAMESUFFIX= 9 DISTNAME= jetty-distribution-${PORTVERSION}.${JDVDATE} MAINTAINER= ports@FreeBSD.org COMMENT= Full-featured web server implemented entirely in Java WWW= https://www.eclipse.org/jetty/ LICENSE= APACHE20 EPL LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/license-eplv10-aslv20.html RUN_DEPENDS= bash:shells/bash +USES= cpe shebangfix + CONFLICTS= jetty-8.* -JDVDATE= v20200521 +JDVDATE= v20220622 USE_JAVA= yes NO_ARCH= yes -USES= cpe shebangfix CPE_VENDOR= eclipse SHEBANG_FILES= bin/jetty.sh NO_BUILD= yes JAVA_VERSION= 8+ JAVA_VENDOR= openjdk USE_RC_SUBR= ${PORTNAME} APP_NAME= ${PORTNAME} APP_HOME= ${PREFIX}/${PORTNAME} USERS= www GROUPS= www SUB_LIST= \ APP_HOME=${APP_HOME} \ APP_NAME=${APP_NAME} \ JAVA_HOME=${JAVA_HOME} \ JAVA=${JAVA} \ WWWDIR=${WWWDIR} SUB_FILES= \ ${APP_NAME} \ pkg-message \ jetty.sample PLIST_SUB= \ APP_HOME=${APP_HOME} \ APP_NAME=${APP_NAME} \ WWWDIR=${WWWDIR} \ PORTVERSION=${PORTVERSION} \ JDVDATE=${JDVDATE} do-install: ${MKDIR} ${STAGEDIR}${APP_HOME} ${MKDIR} ${STAGEDIR}${WWWDIR} ${RM} ${WRKSRC}/lib/setuid/libsetuid-linux.so ${RM} ${WRKSRC}/lib/setuid/libsetuid-osx.so (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PORTNAME}) ${MV} ${STAGEDIR}${PREFIX}/${PORTNAME}/demo-base ${STAGEDIR}${WWWDIR} ${MKDIR} ${STAGEDIR}${WWWDIR}/demo-base/logs ${INSTALL_SCRIPT} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/sbin ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.sample ${STAGEDIR}${ETCDIR}/ .include diff --git a/www/jetty9/distinfo b/www/jetty9/distinfo index b57c12725271..a6eaa4c8f64f 100644 --- a/www/jetty9/distinfo +++ b/www/jetty9/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1591475285 -SHA256 (jetty-distribution-9.4.29.v20200521.tar.gz) = 71b572d99fe2c1342231ac3bd2e14327f523e532dd01ff203f331d52f2cf2747 -SIZE (jetty-distribution-9.4.29.v20200521.tar.gz) = 19461892 +TIMESTAMP = 1662996441 +SHA256 (jetty-distribution-9.4.48.v20220622.tar.gz) = 50d6eccd349d2e671bfea710cee833911287eb706fe1d39503eab76fc6fc1a0c +SIZE (jetty-distribution-9.4.48.v20220622.tar.gz) = 19058994 diff --git a/www/jetty9/files/pkg-message.in b/www/jetty9/files/pkg-message.in index a316a86eb5b7..efdad56ee7ee 100644 --- a/www/jetty9/files/pkg-message.in +++ b/www/jetty9/files/pkg-message.in @@ -1,58 +1,58 @@ [ { type: install message: <> /etc/rc.conf + # sysrc %%APP_NAME%%_enable="YES" A sample configuration file can be found here: %%ETCDIR%%/%%APP_NAME%%.sample Please modify it to suit your needs, paying particular attention to the value of JETTY_HOME and JETTY_BASE. Once you are happy with the configuration file, you can start Jetty: # service %%APP_NAME%% start Once Jetty is started, point your web browser to the default home page at http://localhost:8080/. A demo web app is installed for your convenience. == ADVANCED USAGE == If you need to pass special options to Java/Jetty, please set the appropriate variables in the configuration file, e.g., # Increase memory limit of the Java virtual machine JAVA_OPTIONS="-Xms32m -Xmx256m" # Run Java with remote debugging turned on on port 8186 JAVA_OPTIONS="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8186" More configuration options are presented in the sample file. EOM } { type: remove message: <