ASAT
Senior Member
I want to compile the latest experimental source code for Transmission to help with the testing. For example, here it is:
https://build.transmissionbt.com/jo...ild/artifact/transmission-trunk-r14560.tar.xz
How to add a new package or rebuild the feed:
https://github.com/Entware/entware/wiki/How-to-add-a-new-package-or-rebuild-the-feed
Except for ARMv7 routers, you must do this step:
Now, edit the makefile to look this way.
~/openwrt_trunk/feeds/packages/net/transmission/Makefile
The PKG_VERSION now has a "+" sign after the version number to show that it is an experimental build.
The PKG_RELEASE will correspond to the revision number of the downloaded source archive transmission-trunk-r14560.tar.xz.
For future experimental builds, you would need to update the PKG_RELEASE and PKG_MD5SUM, and eventually the PKG_VERSION.
Delete or move the following patch file because otherwise the build will fail:
~/openwrt_trunk/feeds/packages/net/transmission/patches/010_libtransmission_fallocate64_eglibc.patch
Compile it:
Find the new packages here:
~/openwrt_trunk/bin/armv7soft/packages/
Install the new packages on the router. FYI, Transmission is dependant on other packages too. I install everything, to avoid issues.
Now, check the version:
# transmission-remote --version
transmission-remote 2.84+ (14560)
It works!!
https://build.transmissionbt.com/jo...ild/artifact/transmission-trunk-r14560.tar.xz
How to add a new package or rebuild the feed:
https://github.com/Entware/entware/wiki/How-to-add-a-new-package-or-rebuild-the-feed
Except for ARMv7 routers, you must do this step:
Code:
cd
git clone https://github.com/zyxmon/entware-arm.git
cd entware-arm
make
Now, edit the makefile to look this way.
~/openwrt_trunk/feeds/packages/net/transmission/Makefile
Code:
PKG_NAME:=transmission
PKG_VERSION:=2.84+
PKG_RELEASE:=14560
PKG_SOURCE:=transmission-trunk-r$(PKG_RELEASE).tar.xz
PKG_SOURCE_URL:=https://build.transmissionbt.com/job/trunk-linux/lastSuccessfulBuild/artifact/
PKG_MD5SUM:=c461e5ec6e11e6512c6d4b00534a7ced
The PKG_VERSION now has a "+" sign after the version number to show that it is an experimental build.
The PKG_RELEASE will correspond to the revision number of the downloaded source archive transmission-trunk-r14560.tar.xz.
For future experimental builds, you would need to update the PKG_RELEASE and PKG_MD5SUM, and eventually the PKG_VERSION.
Delete or move the following patch file because otherwise the build will fail:
~/openwrt_trunk/feeds/packages/net/transmission/patches/010_libtransmission_fallocate64_eglibc.patch
Compile it:
Code:
cd ~/openwrt_trunk
make package/transmission/compile -j1 V=s
Find the new packages here:
~/openwrt_trunk/bin/armv7soft/packages/
Code:
transmission-cli_2.84+-14560_armv7soft.ipk
transmission-daemon_2.84+-14560_armv7soft.ipk
transmission-remote_2.84+-14560_armv7soft.ipk
transmission-web_2.84+-14560_armv7soft.ipk
Install the new packages on the router. FYI, Transmission is dependant on other packages too. I install everything, to avoid issues.
Code:
opkg install /opt/myfiles/librt*.ipk --force-checksum
opkg install /opt/myfiles/libpthread*.ipk --force-checksum
opkg install /opt/myfiles/libopenssl*.ipk --force-checksum
opkg install /opt/myfiles/libevent2*.ipk --force-checksum
opkg install /opt/myfiles/libcurl*.ipk --force-checksum
opkg install /opt/myfiles/openssl*.ipk --force-checksum
opkg install /opt/myfiles/curl*.ipk --force-checksum
opkg install /opt/myfiles/transmission*.ipk --force-checksum
Now, check the version:
# transmission-remote --version
transmission-remote 2.84+ (14560)
It works!!
Last edited: