E
ezflashback
Guest
Ich übersetze den Text heute Abend oder so...
Gefunden im SamyGO (thx @juzis) und auf SatNigmo.
Also nicht mein Verdienst.
Gefunden im SamyGO (thx @juzis) und auf SatNigmo.
Also nicht mein Verdienst.
Download source files from svn to your compilation directory (for example to /opt/compile).
Use the information available in URL
mkdir /opt/compile && cd /opt/compile
svn checkout -r9476
*latest svn build you can get with
svn checkout
Or just by hitting
cd /opt/compile/oscam-svn
svn up
Download patch file samygo-r9476-patch.zip to /opt/compile
wget
Unzip to oscam-svn:
unzip samygo-r9476-patch.zip -d /opt/compile/oscam-svn
Apply patches ( on other revisions it might be necessary to resolve the rejects since some hunks fail, but this is trivial.)
cd /opt/compile/oscam-svn
patch -p0 < samygofix2.patch && rm -f samygofix2.patch
Configure oscam (and choose the options you want)
make config
Compile oscam (remove USE_SSL=1 USE_LIBCRYPTO=1 in case if you are not using SSL and/or CAM_EMU)
make V=1 USE_SSL=1 USE_LIBCRYPTO=1 CROSS=/opt/toolchain/VDLinux-armv7a8/bin/arm-v7a8-linux-gnueabi-
If you`re using original toolchain and path to it:
make V=1 USE_SSL=1 USE_LIBCRYPTO=1 CROSS=/opt/cross/VDLinux-armv7a8-toolchain-lite_20100630/bin/arm-v7a8-linux-gnueabi-
Use the information available in URL
Sie müssen registriert sein, um Links zu sehen.
to retrieve the oscam code via svn. eg:mkdir /opt/compile && cd /opt/compile
svn checkout -r9476
Sie müssen registriert sein, um Links zu sehen.
oscam-svn*latest svn build you can get with
svn checkout
Sie müssen registriert sein, um Links zu sehen.
oscam-svnOr just by hitting
cd /opt/compile/oscam-svn
svn up
Download patch file samygo-r9476-patch.zip to /opt/compile
wget
Sie müssen registriert sein, um Links zu sehen.
-O samygo-r9476-patch.zipUnzip to oscam-svn:
unzip samygo-r9476-patch.zip -d /opt/compile/oscam-svn
Apply patches ( on other revisions it might be necessary to resolve the rejects since some hunks fail, but this is trivial.)
cd /opt/compile/oscam-svn
patch -p0 < samygofix2.patch && rm -f samygofix2.patch
Configure oscam (and choose the options you want)
make config
Compile oscam (remove USE_SSL=1 USE_LIBCRYPTO=1 in case if you are not using SSL and/or CAM_EMU)
make V=1 USE_SSL=1 USE_LIBCRYPTO=1 CROSS=/opt/toolchain/VDLinux-armv7a8/bin/arm-v7a8-linux-gnueabi-
If you`re using original toolchain and path to it:
make V=1 USE_SSL=1 USE_LIBCRYPTO=1 CROSS=/opt/cross/VDLinux-armv7a8-toolchain-lite_20100630/bin/arm-v7a8-linux-gnueabi-
I just stumbled upon SimpleBuild script which is made by user Gorgone from
cd /opt
mkdir simplebuild
cd simplebuild
wget ss4200.homelinux.com/oscam/simplebuild
chmod 777 simplebuild
./simplebuild debinstall
./simplebuild menu
After entering last command, you are brought to the home screen of this script. It looks like this:
Here you can select LATEST which means that script will download latest revision of OScam. You can select NO_CHECKOUT which will use previously used OScam revision. And you can also select CHOOSE where you can enter your desired OScam revision. This is handy when you want to compile older OScam revision for testing purposes. After pressing LATEST we get this screen:
I suggest that you first select ADD or NATIVE if you want to compile OScam for your PC (if you are running this script on Linux server). In my case, I first added toolchain for MIPSOE20 receivers and then I selected option NATIVE which built OScam for my Ubuntu server where I am currently running my OScam server. When you press option ADD, you get this screen:
MIPSOE20 is not present here because I downloaded it before taking this picture. When you start SimpleBuild for the first time, you can choose from the complete list of toolchains. After downloading desired toolchain, you are brought to this screen:
Here you can configure some additional options like disabling/enabling certain OScam modules, etc. After you finish with that, you need to select option BUILD which starts compiling process. In my case, compiling took about 1 minute but this depends on your CPU power. Here are pictures where you can configure these options:
LIBUSB is (usually) needed if you have Smargo cardreader(s). PCSC is needed if you have Omnikey or other PCSC compatible cardreaders. These two options are the most important ones. I, for example, do not use Smargos or Omnikeys on my Vu+ Duo therefore i did not select anything here. TIP: In order to select desired option, you need to press “SPACE” button on your keyboard.
If you want to exit from SimpleBuild, just press button “EXIT”.
Conclusion
Gorgone did really great job here and compiling OScam is now easier task than ever. You can compare this process with process which is written in my other compiling tutorials. Not only that SimpleBuild is easier to use, you can also easily compile OScam for different platforms, you can select/deselect different OScam modules, etc. As you can see, this script enables you to configure many many different options. Currently there is nothing better out there!
Sie müssen registriert sein, um Links zu sehen.
forum. This script simplifies compiling OScam for different platforms. Yep, now we can easily make OScam binary for MIPS (Vu+, Dreambox, Xtrend, Gigablue, Clarke-Tech), SH4 and AZBOX receivers for example. There are also toolchains for other platforms like routers, RaspberryPi, x64 and x86 PCs, etc. I decided to test this script and test-compiled two binaries, one for my Ubuntu X86 server and one for my Vu+ Duo satellite receiver with latest OpenPLi 3.0. Installing SimpleBuild script is pretty straightforward and does not demand a lot of knowledge. Here are steps for Ubuntu users (connect to your server using Putty and SSH connection):cd /opt
mkdir simplebuild
cd simplebuild
wget ss4200.homelinux.com/oscam/simplebuild
chmod 777 simplebuild
./simplebuild debinstall
./simplebuild menu
After entering last command, you are brought to the home screen of this script. It looks like this:
Sie müssen registriert sein, um Links zu sehen.
Here you can select LATEST which means that script will download latest revision of OScam. You can select NO_CHECKOUT which will use previously used OScam revision. And you can also select CHOOSE where you can enter your desired OScam revision. This is handy when you want to compile older OScam revision for testing purposes. After pressing LATEST we get this screen:
Sie müssen registriert sein, um Links zu sehen.
I suggest that you first select ADD or NATIVE if you want to compile OScam for your PC (if you are running this script on Linux server). In my case, I first added toolchain for MIPSOE20 receivers and then I selected option NATIVE which built OScam for my Ubuntu server where I am currently running my OScam server. When you press option ADD, you get this screen:
Sie müssen registriert sein, um Links zu sehen.
MIPSOE20 is not present here because I downloaded it before taking this picture. When you start SimpleBuild for the first time, you can choose from the complete list of toolchains. After downloading desired toolchain, you are brought to this screen:
Sie müssen registriert sein, um Links zu sehen.
Here you can configure some additional options like disabling/enabling certain OScam modules, etc. After you finish with that, you need to select option BUILD which starts compiling process. In my case, compiling took about 1 minute but this depends on your CPU power. Here are pictures where you can configure these options:
Sie müssen registriert sein, um Links zu sehen.
Sie müssen registriert sein, um Links zu sehen.
LIBUSB is (usually) needed if you have Smargo cardreader(s). PCSC is needed if you have Omnikey or other PCSC compatible cardreaders. These two options are the most important ones. I, for example, do not use Smargos or Omnikeys on my Vu+ Duo therefore i did not select anything here. TIP: In order to select desired option, you need to press “SPACE” button on your keyboard.
If you want to exit from SimpleBuild, just press button “EXIT”.
Conclusion
Gorgone did really great job here and compiling OScam is now easier task than ever. You can compare this process with process which is written in my other compiling tutorials. Not only that SimpleBuild is easier to use, you can also easily compile OScam for different platforms, you can select/deselect different OScam modules, etc. As you can see, this script enables you to configure many many different options. Currently there is nothing better out there!