git: e6f983f0ba2e - main - devel/reposilite: Update to 3.6.2
Michael Osipov <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <6a82fcf2.3cac7.51aa82f2__21136.4863834874$1786969375$gmane$org@gitrepo.freebsd.org> |
The branch main has been updated by michaelo: URL: https://cgit.FreeBSD.org/ports/commit/?id=e6f983f0ba2e0cbbe5582a345d69743c0b402af7 commit e6f983f0ba2e0cbbe5582a345d69743c0b402af7 Author: Þorsteinn Jón <[email protected]> AuthorDate: 2026-08-13 15:07:34 +0000 Commit: Michael Osipov <[email protected]> CommitDate: 2026-08-17 12:21:56 +0000 devel/reposilite: Update to 3.6.2 Co-authored-by: Michael Osipov <[email protected]> PR: 273849 Tested by: michaelo --- devel/reposilite/Makefile | 18 +++++++++++++----- devel/reposilite/distinfo | 6 +++--- devel/reposilite/files/reposilite.in | 2 +- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/devel/reposilite/Makefile b/devel/reposilite/Makefile index d13c0b3db50c..7710978ed475 100644 --- a/devel/reposilite/Makefile +++ b/devel/reposilite/Makefile @@ -1,6 +1,5 @@ PORTNAME= reposilite -DISTVERSION= 3.5.28 -PORTREVISION= 1 +DISTVERSION= 3.6.2 DISTVERSIONSUFFIX= -all CATEGORIES= devel www java MASTER_SITES= https://maven.reposilite.com/releases/com/reposilite/reposilite/${DISTVERSION}/ @@ -13,9 +12,14 @@ WWW= https://reposilite.com LICENSE= APACHE20 +EXTRACT_DEPENDS= zip:archivers/zip +LIB_DEPENDS= libsqlitejdbc.so:databases/sqlite-jdbc + USES= cpe java CPE_VENDOR= dzikoysk -JAVA_VERSION= 11+ +JAVA_VERSION= 17+ + +ZIP_CMD?= ${LOCALBASE}/bin/zip NO_BUILD= yes NO_ARCH= yes @@ -47,8 +51,11 @@ PLIST_SUB= JARFILE=${JAVAJARDIR}/${DISTNAME}.jar \ LOGDIR=${REPOSILITE_LOGDIR} \ WORKDIR=${REPOSILITE_WORKDIR} +do-extract: + ${CP} ${DISTDIR}/${DISTNAME}.jar ${WRKDIR}/ + post-extract: - @${TAR} -C ${WRKDIR} -xzf ${DISTDIR}/${DISTNAME}.jar tinylog.properties + @${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${DISTNAME}.jar tinylog.properties post-patch: @${REINPLACE_CMD} -E \ @@ -56,6 +63,7 @@ post-patch: -e '28s#= .+$$#= ${REPOSILITE_LOGDIR}/${PORTNAME}-latest.log#' \ -e '30s#monthly: 03:00$$#daily: 00:00#' \ ${WRKDIR}/tinylog.properties + @${ZIP_CMD} -d ${WRKDIR}/${DISTNAME}.jar org/sqlite/native/* do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} @@ -64,6 +72,6 @@ do-install: ${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}/ + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/ .include <bsd.port.mk> diff --git a/devel/reposilite/distinfo b/devel/reposilite/distinfo index 39ccd34d53cf..ee84fe7ff2c2 100644 --- a/devel/reposilite/distinfo +++ b/devel/reposilite/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1772443048 -SHA256 (reposilite-3.5.28-all.jar) = b0a6f03b92e4fc37914213b7736cc7b877bf08f75be3044bcc6e79b4fec35551 -SIZE (reposilite-3.5.28-all.jar) = 75839246 +TIMESTAMP = 1786956950 +SHA256 (reposilite-3.6.2-all.jar) = 37ba06c464071b0cba89f963eae8a224609ce4aa4266020eefe4000a247616e7 +SIZE (reposilite-3.6.2-all.jar) = 71283237 diff --git a/devel/reposilite/files/reposilite.in b/devel/reposilite/files/reposilite.in index e0491e5c440e..1a84b3bbe73d 100644 --- a/devel/reposilite/files/reposilite.in +++ b/devel/reposilite/files/reposilite.in @@ -57,7 +57,7 @@ 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%% --no-color --disable-it -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} --enable-native-access=ALL-UNNAMED -jar %%JARFILE%% --no-color --disable-it -wd %%WORKDIR%% -lcm none -lc ${reposilite_config} ${reposilite_args}" required_files="${reposilite_config}"