Hello,
I upgrade the transission package to the latest version (1.51). The actual version in the openwrt svn has some some bugs such as that the web interface do not work if the daemon is launched in background [1]. Moreover I remove the transissioncli and transmission-remote binaries (that are shipped with the old package) in favour of the web interface (whose html/js files are not shipped in the old package). The "transmission-daemon" instead, already contains the web server engine.
The total size of the ipkg [2] has been reduced from  to 466k to 334K.
If you like the choice, you can include this patch.

Lorenzo


[1] http://forum.openwrt.org/viewtopic.php?id=18053
[2] http://test.ninux.org/~orazio/bin/packages/mips/
Index: Makefile
===================================================================
--- Makefile	(revision 14731)
+++ Makefile	(working copy)
@@ -9,7 +9,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=transmission
-PKG_VERSION:=1.34
+PKG_VERSION:=1.51
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
@@ -50,9 +50,9 @@
 define Package/transmission/install
 	$(INSTALL_DIR) $(1)/usr/sbin
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/daemon/transmission-daemon $(1)/usr/sbin/
-	$(INSTALL_DIR) $(1)/usr/bin
-	$(INSTALL_BIN) $(PKG_BUILD_DIR)/cli/transmissioncli $(1)/usr/bin/
-	$(INSTALL_BIN) $(PKG_BUILD_DIR)/daemon/transmission-remote $(1)/usr/bin/
+	$(INSTALL_DIR) $(1)/usr/share/transmission
+	rm -rf `find $(PKG_BUILD_DIR)/web -type d -name .svn`
+	cp -rf $(PKG_BUILD_DIR)/web $(1)/usr/share/transmission 
 endef
 
 $(eval $(call BuildPackage,transmission))
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to