Changeset 1617
- Timestamp:
- Mar 31, 2007, 8:00:40 PM (15 years ago)
- Location:
- branches/daemon
- Files:
-
- 20 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/daemon/AUTHORS
r1495 r1617 11 11 + Back-end 12 12 + GTK+ interface 13 + Daemon interface 13 14 14 15 Mitchell Livingston <livings124@gmail.com> -
branches/daemon/cli/transmissioncli.1
r920 r1617 19 19 .Sh NAME 20 20 .Nm transmissioncli 21 .Nd a lightweightbittorrent client21 .Nd a bittorrent client 22 22 .Sh SYNOPSIS 23 23 .Nm transmissioncli 24 24 .Bk -words 25 .Op Fl h 26 .Op Fl i Ar torrent-file 27 .Op Fl s Ar torrent-file 25 .Fl h 26 .Nm 28 27 .Op Fl v Ar level 28 .Fl i 29 .Ar torrent-file 30 .Nm 31 .Op Fl v Ar level 32 .Fl s 33 .Ar torrent-file 34 .Nm 35 .Op Fl v Ar level 36 .Op Fl p Ar port 37 .Op Fl d Ar download-rate 38 .Op Fl u Ar upload-rate 39 .Op Fl f Ar script 29 40 .Op Fl n 30 .Op Fl p Ar port 31 .Op Fl u Ar upload-rate 32 .Op Fl u Ar download-rate 33 .Op Fl f Ar script 41 .Ar torrent-file 34 42 .Ek 35 43 .Sh DESCRIPTION … … 37 45 .Nm 38 46 program is a lightweight, command-line BitTorrent client with 39 scripting capabilities. The options are as follows:47 scripting capabilities. 40 48 .Pp 49 The options are as follows: 41 50 .Bl -tag -width Ds 42 51 .It Fl h, Fl -help 43 52 Prints a short usage summary. 44 .It Fl i, Fl -info Ar torrent-file53 .It Fl i, Fl -info 45 54 Shows information from the specified torrent file, such as the 46 55 cryptographic hash, the tracker, announcement, file size and file 47 56 name. 48 .It Fl s, -scrape Ar torrent-file57 .It Fl s, -scrape 49 58 Prints the number of seeders and leechers for the specified torrent 50 59 file, and exits. … … 59 68 9090. 60 69 .It Fl u, -upload Ar upload-rate 61 Specifies the maximum upload rate in kB/s, which defaults to 20. The70 Specifies the maximum upload rate in kB/s, which defaults to 20. The 62 71 level -1 may be used for unlimited uploads. 63 72 .It Fl d, -download Ar download-rate … … 78 87 program was written by 79 88 .An -nosplit 80 .An Eric Petit Aq titer@m0k.org 81 .An Josh Elsasser Aq josh@elsasser.org 82 .An Bryan Varner Aq bryan@varnernet.com 89 .An Eric Petit Aq titer@m0k.org , 90 .An Josh Elsasser Aq josh@elsasser.org , 83 91 and 84 .An Mi chael Demars Aq keul@m0k.org.92 .An Mitchell Livingston Aq livings124@gmail.com . 85 93 .Sh SEE ALSO 94 .Xr transmission-daemon 1 , 95 .Xr transmission-gtk 1 , 96 .Xr transmission-remote 1 97 .Pp 86 98 http://transmission.m0k.org 87 99 .Sh CAVEATS 88 100 .Nm 89 101 currently saves its downloads into the directory from which it was 90 called. If this directory is not writ eable by the user, the program102 called. If this directory is not writable by the user, the program 91 103 will terminate unexpectedly. -
branches/daemon/configure
r1603 r1617 13 13 OPENSSL= 14 14 GTK= 15 LIBEVENT= 15 16 PREFIX=/usr/local 16 17 CC="${CC-cc}" … … 31 32 --disable-openssl Disable OpenSSL, use built-in SHA1 implementation 32 33 --disable-gtk Don't build the GTK+ GUI 34 --disable-daemon Don't build the daemon 33 35 --prefix=PATH Installation path 34 36 --verbose Display additional information for debugging … … 213 215 } 214 216 217 libevent_test() 218 { 219 verbose libevent_test 220 cat > testconf.c <<EOF 221 #include <sys/time.h> 222 #include <event.h> 223 int main() 224 { 225 event_init(); 226 return 0; 227 } 228 EOF 229 230 if runcmd $CC $CFLAGS -levent $LDFLAGS -o testconf testconf.c 231 then 232 LIBEVENT=yes 233 LDFLAGS_EVENT="-levent" 234 rm -f testconf* 235 return 0 236 fi 237 238 for event_testdir in $PREFIX /usr/local /usr/X11R6 /usr/pkg 239 do 240 if runcmd $CC $CFLAGS -I$event_testdir/include $LDFLAGS -levent \ 241 -L$event_testdir/lib -o testconf testconf.c 242 then 243 LIBEVENT=yes 244 CFLAGS_EVENT="-I$event_testdir/include" 245 LDFLAGS_EVENT="-levent -L$event_testdir/lib" 246 rm -f testconf* 247 return 0 248 fi 249 done 250 LIBEVENT=no 251 rm -f testconf* 252 return 1 253 } 254 215 255 # 216 256 # Parse options … … 222 262 x--disable-openssl|x--without-openssl) 223 263 OPENSSL=no 264 ;; 265 x--disable-daemon|x--without-daemon) 266 LIBEVENT=no 224 267 ;; 225 268 x--disable-gtk|x--without-gtk) … … 332 375 333 376 # 377 # libevent settings 378 # 379 echo -n "Daemon: " 380 if [ "$LIBEVENT" = no ]; then 381 echo "disabled" 382 else 383 if libevent_test; then 384 echo "yes" 385 else 386 echo "no (can't find libevent)" 387 fi 388 fi 389 390 # 334 391 # Math functions 335 392 # … … 349 406 OPENSSL = $OPENSSL 350 407 GTK = $GTK 408 DAEMON = $LIBEVENT 351 409 CC = $CC 352 410 CFLAGS = $CFLAGS … … 356 414 CFLAGS_GTK = $CFLAGS_GTK 357 415 LDFLAGS_GTK = $LDFLAGS_GTK 416 CFLAGS_EVENT = $CFLAGS_EVENT 417 LDFLAGS_EVENT = $LDFLAGS_EVENT 358 418 EOF 359 419 -
branches/daemon/mk/default.mk
r1505 r1617 7 7 ifeq ($(GTK),yes) 8 8 TARGETS += .gtk 9 endif 10 ifeq ($(DAEMON),yes) 11 TARGETS += .daemon 9 12 endif 10 13 ifeq ($(SYSTEM),BeOS) … … 26 29 @$(MAKE) $(MAKEARGS) -C gtk -f ../mk/gtk.mk 27 30 31 .daemon: .lib 32 @echo "* Building Transmission daemon client" 33 @$(MAKE) $(MAKEARGS) -C daemon -f ../mk/daemon.mk 34 28 35 .beos: .lib 29 36 @echo "* Building Transmission BeOS client" … … 40 47 @$(MAKE) $(MAKEARGS) -C gtk -f ../mk/gtk.mk install 41 48 49 .install.daemon: .daemon 50 @echo "* Installing Transmission daemon client" 51 @$(MAKE) $(MAKEARGS) -C daemon -f ../mk/daemon.mk install 52 42 53 .install.beos: 43 54 … … 53 64 @$(MAKE) $(MAKEARGS) -C gtk -f ../mk/gtk.mk clean 54 65 endif 66 ifeq ($(DAEMON),yes) 67 @$(MAKE) $(MAKEARGS) -C daemon -f ../mk/daemon.mk clean 68 endif 55 69 ifeq ($(SYSTEM),BeOS) 56 70 @$(MAKE) $(MAKEARGS) -C beos -f ../mk/beos.mk clean -
branches/daemon/mk/gtk.mk
r1504 r1617 35 35 $(DEP_RULE) 36 36 37 install: transmission-gtk .po desktop.install icon.install37 install: transmission-gtk man.install desktop.install icon.install .po 38 38 $(INSTALL_BIN_RULE) 39 39 @$(MAKE) $(MAKEARGS) -C po -f ../../mk/po.mk install … … 45 45 $(INSTALL_ICON_RULE) 46 46 47 man.install: transmission-gtk.1 48 $(INSTALL_MAN_RULE) 49 47 50 morepot: $(SRCS) 48 51 xgettext --output=po/transmission-gtk.pot --from-code=UTF-8 --add-comments --keyword=_ --keyword=N_ $^
Note: See TracChangeset
for help on using the changeset viewer.