rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
|
10th Jun, 2014, 10:40 PM
Post: #16
|
|||
|
|||
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
- If a control file settings is empty, just remove it.
- Please just create a single package that works properly. Either 0.9.2, 0.9.3 or 0.9.4 and just name it xbian-package-rtorrent. Memory leaks are not an option. - Check the postrm files of the other xbian package. The quote i make was to show you how package are created in the official repository. pilight - modular domotica solution
|
|||
10th Jun, 2014, 10:45 PM
Post: #17
|
|||
|
|||
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
As single package you mean rtorrent + rutorrent?
https://github.com/xbianonpi/xbian-package-xbmc-scripts/blob/master/content/DEBIAN/postrm https://github.com/xbianonpi/xbian-package-config-xbmc/blob/master/content/DEBIAN/postrm https://github.com/xbianonpi/xbian-package-cec/blob/master/content/DEBIAN/postrm https://github.com/xbianonpi/xbian-package-headphones/blob/master/content/DEBIAN/postrm https://github.com/xbianonpi/xbian-package-sickbeard-tpb/blob/master/content/DEBIAN/postrm As you can see in all of them only config files are removed so I don't know what you're talking about delete all in my postrm... It's better to make 3 packages with 3 versions because a lot of trackers don't allow f.e. 0.9.3 (I'm on 2 of those trackers) Some don't like 0.9.4 etc etc |
|||
10th Jun, 2014, 10:59 PM
Post: #18
|
|||
|
|||
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
https://github.com/xbianonpi/xbian-package-development/blob/master/content/DEBIAN/postrm
Quote:It's better to make 3 packages with 3 versions because a lot of trackers don't allow f.e. 0.9.3 (I'm on 2 of those trackers) Some don't like 0.9.4 etc etcThen users can always create one themselves. From the XBian point of view, we just offer one package. Up to you what version it should be. As long as it isn't an unstable version with lots of memory leaks. pilight - modular domotica solution
|
|||
10th Jun, 2014, 11:28 PM
Post: #19
|
|||
|
|||
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
I'll make deb file for people who want to use nginx+rutorrent+rtorrent for now. If I'll find any information about how to determine which webserver is used/ I suppouse I can make it by searching for config files in common paths but don't have enough will to install all of them now Maybe in some other time I'll make it.
Thanks for help CurlyMo! And I suppouse when I'll have something I'll write in this topic. Best wishes |
|||
10th Jun, 2014, 11:38 PM
Post: #20
|
|||
|
|||
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
koper89,
0.9.2 is widely accepted in almost all Private trackers including CHD, HDT. PTP etc.. |
|||
10th Jun, 2014, 11:41 PM
Post: #21
|
|||
|
|||
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
Yep but 0.9.3 have pretty significant fixes to 0.9.2 so it's complicated to satisfy everyone with 1 package
|
|||
10th Jun, 2014, 11:42 PM
Post: #22
|
|||
|
|||
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
Quote:If I'll find any information about how to determine which webserver is used ... Code: which apachectl 1>/dev/null && APACHE=1 || APACHE=0; You can also patch 0.9.2 with those fixes in 0.9.3 that are worth while. pilight - modular domotica solution
|
|||
10th Jun, 2014, 11:56 PM
Post: #23
|
|||
|
|||
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
(10th Jun, 2014 11:42 PM)CurlyMo Wrote:Quote:If I'll find any information about how to determine which webserver is used ... I won't patch 0.9.2 with 0.9.3 fixes, but if someone want to I can help with merging it. Thanks for script with how to determine which webserver Is used, I'll try to implement it in my rutorrent package. |
|||
11th Jun, 2014, 12:20 AM
Post: #24
|
|||
|
|||
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
You don't need to remove files contained in the package in the postrm script. dpkg saves a list of the package content in /var/lib/dpkg/info/<package name>.list and uses it to remove files belonging to it. (I can't speak for the past, but that's what it does now.)
|
|||
11th Jun, 2014, 12:24 AM
Post: #25
|
|||
|
|||
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
I'm sure it never worked like that before. To be save, just add your own logic in the postrm file.
pilight - modular domotica solution
|
|||
11th Jun, 2014, 07:13 AM
Post: #26
|
|||
|
|||
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
I thought about making my package check if somone have installed lightpd/nginx/apache but more I think about it it become more complex, and I think I should make it as simple as possible:
If someone have none? should I use in post install apt-get install ngninx or something? To install it? If someone have lighttpd and php5 and I prefer php5-fpm should I change his script to mine and change to php5-fpm? I'll not check every possibility because it's pointless and too complicated for me. If someone have more than one lightpd + f.e. nginx what should i do? If someone compiled f.e. nginx/lighttpd by himself and change dir for config ? |
|||
11th Jun, 2014, 04:17 PM
Post: #27
|
|||
|
|||
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests
That's what we call "the best we can do".
- If someone doesn't have one installed you let the postinst script post a message that they should edit the config themselves. - What's the difference between php5 and php5-fpm? - Don't limit the logic in configuring one webserver, just adapt those installed. - That he should edit the configs himself. Another option would be to describe what the users should change after the package has been installed and just let them do it themselves. pilight - modular domotica solution
|
|||
« Next Oldest | Next Newest »
|