mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
comms/svslink: Update svxlink
- Update svxlink - add some startup scripts - fix module load
This commit is contained in:
parent
7d889afc8a
commit
971a9cbb94
5 changed files with 41 additions and 38 deletions
2
GIDs
2
GIDs
|
@ -271,7 +271,7 @@ _reticulum:*:327:
|
||||||
galene:*:328:
|
galene:*:328:
|
||||||
certspotter:*:329:
|
certspotter:*:329:
|
||||||
orthanc:*:330:
|
orthanc:*:330:
|
||||||
# free: 331
|
svxlink:*:331:
|
||||||
# free: 332
|
# free: 332
|
||||||
# free: 333
|
# free: 333
|
||||||
honeytrap:*:333:
|
honeytrap:*:333:
|
||||||
|
|
2
UIDs
2
UIDs
|
@ -276,7 +276,7 @@ _reticulum:*:327:327::0:0:Reticulum Daemon:/nonexistent:/usr/sbin/nologin
|
||||||
galene:*:328:328::0:0:Galene Visioconference server:/nonexistent:/usr/sbin/nologin
|
galene:*:328:328::0:0:Galene Visioconference server:/nonexistent:/usr/sbin/nologin
|
||||||
certspotter:*:329:329::0:0:Cert Spotter user:/nonexistent:/usr/sbin/nologin
|
certspotter:*:329:329::0:0:Cert Spotter user:/nonexistent:/usr/sbin/nologin
|
||||||
orthanc:*:330:330::0:0:Orthanc Daemon:/nonexistent:/usr/sbin/nologin
|
orthanc:*:330:330::0:0:Orthanc Daemon:/nonexistent:/usr/sbin/nologin
|
||||||
# free: 331
|
svxlink:*:331:331::0:0:svxlink server:/nonexistent:/usr/sbin/nologin
|
||||||
# free: 332
|
# free: 332
|
||||||
honeytrap:*:333:333::0:0:HoneyTrap Daemon:/nonexistent:/usr/sbin/nologin
|
honeytrap:*:333:333::0:0:HoneyTrap Daemon:/nonexistent:/usr/sbin/nologin
|
||||||
# free: 334
|
# free: 334
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
PORTNAME?= svxlink
|
PORTNAME?= svxlink
|
||||||
PORTVERSION= 19.09.1
|
PORTVERSION= 19.09.2
|
||||||
PORTREVISION= 4
|
|
||||||
CATEGORIES= comms hamradio
|
CATEGORIES= comms hamradio
|
||||||
|
|
||||||
MAINTAINER= hamradio@FreeBSD.org
|
MAINTAINER= hamradio@FreeBSD.org
|
||||||
|
@ -9,15 +8,15 @@ WWW= https://www.svxlink.org/
|
||||||
|
|
||||||
LICENSE?= GPLv2
|
LICENSE?= GPLv2
|
||||||
|
|
||||||
LIB_DEPENDS?= libgsm.so:audio/gsm \
|
LIB_DEPENDS?= libcurl.so:ftp/curl \
|
||||||
libspeex.so:audio/speex \
|
|
||||||
libgpg-error.so:security/libgpg-error \
|
|
||||||
libgcrypt.so:security/libgcrypt \
|
libgcrypt.so:security/libgcrypt \
|
||||||
libsigc-2.0.so:devel/libsigc++20 \
|
libgpg-error.so:security/libgpg-error \
|
||||||
libpopt.so:devel/popt \
|
libgsm.so:audio/gsm \
|
||||||
libopus.so:audio/opus \
|
libopus.so:audio/opus \
|
||||||
|
libpopt.so:devel/popt \
|
||||||
librtlsdr.so:comms/rtl-sdr \
|
librtlsdr.so:comms/rtl-sdr \
|
||||||
libcurl.so:ftp/curl
|
libsigc-2.0.so:devel/libsigc++20 \
|
||||||
|
libspeex.so:audio/speex
|
||||||
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto
|
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto
|
||||||
|
|
||||||
USES+= cmake:noninja compiler:c++11-lang groff pkgconfig tcl
|
USES+= cmake:noninja compiler:c++11-lang groff pkgconfig tcl
|
||||||
|
@ -26,36 +25,39 @@ GH_ACCOUNT= sm0svx
|
||||||
GH_PROJECT= svxlink
|
GH_PROJECT= svxlink
|
||||||
|
|
||||||
CMAKE_SOURCE_PATH= ${WRKSRC}/src
|
CMAKE_SOURCE_PATH= ${WRKSRC}/src
|
||||||
CMAKE_ARGS+= -DMAN_INSTALL_DIR:FILEPATH=${PREFIX}/share/man \
|
CMAKE_ARGS+= -DLOCAL_STATE_DIR=/var \
|
||||||
-DLOCAL_STATE_DIR=/var \
|
-DLOCALBASE:STRING="${LOCALBASE}" \
|
||||||
-DLOCALBASE:STRING="${LOCALBASE}"
|
-DMAN_INSTALL_DIR:FILEPATH=${PREFIX}/share/man
|
||||||
|
|
||||||
.if ${PORTNAME}==svxlink
|
USERS= svxlink
|
||||||
|
GROUPS= svxlink
|
||||||
|
USE_RC_SUBR= remotetrx svxlink svxreflector
|
||||||
|
.if ${PORTNAME} == svxlink
|
||||||
CMAKE_ARGS+= -DUSE_QT:BOOL=NO
|
CMAKE_ARGS+= -DUSE_QT:BOOL=NO
|
||||||
.endif
|
.endif
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
ALL_TARGET?= all man
|
ALL_TARGET?= all man
|
||||||
OPTIONS_DEFINE= DOXYGEN STATIC DOCS
|
OPTIONS_DEFINE= DOCS DOXYGEN STATIC
|
||||||
STATIC_DESC= Build and install static libraries
|
STATIC_DESC= Build and install static libraries
|
||||||
STATIC_CMAKE_ON= -DBUILD_STATIC_LIBS=YES
|
STATIC_CMAKE_ON= -DBUILD_STATIC_LIBS=YES
|
||||||
.if ${PORTNAME}==svxlink
|
.if ${PORTNAME} == svxlink
|
||||||
OPTIONS_DEFAULT=OSS ALSA
|
OPTIONS_DEFAULT= ALSA OSS
|
||||||
OPTIONS_MULTI= SOUND
|
OPTIONS_MULTI= SOUND
|
||||||
OPTIONS_MULTI_SOUND= ALSA OSS
|
OPTIONS_MULTI_SOUND= ALSA OSS
|
||||||
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
|
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
|
||||||
ALSA_CMAKE_OFF= -DUSE_ALSA:BOOL=OFF
|
ALSA_CMAKE_OFF= -DUSE_ALSA:BOOL=OFF
|
||||||
ALSA_CMAKE_ON= -DUSE_ALSA:BOOL=ON
|
ALSA_CMAKE_ON= -DUSE_ALSA:BOOL=ON
|
||||||
OSS_CMAKE_OFF= -DUSE_OSS:BOOL=OFF
|
OSS_CMAKE_OFF= -DUSE_OSS:BOOL=OFF
|
||||||
OSS_CMAKE_ON= -DUSE_OSS:BOOL=ON
|
OSS_CMAKE_ON= -DUSE_OSS:BOOL=ON
|
||||||
.endif
|
.endif
|
||||||
DOXYGEN_IMPLIES= DOCS
|
DOXYGEN_IMPLIES= DOCS
|
||||||
DOXYGEN_ALL_TARGET=doc
|
DOXYGEN_ALL_TARGET= doc
|
||||||
DOXYGEN_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen:BOOL=TRUE
|
DOXYGEN_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen:BOOL=TRUE
|
||||||
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
|
DOXYGEN_BUILD_DEPENDS= dot:graphics/graphviz \
|
||||||
dot:graphics/graphviz
|
doxygen:devel/doxygen
|
||||||
OPTIONS_SUB= yes
|
OPTIONS_SUB= yes
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${GREP} -lr /dev/ttyS0 ${WRKSRC} | ${GREP} -v .bak | ${GREP} -v .orig | ${XARGS} \
|
@${GREP} -lr /dev/ttyS0 ${WRKSRC} | ${GREP} -v .bak | ${GREP} -v .orig | ${XARGS} \
|
||||||
|
@ -75,7 +77,7 @@ post-patch-OSS-on:
|
||||||
@${GREP} -lr alsa:plughw:0 ${WRKSRC} | ${GREP} -v .bak | ${GREP} -v .orig | ${XARGS} \
|
@${GREP} -lr alsa:plughw:0 ${WRKSRC} | ${GREP} -v .bak | ${GREP} -v .orig | ${XARGS} \
|
||||||
${REINPLACE_CMD} -e 's|alsa:plughw:0|oss:/dev/dsp|'
|
${REINPLACE_CMD} -e 's|alsa:plughw:0|oss:/dev/dsp|'
|
||||||
|
|
||||||
.if ${PORTNAME}==svxlink
|
.if ${PORTNAME} == svxlink
|
||||||
post-install:
|
post-install:
|
||||||
${MV} ${STAGEDIR}${PREFIX}/etc/svxlink/.procmailrc \
|
${MV} ${STAGEDIR}${PREFIX}/etc/svxlink/.procmailrc \
|
||||||
${STAGEDIR}${PREFIX}/etc/svxlink/.procmailrc.sample
|
${STAGEDIR}${PREFIX}/etc/svxlink/.procmailrc.sample
|
||||||
|
@ -114,10 +116,11 @@ do-install-DOCS-on:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/src/doc/README-19.09.adoc ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/src/doc/README-19.09.adoc ${STAGEDIR}${DOCSDIR}
|
||||||
.endif
|
.endif
|
||||||
.if ${PORTNAME}==qtel
|
.if ${PORTNAME} == qtel
|
||||||
post-install:
|
post-install:
|
||||||
${RM} ${STAGEDIR}${PREFIX}/include/svxlink/CppStdCompat.h
|
${RM} ${STAGEDIR}${PREFIX}/include/svxlink/CppStdCompat.h
|
||||||
${RM} ${STAGEDIR}${PREFIX}/include/svxlink/common.h
|
${RM} ${STAGEDIR}${PREFIX}/include/svxlink/common.h
|
||||||
${RM} ${STAGEDIR}${PREFIX}/lib/libsvxmisc.a
|
${RM} ${STAGEDIR}${PREFIX}/lib/libsvxmisc.a
|
||||||
.endif
|
.endif
|
||||||
|
${INSTALL} -d ${STAGEDIR}/var/spool/svxlink
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1567427570
|
TIMESTAMP = 1702760267
|
||||||
SHA256 (sm0svx-svxlink-19.09.1_GH0.tar.gz) = 5e5cbc3501fa6c6ec68334f8217ef93f5dc879d4d0e41e6f71378fd67d69f6a2
|
SHA256 (sm0svx-svxlink-19.09.2_GH0.tar.gz) = 47e9bf098cef19a8f0a3bf567e96d70447cb028e0fcfc3bbeb692ae5bae05a70
|
||||||
SIZE (sm0svx-svxlink-19.09.1_GH0.tar.gz) = 1730688
|
SIZE (sm0svx-svxlink-19.09.2_GH0.tar.gz) = 1730836
|
||||||
|
|
|
@ -147,7 +147,7 @@ share/man/man5/svxreflector.conf.5.gz
|
||||||
sbin/svxlink_gpio_down
|
sbin/svxlink_gpio_down
|
||||||
sbin/svxlink_gpio_up
|
sbin/svxlink_gpio_up
|
||||||
@dir %%DATADIR%%/sounds
|
@dir %%DATADIR%%/sounds
|
||||||
@dir /var/spool/svxlink/propagation_monitor
|
@dir(svxlink,svxlink,755) /var/spool/svxlink/propagation_monitor
|
||||||
@dir /var/spool/svxlink/qso_recorder
|
@dir(svxlink,svxlink,755) /var/spool/svxlink/qso_recorder
|
||||||
@dir /var/spool/svxlink/voice_mail
|
@dir(svxlink,svxlink,755) /var/spool/svxlink/voice_mail
|
||||||
@dir /var/spool/svxlink
|
@dir(svxlink,svxlink,755) /var/spool/svxlink
|
||||||
|
|
Loading…
Add table
Reference in a new issue