forked from erlyvideo/flussonic-old
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
version 3.51
- Loading branch information
1 parent
d42005d
commit d22f62a
Showing
11 changed files
with
226 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
flussonic (3.51) unstable; urgency=low | ||
|
||
* Initial Release. | ||
|
||
-- Max Lapshin <max@maxidoors.ru> Mon, 8 Oct 2012 17:49:54 +0300 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Source: flussonic | ||
Priority: extra | ||
Author: Max Lapshin <info@erlyvideo.org> | ||
Maintainer: Max Lapshin <info@erlyvideo.org> | ||
Build-Depends: debhelper (>= 7), erlang-nox (>= 1:15) | erlang (>= 1:15), erlang-dev, make, gcc, rebar | ||
Standards-Version: 3.8.3 | ||
Section: net | ||
Homepage: http://erlyvideo.org/ | ||
|
||
Package: flussonic | ||
Section: net | ||
Homepage: http://erlyvideo.org/ | ||
Depends: ${shlibs:Depends}, ${misc:Depends}, erlang-nox (>= 1:15) | erlang (>= 1:15) | ||
Description: Flussonic (former erlyvideo) is a videostreaming server in Erlang | ||
It can stream RTSP, RTMP, MPEG-TS, HDS, HLS, etc. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
#!/usr/bin/make -f | ||
# -*- makefile -*- | ||
# Sample debian/rules that uses debhelper. | ||
# This file was originally written by Joey Hess and Craig Small. | ||
# As a special exception, when this file is copied by dh-make into a | ||
# dh-make output file, you may use that output file without restriction. | ||
# This special exception was added by Craig Small in version 0.37 of dh-make. | ||
|
||
# Uncomment this to turn on verbose mode. | ||
#export DH_VERBOSE=1 | ||
|
||
|
||
|
||
|
||
|
||
|
||
# shared library versions, option 1 | ||
version=2.0.5 | ||
major=2 | ||
# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so | ||
#version=`ls src/.libs/lib*.so.* | \ | ||
# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` | ||
#major=`ls src/.libs/lib*.so.* | \ | ||
# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` | ||
|
||
configure: configure-stamp | ||
configure-stamp: | ||
dh_testdir | ||
# Add here commands to configure the package. | ||
|
||
touch configure-stamp | ||
|
||
|
||
build: build-stamp | ||
build-stamp: configure-stamp | ||
dh_testdir | ||
|
||
# Add here commands to compile the package. | ||
$(MAKE) | ||
|
||
touch $@ | ||
|
||
clean: | ||
dh_testdir | ||
dh_testroot | ||
rm -f build-stamp configure-stamp | ||
|
||
# Add here commands to clean up after the build process. | ||
$(MAKE) clean | ||
|
||
dh_clean | ||
|
||
install: build | ||
dh_testdir | ||
dh_testroot | ||
dh_prep | ||
dh_installdirs | ||
|
||
# Add here commands to install the package into debian/tmp | ||
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install | ||
|
||
|
||
# Build architecture-independent files here. | ||
binary-indep: install | ||
erl -make | ||
# We have nothing to do by default. | ||
|
||
# Build architecture-dependent files here. | ||
binary-arch: install | ||
dh_testdir | ||
dh_testroot | ||
dh_installchangelogs | ||
dh_installdocs | ||
dh_installexamples | ||
# dh_install | ||
# dh_installmenu | ||
# dh_installdebconf | ||
# dh_installlogrotate | ||
# dh_installemacsen | ||
# dh_installpam | ||
# dh_installmime | ||
# dh_installinit | ||
# dh_installcron | ||
# dh_installinfo | ||
dh_installman | ||
dh_link | ||
dh_strip | ||
dh_compress | ||
dh_fixperms | ||
# dh_perl | ||
# dh_python | ||
# dh_makeshlibs | ||
dh_installdeb | ||
dh_shlibdeps | ||
dh_gencontrol | ||
dh_md5sums | ||
dh_builddeb | ||
|
||
binary: binary-indep binary-arch | ||
.PHONY: build clean binary-indep binary-arch binary install configure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
%define user flussonic | ||
%define group flussonic | ||
|
||
Summary: Flussonic multiprotocol streaming server | ||
Name: flussonic | ||
Version: 3.51 | ||
Release: 3%{?dist} | ||
License: GPL | ||
Group: Network | ||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||
Source: http://debian.erlyvideo.org/tgz/flussonic-%{version}.tar.gz | ||
URL: http://erlyvideo.org/ | ||
BuildRequires: erlang, ruby | ||
Requires: erlang | ||
|
||
|
||
%description | ||
Flussonic is a multiprotocol opensource videostreaming server | ||
written with efficiency in mind | ||
|
||
|
||
%prep | ||
%setup -q | ||
|
||
|
||
%build | ||
make | ||
|
||
|
||
%pre | ||
%{_sbindir}/groupadd %{group} | ||
%{_sbindir}/useradd -g %{group} -c "flussonic User" -d %{_localstatedir}/lib/%{name} -r -m %{user} 2>/dev/null || : | ||
|
||
|
||
%install | ||
rm -rf %{buildroot} | ||
|
||
# Ownership will be changed after package install (see "post" section) | ||
# So we comment it out in Makefile "install" section | ||
sed -i 's|chown|#chown|' Makefile | ||
|
||
# Also, init-script for RHEL/Centos MUST be installed to /etc/rc.d/init.d instead of /etc/init.d | ||
# Otherwise there will be conflict with chkconfig package | ||
sed -i 's|/etc/init.d/|/etc/rc.d/init.d/|' Makefile | ||
|
||
make DESTROOT=%{buildroot} install | ||
|
||
|
||
%post | ||
/sbin/chkconfig --add %{name} | ||
/sbin/chkconfig %{name} on | ||
|
||
|
||
%files | ||
%defattr(-, root, root) | ||
%{_bindir}/* | ||
%{_libdir}/erlang | ||
%{_initrddir}/%{name} | ||
%config(noreplace) %{_sysconfdir}/%{name} | ||
%doc README.md | ||
%attr(-, %{user}, %{group}) %{_localstatedir}/lib/%{name} | ||
%attr(-, %{user}, %{group}) %{_localstatedir}/log/%{name} | ||
%attr(-, %{user}, %{group}) %{_localstatedir}/cache/%{name} | ||
|
||
|
||
%clean | ||
rm -rf %{buildroot} | ||
|
||
|
||
%changelog | ||
* Mon Oct 8 2012 Max Lapshin <info@erlyvideo.org> - 3.51 | ||
- Initial build |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh | ||
|
||
|
||
if [ ! -f /etc/apt/sources.list.d/backports.list ] ; then | ||
echo "deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free" > /etc/apt/sources.list.d/backports.list | ||
fi | ||
|
||
if [ ! -f /etc/apt/sources.list.d/sid.list ] ; then | ||
echo "deb http://mirrors.kernel.org/debian/ sid main" > /etc/apt/sources.list.d/sid.list | ||
fi | ||
|
||
apt-get update | ||
apt-get -y install erlang-nox rebar build-essential | ||
|
||
|