diff options
author | acm <acm@FreeBSD.org> | 2010-12-21 01:05:28 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2010-12-21 01:05:28 +0800 |
commit | ff4708a03864605c3bebeb076aaa655e4c5e3b59 (patch) | |
tree | 083b6d40eb4226f5306167445a645b90e8f4f0b0 /net-im | |
parent | 65ee903efda551398fc14a0a2b00127641b64c56 (diff) | |
download | freebsd-ports-graphics-ff4708a03864605c3bebeb076aaa655e4c5e3b59.tar.gz freebsd-ports-graphics-ff4708a03864605c3bebeb076aaa655e4c5e3b59.tar.zst freebsd-ports-graphics-ff4708a03864605c3bebeb076aaa655e4c5e3b59.zip |
- Update to 2.3.2
Feature safe: yes
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/cli-msn/Makefile | 4 | ||||
-rw-r--r-- | net-im/cli-msn/distinfo | 5 | ||||
-rw-r--r-- | net-im/cli-msn/files/patch-src_conf.c | 48 | ||||
-rw-r--r-- | net-im/cli-msn/files/patch-src_defs.c | 10 | ||||
-rw-r--r-- | net-im/cli-msn/files/patch-src_tcp_soc.c | 11 |
5 files changed, 4 insertions, 74 deletions
diff --git a/net-im/cli-msn/Makefile b/net-im/cli-msn/Makefile index e5357b5a88b..f5efd28430e 100644 --- a/net-im/cli-msn/Makefile +++ b/net-im/cli-msn/Makefile @@ -6,8 +6,7 @@ # PORTNAME= msn -PORTVERSION= 2.3 -PORTREVISION= 3 +PORTVERSION= 2.3.2 CATEGORIES= net-im MASTER_SITES= http://mor-pah.net/code/ PKGNAMEPREFIX= cli- @@ -24,6 +23,7 @@ CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_LIBS} LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +WRKSRC= ${WRKDIR}/climsn SUB_FILES= pkg-message PLIST_FILES= bin/cli-msn \ share/${PKGNAMEPREFIX}${PORTNAME}/msn.conf \ diff --git a/net-im/cli-msn/distinfo b/net-im/cli-msn/distinfo index 025dbe401c4..b940d24beb2 100644 --- a/net-im/cli-msn/distinfo +++ b/net-im/cli-msn/distinfo @@ -1,3 +1,2 @@ -MD5 (CLI-MSN-2.3.tar.gz) = 8c573200138bf2bfc7765fce8a24d9f7 -SHA256 (CLI-MSN-2.3.tar.gz) = 14e03aa250a3b2ef66b59adf594a38a30fa7b7ebefed3400f853e9ee95b4c6f6 -SIZE (CLI-MSN-2.3.tar.gz) = 220402 +SHA256 (CLI-MSN-2.3.2.tar.gz) = 1c14d333c9ed1745d707b85b50ed89037cd7e03160431c8f60ca364c1e8c641e +SIZE (CLI-MSN-2.3.2.tar.gz) = 227993 diff --git a/net-im/cli-msn/files/patch-src_conf.c b/net-im/cli-msn/files/patch-src_conf.c deleted file mode 100644 index b2c734f2e9f..00000000000 --- a/net-im/cli-msn/files/patch-src_conf.c +++ /dev/null @@ -1,48 +0,0 @@ ---- src/conf.c Mon Dec 19 16:25:35 2005 -+++ src/conf.c Fri Mar 31 20:56:39 2006 -@@ -6,6 +6,7 @@ - */ - - #include <stdio.h> -+#include <stdlib.h> - #include <string.h> - #include "headers/defs.h" - #include "headers/conf.h" -@@ -15,15 +16,35 @@ - int ctr, tmp; - int flag = 0; - FILE *fp; -+ char *homedir; - char ch; -+ char home_directory[255]; - char pre[255]; /* Temp Buffer for config lines */ - char _confstr[MAX_NO_LINES][MAX_LINE_LENGTH]; /* Temp buffer for valid config lines */ -+ -+ homedir = getenv("HOME"); -+ if (homedir == NULL) -+ { -+ homedir = getenv("USER"); -+ if (homedir == NULL) -+ { -+ homedir = getenv("USERNAME"); -+ if (homedir == NULL) -+ { -+ cli_msg( stderr, "Could not find user's home directory!\n" ); -+ } -+ } -+ strcpy(home_directory,"/home/"); -+ } -+ -+ strcpy(home_directory,homedir); -+ strcat(home_directory,"/.msn/msn.conf"); - -- if ( (fp = fopen(CONF_LOCATION, "r")) != NULL ){ -+ if ( (fp = fopen(home_directory, "r")) != NULL ){ - cli_msg("Reading msn.conf...\n"); - } - else { -- cli_msg("No config file found at: %s\n", CONF_LOCATION); -+ cli_msg("No config file found at: %s\n", home_directory); - cli_msg("Continuing with command line args and defaults\n"); - return; - } diff --git a/net-im/cli-msn/files/patch-src_defs.c b/net-im/cli-msn/files/patch-src_defs.c deleted file mode 100644 index 88ab62b6370..00000000000 --- a/net-im/cli-msn/files/patch-src_defs.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/headers/defs.h Wed Jan 4 10:52:17 2006 -+++ src/headers/defs.h Fri Mar 31 20:29:12 2006 -@@ -1,7 +1,6 @@ - #define VERSION "CLI-MSN-2.3" - #define MAX_LINE_LENGTH 255 /* Config File line length */ - #define MAX_NO_LINES 5 /* Config File No. Lines */ --#define CONF_LOCATION "msn.conf" /* Default locality of msn.conf */ - #define MAX_LIST_SIZE 150 - #define MAX_ACCOUNT_LEN 130 - #define MAX_NICK_LEN 130 diff --git a/net-im/cli-msn/files/patch-src_tcp_soc.c b/net-im/cli-msn/files/patch-src_tcp_soc.c deleted file mode 100644 index 9b8b3f0b091..00000000000 --- a/net-im/cli-msn/files/patch-src_tcp_soc.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/tcp_sock.c 2006-04-19 12:13:21.000000000 -0800 -+++ src/tcp_sock.c 2007-10-01 13:31:39.000000000 -0800 -@@ -153,7 +153,6 @@ - void tcp_sockdcon(int sock_num) - { - close((int) tcp_sock[sock_num]); -- (int) tcp_sock[sock_num] = 0; - } - - /* Read Data Function (Data IN)*/ -Common subdirectories: src.orig/windows and src/windows |