From: lam4 Subject: transmission: improved configuration Added support for advanced ./configure options. Added systemd service installation. --- module: transmission id: 393162b502c62b6348b475baa14e67bb lvu submit: transmission lvu: db8269a81dadf0ff44025fd3ec5ee33d - uname -r: 4.1.3 kernel headers: 4.0-x86_64 gcc: 4.9.2 glibc: 2.21 --- other/distributed/transmission/BUILD | 14 ++++++++------ other/distributed/transmission/CONFIGURE | 6 ++++-- other/distributed/transmission/DEPENDS | 11 ++++------- other/distributed/transmission/DETAILS | 4 ++-- 4 files changed, 18 insertions(+), 17 deletions(-) --- diff a/other/distributed/transmission b/other/distributed/transmission --- a/other/distributed/transmission/BUILD 2015-08-01 11:31:07.000000000 +0000 +++ b/other/distributed/transmission/BUILD 2015-08-01 13:01:00.091867704 +0000 @@ -1,7 +1,9 @@ -( +OPTS+=" --disable-static" && +default_build && +ls -la && +if [[ "$DAEMON" == "y" ]] && in_depends $MODULE systemd ; then + for service in daemon/*.service; do + install -D -m644 $service /usr/lib/systemd/system/${service##*/} + done +fi - OPTS+=" --disable-static" && - - default_build - -) > $C_FIFO 2>&1 --- a/other/distributed/transmission/CONFIGURE 2015-08-01 11:31:07.000000000 +0000 +++ b/other/distributed/transmission/CONFIGURE 2015-08-01 12:45:55.015153746 +0000 @@ -1,2 +1,4 @@ -mquery DAEMON "Install daemon support?" n "--enable-daemon" "--disable-daemon" -mquery CLI "Build command line interface?" y "--enable-cli" "--disable-cli" +mquery DAEMON "Install daemon support?" n "--enable-daemon" "--disable-daemon" +mquery CLI "Build command line interface?" y "--enable-cli" "--disable-cli" +mquery LIGHTWEIGHT "Build lightweight version?" n "--enable-lightweight" "" +mquery UTP "Build with uTP support?" y "--enable-utp" "" --- a/other/distributed/transmission/DEPENDS 2015-08-01 11:31:07.000000000 +0000 +++ b/other/distributed/transmission/DEPENDS 2015-08-01 12:13:08.816958101 +0000 @@ -3,11 +3,8 @@ depends libevent depends openssl -optional_depends "gtk+-3" "--with-gtk" "--without-gtk" "for the GUI interface" +optional_depends "gtk+-3" "--with-gtk" "--without-gtk" "for the GUI interface" optional_depends "libnotify4" "--with-inotify" "--without-inotify" "for inotify support" - -optional_depends "gobject-introspection" \ - "--enable-introspection" \ - "--disable-introspection" \ - " for object introspection" - +optional_depends "gobject-introspection" "--enable-introspection" "--disable-introspection" "for object introspection" +optional_depends "gettext" "--enable-nls" "--disable-nls" "for NLS support" +optional_depends "systemd" "--with-systemd-daemon" "" "for systemd support" --- a/other/distributed/transmission/DETAILS 2015-08-01 11:31:07.000000000 +0000 +++ b/other/distributed/transmission/DETAILS 2015-08-01 11:33:56.160672877 +0000 @@ -1,11 +1,11 @@ MODULE=transmission VERSION=2.84 SOURCE=$MODULE-$VERSION.tar.xz - SOURCE_URL=https://transmission.cachefly.net/ + SOURCE_URL=http://download.transmissionbt.com/files/ SOURCE_VFY=sha256:a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb WEB_SITE=http://transmissionbt.com ENTERED=20060626 - UPDATED=20140703 + UPDATED=20150801 SHORT="A fast and powerful BitTorrent client" cat << EOF