Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oscam added libusb support #234

Closed
wants to merge 23 commits into from
Closed

Oscam added libusb support #234

wants to merge 23 commits into from

Conversation

bydavy
Copy link

@bydavy bydavy commented Sep 8, 2012

Added libusb to oscam.

Compilation and execution works for x86 (didn't try for other architectures).

A thank you to schumi2004 who did the job (I just fixed a few things)

zebulon501 and others added 19 commits February 14, 2012 21:43
listen on 3128 TCP port by default
include db-4.6.21.tar.gz because it is not so easy to get it from internet
Modify routing in order to redirect port 80 to your syno on port 30080 and 443 to 30443.
If your set DDNS with <your domain> as hosname name, some subdomains are now available :
- ssh : <your domain>:443
- dsm : dsm.<your domain>, HTTP is redirected to HTTPS
- surveillance station : cam.<your domain>, set dedicated ports in DSM control pannel
- file station : file.<your domain>, set dedicated ports in DSM control pannel
- sabnzbd : sab.<your domain>
- gateone : gateone.<your domain>
- webdav : dav.<your domain>

File /usr/local/haproxy/var/haproxy.conf can be modify manualy, it will be preserved when upgrading haproxy spk.
Uninstall et reinstall haproxy spk if you want haproxy.conf to be rebuilt.
@gismo2004
Copy link

Hi, is it possible to add one line to cross/Makefile?

$(RUN) ./config.sh --disable HAVE_DVBAPI

it is not used on a NAS :-)

and a second question: Why don't you use the SVN repo for downloading? it is easier to handle the OSCAM-Versions?!

@ the moment you'll get the actual version, which is sometimes buggy?

cheers

gismo

@bydavy
Copy link
Author

bydavy commented Sep 14, 2012

I didn't changed the URL to pull oscam but we can discuss.
Using the version 1.10 which is no more supported or moving to the lastest 1.20 available even if it could be buggy ?

@gismo2004
Copy link

thx for removing dvbapi!

i would download oscam via command:

svn co http://streamboard.tv/svn/oscam/trunk oscam-svn -r $rev_number (e.g. 7412)

and the $rev_number can be set in cross/makefile for example.

since i'm not realy familiar with make and buildenv. i'm using a script which replaces the downloaded folder with my desired svn-rev. And this also brings a rev# for the WebIf which is 0 at the moment, because the command ./config.sh -r returns 0. (since there is no SVN revision# gg)

        '-r'|'--oscam-revision')
                (svnversion -n . 2>/dev/null || printf 0) | sed 's/.*://; s/[^0-9]*$//; s/^$/0/'
                break

to be honest, i have no idea how to deal with it in your buildenv. but it would make things easier and also better to switch to different revision#s

cheers

@bydavy
Copy link
Author

bydavy commented Sep 14, 2012

Diaoul do you think that we should use SVN to pull the source code ? It seems that your actual logic is to only rely on compressed files.
If we do so it will also require that the user of spksrc install SVN (I don't think that SVN is installed by default in Debian).

@Diaoul
Copy link
Member

Diaoul commented Sep 15, 2012

You can override the download/extract targets in cross/Makefile and put whatever you like here instead of the current compressed download.

Even better, you can make the download target work with a svn repo (or git repo). This would checkout (or clone) the given URL in a temporary place and gzip the result in the correct file.
To do this, one way is to edit this file: https://github.com/SynoCommunity/spksrc/blob/develop/mk/spksrc.download.mk with:

  • DOWNLOAD_METHOD = (wget|svn|git)
  • PKG_VERS = (version|rev|hash) in a cross/Makefile

@Diaoul
Copy link
Member

Diaoul commented Sep 16, 2012

Done in 33fbee7 (libusb for oscam)

@Diaoul Diaoul closed this Sep 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants