summaryrefslogtreecommitdiff
path: root/media-sound/daudio
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/daudio')
-rw-r--r--media-sound/daudio/Manifest7
-rw-r--r--media-sound/daudio/daudio-0.3-r1.ebuild44
-rw-r--r--media-sound/daudio/files/daudio-0.3-makefile.patch50
-rw-r--r--media-sound/daudio/files/daudio-0.3-musl-stdint.patch82
-rw-r--r--media-sound/daudio/files/daudio-0.3-qa-implicit-declarations.patch98
-rw-r--r--media-sound/daudio/files/daudio.rc19
-rw-r--r--media-sound/daudio/metadata.xml11
7 files changed, 0 insertions, 311 deletions
diff --git a/media-sound/daudio/Manifest b/media-sound/daudio/Manifest
deleted file mode 100644
index 93f847cb0e50..000000000000
--- a/media-sound/daudio/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX daudio-0.3-makefile.patch 1683 BLAKE2B a1b54557e238fbe0d727948a0594e1e142d852362bd35da25a8b2be0106884666bb4d88783f6fff202f83a1545f27f52ee88ec34075ff2b4940d89538533f985 SHA512 4ca11073dcfef61fede2cdb7d99be6f3ec7d6c3c8e587faf33c6e06c4468c8e25b4726aa66ba119fc871c4930b42accff331db9a4bd76cac37f56a15c32bc5aa
-AUX daudio-0.3-musl-stdint.patch 2400 BLAKE2B 4c90dfdb97bc1f82249e83817b1b257121be451a9a4f357d62cd246f501873c0484bdd58139b2c5668f6850f3346d5853ddb3d30b0ca3e8a516e12ad2fe6720b SHA512 e6650407a2d2ce35ba0ac99ba2e4344041d92c341faa5c63d88d1f00654eee5a66c7206abb8e240b3c6b15fc5e7d215c2cf41b30f1fa5bb5b87842673f4b33cc
-AUX daudio-0.3-qa-implicit-declarations.patch 1980 BLAKE2B d31a67d6234c667e726907cdf41f18b2ea0e7dbf88d0a13fedae9690327fa6450f3bd2d3f46b5f387997e1dbdf0c40a910026b2260b0c1dcda9cd1c74ef3602d SHA512 0da091005e36825ef0f35e4029e48781a23d2c8ab00af33528de4999dcb7d2e98006b2623852ab7cadd6e129d1847a6a85f8f60b7340c755939d9fa45d094a5e
-AUX daudio.rc 425 BLAKE2B 6859ce9adb4668ce7528f9371272dfab206f2bb4880819995634b88c1c3902edbd49c3e84ceb8c4abbec84be5cadb547ee44e9ed462cc27ee928060d2c738a6b SHA512 c6f816faeac497e31365d9bf7b2c37c4c8688d88820c0dbc9e4819be13119e477cc3aea2fe3ca249d82b8d84ebb485d9516f0b93180a7c756d573dcb5f1e1900
-DIST daudio-0.3.tar.gz 76683 BLAKE2B da8c674be38224153af26b6a690a0fe23c4d24e90422260799657ff80242d2c8baaa2de85603d68e8daf6e880335fe84dc7467f10571590814b647aa65f88e9b SHA512 63266348c8235b09efb6958646b003a5e7ae1cfd7d97aeff928ed8e7b9ffc71666c0bcd93ee89db6c28cae5019056748631e9fef850ebf6ead7aefecc3037e3c
-EBUILD daudio-0.3-r1.ebuild 969 BLAKE2B a09155ebd85a55af1cd96275420c140df4dc09ad5f2c31405ac7eab4d4964894152f970629bf781c82e00009d74d4b1cd4766a71d85fc3f770a9b640fcbaf8fc SHA512 8baea552ab484c52c826d63b70ede6b6700f184ec898f5cb4aa79ba1a8255fcf9ffb3733a0a030a2dfdd578bc549e0580d26293dcdfd7f16d8f6d1d049581b1b
-MISC metadata.xml 330 BLAKE2B 7bed91ca8797a4ad2fc012fb6595d192706c46e66aa9b95ee32a5dcc46d15e1a394e29d4db0a950581206bf83e412bc14e3deb38cc19085c6f13bf510f2efc14 SHA512 967eef88ca746c0cd9c18a6eac7c65597fdb872e3ea1897848c6c92d150b0a73bb64c1e105f51b3a78a96e7003dcd771700dd2340b2ceee53f3b5ce73dff90dc
diff --git a/media-sound/daudio/daudio-0.3-r1.ebuild b/media-sound/daudio/daudio-0.3-r1.ebuild
deleted file mode 100644
index 4c1b0fe4036f..000000000000
--- a/media-sound/daudio/daudio-0.3-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="Distributed audio on the local network"
-HOMEPAGE="https://daudio.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-# -sparc: 0.3: static audio on local daemon. No audio when client connects to amd64 daemon
-KEYWORDS="amd64 ~ppc -sparc x86"
-
-DEPEND=">=media-libs/libmad-0.15.0b-r1"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${P}-makefile.patch"
- "${FILESDIR}/${P}-qa-implicit-declarations.patch"
- "${FILESDIR}/${P}-musl-stdint.patch"
-)
-
-src_prepare() {
- # fix #570582 by restoring pre-GCC5 inline semantics
- append-cflags -std=gnu89
-
- tc-export CC
- default
-}
-
-src_compile() {
- emake -C client
- emake -C server
- emake -C streamer
-}
-
-src_install() {
- dobin client/daudioc server/daudiod streamer/dstreamer
- newinitd "${FILESDIR}"/daudio.rc daudio
- dodoc doc/*
-}
diff --git a/media-sound/daudio/files/daudio-0.3-makefile.patch b/media-sound/daudio/files/daudio-0.3-makefile.patch
deleted file mode 100644
index 28f1215f7c94..000000000000
--- a/media-sound/daudio/files/daudio-0.3-makefile.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-Index: daudio-0.3/client/Makefile
-===================================================================
---- daudio-0.3.orig/client/Makefile
-+++ daudio-0.3/client/Makefile
-@@ -13,10 +13,10 @@ install: $(PROG)
- install -c -m755 --owner=0 --group=0 -b -D daudioc $(PREFIX)/bin/daudioc
-
- debug: $(SRCS)
-- gcc $(DEFINES) -DDEBUG $(INCLUDES) $(LIBS) -o $(PROG) $^
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -DDEBUG $(INCLUDES) -o $(PROG) $^ $(LIBS)
-
- $(PROG): $(SRCS)
-- gcc $(DEFINES) $(INCLUDES) $(LIBS) -o $@ $^
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) $(INCLUDES) -o $@ $^ $(LIBS)
-
- clean:
- rm -f $(PROG)
-Index: daudio-0.3/server/Makefile
-===================================================================
---- daudio-0.3.orig/server/Makefile
-+++ daudio-0.3/server/Makefile
-@@ -10,13 +10,13 @@ PREFIX = /usr/local
- all: $(SBINS)
-
- debug: $(SRCS)
-- gcc -g $(DEFINES) $(INCLUDES) $(LIBS) -o daudiod $^
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) $(INCLUDES) -o daudiod $^ $(LIBS)
-
- install: $(SBINS)
- install -c -m755 --owner=0 --group=0 -b -D daudiod $(PREFIX)/bin/daudiod
-
- $(SBINS): $(SRCS)
-- gcc $(DEFINES) $(INCLUDES) $(LIBS) -o $@ $^
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) $(INCLUDES) -o $@ $^ $(LIBS)
-
- clean:
- rm -f $(SBINS)
-Index: daudio-0.3/streamer/Makefile
-===================================================================
---- daudio-0.3.orig/streamer/Makefile
-+++ daudio-0.3/streamer/Makefile
-@@ -12,7 +12,7 @@ install: $(SBINS)
- install -c -m755 --owner=0 --group=0 -b -D dstreamer $(PREFIX)/bin/dstreamer
-
- $(SBINS): $(SRCS)
-- gcc $(DEFINES) $(INCLUDES) $(LIBS) -o $@ $^
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) $(INCLUDES) -o $@ $^ $(LIBS)
-
- clean:
- rm -f $(SBINS)
diff --git a/media-sound/daudio/files/daudio-0.3-musl-stdint.patch b/media-sound/daudio/files/daudio-0.3-musl-stdint.patch
deleted file mode 100644
index ff70b900d1f8..000000000000
--- a/media-sound/daudio/files/daudio-0.3-musl-stdint.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-https://bugs.gentoo.org/715246
---- a/client/net.c
-+++ b/client/net.c
-@@ -20,6 +20,7 @@
- #include <sys/socket.h>
- #include <netinet/in.h>
- #include <stdio.h>
-+#include <stdint.h>
- #include <errno.h>
- #include <unistd.h>
- #include <fcntl.h>
-@@ -69,7 +70,7 @@ int netinit(char *hostname, int port) {
- }
- net_raddr.sin_family = AF_INET;
- net_raddr.sin_port = htons(port);
-- net_raddr.sin_addr.s_addr = *((u_int32_t *) host->h_addr);
-+ net_raddr.sin_addr.s_addr = *((uint32_t *) host->h_addr);
- return(s);
- }
-
---- a/server/bcast.c
-+++ b/server/bcast.c
-@@ -21,6 +21,7 @@
- #include <sys/socket.h>
- #include <netinet/in.h>
- #include <stdio.h>
-+#include <stdint.h>
-
- #include "../common/port.h"
- #include "timer.h"
-@@ -75,11 +76,11 @@ int b_init(void) {
-
- addr.sin_family = AF_INET;
- addr.sin_port = htons(BROADCASTPORT_D);
-- addr.sin_addr.s_addr = (u_int32_t) INADDR_ANY;
-+ addr.sin_addr.s_addr = (uint32_t) INADDR_ANY;
-
- baddr.sin_family = AF_INET;
- baddr.sin_port = htons(BROADCASTPORT_C);
-- baddr.sin_addr.s_addr = (u_int32_t) INADDR_BROADCAST;
-+ baddr.sin_addr.s_addr = (uint32_t) INADDR_BROADCAST;
-
- if(bind(b_sock, (struct sockaddr *) &addr, sizeof(struct sockaddr_in)) == -1)
- return(-1);
---- a/server/local.c
-+++ b/server/local.c
-@@ -21,6 +21,7 @@
- #include <unistd.h>
- #include <mad.h>
- #include <stdio.h>
-+#include <stdint.h>
- #include <string.h>
- #include <errno.h>
- #include <fcntl.h>
-@@ -207,7 +208,7 @@ int l_init(void) {
-
- addr.sin_family = AF_INET;
- addr.sin_port = htons(LISTENPORT);
-- addr.sin_addr.s_addr = (u_int32_t) INADDR_ANY;
-+ addr.sin_addr.s_addr = (uint32_t) INADDR_ANY;
-
- if(bind(*s, (struct sockaddr *) &addr, sizeof(struct sockaddr_in)) == -1)
- return(-1);
---- a/streamer/streamer.c
-+++ b/streamer/streamer.c
-@@ -25,6 +25,7 @@
- #include <sys/socket.h>
- #include <unistd.h>
- #include <stdio.h>
-+#include <stdint.h>
- #include <stdlib.h>
- #include <sys/types.h>
- #include <sys/stat.h>
-@@ -129,7 +130,7 @@ int main(int argc, char *argv[]) {
- }
- addr.sin_family = AF_INET;
- addr.sin_port = htons(LISTENPORT);
-- addr.sin_addr.s_addr = (u_int32_t) htonl(INADDR_LOOPBACK);
-+ addr.sin_addr.s_addr = (uint32_t) htonl(INADDR_LOOPBACK);
-
- if(connect(s, (struct sockaddr *) &addr, sizeof(struct sockaddr_in)) == -1) {
- perror("Failed to connect to localhost:5555");
diff --git a/media-sound/daudio/files/daudio-0.3-qa-implicit-declarations.patch b/media-sound/daudio/files/daudio-0.3-qa-implicit-declarations.patch
deleted file mode 100644
index d60be6f64e68..000000000000
--- a/media-sound/daudio/files/daudio-0.3-qa-implicit-declarations.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-Fix implicit declarations, such as:
-
-main.c: In function ‘main’:
-main.c:45:2: warning: incompatible implicit declaration of built-in function ‘exit’
- exit(1);
- ^
---- daudio-0.3/client/main.c
-+++ daudio-0.3/client/main.c
-@@ -22,6 +22,7 @@
- #include <sys/types.h>
- #include <unistd.h>
- #include <sched.h>
-+#include <stdlib.h>
-
- int main(int argc, char **argv) {
- int s;
-@@ -50,7 +51,7 @@
-
- /* drop priveledges */
- uid = getuid();
-- seteuid(uid);
-+ if(seteuid(uid)){};
-
- set_default_options(void);
-
---- daudio-0.3/client/net.c
-+++ daudio-0.3/client/net.c
-@@ -27,6 +27,7 @@
- #include <asm/unistd.h>
- #include <mad.h>
- #include <pthread.h>
-+#include <stdlib.h>
-
- #include "net.h"
- #include "../common/frame.h"
---- daudio-0.3/server/local.c
-+++ daudio-0.3/server/local.c
-@@ -25,6 +25,7 @@
- #include <errno.h>
- #include <fcntl.h>
- #include <netinet/in.h>
-+#include <stdlib.h>
-
- #include "timer.h"
- #include "data.h"
-@@ -71,7 +72,7 @@
-
- /* drop priveleges */
- uid = getuid();
-- seteuid(uid);
-+ if(seteuid(uid)){};
-
- current = bigbuf.buffer;
-
---- daudio-0.3/server/main.c
-+++ daudio-0.3/server/main.c
-@@ -25,6 +25,7 @@
- #include <sys/types.h>
- #include <unistd.h>
- #include <signal.h>
-+#include <stdlib.h>
-
- int main () {
- int r;
-@@ -40,19 +41,19 @@
- uid = getuid();
- r = d_init();
- if(r == -1) {
-- seteuid(uid);
-+ if(seteuid(uid)){};
- perror("d_init failed");
- exit(1);
- }
- r = b_init();
- if(r == -1) {
-- seteuid(uid);
-+ if(seteuid(uid)){};
- perror("b_init failed");
- exit(1);
- }
- r = t_init();
- /* drop priveleges */
-- seteuid(uid);
-+ if(seteuid(uid)){};
- if(r == -1) {
- perror("t_init failed");
- exit(1);
---- daudio-0.3/server/timer.c
-+++ daudio-0.3/server/timer.c
-@@ -124,7 +124,7 @@
-
- /* drop priveleges */
- uid = getuid();
-- seteuid(uid);
-+ if(seteuid(uid)){};
-
- mytimer.it_value.tv_sec = 0;
- mytimer.it_value.tv_usec = 0;
diff --git a/media-sound/daudio/files/daudio.rc b/media-sound/daudio/files/daudio.rc
deleted file mode 100644
index 5f934107051a..000000000000
--- a/media-sound/daudio/files/daudio.rc
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- use net
-}
-
-start() {
- ebegin "Starting daudio"
- start-stop-daemon --start --quiet --background --make-pidfile --pidfile /var/run/daudio.pid --exec /usr/bin/daudiod
- eend $?
-}
-
-stop() {
- ebegin "Stopping daudio"
- start-stop-daemon --stop --quiet --pidfile /var/run/daudio.pid
- eend $?
-}
diff --git a/media-sound/daudio/metadata.xml b/media-sound/daudio/metadata.xml
deleted file mode 100644
index 969fd5f7befa..000000000000
--- a/media-sound/daudio/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sound@gentoo.org</email>
- <name>Gentoo Sound project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">daudio</remote-id>
- </upstream>
-</pkgmetadata>