From nobody Thu Jul 13 18:07:51 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R22dg37kmz4nRtF; Thu, 13 Jul 2023 18:07:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R22dg2hvDz48lp; Thu, 13 Jul 2023 18:07:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689271671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=q4WYe1xxc+SaWvKzjHJMpmcpFOkudEkOzr9t8OT5kcU=; b=L4yCrmtAqThhf7zyjX/ztEpqUV25t9dAUkH6de7i4RD50ZSdebUJ6qczj4qQxF9sATjV31 2v8K/wSLwo9tjhuQDwM4x+bqlOYrOoYGR4mOlvaXS2x+M0ERIm/hp/d5cNqYuAXPLWnnEA Lj33vUgiKbFuz0X6K5vwd41qn8EeJg5fB5miLt6pQ2U0LdaUwYCctqeDtGBvkXD4/ISGkZ bXkrSxmx6m39lL1ygVw+8RHC33rEljFlG9N7tRGBadDskEi2jrxs3nEjuFY7qNK6WPtfs7 psIwnjLAT6h/LD4MuFa2v8plQDbVv+DX5/DEMVx1Ki2b4pZjxVFHDcuxQliFZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689271671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=q4WYe1xxc+SaWvKzjHJMpmcpFOkudEkOzr9t8OT5kcU=; b=Tkl1fMqUXhoc6Md/1Ua96ihhZgOY6g7aIbwOzw40GX2HF1FFBYLRGZ9s+1R6xDDWzUZ3QI FnLKJE8YsrWI7IypTpzNgHun/Bi13XjopW7nVDNWlHWBQigeCL4r9AEMAeP2VJ5fsRSBfI tLlW8zz1AsNraF9/s4h0EC6oPnkvr/RNlJTQ4XI2oJs32w/omnLf1q5k9A35qSxNhwZnpr ZWg8ORV8gTPZMzMki8j2E2RhQcl+ZSqL+WKJajFPykVXEBaEET6YsKTSV0+yy2byrY6k/d 1wBNT9BSdCBGnR+LupzIRwcIQ2Aw9XmsMvXz/4YJUkyrdMLNvhCcALyHYTNYlg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689271671; a=rsa-sha256; cv=none; b=g/l358GlhLB9fQ2QzrHim3z2ojSglSCJ0mJ6ROELcCgTEL69tmYnZ4OBUf4s39twWTM/fw GY7UnWigu410tvMHUpnHkRlgnPCHmM5VnKBpy5qMxlC5qsHYkFV6QxILek8eOzGjYd4pue WfnZPb4u/qCz6HHl4qVHFjsbE1qQ2F/7ZH7y+WikuSKAiYqtYRVmCMDjZ6phSXeUUzsMhJ lmEU7Weg7FaiD0l6nHm7j3ZaI4nVkg3S9p84JVlgNgxp+xdWc/RBCS9AQ9bdiLf/Xr+qnD mmTiNA/ZFN6FQJ+WrkbON14J8RhCiCR/wq0oD8bElM1z+/BDqkZjPs+ixRazZA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R22dg1m7Zz11YM; Thu, 13 Jul 2023 18:07:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36DI7pLU075720; Thu, 13 Jul 2023 18:07:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36DI7pFk075719; Thu, 13 Jul 2023 18:07:51 GMT (envelope-from git) Date: Thu, 13 Jul 2023 18:07:51 GMT Message-Id: <202307131807.36DI7pFk075719@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 3d6c1cd815df - main - www/madsonic: update to 6.2.9092 and sort out Makefile List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3d6c1cd815df438095187c4fd7baf5e6690745a9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=3d6c1cd815df438095187c4fd7baf5e6690745a9 commit 3d6c1cd815df438095187c4fd7baf5e6690745a9 Author: Vladimir Druzenko AuthorDate: 2023-07-13 18:01:50 +0000 Commit: Vladimir Druzenko CommitDate: 2023-07-13 18:01:50 +0000 www/madsonic: update to 6.2.9092 and sort out Makefile * Update to 6.2.9092. Changelog: https://www.madsonic.org/pages/changelog.jsp#6.2.9092 * Replace option TOMCAT7 (www/tomcat7 EOL) with TOMCAT85. * Remove option RESIN3: "www/resin3||2023-05-06|Deprecated version, unsupported by upstream for years". * "Sort out" Makefile - portlint is happy. Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D41017 MFH: 2023Q3 --- www/madsonic/Makefile | 130 +++++++++++++++++++--------------------- www/madsonic/distinfo | 10 ++-- www/madsonic/pkg-message-resin3 | 2 - 3 files changed, 66 insertions(+), 76 deletions(-) diff --git a/www/madsonic/Makefile b/www/madsonic/Makefile index 131e4a211264..e67b3c6f2cab 100644 --- a/www/madsonic/Makefile +++ b/www/madsonic/Makefile @@ -1,10 +1,9 @@ PORTNAME= madsonic -PORTVERSION= 6.2.9040 -PORTREVISION= 4 +PORTVERSION= 6.2.9092 CATEGORIES= www java -MASTER_SITES= http://madsonic.org/download/6.2/ +MASTER_SITES= https://madsonic.org/download/6.2/ DISTFILES= ${DISTDATE}_${DISTNAME}-war-tomcat.zip \ - ${DISTDATE}_${DISTNAME}-war-jspc.zip + ${DISTDATE}_${DISTNAME}-war-jspc.zip MAINTAINER= ports@FreeBSD.org COMMENT= Madsonic streaming media server @@ -12,75 +11,76 @@ WWW= https://www.madsonic.org LICENSE= GPLv3 -OPTIONS_SINGLE= APPSERVER -APPSERVER_DESC= Java Application Server -OPTIONS_SINGLE_APPSERVER= JETTY TOMCAT7 RESIN3 -TOMCAT7_DESC= Use Tomcat 7.x -JETTY_DESC= Use Jetty -RESIN3_DESC= Use Resin 3 - -OPTIONS_GROUP= TRANSCODING -TRANSCODING_DESC= Transcoding support -OPTIONS_GROUP_TRANSCODING= FFMPEG FLAC LAME VORBIS FAAC FAAD XMP MPC APE -FFMPEG_DESC= Depend on FFmpeg for audio and video transcoding -FLAC_DESC= Depend on FLAC for transcoding -LAME_DESC= Depend on LAME for MP3 transcoding -VORBIS_DESC= Depend on oggenc/oggdec for Vorbis transcoding -FAAC_DESC= Depend on FAAD for AAC/M4A transcoding -FAAD_DESC= Depend on FAAC for AAC/M4A transcoding -XMP_DESC= Depend on XMP for module file transcoding -MPC_DESC= Depend on mpcdec for MPC transcoding -APE_DESC= Depend on mac for Monkey's Audio transcoding #' - -OPTIONS_DEFAULT= FFMPEG JETTY -OPTIONS_SUB= yes - RUN_DEPENDS+= ${JAVALIBDIR}/servlet-api.jar:www/servlet-api \ - ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins -TOMCAT7_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:www/tomcat7 -TOMCAT7_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:www/tomcat7 -JETTY_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/start.jar:www/jetty8 -JETTY_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/start.jar:www/jetty8 -RESIN3_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/lib/resin.jar:www/resin3 -RESIN3_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/lib/resin.jar:www/resin3 -FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg -FLAC_RUN_DEPENDS= flac:audio/flac -LAME_RUN_DEPENDS= lame:audio/lame -VORBIS_RUN_DEPENDS= oggenc:audio/vorbis-tools -FAAC_RUN_DEPENDS= faac:audio/faac -FAAD_RUN_DEPENDS= faad:audio/faad -XMP_RUN_DEPENDS= xmp:audio/xmp -MPC_RUN_DEPENDS= mpcdec:audio/musepack -APE_RUN_DEPENDS= mac:audio/mac + ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins -.include +USES= zip +USE_JAVA= yes +JAVA_VERSION= 8 +WRKSRC= ${WRKDIR}/${PORTNAME} +NO_ARCH= yes NO_BUILD= yes -DISTDATE= 20161208 -USE_JAVA= yes -USES= zip -USER= www -GROUP= www -MADSONIC_HOME= /var/madsonic -WRKSRC= ${WRKDIR}/${PORTNAME} -WEBAPPDIR= ${PREFIX}/${SERVERDIR}/webapps +PLIST= ${WRKDIR}/plist PKGMESSAGE= ${WRKDIR}/pkg-message -PLIST= ${WRKDIR}/plist PLIST_SUB+= MADSONIC_HOME="${MADSONIC_HOME}" \ - WEBAPPS=${WEBAPPDIR:S|^${PREFIX}/||} -SUB_FILES= message-common\ - message-transcoding + WEBAPPS=${WEBAPPDIR:S|^${PREFIX}/||} +SUB_FILES= message-common message-transcoding SUB_LIST= MADSONIC_HOME="${MADSONIC_HOME}" -.if ${PORT_OPTIONS:MTOMCAT7} +OPTIONS_SINGLE= APPSERVER +OPTIONS_SINGLE_APPSERVER= JETTY8 TOMCAT85 +OPTIONS_GROUP= TRANSCODING +OPTIONS_GROUP_TRANSCODING= APE FAAC FAAD FFMPEG FLAC LAME MPC VORBIS XMP +OPTIONS_DEFAULT= FFMPEG JETTY8 +OPTIONS_SUB= yes + +APE_DESC= Depend on mac for Monkey's Audio transcoding #' +APPSERVER_DESC= Java Application Server +FAAC_DESC= Depend on FAAD for AAC/M4A transcoding +FAAD_DESC= Depend on FAAC for AAC/M4A transcoding +FFMPEG_DESC= Depend on FFmpeg for audio and video transcoding +FLAC_DESC= Depend on FLAC for transcoding +JETTY8_DESC= Use Jetty 8.x +LAME_DESC= Depend on LAME for MP3 transcoding +MPC_DESC= Depend on mpcdec for MPC transcoding +TOMCAT85_DESC= Use Tomcat 8.5.x +TRANSCODING_DESC= Transcoding support +VORBIS_DESC= Depend on oggenc/oggdec for Vorbis transcoding +XMP_DESC= Depend on XMP for module file transcoding + +APE_RUN_DEPENDS= mac:audio/mac +FAAC_RUN_DEPENDS= faac:audio/faac +FAAD_RUN_DEPENDS= faad:audio/faad +FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg +FLAC_RUN_DEPENDS= flac:audio/flac +JETTY8_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/start.jar:www/jetty8 +JETTY8_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/start.jar:www/jetty8 +LAME_RUN_DEPENDS= lame:audio/lame +MPC_RUN_DEPENDS= mpcdec:audio/musepack +TOMCAT85_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:www/tomcat85 +TOMCAT85_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:www/tomcat85 +VORBIS_RUN_DEPENDS= oggenc:audio/vorbis-tools +XMP_RUN_DEPENDS= xmp:audio/xmp + +DISTDATE= 20220126 +USER= www +GROUP= www +MADSONIC_HOME= /var/madsonic + +.include + +WEBAPPDIR= ${PREFIX}/${SERVERDIR}/webapps + +.if ${PORT_OPTIONS:MTOMCAT85} APPPKGMESSAGE= pkg-message-tomcat DISTVER= tomcat -PKGNAMESUFFIX= -tomcat7 -SERVERDIR= apache-tomcat-7.0 -SUB_LIST+= CONTAINERFLAGS="tomcat7_java_opts" +PKGNAMESUFFIX= -tomcat85 +SERVERDIR= apache-tomcat-8.5 +SUB_LIST+= CONTAINERFLAGS="tomcat85_java_opts" .endif -.if ${PORT_OPTIONS:MJETTY} +.if ${PORT_OPTIONS:MJETTY8} APPPKGMESSAGE= pkg-message-jetty DISTVER= jspc PKGNAMESUFFIX= -jetty @@ -88,14 +88,6 @@ SERVERDIR= jetty SUB_LIST+= CONTAINERFLAGS="jetty_flags" .endif -.if ${PORT_OPTIONS:MRESIN3} -APPPKGMESSAGE= pkg-message-resin3 -DISTVER= tomcat -PKGNAMESUFFIX= -resin3 -SERVERDIR= resin3 -SUB_LIST+= CONTAINERFLAGS="resin3_flags" -.endif - do-extract: ${EXTRACT_CMD} -qo ${DISTDIR}/${DISTDATE}_${PORTNAME}-${PORTVERSION}-war-${DISTVER}.zip -d ${WRKDIR} diff --git a/www/madsonic/distinfo b/www/madsonic/distinfo index a2de13da6c85..1ee372f5fd5c 100644 --- a/www/madsonic/distinfo +++ b/www/madsonic/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1475617922 -SHA256 (20161208_madsonic-6.2.9040-war-tomcat.zip) = 1309d147155e5d6966ef510a74861edc09d2fabc0ca066576d3c4dbc619d3024 -SIZE (20161208_madsonic-6.2.9040-war-tomcat.zip) = 80707015 -SHA256 (20161208_madsonic-6.2.9040-war-jspc.zip) = 55300906f036f24e21f6cd718219ff308d8c1f945a309df262248a03b72fcca9 -SIZE (20161208_madsonic-6.2.9040-war-jspc.zip) = 80678832 +TIMESTAMP = 1689251347 +SHA256 (20220126_madsonic-6.2.9092-war-tomcat.zip) = c23d8fc9e80132811cf0fd1ab47e61a7a4f6ae653fb0cf16d9305ce38acf83fb +SIZE (20220126_madsonic-6.2.9092-war-tomcat.zip) = 79926349 +SHA256 (20220126_madsonic-6.2.9092-war-jspc.zip) = b1e670910674ce481da578ea716b8dacd6032c168c7eb0e0764a747bb0240eeb +SIZE (20220126_madsonic-6.2.9092-war-jspc.zip) = 79929699 diff --git a/www/madsonic/pkg-message-resin3 b/www/madsonic/pkg-message-resin3 deleted file mode 100644 index bc4ee38640a0..000000000000 --- a/www/madsonic/pkg-message-resin3 +++ /dev/null @@ -1,2 +0,0 @@ -Enable or restart resin3, then you can access Madsonic at -http://127.0.0.1:8080/madsonic/ if using the default Resin HTTP port.