rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Testing & Experimental (/forum-21.html) +--- Thread: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests (/thread-2342.html) Pages: 1 2 |
RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 10th Jun, 2014 10:40 PM - 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. RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014 10:45 PM 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 RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 10th Jun, 2014 10:59 PM 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. RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014 11:28 PM 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 RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - atulsian - 10th Jun, 2014 11:38 PM koper89, 0.9.2 is widely accepted in almost all Private trackers including CHD, HDT. PTP etc.. RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014 11:41 PM Yep but 0.9.3 have pretty significant fixes to 0.9.2 so it's complicated to satisfy everyone with 1 package RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 10th Jun, 2014 11:42 PM 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. RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 10th Jun, 2014 11:56 PM (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. RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - menakite - 11th Jun, 2014 12:20 AM 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.) RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 11th Jun, 2014 12:24 AM I'm sure it never worked like that before. To be save, just add your own logic in the postrm file. RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - koper89 - 11th Jun, 2014 07:13 AM 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 ? RE: rtorrent 0.9.2/0.9.3/0.9.4 xbian package ready for tests - CurlyMo - 11th Jun, 2014 04:17 PM 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. |