mktorrent: updated to 0.3
This commit is contained in:
parent
ad596198ac
commit
5f74e43e2c
@ -1,2 +1 @@
|
||||
29931659e8f2fea0d29fb4db896520b5 mktorrent-0.2.diff
|
||||
71784666043fbd97c020fc62b3dcd972 mktorrent-0.2.tar.gz
|
||||
47e5155a74c350e9ce304711c3c7194f mktorrent-0.3.tar.gz
|
||||
|
@ -4,14 +4,12 @@
|
||||
# Depends on:
|
||||
|
||||
name=mktorrent
|
||||
version=0.2
|
||||
version=0.3
|
||||
release=1
|
||||
source=(http://dl.sf.net/mktorrent/mktorrent-$version.tar.gz
|
||||
mktorrent-$version.diff)
|
||||
source=(http://dl.sf.net/mktorrent/mktorrent-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd mktorrent-$version
|
||||
patch -p1 -i $SRC/mktorrent-$version.diff
|
||||
make
|
||||
make DESTDIR=$PKG PREFIX=/usr install
|
||||
}
|
||||
|
@ -1,21 +0,0 @@
|
||||
diff -uprN mktorrent-0.2.old/init.c mktorrent-0.2/init.c
|
||||
--- mktorrent-0.2.old/init.c 2007-02-25 22:50:11.000000000 +0200
|
||||
+++ mktorrent-0.2/init.c 2007-03-30 01:26:32.152281353 +0300
|
||||
@@ -213,7 +213,7 @@ static void print_help()
|
||||
"-o, --output=<filename> : set the path and filename of the created file\n"
|
||||
" default is <name>.torrent\n"
|
||||
"-p, --piece-length=<n> : set the piece length to 2^n bytes,\n"
|
||||
- " default is 18, that is 2^18 = 265kb.\n"
|
||||
+ " default is 18, that is 2^18 = 256kb.\n"
|
||||
"-v, --verbose : be verbose\n"
|
||||
"\nPlease send bug reports, patches, feature requests, praise and\n"
|
||||
"general gossip about the program to: esmil@imf.au.dk\n");
|
||||
@@ -249,7 +249,7 @@ void init(int argc, char *argv[])
|
||||
{"announce", 1, NULL, 'a'},
|
||||
{"comment", 1, NULL, 'c'},
|
||||
{"no-date", 0, NULL, 'd'},
|
||||
- {"help", 1, NULL, 'h'},
|
||||
+ {"help", 0, NULL, 'h'},
|
||||
{"name", 1, NULL, 'n'},
|
||||
{"output", 1, NULL, 'o'},
|
||||
{"piece-length", 1, NULL, 'p'},
|
Loading…
Reference in New Issue
Block a user