Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45501 - Ebuild for peercast (new package)
Summary: Ebuild for peercast (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Sound Team
URL: http://www.peercast.org/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-03-23 07:45 UTC by Pol
Modified: 2004-10-07 03:05 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
An ebuild file for peercast package (peercast-01202.ebuild,513 bytes, text/plain)
2004-03-23 09:05 UTC, Andrej Kacian (RETIRED)
Details
media-sound/peercast-0.1208.ebuild (peercast-0.1208.ebuild,1.28 KB, text/plain)
2004-05-07 10:34 UTC, Per Wigren
Details
files/peercast.init (peercast.init,688 bytes, text/plain)
2004-05-07 10:35 UTC, Per Wigren
Details
files/peercast.init (peercast,662 bytes, text/plain)
2004-05-07 11:00 UTC, Per Wigren
Details
files/peercast.init (peercast,665 bytes, text/plain)
2004-05-09 06:54 UTC, Per Wigren
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pol 2004-03-23 07:45:47 UTC
PeerCast.org was established in April 2002 as a non-profit site providing free peer-to-peer broadcasting software. The aim of the project is to create an easy to use, simple and reliable software client that enables anyone to broadcast streaming media on the Internet without the need for expensive servers or bandwidth. 


PeerCast offers considerable savings for broadcasters because they do not have to provide bandwidth for all of their listeners. A single 56K modem can be used to broadcast to the entire network.


PeerCast is a robust network because there is no central server, each user can be a client, server or broadcaster of streams. It offers anonymity for broadcasters because there is no easy way to trace back to the original stream, it is even possible to broadcast directly to a single client located in a different country and have that provide the source for the entire network.


PeerCast can also serve streams directly to any media player. This means that it can be used in place of a Shoutcast/Icecast server to provide both direct and P2P streaming at the same time. 


It works in much the same way as other P2P fileshare clients except that instead of downloading files, the users download streams. These streams are then exchanged in real-time with other users. No data is stored locally on any machine connected to the network.


The client software has the ability to serve web pages to normal browsers such as Mozilla and Internet Explorer. This means that people on your LAN can search for and listen to channels without having to install the client software on their PC. Offices can have one PeerCast client providing audio streams to the entire LAN. Or you can set up a private network with your friends on the Internet to listen to music. Its your choice about whether you connect directly to the PeerCast network or not.


We currently have Windows? and Linux clients available for download here. 
 A Mac version is on its way.


Features:

Support for MP3, OGG Vorbis, WMA, WMV and NSV.
WinAmp2.x plug-in support 
HTML (Linux/Windows) and Windows task-bar icon interface
Remote configuration via any web browser
Extremely low memory footprint and CPU load
One click streaming - click on any peercast:// URL to start listening?
Direct streaming - PeerCast can act as a standard streaming server such as Shoutcast/Icecast to provide both direct and P2P streaming.
Multiple broadcasting - use mount points to broadcast multiple channels from the same server
Anonymous broadcasting - clients do not tell each other if they are the source or just listening
Remote broadcasting - broadcast to a client located on another machine anywhere on the Internet
Icecast/Icecast2/SHOUTcast/WindowMedia streaming support including relaying from external sources.
Support for all popular media players, WinAmp, XMMS etc..
Fully decentralized - any PeerCast client can be used to setup a private relay or provide connection bases to the main network
Security settings to control access rights for Connections/Broadcasting/Admin etc..
IP address filtering and banning
Custom settings to limit bandwidth and the number of connections in/out
Does not require incoming ports to be configured
 Full support for ICY-Metadata (MP3) and OGG Vorbis comment headers for title/artist/song display
 One-click play for any channel straight from the Taskbar icon 
Favorite channels list allowing almost instant reconnection to your channels
Freeware, not ad/spy ware
Open source
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2004-03-23 09:05:58 UTC
Created attachment 27859 [details]
An ebuild file for peercast package

Here is the ebuild, now let's hope it will catch some dev's eye sometimes soon
and they will include it into the portage.
(See attached ebuild)

BTW, I've played a bit with this piece of software and it looks very good!
Comment 2 Per Wigren 2004-05-07 10:32:08 UTC
Here is my IMHO MUCH better PeerCast ebuild! ;)

Features:
* peercast init.d-script (start peercast at boot-time!;)
* Run as user "peercast" if started with init.d/peercast
* AMD64-support using emul-linux-x86-baselibs
* Install in /opt/peercast instead of /usr since it's binary-only.
* The previous ebuild didn't even work because it didn't install the required html-files.
* /opt/bin/peercast script that set LD_LIBRARY_PATH on AMD64 and run peercast in the correct directory

Only tested on AMD64 but should work on plain X86 since it's a 32-bin binary. :)
Comment 3 Per Wigren 2004-05-07 10:34:38 UTC
Created attachment 30949 [details]
media-sound/peercast-0.1208.ebuild
Comment 4 Per Wigren 2004-05-07 10:35:11 UTC
Created attachment 30950 [details]
files/peercast.init
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2004-05-07 10:41:40 UTC
Hm, some more tweaking may be needed for x86:

# /etc/init.d/peercast start
 * Starting peercast...
cat: /proc/sys/abi/vsyscall32: Adres
Comment 6 Andrej Kacian (RETIRED) gentoo-dev 2004-05-07 10:41:40 UTC
Hm, some more tweaking may be needed for x86:

# /etc/init.d/peercast start
 * Starting peercast...
cat: /proc/sys/abi/vsyscall32: Adresár alebo súbor neexistuje
/sbin/runscript.sh: line 13: [: too many arguments                        [ ok ]
Comment 7 Per Wigren 2004-05-07 11:00:23 UTC
Created attachment 30954 [details]
files/peercast.init

hmm.. Try this one instead!
Comment 8 Andrej Kacian (RETIRED) gentoo-dev 2004-05-08 16:34:35 UTC
One bug still remains:

# /etc/init.d/peercast start
 * Re-caching dependency info (mtimes differ)...
 * Starting peercast...
/sbin/runscript.sh: line 13: [: too many arguments                        [ ok ]
Comment 9 Per Wigren 2004-05-09 06:54:26 UTC
Created attachment 31047 [details]
files/peercast.init

Ok, THIS one should work... *g*
Comment 10 Andrej Kacian (RETIRED) gentoo-dev 2004-05-31 06:09:11 UTC
Yes, this one finally works here. :)
Comment 11 Andrej Kacian (RETIRED) gentoo-dev 2004-07-10 03:55:26 UTC
There is a new version available, 0.1210. Just a version bump is needed, current ebuild and initscript do work.
Comment 12 Christian Parpart (RETIRED) gentoo-dev 2004-10-07 03:05:08 UTC
* fixed copyright headers
* peercast.init: introduced dedicated ia32 awareness test function. please test.
* changed peercast.sh creation method. please test.
* renamed ebuild to use release 1210.
* removed user peercast (run as nobody instead).

please test ebuild when avail on rsync mirrors :)