summaryrefslogtreecommitdiff
path: root/audio/ubs
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ubs')
-rw-r--r--audio/ubs/DESCR9
-rw-r--r--audio/ubs/Makefile58
-rw-r--r--audio/ubs/PLIST16
-rw-r--r--audio/ubs/distinfo8
-rwxr-xr-xaudio/ubs/files/ubs.sh19
-rw-r--r--audio/ubs/patches/patch-aa22
-rw-r--r--audio/ubs/patches/patch-ab25
-rw-r--r--audio/ubs/patches/patch-ac17
8 files changed, 0 insertions, 174 deletions
diff --git a/audio/ubs/DESCR b/audio/ubs/DESCR
deleted file mode 100644
index 0881962fbb1..00000000000
--- a/audio/ubs/DESCR
+++ /dev/null
@@ -1,9 +0,0 @@
-The Uninterrupted Broadcasting System (UBS) is a program designed to run the
-operations of a radio station when a DJ isn't in house. This includes playing
-station ID's, public service announcements, and songs. This program is
-similar in function (but not design nor implementation) to DRS 2006.
-
-The UBS was not intended to be used for webcasting, but it could presumably
-be adapted for this purpose. The intended audience of the UBS is smaller
-college/high school/commercial radio stations which wish to do unattended
-broadcasting via a stable and reliable computer daemon.
diff --git a/audio/ubs/Makefile b/audio/ubs/Makefile
deleted file mode 100644
index 41d52c3bad3..00000000000
--- a/audio/ubs/Makefile
+++ /dev/null
@@ -1,58 +0,0 @@
-# $NetBSD: Makefile,v 1.13 2007/02/22 19:26:07 wiz Exp $
-#
-
-DISTNAME= ubs-0.17
-PKGREVISION= 3
-CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-# author's new home may be at http://www.teragon.org
-# HOMEPAGE= http://aboleo.net/software/ubs/
-COMMENT= Uninterrupted Broadcasting System
-
-GNU_CONFIGURE= yes
-
-RCD_SCRIPTS= ubs
-PKG_SYSCONFSUBDIR= ubs
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
-
-.include "../../mk/bsd.prefs.mk"
-
-BUILD_DEFS+= UBS_BASEDIR UBS_USER UBS_GROUP
-
-UBS_BASEDIR?= /var/spool/ubs
-UBS_USER?= ubs
-UBS_GROUP?= ubs
-
-PKG_GROUPS= ${UBS_GROUP}
-PKG_USERS= ${UBS_USER}:${UBS_GROUP}
-FILES_SUBST+= PREFIX=${PREFIX:Q}
-FILES_SUBST+= UBS_USER=${UBS_USER:Q}
-FILES_SUBST+= UBS_GROUP=${UBS_GROUP:Q}
-
-OWN_DIRS_PERMS= ${UBS_BASEDIR} ${UBS_USER} ${UBS_GROUP} 0750
-OWN_DIRS_PERMS+= ${UBS_BASEDIR}/var ${UBS_USER} ${UBS_GROUP} 0750
-OWN_DIRS_PERMS+= ${UBS_BASEDIR}/log ${UBS_USER} ${UBS_GROUP} 0750
-
-EGDIR= ${PREFIX}/share/examples/ubs
-CONF_FILES= ${EGDIR}/help.conf ${PKG_SYSCONFDIR}/help.conf
-CONF_FILES+= ${EGDIR}/ubs.conf.default ${PKG_SYSCONFDIR}/ubs.conf
-
-SUBST_CLASSES+= ubsconf
-SUBST_STAGE.ubsconf= pre-configure
-SUBST_MESSAGE.ubsconf= Fixing path to ubs.conf.
-SUBST_FILES.ubsconf= include/defaults.h
-SUBST_SED.ubsconf= -e 's,"etc/ubs.conf","${PKG_SYSCONFDIR}/ubs.conf",'
-
-post-extract:
- ${MV} ${WRKSRC}/config/ubs.conf.default \
- ${WRKSRC}/config/ubs.conf.default.in
-
-pre-configure:
- ${SED} -e "s,@UBS_BASEDIR@,${UBS_BASEDIR},g" \
- ${WRKSRC}/config/ubs.conf.default.in > \
- ${WRKSRC}/config/ubs.conf.default
-
-.include "../../audio/libvorbis/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/audio/ubs/PLIST b/audio/ubs/PLIST
deleted file mode 100644
index b87ba4f5712..00000000000
--- a/audio/ubs/PLIST
+++ /dev/null
@@ -1,16 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2005/05/02 20:33:57 reed Exp $
-bin/ubs
-bin/ubs-event
-bin/ubs-play
-bin/ubs-sched
-include/defaults.h
-include/ubs-event.h
-include/ubs-main.h
-include/ubs-play.h
-include/ubs-sched.h
-include/ubs.h
-lib/libubs.a
-share/examples/rc.d/ubs
-share/examples/ubs/help.conf
-share/examples/ubs/ubs.conf.default
-@dirrm share/examples/ubs
diff --git a/audio/ubs/distinfo b/audio/ubs/distinfo
deleted file mode 100644
index 2abcc92de2e..00000000000
--- a/audio/ubs/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.3 2006/07/02 09:53:00 rillig Exp $
-
-SHA1 (ubs-0.17.tar.gz) = f0f67d437e4c5c7026b2f05d1aaff53688eb3253
-RMD160 (ubs-0.17.tar.gz) = 4e0e46bb8346f0c86989b0b33973000bbb86f1aa
-Size (ubs-0.17.tar.gz) = 372222 bytes
-SHA1 (patch-aa) = 4a5690fa3e7a8dc1dc50329bf844199575a09319
-SHA1 (patch-ab) = 88d06fca850e7bf2d38ad587021e4352c96cc89b
-SHA1 (patch-ac) = af22e0ca907b22eedb86e79ce2e81e4fb87283e9
diff --git a/audio/ubs/files/ubs.sh b/audio/ubs/files/ubs.sh
deleted file mode 100755
index 27edd42c58a..00000000000
--- a/audio/ubs/files/ubs.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: ubs.sh,v 1.1.1.1 2004/04/05 11:46:11 xtraeme Exp $
-#
-
-# PROVIDE: ubs
-# REQUIRE: DAEMON LOGIN
-
-. /etc/rc.subr
-
-name="ubs"
-rcvar=$name
-command="@PREFIX@/bin/${name}"
-required_files="@PKG_SYSCONFDIR@/ubs.conf"
-ubs_user="@UBS_USER@"
-ubs_group="@UBS_GROUP@"
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/audio/ubs/patches/patch-aa b/audio/ubs/patches/patch-aa
deleted file mode 100644
index f849cf94d5e..00000000000
--- a/audio/ubs/patches/patch-aa
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/04/05 11:46:11 xtraeme Exp $
-
---- Makefile.in.orig 2003-10-31 05:49:58.000000000 +0100
-+++ Makefile.in 2003-10-31 05:50:52.000000000 +0100
-@@ -517,14 +517,11 @@
-
-
- install-data-local:
-- $(mkinstalldirs) $(prefix)/etc
- $(mkinstalldirs) $(prefix)/include
-- $(mkinstalldirs) $(prefix)/log
-- $(mkinstalldirs) $(prefix)/tmp
-- $(mkinstalldirs) $(prefix)/var
-+ $(mkinstalldirs) $(datadir)/examples/ubs
-
-- $(INSTALL_DATA) config/help.conf $(prefix)/etc
-- $(INSTALL_DATA) config/ubs.conf.default $(prefix)/etc
-+ $(INSTALL_DATA) config/help.conf $(datadir)/examples/ubs
-+ $(INSTALL_DATA) config/ubs.conf.default $(datadir)/examples/ubs
-
- $(INSTALL_DATA) include/*.h $(prefix)/include
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/audio/ubs/patches/patch-ab b/audio/ubs/patches/patch-ab
deleted file mode 100644
index 810c4eab6f0..00000000000
--- a/audio/ubs/patches/patch-ab
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2004/04/05 11:46:11 xtraeme Exp $
-
---- config/ubs.conf.default.in.orig 2003-10-31 06:22:19.000000000 +0100
-+++ config/ubs.conf.default.in 2003-10-31 06:22:44.000000000 +0100
-@@ -22,16 +22,16 @@
- ## These settings are parsed by all UBS daemons
-
- # Where the UBS filetree is located
--# global.prefix = "/usr/local/ubs"
-+global.prefix = "@UBS_BASEDIR@"
-
- # The default location to queue to
--# global.queue = "var/queue"
-+global.queue = "var/queue"
-
- # Location of the error log
--# global.errorlog = "log/error.log"
-+global.errorlog = "log/error.log"
-
- # Location of the playlist log
--# global.songlog = "log/playlist.log"
-+global.songlog = "log/playlist.log"
-
- # Amount of information to put in the UBS logs. The scale is:
- # 0 -> Emergency information only
diff --git a/audio/ubs/patches/patch-ac b/audio/ubs/patches/patch-ac
deleted file mode 100644
index fa1f21e51a7..00000000000
--- a/audio/ubs/patches/patch-ac
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2006/07/02 09:53:00 rillig Exp $
-
-Fixed the way the pathname of the configuration file is built up.
-
---- lib/read_config.c.orig 2003-10-26 04:36:51.000000000 +0100
-+++ lib/read_config.c 2006-07-02 09:02:07.000000000 +0200
-@@ -52,8 +52,8 @@ int read_config(char *fname, char *secti
- int bad = NO, line_ct = 0, res;
-
- if(fname == NULL) {
-- snprintf(buf, STRBUF, "%s/%s", ubs_table_data(&GLOBAL, "prefix"), DEF_CONFIG);
-- if((config_fp = fopen(buf, "r")) == NULL) {
-+ fname = DEF_CONFIG;
-+ if((config_fp = fopen(fname, "r")) == NULL) {
- return NO_FILE;
- }
- }