Date: Fri, 31 Mar 2023 00:01:49 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 05dac5cfdb14 - main - net/minisapserver: Remove expired port: Message-ID: <202303310001.32V01neF014231@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=05dac5cfdb14385324d0cceeec02ee8dafa3b1ff commit 05dac5cfdb14385324d0cceeec02ee8dafa3b1ff Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-03-25 14:50:11 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-03-30 23:59:40 +0000 net/minisapserver: Remove expired port: 2023-03-31 net/minisapserver: Obsolete utility, functionality is now included in multimedia/vlc --- MOVED | 1 + net/Makefile | 1 - net/minisapserver/Makefile | 42 ----------------------------- net/minisapserver/distinfo | 2 -- net/minisapserver/files/patch-broadcast.cpp | 33 ----------------------- net/minisapserver/files/patch-sapserver.cpp | 11 -------- net/minisapserver/files/pkg-message.in | 11 -------- net/minisapserver/files/sapserver.in | 24 ----------------- net/minisapserver/pkg-descr | 2 -- 9 files changed, 1 insertion(+), 126 deletions(-) diff --git a/MOVED b/MOVED index 3d0fc699f0ab..c63fe5c88f1b 100644 --- a/MOVED +++ b/MOVED @@ -17857,3 +17857,4 @@ mail/horde-webmail||2023-03-31|Has expired: Requires php74 multimedia/dvdrip||2023-03-31|Has expired: Depends on broken transcode port multimedia/mkxvcd||2023-03-31|Has expired: Depends on broken transcode port multimedia/win32-codecs||2023-03-31|Has expired: Obsolete and users are recommended to utilize ffmpeg instead +net/minisapserver||2023-03-31|Has expired: Obsolete utility, functionality is now included in multimedia/vlc diff --git a/net/Makefile b/net/Makefile index e7f9387464c6..1e77c6b29574 100644 --- a/net/Makefile +++ b/net/Makefile @@ -463,7 +463,6 @@ SUBDIR += micro_proxy SUBDIR += microsocks SUBDIR += minidlna - SUBDIR += minisapserver SUBDIR += minissdpd SUBDIR += miniupnpc SUBDIR += miniupnpd diff --git a/net/minisapserver/Makefile b/net/minisapserver/Makefile deleted file mode 100644 index ebd66a124d61..000000000000 --- a/net/minisapserver/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -PORTNAME= minisapserver -PORTVERSION= 0.3.8 -PORTREVISION= 1 -CATEGORIES= net multimedia -MASTER_SITES= http://downloads.videolan.org/pub/videolan/miniSAPserver/${PORTVERSION}/ - -MAINTAINER= multimedia@FreeBSD.org -COMMENT= SAP and SLP announcement for the VLC Media Player -WWW= https://www.videolan.org/ - -LICENSE= GPLv2 - -DEPRECATED= Obsolete utility, functionality is now included in multimedia/vlc -EXPIRATION_DATE=2023-03-31 - -USES= iconv tar:xz -GNU_CONFIGURE= yes -PLIST_FILES= bin/sapserver etc/sap.cfg-dist man/man1/sapserver.1.gz -USE_RC_SUBR= sapserver -SUB_FILES= pkg-message - -OPTIONS_DEFINE= SLP -SLP_DESC= Enable SLP support via openslp - -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -SLP_LIB_DEPENDS= libslp.so:net/openslp -SLP_CONFIGURE_ENABLE= slp - -post-patch: - @${REINPLACE_CMD} -e 's|$$(prefix)/share/man|${MANPREFIX}/man|; \ - s|$$(prefix)/share/doc/sapserver|${DOCSDIR}|; \ - s|sap.cfg|sap.cfg-dist|' \ - ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's|XFLAGS="-Wall|XFLAGS="${CXXFLAGS}|' \ - ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|/etc/sap.cfg|${PREFIX}/etc/sap.cfg|' \ - ${WRKSRC}/sapserver.h - @${CP} -f ${WRKSRC}/sap.cfg ${WRKSRC}/sap.cfg-dist - -.include <bsd.port.mk> diff --git a/net/minisapserver/distinfo b/net/minisapserver/distinfo deleted file mode 100644 index 593b3bdcb7a0..000000000000 --- a/net/minisapserver/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (minisapserver-0.3.8.tar.xz) = 26666e69eb1ead784c18ce0bb8fbdbb317e424057f139764cbfb7e31bebd1164 -SIZE (minisapserver-0.3.8.tar.xz) = 121800 diff --git a/net/minisapserver/files/patch-broadcast.cpp b/net/minisapserver/files/patch-broadcast.cpp deleted file mode 100644 index a77def37dfbd..000000000000 --- a/net/minisapserver/files/patch-broadcast.cpp +++ /dev/null @@ -1,33 +0,0 @@ -broadcast.cpp:91:13: error: value of type '__bind<int &, sockaddr *, unsigned long>' is not contextually convertible to 'bool' - if (bind (fd6, (struct sockaddr *)&addr, sizeof (addr))) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ---- broadcast.cpp.orig 2010-10-09 16:04:27 UTC -+++ broadcast.cpp -@@ -88,7 +88,7 @@ Broadcast::Broadcast(int i_ttl, const char *psz_iface) - setsockopt (fd6, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, - &i_ttl, sizeof(i_ttl)); - -- if (bind (fd6, (struct sockaddr *)&addr, sizeof (addr))) -+ if (::bind (fd6, (struct sockaddr *)&addr, sizeof (addr))) - { - close (fd6); - fd6 = -1; -@@ -143,7 +143,7 @@ Broadcast::Broadcast(int i_ttl, const char *psz_iface) - setsockopt (fd4, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, 1); - } - -- if (bind (fd4, (struct sockaddr *)&addr, sizeof (addr))) -+ if (::bind (fd4, (struct sockaddr *)&addr, sizeof (addr))) - { - close (fd4); - fd4 = -1; -@@ -281,7 +281,7 @@ int Broadcast::GuessDestination (const char *str, - memset (a6, 0, sizeof (*a6)); - a6->sin6_family = AF_INET6; - #ifdef HAVE_SA_LEN -- a6->sin_len = sizeof (*a6); -+ a6->sin6_len = sizeof (*a6); - #endif - a6->sin6_scope_id = scope_id; - a6->sin6_port = htons (HELLO_PORT); diff --git a/net/minisapserver/files/patch-sapserver.cpp b/net/minisapserver/files/patch-sapserver.cpp deleted file mode 100644 index 45f0509a02c5..000000000000 --- a/net/minisapserver/files/patch-sapserver.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- sapserver.cpp.orig 2009-03-01 19:58:22 UTC -+++ sapserver.cpp -@@ -128,7 +128,7 @@ help(void) - static void - version(void) - { -- puts(PACKAGE_NAME" version "PACKAGE_VERSION"\n" -+ puts(PACKAGE_NAME " version " PACKAGE_VERSION"\n" - "Copyright (C) 1999-2005 VideoLAN project\n" - "This is free software; see the source for copying conditions.\n" - "There is NO warranty; not even for MERCHANTABILITY or\n" diff --git a/net/minisapserver/files/pkg-message.in b/net/minisapserver/files/pkg-message.in deleted file mode 100644 index 9c43c21ce838..000000000000 --- a/net/minisapserver/files/pkg-message.in +++ /dev/null @@ -1,11 +0,0 @@ -[ -{ type: install - message: <<EOM -A sample configuration file, sap.cfg-dist has been installed in %%PREFIX%%/etc/ - Please 'cp sap.cfg-dist sap.cfg' and edit sap.cfg. - -To start sapserver at boot time: - echo "sapserver_enable=yes" >> /etc/rc.conf -EOM -} -] diff --git a/net/minisapserver/files/sapserver.in b/net/minisapserver/files/sapserver.in deleted file mode 100644 index 453fe32cd5f4..000000000000 --- a/net/minisapserver/files/sapserver.in +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -# PROVIDE: sapserver -# REQUIRE: NETWORKING -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf to enable sapserver: -# -# sapserver_enable="YES" -# - -. /etc/rc.subr - -name=sapserver -rcvar=sapserver_enable - -command=%%PREFIX%%/bin/${name} -required_files=%%PREFIX%%/etc/sap.cfg - -load_rc_config ${name} - -: ${sapserver_enable="NO"} - -run_rc_command "$1" diff --git a/net/minisapserver/pkg-descr b/net/minisapserver/pkg-descr deleted file mode 100644 index aef2ecd2b971..000000000000 --- a/net/minisapserver/pkg-descr +++ /dev/null @@ -1,2 +0,0 @@ -Sapserver announces using the SAP(Session Announcement Protocol) or the -SLP protocols. Media streams to be played with the VLC Media Player.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303310001.32V01neF014231>