diff --git a/devel/reposilite/Makefile b/devel/reposilite/Makefile index 4941bab803c4..d2d5f6c3e587 100644 --- a/devel/reposilite/Makefile +++ b/devel/reposilite/Makefile @@ -1,68 +1,67 @@ PORTNAME= reposilite -DISTVERSION= 3.5.26 -PORTREVISION= 1 +DISTVERSION= 3.5.27 DISTVERSIONSUFFIX= -all CATEGORIES= devel www java MASTER_SITES= https://maven.reposilite.com/releases/com/reposilite/reposilite/${DISTVERSION}/ EXTRACT_SUFX= .jar EXTRACT_ONLY= MAINTAINER= thorsteinn@isnic.is COMMENT= Lightweight repository manager for Maven based artifacts WWW= https://reposilite.com LICENSE= APACHE20 USES= java JAVA_VERSION= 11+ NO_BUILD= yes NO_ARCH= yes NO_TEST= yes USE_RC_SUBR= ${PORTNAME} REPOSILITE_WORKDIR= /var/${PORTNAME} REPOSILITE_LOGDIR= /var/log/${PORTNAME} REPOSILITE_RUNDIR= /var/run/${PORTNAME} REPOSILITE_USER= ${PORTNAME} REPOSILITE_GROUP= ${REPOSILITE_USER} USERS= ${REPOSILITE_USER} GROUPS= ${REPOSILITE_GROUP} SUB_LIST= JARFILE=${JAVAJARDIR}/${DISTNAME}.jar \ JAVA_HOME=${JAVA_HOME} \ USER=${REPOSILITE_USER} \ GROUP=${REPOSILITE_GROUP} \ RUNDIR=${REPOSILITE_RUNDIR} \ LOGDIR=${REPOSILITE_LOGDIR} \ WORKDIR=${REPOSILITE_WORKDIR} PLIST_SUB= JARFILE=${JAVAJARDIR}/${DISTNAME}.jar \ USER=${REPOSILITE_USER} \ GROUP=${REPOSILITE_GROUP} \ RUNDIR=${REPOSILITE_RUNDIR} \ LOGDIR=${REPOSILITE_LOGDIR} \ WORKDIR=${REPOSILITE_WORKDIR} post-extract: @${TAR} -C ${WRKDIR} -xzf ${DISTDIR}/${DISTNAME}.jar tinylog.properties post-patch: @${REINPLACE_CMD} -E \ -e '27s#= .+$$#= ${REPOSILITE_LOGDIR}/${PORTNAME}.{date:yyyy-MM-dd}.log#' \ -e '28s#= .+$$#= ${REPOSILITE_LOGDIR}/${PORTNAME}-latest.log#' \ -e '30s#monthly: 03:00$$#daily: 00:00#' \ ${WRKDIR}/tinylog.properties do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}${REPOSILITE_WORKDIR} ${MKDIR} ${STAGEDIR}${REPOSILITE_LOGDIR} ${MKDIR} ${STAGEDIR}${REPOSILITE_RUNDIR} ${INSTALL_DATA} ${FILESDIR}/configuration.cdn.sample ${STAGEDIR}${ETCDIR}/ ${INSTALL_DATA} ${WRKDIR}/tinylog.properties ${STAGEDIR}${ETCDIR}/tinylog.properties.sample ${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/ .include diff --git a/devel/reposilite/distinfo b/devel/reposilite/distinfo index 1e79bfa9252a..af7ce4f40a39 100644 --- a/devel/reposilite/distinfo +++ b/devel/reposilite/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1758582131 -SHA256 (reposilite-3.5.26-all.jar) = 252be9e0a6bff7c024784c6b480d9608da2a310026a429652113721f3864cea3 -SIZE (reposilite-3.5.26-all.jar) = 74100303 +TIMESTAMP = 1772192379 +SHA256 (reposilite-3.5.27-all.jar) = a83e1f7a99740859ee952b78847c6e656a6c02684bea8e4748fc56a6d202aa51 +SIZE (reposilite-3.5.27-all.jar) = 75837181 diff --git a/devel/reposilite/files/reposilite.in b/devel/reposilite/files/reposilite.in index 006e4aa04e97..e0491e5c440e 100644 --- a/devel/reposilite/files/reposilite.in +++ b/devel/reposilite/files/reposilite.in @@ -1,64 +1,64 @@ #!/bin/sh # # PROVIDE: reposilite # REQUIRE: FILESYSTEMS NETWORKING # KEYWORD: shutdown # # reposilite_enable (bool): # Default value: "NO" # Flag that determines whether reposilite is enabled # # reposilite_user (string) # Default value: "%%USER%%" # User to run reposilite as # # reposilite_group (string) # Default value: "%%GROUP%%" # Group to run reposilite as # # reposilite_config (string) # Default value: "%%ETCDIR%%/configuration.cdn" # Path to the reposilite configuration file # # reposilite_tinylog_config (string) # Default value: "%%ETCDIR%%/tinylog.properties" # Path to the tinylog configuration file # # reposilite_java_home (string): # Default value: "%%JAVA_HOME%%" # Java VM directory # # reposilite_java_opts (string): # Default value: "" # Java VM options # # reposilite_args (string): # Default value: "" # Arguments passed to reposilite # . /etc/rc.subr name=reposilite rcvar=reposilite_enable load_rc_config $name : ${reposilite_enable:="NO"} : ${reposilite_user:="%%USER%%"} : ${reposilite_group:="%%GROUP%%"} : ${reposilite_config:="%%ETCDIR%%/configuration.cdn"} : ${reposilite_tinylog_config:="%%ETCDIR%%/tinylog.properties"} : ${reposilite_java_home:="%%JAVA_HOME%%"} : ${reposilite_java_opts:=""} : ${reposilite_args:=""} app_pidfile="%%RUNDIR%%/${name}.pid" pidfile="%%RUNDIR%%/daemon.pid" command="/usr/sbin/daemon" -command_args="-f -c -t ${name} -r -R 5 -P ${pidfile} -p ${app_pidfile} -o %%LOGDIR%%/daemon.log ${reposilite_java_home}/bin/java -Dtinylog.configuration=${reposilite_tinylog_config} ${reposilite_java_opts} -jar %%JARFILE%% -wd %%WORKDIR%% -lcm none -lc ${reposilite_config} ${reposilite_args}" +command_args="-f -c -t ${name} -r -R 5 -P ${pidfile} -p ${app_pidfile} -o %%LOGDIR%%/daemon.log ${reposilite_java_home}/bin/java -Dtinylog.configuration=${reposilite_tinylog_config} ${reposilite_java_opts} -jar %%JARFILE%% --no-color --disable-it -wd %%WORKDIR%% -lcm none -lc ${reposilite_config} ${reposilite_args}" required_files="${reposilite_config}" run_rc_command "$1"