Page MenuHomeFreeBSD

D13618.id37023.diff
No OneTemporary

D13618.id37023.diff

Index: net-p2p/Makefile
===================================================================
--- net-p2p/Makefile
+++ net-p2p/Makefile
@@ -92,6 +92,7 @@
SUBDIR += transmission-qt4
SUBDIR += transmission-qt5
SUBDIR += transmission-remote-gui
+ SUBDIR += tremc
SUBDIR += tribler
SUBDIR += twister
SUBDIR += uhub
Index: net-p2p/tremc/Makefile
===================================================================
--- /dev/null
+++ net-p2p/tremc/Makefile
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME= tremc
+DISTVERSION= 20171202
+CATEGORIES?= net-p2p python
+
+MAINTAINER= lbdm@privacychain.ch
+COMMENT= Console client for the BitTorrent client Transmission
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= python:3.4+ shebangfix
+
+USE_GITHUB= yes
+GH_ACCOUNT= louipc
+GH_TAGNAME= e06d08d
+
+NO_ARCH= yes
+NO_BUILD= yes
+SHEBANG_FILES= tremc
+
+PLIST_FILES= bin/tremc \
+ share/bash-completion/completions/tremc \
+ share/man/man1/tremc.1
+SUB_FILES= pkg-message
+
+OPTIONS_DEFINE= GEOIP XEROX
+
+GEOIP_DESC= Guess which country peers come from
+XEROX_DESC= Copy magnet links to the system clipboard
+
+GEOIP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}GeopIP:net/py-GeoIP@${PY_FLAVOR}
+XEROX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xerox:devel/py-xerox@${PY_FLAVOR}
+
+.include <bsd.port.mk>
Index: net-p2p/tremc/distinfo
===================================================================
--- /dev/null
+++ net-p2p/tremc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1514060627
+SHA256 (louipc-tremc-20171202-e06d08d_GH0.tar.gz) = 4559922bc047c4d95f5c2936dd844f2fd4614fef76028beb441553c68bef2ebf
+SIZE (louipc-tremc-20171202-e06d08d_GH0.tar.gz) = 255734
Index: net-p2p/tremc/files/patch-Makefile
===================================================================
--- /dev/null
+++ net-p2p/tremc/files/patch-Makefile
@@ -0,0 +1,8 @@
+--- Makefile.orig 2017-12-23 21:53:12 UTC
++++ Makefile
+@@ -6,4 +6,4 @@ install:
+ install -d "${DESTDIR}${PREFIX}/bin"
+ install -m 755 tremc "${DESTDIR}${PREFIX}/bin/tremc"
+ install -d "${DESTDIR}${PREFIX}/share/bash-completion/completions"
+- install -m 755 "completion/bash/transmission-remote-cli-bash-completion.sh" "${DESTDIR}${PREFIX}/share/bash-completion/completions/tremc"
++ install -m 644 "completion/bash/transmission-remote-cli-bash-completion.sh" "${DESTDIR}${PREFIX}/share/bash-completion/completions/tremc"
Index: net-p2p/tremc/files/pkg-message.in
===================================================================
--- /dev/null
+++ net-p2p/tremc/files/pkg-message.in
@@ -0,0 +1,10 @@
+###################################################################
+
+Please run "tremc --create-config" to create the configuration file
+with default values.
+
+NOTE: A config file won't be created unless you provide this
+option at least once. After that, it is rewritten whenever tremc
+exits.
+
+###################################################################
Index: net-p2p/tremc/pkg-descr
===================================================================
--- /dev/null
+++ net-p2p/tremc/pkg-descr
@@ -0,0 +1,7 @@
+Curses interface for transmission.
+
+Python3 fork of the no longer maintained transmission-remote-cli. Some
+extra modifications have been included and development will follow the
+original project as much as possible.
+
+WWW: https://github.com/louipc/tremc

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 26, 1:42 AM (1 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24159679
Default Alt Text
D13618.id37023.diff (3 KB)

Event Timeline