diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-03-25 05:44:08 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-03-25 05:44:08 +0000 |
commit | a7dc96946eb6ed0ca083f66d3a58032f5be34f82 (patch) | |
tree | e417bf5d81456c529d76835dfa67e4e88e7cfb8f /audio/napster | |
parent | Fix problem with auth_ttyok and ttyname (diff) |
Update to 1.5.0
Approved by: petef(maintainer)
Notes
Notes:
svn path=/head/; revision=56602
Diffstat (limited to 'audio/napster')
-rw-r--r-- | audio/napster/Makefile | 2 | ||||
-rw-r--r-- | audio/napster/distinfo | 2 | ||||
-rw-r--r-- | audio/napster/files/patch-cmds.c | 12 | ||||
-rw-r--r-- | audio/napster/files/patch-nap.c | 22 |
4 files changed, 36 insertions, 2 deletions
diff --git a/audio/napster/Makefile b/audio/napster/Makefile index 501014c6548b..3d9f1b55087c 100644 --- a/audio/napster/Makefile +++ b/audio/napster/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nap -PORTVERSION= 1.4.8 +PORTVERSION= 1.5.0 CATEGORIES= audio net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= nap diff --git a/audio/napster/distinfo b/audio/napster/distinfo index d269a4d05623..9e3dce3ef7f8 100644 --- a/audio/napster/distinfo +++ b/audio/napster/distinfo @@ -1 +1 @@ -MD5 (nap-1.4.8.tar.gz) = a892969328f380fd0c87a886d6f0dcdd +MD5 (nap-1.5.0.tar.gz) = 37f212b818e4d0a1674ddd63f638e1b3 diff --git a/audio/napster/files/patch-cmds.c b/audio/napster/files/patch-cmds.c new file mode 100644 index 000000000000..940c1c002e56 --- /dev/null +++ b/audio/napster/files/patch-cmds.c @@ -0,0 +1,12 @@ +--- cmds.c.orig Sat Mar 9 17:29:08 2002 ++++ cmds.c Sat Mar 9 17:29:41 2002 +@@ -19,8 +19,8 @@ + #include <dlfcn.h> + #include <sys/types.h> + #include <sys/socket.h> +-#include <arpa/inet.h> + #include <netinet/in.h> ++#include <arpa/inet.h> + #include <sys/time.h> + #include <unistd.h> + #include <signal.h> diff --git a/audio/napster/files/patch-nap.c b/audio/napster/files/patch-nap.c new file mode 100644 index 000000000000..77af9210480c --- /dev/null +++ b/audio/napster/files/patch-nap.c @@ -0,0 +1,22 @@ +--- nap.c.orig Fri Mar 1 11:17:37 2002 ++++ nap.c Sat Mar 9 17:24:26 2002 +@@ -1987,7 +1987,7 @@ + char *buf; + char *p; + int i, r; +- int timeout; ++ int timeout, on = 1; + + timeout = nvar_default("connecttimeout", CONNECTTIMEOUT); + +@@ -2010,6 +2010,10 @@ + wp(wchan, "Error creating socket: %s\n", strerror(errno)); + drw(wchan); + return(-1); ++ } ++ ++ if (setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) == -1) { ++ perror("setsockopt(SO_REUSEADDR)"); + } + + if (connect_t(s, (struct sockaddr *)&dst, sizeof(dst), timeout) == -1) { |