Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2018 15:44:24 +0000 (UTC)
From:      Dave Cottlehuber <dch@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474524 - in head/audio: . ympd ympd/files
Message-ID:  <201807121544.w6CFiOU6021254@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dch
Date: Thu Jul 12 15:44:24 2018
New Revision: 474524
URL: https://svnweb.freebsd.org/changeset/ports/474524

Log:
  audio/ympd: a standalone MPD Web GUI written in C with bootstrap.js
  
  Approved by:	jrm
  Differential Revision:	https://reviews.freebsd.org/D16236

Added:
  head/audio/ympd/
  head/audio/ympd/Makefile   (contents, props changed)
  head/audio/ympd/distinfo   (contents, props changed)
  head/audio/ympd/files/
  head/audio/ympd/files/ympd.in   (contents, props changed)
  head/audio/ympd/pkg-descr   (contents, props changed)
  head/audio/ympd/pkg-message   (contents, props changed)
Modified:
  head/audio/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Thu Jul 12 14:42:04 2018	(r474523)
+++ head/audio/Makefile	Thu Jul 12 15:44:24 2018	(r474524)
@@ -912,6 +912,7 @@
     SUBDIR += xvmixer
     SUBDIR += xwave
     SUBDIR += yell
+    SUBDIR += ympd
     SUBDIR += yoshimi
     SUBDIR += zam-plugins-lv2
     SUBDIR += zinf

Added: head/audio/ympd/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/ympd/Makefile	Thu Jul 12 15:44:24 2018	(r474524)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	ympd
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.3.0
+CATEGORIES=	audio www
+MASTER_SITES=	GH
+
+MAINTAINER=	dch@FreeBSD.org
+COMMENT=	Stand-alone lightweight web UI controller for audio/musicpd
+
+LICENSE=	GPLv2 BSD3CLAUSE MIT
+LICENSE_COMB=	multi
+
+LIB_DEPENDS=	libmpdclient.so:audio/libmpdclient
+
+USES=		cmake ssl
+USE_GITHUB=	yes
+GH_ACCOUNT=	notandy
+
+USE_RC_SUBR=	${PORTNAME}
+
+PLIST_FILES=	bin/${PORTNAME} \
+		share/man/man1/${PORTNAME}.1
+
+.include <bsd.port.mk>

Added: head/audio/ympd/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/ympd/distinfo	Thu Jul 12 15:44:24 2018	(r474524)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1531151012
+SHA256 (notandy-ympd-v1.3.0_GH0.tar.gz) = d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+SIZE (notandy-ympd-v1.3.0_GH0.tar.gz) = 350115

Added: head/audio/ympd/files/ympd.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/ympd/files/ympd.in	Thu Jul 12 15:44:24 2018	(r474524)
@@ -0,0 +1,39 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: ympd
+# REQUIRE: DAEMON NETWORKING musicpd
+# KEYWORD: shutdown
+
+# Add the following line to /etc/rc.conf to enable ympd:
+#
+# ympd_enable (bool): set to NO by default.
+# Set it to YES to enable ympd.
+#
+# ympd_flags  (string): optional flags to pass through to daemon
+
+. /etc/rc.subr
+
+name=ympd
+rcvar=ympd_enable
+desc="A lightweight web UI for audio/musicpd"
+
+# defaults
+: ${ympd_enable:=NO}
+: ${ympd_flags:=""}
+
+load_rc_config ${name}
+
+start_cmd="ympd_start"
+
+command="%%PREFIX%%/bin/${name}"
+pidfile="/var/run/${name}.pid"
+
+ympd_start () {
+    echo "Starting ympd."
+    /usr/sbin/daemon -t ${name} -f -p ${pidfile} ${command} ${ympd_flags}
+}
+
+run_rc_command "$1"

Added: head/audio/ympd/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/ympd/pkg-descr	Thu Jul 12 15:44:24 2018	(r474524)
@@ -0,0 +1,5 @@
+A lightweight MPD (Music Player Daemon) web client written in C, that
+runs without a dedicated webserver or interpreters like PHP, NodeJS or
+Ruby. It's tuned for minimal resource usage, and minimal configuration.
+
+WWW: https://www.ympd.org/

Added: head/audio/ympd/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/ympd/pkg-message	Thu Jul 12 15:44:24 2018	(r474524)
@@ -0,0 +1,11 @@
+To configure ympd, assuming it is running on the same system as
+audio/musicpd itself:
+
+sysrc ympd_enable=YES
+service ympd start
+
+You may optionally configure additional flags for the daemon:
+
+sysrc ympd_flags="--webport localhost:9000 --user=nobody"
+
+See ympd(1) for further details.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807121544.w6CFiOU6021254>