@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := transmission
PKG_VERSION := 3.00
PKG_RELEASE := 6
PKG_RELEASE := 7
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := @GITHUB/transmission/transmission-releases/master
@ -23,6 +23,12 @@ PKG_CPE_ID:=cpe:/a:transmissionbt:transmission
PKG_FIXUP := autoreconf
PKG_INSTALL := 1
PKG_BUILD_PARALLEL := 1
PKG_CONFIG_DEPENDS := \
CONFIG_LIBCURL_GNUTLS \
CONFIG_LIBCURL_MBEDTLS \
CONFIG_LIBCURL_OPENSSL \
CONFIG_LIBCURL_WOLFSSL \
CONFIG_LIBCURL_NOSSL
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e - s e c c o m p . m k
@ -34,93 +40,53 @@ define Package/transmission/template
CATEGORY:= Network
TITLE:= BitTorrent client
URL:= https://www.transmissionbt.com
DEPENDS:= +libcurl +libevent2 +libminiupnpc +libnatpmp +libpthread +librt +zlib $( ICONV_DEPENDS)
DEPENDS:= +libcurl +libevent2 +libminiupnpc +libnatpmp +libpthread +librt +zlib +LIBCURL_NOSSL:libmbedtls +LIBCURL_GNUTLS:libmbedtls $( ICONV_DEPENDS)
e n d e f
d e f i n e P a c k a g e / t r a n s m i s s i o n - d a e m o n / D e f a u l t
d e f i n e P a c k a g e / t r a n s m i s s i o n - d a e m o n
$( call Package/transmission/template)
USERID:= transmission = 224:transmission= 224
e n d e f
d e f i n e P a c k a g e / t r a n s m i s s i o n - d a e m o n - o p e n s s l
$( call Package/transmission-daemon/Default)
TITLE += ( with OpenSSL)
DEPENDS += +libopenssl
VARIANT:= openssl
e n d e f
d e f i n e P a c k a g e / t r a n s m i s s i o n - d a e m o n - m b e d t l s
$( call Package/transmission-daemon/Default)
TITLE += ( with mbed TLS)
DEPENDS += +libmbedtls
VARIANT:= mbedtls
e n d e f
d e f i n e P a c k a g e / t r a n s m i s s i o n - c l i - o p e n s s l
$( call Package/transmission/template)
TITLE += ( with OpenSSL)
DEPENDS += +libopenssl
VARIANT:= openssl
e n d e f
d e f i n e P a c k a g e / t r a n s m i s s i o n - c l i - m b e d t l s
d e f i n e P a c k a g e / t r a n s m i s s i o n - c l i
$( call Package/transmission/template)
TITLE += ( with mbed TLS)
DEPENDS += +libmbedtls
VARIANT:= mbedtls
TITLE += ( utilities)
e n d e f
d e f i n e P a c k a g e / t r a n s m i s s i o n - r e m o t e - o p e n s s l
d e f i n e P a c k a g e / t r a n s m i s s i o n - r e m o t e
$( call Package/transmission/template)
TITLE += ( with OpenSSL)
DEPENDS += +libopenssl
VARIANT:= openssl
e n d e f
d e f i n e P a c k a g e / t r a n s m i s s i o n - r e m o t e - m b e d t l s
$( call Package/transmission/template)
TITLE += ( with mbed TLS)
DEPENDS += +libmbedtls
VARIANT:= mbedtls
TITLE += ( remote)
e n d e f
d e f i n e P a c k a g e / t r a n s m i s s i o n - w e b
$( call Package/transmission/template)
TITLE += ( webinterface)
DEPENDS:= @( PACKAGE_transmission-daemon-openssl|| PACKAGE_transmission-daemon-mbedtls)
DEPENDS:= +transmission-daemon
PKGARCH:= all
e n d e f
d e f i n e P a c k a g e / t r a n s m i s s i o n - d a e m o n / D e f a u l t / d e s c r i p t i o n
d e f i n e P a c k a g e / t r a n s m i s s i o n - d a e m o n / d e s c r i p t i o n
Transmission is a simple BitTorrent client.
It features a very simple, intuitive interface
on top on an efficient, cross-platform back-end.
This package contains the daemon itself.
e n d e f
P a c k a g e / t r a n s m i s s i o n - d a e m o n - o p e n s s l / description = $( Package/transmission-daemon/Default/description)
P a c k a g e / t r a n s m i s s i o n - d a e m o n - m b e d t l s / description = $( Package/transmission-daemon/Default/description)
d e f i n e P a c k a g e / t r a n s m i s s i o n - c l i / D e f a u l t / d e s c r i p t i o n
d e f i n e P a c k a g e / t r a n s m i s s i o n - c l i / d e s c r i p t i o n
CLI utilities for transmission.
e n d e f
P a c k a g e / t r a n s m i s s i o n - c l i - o p e n s s l / description = $( Package/transmission-cli/Default/description)
P a c k a g e / t r a n s m i s s i o n - c l i - m b e d t l s / description = $( Package/transmission-cli/Default/description)
d e f i n e P a c k a g e / t r a n s m i s s i o n - r e m o t e / D e f a u l t / d e s c r i p t i o n
d e f i n e P a c k a g e / t r a n s m i s s i o n - r e m o t e / d e s c r i p t i o n
CLI remote interface for transmission.
e n d e f
P a c k a g e / t r a n s m i s s i o n - r e m o t e - o p e n s s l / description = $( Package/transmission-remote/Default/description)
P a c k a g e / t r a n s m i s s i o n - r e m o t e - m b e d t l s / description = $( Package/transmission-remote/Default/description)
d e f i n e P a c k a g e / t r a n s m i s s i o n - w e b / d e s c r i p t i o n
Webinterface resources for transmission.
e n d e f
d e f i n e P a c k a g e / t r a n s m i s s i o n - d a e m o n - o p e n s s l / c o n f f i l e s
d e f i n e P a c k a g e / t r a n s m i s s i o n - d a e m o n / c o n f f i l e s
/ e t c / c o n f i g / t r a n s m i s s i o n
e n d e f
P a c k a g e / t r a n s m i s s i o n - d a e m o n - m b e d t l s / conffiles = $( Package/transmission-daemon-openssl/conffiles)
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
TARGET_LDFLAGS += -Wl,--gc-sections -Wl,--as-needed -liconv
@ -133,15 +99,14 @@ CONFIGURE_ARGS += \
--enable-lightweight \
--without-gtk \
--without-kqueue \
--without-systemd-daemon
i f e q ( $( BUILD_VARIANT ) , m b e d t l s )
CONFIGURE_ARGS += --with-crypto= polarssl
e l s e
CONFIGURE_ARGS += --with-crypto= openssl
e n d i f
d e f i n e P a c k a g e / t r a n s m i s s i o n - d a e m o n - o p e n s s l / i n s t a l l
--without-systemd-daemon \
$( if $( CONFIG_LIBCURL_NOSSL) ,--with-crypto= polarssl) \
$( if $( CONFIG_LIBCURL_GNUTLS) ,--with-crypto= polarssl) \
$( if $( CONFIG_LIBCURL_MBEDTLS) ,--with-crypto= polarssl) \
$( if $( CONFIG_LIBCURL_OPENSSL) ,--with-crypto= openssl) \
$( if $( CONFIG_LIBCURL_WOLFSSL) ,--with-crypto= cyassl)
d e f i n e P a c k a g e / t r a n s m i s s i o n - d a e m o n / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/transmission-daemon $( 1) /usr/bin/
$( INSTALL_DIR) $( 1) /etc/init.d/
@ -152,9 +117,8 @@ define Package/transmission-daemon-openssl/install
$( INSTALL_CONF) files/transmission.sysctl $( 1) /etc/sysctl.d/20-transmission.conf
$( call InstallSeccomp,$( 1) ,./files/transmission-daemon.json)
e n d e f
P a c k a g e / t r a n s m i s s i o n - d a e m o n - m b e d t l s / install = $( Package/transmission-daemon-openssl/install)
d e f i n e P a c k a g e / t r a n s m i s s i o n - c l i - o p e n s s l / i n s t a l l
d e f i n e P a c k a g e / t r a n s m i s s i o n - c l i / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/transmission-cli \
$( PKG_INSTALL_DIR) /usr/bin/transmission-create \
@ -162,23 +126,18 @@ define Package/transmission-cli-openssl/install
$( PKG_INSTALL_DIR) /usr/bin/transmission-show \
$( 1) /usr/bin/
e n d e f
P a c k a g e / t r a n s m i s s i o n - c l i - m b e d t l s / install = $( Package/transmission-cli-openssl/install)
d e f i n e P a c k a g e / t r a n s m i s s i o n - r e m o t e - o p e n s s l / i n s t a l l
d e f i n e P a c k a g e / t r a n s m i s s i o n - r e m o t e / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/transmission-remote $( 1) /usr/bin/
e n d e f
P a c k a g e / t r a n s m i s s i o n - r e m o t e - m b e d t l s / install = $( Package/transmission-remote-openssl/install)
d e f i n e P a c k a g e / t r a n s m i s s i o n - w e b / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/share/transmission
$( CP) $( PKG_INSTALL_DIR) /usr/share/transmission/web $( 1) /usr/share/transmission/
e n d e f
$( eval $ ( call BuildPackage ,transmission -daemon -openssl ) )
$( eval $ ( call BuildPackage ,transmission -daemon -mbedtls ) )
$( eval $ ( call BuildPackage ,transmission -cli -openssl ) )
$( eval $ ( call BuildPackage ,transmission -cli -mbedtls ) )
$( eval $ ( call BuildPackage ,transmission -remote -openssl ) )
$( eval $ ( call BuildPackage ,transmission -remote -mbedtls ) )
$( eval $ ( call BuildPackage ,transmission -daemon ) )
$( eval $ ( call BuildPackage ,transmission -cli ) )
$( eval $ ( call BuildPackage ,transmission -remote ) )
$( eval $ ( call BuildPackage ,transmission -web ) )