e9a8 Could anyone port sop-cast to FreeBSD? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Porting New Software

Porting New Software Having trouble or general questions about porting software to FreeBSD? Ask here.

Reply
 
Thread Tools Display Modes
  #1  
Old June 29th, 2010, 23:16
suiyuan suiyuan is offline
Junior Member
 
Join Date: Jun 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Could anyone port sop-cast to FreeBSD?

here is the page.
http://www.sopcast.com/
Reply With Quote
  #2  
Old June 29th, 2010, 23:21
zeiz's Avatar
zeiz zeiz is offline
Member
 
Join Date: Nov 2008
Location: Canada
Posts: 691
Thanks: 38
Thanked 54 Times in 52 Posts
Default

Since Skype doesn't work (at least for me) this would be great alternative!
Reply With Quote
  #3  
Old June 30th, 2010, 01:31
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

"SopServer is released for both Windows and Linux platforms, but only Windows version are released publicly and can be used free."
Reply With Quote
  #4  
Old June 30th, 2010, 02:25
suiyuan suiyuan is offline
Junior Member
 
Join Date: Jun 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by wblock View Post
"SopServer is released for both Windows and Linux platforms, but only Windows version are released publicly and can be used free."
please see here,sorry I don't know how free A FreeBSD port really need?

Quote:
Nowadays, all services provided on www.sopcast.com/www.easetuner.com are totally free. You can download all software listed below freely.

All channels shown on SopCast are published by users and only for test purpose.

All downloads (include SopPlayer and SopServer) and channel list can be copied and distributed freely for anyone. Any portion of these may not be sold, resold, or otherwise exploited for any commercial purpose that is not expressly permitted by SopCast.
Reply With Quote
  #5  
Old November 10th, 2011, 03:33
maciuszek maciuszek is offline
Junior Member
 
Join Date: Aug 2011
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default

suiyuan, im confused do you want it ported as in a FreeBSD binary? or just want a port for it. I couldn't find the source so I'm assuming it's closed source, although like I primarily thought the Linux binary works fine with linux_base-f10-10_4.

I hope I'm not in violation of any licensing by doing this, to lazy to read stuff and things, but if you want a package I wrote a FreeBSD port for it.

${LOCALPORTS)/sopcast/Makefile
Code:
# New ports collection makefile for:	SopCast
# Date created:				09 November 2011
# Whom:					Macius Kuzminski <szczecinska.duma@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	sopcast
PORTVERSION=	3.2.6
CATEGORIES=	net-p2p linux 
MASTER_SITES=	http://download.easetuner.com/download/
PKGNAMEPREFIX=	linux-
DISTNAME=	sp-auth

MAINTAINER=	szczecinska.duma@gmail.com
COMMENT=	Client version of sopcast: A p2p internet tv player.

EXTRACT_SUFX=   .tgz
USE_LINUX=	yes
NO_BUILD=	yes

PORTDOCS=       Readme

OPTIONS=	MPLAYER	"Install mplayer to play tv.asf"		off \
		VLC	"Install vlc to play tv.asf"			off

.include <bsd.port.pre.mk>
.if defined(WITH_MPLAYER)
RUN_DEPENDS+=   mplayer:${PORTSDIR}/multimedia/mplayer
.endif

.if defined(WITH_VLC)
RUN_DEPENDS+=   vlc:${PORTSDIR}/multimedia/mplayer
.endif

do-install: 
	${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME:S/-/-sc-/} ${PREFIX}/bin/${DISTNAME:S/-/-sc-/}
	
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
${LOCALPORTS)/sopcast/pkg-plist
Code:
bin/sp-sc-auth
${LOCALPORTS)/sopcast/pkg-descr
Code:
SopCast is a simple, free way to broadcast video and audio or watch the video 
and listen to radio on the Internet. Adopting P2P(Peer-to-Peer) technology, It 
is very efficient and easy to use. Let anyone become a broadcaster without the 
costs of a powerful server and vast bandwidth. You can build your own TV 
stations comparable with large commercial sites with minimal resources. Using 
SopCast, you can serve 10,000 online users with a personal computer and a home 
broadband connection.

SoP is the abbreviation for Streaming over P2P. Sopcast is a Streaming Direct 
Broadcasting System based on P2P. The core is the communication protocol 
produced by Sopcast Team, which is named sop://, or SoP technology.
${LOCALPORTS)/sopcast/distinfo
Code:
SHA256 (sp-auth.tgz) = 5ca407429dd54b0c195e05f06b33f79730a5dfdb8e7b14bf96b384f9ae8391d9
SIZE (sp-auth.tgz) = 345711
only issue is that the version specified will eventually become inconsistent with the actual version of the binary since the dist tarball doesnt specify the version on it, and either DISTVERSION||PORTVERSION is manditory. This will also cause a diff hash for distinfo thereby that file is useless.

Happy sopcasting

Last edited by DutchDaemon; November 10th, 2011 at 09:01. Reason: Formatting & Style: http://forums.freebsd.org/showthread.php?t=8816 / http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #6  
Old November 10th, 2011, 17:07
maciuszek maciuszek is offline
Junior Member
 
Join Date: Aug 2011
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Makefile edit:
Code:
's/vlc:${PORTSDIR}\/multimedia\/mplayer/vlc:${PORTSDIR}\/multimedia\/vlc/'
and the entire post:
Code:
's/${LOCALPORTS)\/sopcast/${LOCALPORTS}\/linux-sopcast/g'

Last edited by DutchDaemon; November 10th, 2011 at 21:30. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
Reply

Tags
sopcast

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible cinelerra port to FreeBSD? goshanecr Porting New Software 28 November 17th, 2011 13:00
port FreeBSD to ARMv9 architecture nikx0717 Embedded 1 May 24th, 2010 03:51
[Solved] FreeBSD Port-Forwarding With PF? markcoker Firewalls 8 April 4th, 2010 21:53
Testing a FreeBSD port jack63ss Installation and Maintenance of FreeBSD Ports or Packages 7 September 1st, 2009 08:59
Build threaded perl option, would you want to as a SOP for installing perl? johnblue Installation and Maintenance of FreeBSD Ports or Packages 1 April 12th, 2009 10:15


All times are GMT +1. The time now is 09:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0