Anyone interested in a transmission SPK? - v2.00

Questions regarding modifying the torrent engine or download station may go here.
Forum rules
Please note the disclaimer before modifying your Synology Product.

Are you interested in a Transmission SPK?

Yes
495
98%
No
9
2%
 
Total votes : 504

Re: Anyone interested in a transmission SPK?

Postby Sarav » Wed Jul 29, 2009 11:42 pm

vic7799 wrote:Hi Sarav,

I have a DS108j, according to the Wiki http://forum.synology.com/wiki/index.ph ... y_NAS_have
it has Freescale mpc8241 PPC Processor, but the ppc824x-spk package doesn't work, the installer says
Your device is based on a powerpc CPU.
Sorry, this program was not compiled for your device.

I have run: grep unique /etc.defaults/synoinfo.conf | sed -r "s/.*_([^_]*)_.*/\1/g"

the result is simple: powerpc

I assume the CPU type is really the 824x maybe at the checking phase there is a text mismatch, maybe some type says ppc824x some powerpc

Tell me whatever I can help for you to make the package for us.
Really appreciate your efforts, thank in the name of all owners.

Viktor


Viktor,

I got the CPU type info from http://ukdl.synology.com/download/firmware/0844/

I guess even though they use the same CPU they are compiled a bit differently. So, Synology (and hence me too) treats them differently. One thing you could try is to unpack the spk (it's just a tar file), modify the scripts/preinst, pack it up again and try installing it.

In the scripts/preinst file there will be a string "ppc824a". Just change it to "powerpc" and the installation won't show an error (it might still not work). If it doesn't work, you can still do a clean uninstall.'

If you find that it works, let me know and I can start making spks for powerpc arch with the additional warning. That way you won't have to make manual changes for the newer Transmission versions.

Thanks,
Sarav
Sarav
Versed
Versed
 
Posts: 282
Joined: Sat Apr 26, 2008 8:12 pm

Re: Anyone interested in a transmission SPK?

Postby Sarav » Wed Jul 29, 2009 11:54 pm

sjogro wrote:is it possible to configure a watchfolder?
i know the transmission-daemon allows this, but how to do it with the spk?
maybe something to add to the transmission-adduser script?


Not to transmission-adduser. That would make it too complicated. I also don't want to keep adding scripts for every configuration option in Transmission. Hopefully the webUI would catch up and allow you to do that from the webUI. You can make a feature request in their bug tracking website -- the webui developer is very friendly and helpful.

In the mean time you can do it on your own by stopping the service, edit the settings file and start the service again. The config file is under /var/services/home/<username>/.config/transmission-daemon/settings.json (if the path doesn't work try adding/removing a "s" from "services" or "home").

See http://trac.transmissionbt.com/wiki/EditConfigFiles for setting helps.

Thanks,
Sarav
Sarav
Versed
Versed
 
Posts: 282
Joined: Sat Apr 26, 2008 8:12 pm

Re: Anyone interested in a transmission SPK?

Postby pjarm » Thu Jul 30, 2009 11:29 am

Hey sarav,
can't find the file for the 409+... sorry.

pjarm
User avatar
pjarm
I'm New!
I'm New!
 
Posts: 1
Joined: Thu Jul 30, 2009 11:23 am

Re: Anyone interested in a transmission SPK?

Postby sjogro » Thu Jul 30, 2009 1:10 pm

Sarav wrote:In the mean time you can do it on your own by stopping the service, edit the settings file and start the service again. The config file is under /var/services/home/<username>/.config/transmission-daemon/settings.json (if the path doesn't work try adding/removing a "s" from "services" or "home").


thanks for the help, the correct path was /var/services/homes/<username>/.config/transmission-daemon/settings.json,
i've added two lines:

"watch-dir": "<path>",
"watch-dir-enabled": true,

Note: The client must be closed before making changes, otherwise settings will be reverted to it's previous state.
it works perfectly!

seems the transmission team will not deal with this in an update any time soon --> http://trac.transmissionbt.com/ticket/2208
Synology CubeStation 407e
3x Western Digital Caviar RE2 500 GB (WD5000YS) in RAID 5
Latest (Beta) Firmware & No 3rd Party Software
Running Transmission 1.7.3 SPK
User avatar
sjogro
Student
Student
 
Posts: 68
Joined: Sat Aug 04, 2007 10:37 pm
Location: The Netherlands

Re: Anyone interested in a transmission SPK?

Postby Sky007FR » Thu Jul 30, 2009 6:39 pm

pjarm wrote:can't find the file for the 409+... sorry.


Hi,

+1
the link for ppc853x seems to be broken.

;)
DS1812+ - FW DSM 4.1-2636
Sky007FR
Trainee
Trainee
 
Posts: 11
Joined: Thu Jul 30, 2009 4:52 pm

Re: Anyone interested in a transmission SPK?

Postby Sarav » Fri Jul 31, 2009 7:57 am

Fixed all broken links. Hopefully will stay fixed.

But seriously, is there no one here who can afford to host these files?!

-Sarav
Sarav
Versed
Versed
 
Posts: 282
Joined: Sat Apr 26, 2008 8:12 pm

Re: Anyone interested in a transmission SPK?

Postby Sky007FR » Fri Jul 31, 2009 8:25 am

Thanks Sarav ! 8)

I will test this package tonight : "DS 109+, DS 209+, DS 409+, DS 509+, RS 409+, RS 409RP+"
I think it should be also compatible with my NAS (DS209+II a ppc853x CPU).
DS1812+ - FW DSM 4.1-2636
Sky007FR
Trainee
Trainee
 
Posts: 11
Joined: Thu Jul 30, 2009 4:52 pm

Re: Anyone interested in a transmission SPK?

Postby Sky007FR » Fri Jul 31, 2009 9:23 am

I have just installed the spk on my NAS (I couldn't wait for tonight...) but i have a problem using the transmission-adduser script.
Apparently, the script doesn't recognize username with a space (eg. xxx xxxxx). Is it possible to modify the script for future builds to take this into account ?

Code: Select all
DiskStation> transmission-adduser 'xxx xxxxx' 9300
su: user xxx does not exist
Invalid user name xxx xxxxx !


In the meantime, if you can tell me what to modify directly in the code (I opened the script but I can't find exactly how to fix this, i'm not a expert in linux nor in shell programming), it would be greatly appreciated ! ;)

Subsidary question : how to remove rights to run transmission ? Because i added "root" to the user list for transmission for testing with a username without space but i would like to remove rights now.
DS1812+ - FW DSM 4.1-2636
Sky007FR
Trainee
Trainee
 
Posts: 11
Joined: Thu Jul 30, 2009 4:52 pm

Re: Anyone interested in a transmission SPK?

Postby doktor.notor » Fri Jul 31, 2009 9:31 am

Sarav wrote:Fixed all broken links. Hopefully will stay fixed.
But seriously, is there no one here who can afford to host these files?!


Hosted here now, enjoy! :)
doktor.notor
Enlightened
Enlightened
 
Posts: 473
Joined: Thu Sep 25, 2008 11:30 am

Re: Anyone interested in a transmission SPK?

Postby Sarav » Fri Jul 31, 2009 9:44 am

doktor.notor wrote:
Sarav wrote:Fixed all broken links. Hopefully will stay fixed.
But seriously, is there no one here who can afford to host these files?!


Hosted here now, enjoy! :)


Thanks a lot! For those who want the md5/sha1 from the horse's mouth:

SHA1
32ea99ba02047ac02bc2871314ed4349cac56d00 transmission-1.73-88f5281.spk
d77c289687fe10817bcbcaac1872971785db7034 transmission-1.73-ppc824x.spk
9879c10592c42cffe4747df5c75acf10dd39010c transmission-1.73-ppc853x.spk
7a39740f0f197bc31a82ae0980c892a2b9d57172 transmission-1.73-ppc854x.spk

MD5
1895c7e577d8d88c74060c6ec6282695 transmission-1.73-88f5281.spk
d6026e65dc1e15e6f2243ad5ecd991f9 transmission-1.73-ppc824x.spk
8f95bc3dbdf41d6f1a51b24e9cfafbcd transmission-1.73-ppc853x.spk
196f8a09fc2016013733b3c2a7f424ee transmission-1.73-ppc854x.spk


-Sarav
Sarav
Versed
Versed
 
Posts: 282
Joined: Sat Apr 26, 2008 8:12 pm

Re: Anyone interested in a transmission SPK?

Postby jordis » Fri Jul 31, 2009 10:59 pm

No SPK for DS409?
Did anybody manage to install any build in a DS409?
jordis
Novice
Novice
 
Posts: 44
Joined: Fri Jul 31, 2009 9:41 pm

Re: Anyone interested in a transmission SPK?

Postby Sarav » Sat Aug 01, 2009 9:36 am

jordis wrote:No SPK for DS409?
Did anybody manage to install any build in a DS409?


Unfortunately, I'm hitting a compiler bug when I try to compile for DS409 (or any 88f6281 based device). I'm running the exact same commands for other architectures and it works fine.

If anyone finds a working compiler/toolchain that compiles transmission for 88f6281, please let me know so that I can make releases for that too.

Thanks,
Sarav
Sarav
Versed
Versed
 
Posts: 282
Joined: Sat Apr 26, 2008 8:12 pm

Re: Anyone interested in a transmission SPK?

Postby Sarav » Sat Aug 01, 2009 9:50 am

Sky007FR wrote:Apparently, the script doesn't recognize username with a space (eg. xxx xxxxx). Is it possible to modify the script for future builds to take this into account ?

Subsidary question : how to remove rights to run transmission ? Because i added "root" to the user list for transmission for testing with a username without space but i would like to remove rights now.


Uninstall the existing one (that should also delete transmission permissions for any users you added) and try this one.

If you want to delete the settings, it's under /var/services/homes/<username>/.config/transmission-daemon/settings.json

http://uploading.com/files/P9L1YIJ3/tra ... x.spk.html

-Sarav
Sarav
Versed
Versed
 
Posts: 282
Joined: Sat Apr 26, 2008 8:12 pm

Re: Anyone interested in a transmission SPK?

Postby doktor.notor » Sat Aug 01, 2009 10:09 am

Sarav wrote:Thanks a lot! For those who want the md5/sha1 from the horse's mouth:


You might want to update the first post to point to the new place instead of the annoying uploading.com site...

Sky007FR wrote:Apparently, the script doesn't recognize username with a space (eg. xxx xxxxx). Is it possible to modify the script for future builds to take this into account ?


Do NOT create usernames with spaces. It's illegal character for usernames on any POSIX system and you'll only get big trouble with this.

3.429 User Name

A string that is used to identify a user; see also User Database . To be portable across systems conforming to POSIX.1-2008, the value is composed of characters from the portable filename character set. The <hyphen> character should not be used as the first character of a portable user name.


3.276 Portable Filename Character Set

The set of characters from which portable filenames are constructed.

Code: Select all
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
a b c d e f g h i j k l m n o p q r s t u v w x y z
0 1 2 3 4 5 6 7 8 9 . _ -


The last three characters are the <period>, <underscore>, and <hyphen> characters, respectively.

doktor.notor
Enlightened
Enlightened
 
Posts: 473
Joined: Thu Sep 25, 2008 11:30 am

Re: Anyone interested in a transmission SPK?

Postby Sarav » Sat Aug 01, 2009 10:15 am

doktor.notor wrote:Do NOT create usernames with spaces. It's illegal character for usernames on any POSIX system and you'll only get big trouble with this.


I wanted to say this too but forgot. But since he already managed to create it somehow, I modified the scripts to handle his case. But it's not guaranteed to work though.

-Sarav
Sarav
Versed
Versed
 
Posts: 282
Joined: Sat Apr 26, 2008 8:12 pm

PreviousNext

Return to Torrent Engines/Download Station Mods

Who is online

Users browsing this forum: No registered users and 3 guests