rtorrent: My first patch attempt

Marcus D'Camp carcus at carcus.net
Wed Oct 10 17:16:58 PDT 2007


I'll start with a little background.  I attempted to contact the
maintainer about the port to be patched, but didn't get a response so I
decided to take a more DIY approach since I wanted to learn more about
mac ports anyways.  The only thing to be done is upgrade the version and
checksums.  I was just wondering if you guys could check my work
before I look a fool posting it to trac, it seems like the diff file is
a bit redundant. Here's a insert of
diff -u Portfile.orig Portfile > Portfile-rtorrent.diff

--- Portfile.orig	2007-10-10 16:41:17.000000000 -0700
+++ Portfile	2007-10-10 16:56:34.000000000 -0700
@@ -2,28 +2,28 @@
 
 PortSystem 1.0
 
-name			rtorrent
-version			0.7.4
-categories		net
-platforms		darwin
-maintainers		imajes at macports.org
-description		console-based BitTorrent client
-long_description	rTorrent is a console-based BitTorrent client. It aims to \
-				be a fully-featured and efficient client with the ability to \
-				run in the background using screen. It supports fast-resume \
-				and session management.
+name                    rtorrent
+version                 0.7.7
+categories              net
+platforms               darwin
+maintainers             imajes at macports.org
+description             console-based BitTorrent client
+long_description        rTorrent is a console-based BitTorrent client. It aims to \
+                                be a fully-featured and efficient client with the ability to \
+                                run in the background using screen. It supports fast-resume \
+                                and session management.
 
-homepage		http://libtorrent.rakshasa.no/
-master_sites	${homepage}downloads/
-checksums		md5 6a846c129c1b3d0d08478faa4c3d8339 \
-                sha1 4060913d19204c0978d6378a71f4898714ac20e4 \
-                rmd160 17c72af77b3184db0488147c4ae80d4019bea6f0
+homepage                http://libtorrent.rakshasa.no/
+master_sites    ${homepage}downloads/
+checksums               md5 430ac264605fc13be6a5d15180e5c957 \
+                sha1 0994cfc5fd4915ce18520169963e8b4836ac54a8 \
+                rmd160 bf10c9075ea6536c7f2dd92f670b915af4d1752b 
 
-depends_lib		port:curl \
-				port:libsigcxx2 \
-				port:libtorrent \
-				port:ncurses \
-				port:openssl \
-				port:zlib
+depends_lib             port:curl \
+                                port:libsigcxx2 \
+                                port:libtorrent \
+                                port:ncurses \
+                                port:openssl \
+                                port:zlib
 
-configure.args	--mandir=${prefix}/share/man
+configure.args  --mandir=${prefix}/share/man
-- 
Marcus D'Camp


More information about the macports-users mailing list