diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-05-02 06:39:12 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-05-02 06:39:12 +0000 |
commit | 035646ee650e1641b2dac43a8404e423cd35d273 (patch) | |
tree | 7e110eaf4b3ad1ac554c03eb2bb08c7be10ed4bf /net/wmq3/files/patch-wmq3.c | |
parent | - fix distinfo (diff) |
remove unmaintained expired ports from net
2011-05-01 net/44bsd-rdist: Upstream disapear and distfile is no more available
2011-05-01 net/bbsnet: Upstream disapear and distfile is no more available
2011-05-01 net/bing: Upstream disapear and distfile is no more available
2011-05-01 net/brutecopy: Upstream disapear and distfile is no more available
2011-05-01 net/crescendo: Upstream disapear and distfile is no more available
2011-05-01 net/danamics: Upstream disapear and distfile is no more available
2011-05-01 net/etunnel: Upstream disapear and distfile is no more available
2011-05-01 net/gastman: Upstream disapear and distfile is no more available
2011-05-01 net/generic-nqs: Upstream disapear and distfile is no more available
2011-05-01 net/gkrellmmultiping2: Upstream disapear and distfile is no more available
2011-05-01 net/gkrellmwireless: Upstream disapear and distfile is no more available
2011-05-01 net/gnoemoe: Upstream disapear and distfile is no more available
2011-05-01 net/gnosamba: Upstream disapear and distfile is no more available
2011-05-01 net/merlinmon: Upstream disapear and distfile is no more available
2011-05-01 net/msntp: Upstream disapear and distfile is no more available
2011-05-01 net/ntalk: Upstream disapear and distfile is no more available
2011-05-01 net/ntraceroute: Upstream disapear and distfile is no more available
2011-05-01 net/onion-fec: Upstream disapear and distfile is no more available
2011-05-01 net/openverse: Upstream disapear and distfile is no more available
2011-05-01 net/poink: Upstream disapear and distfile is no more available
2011-05-01 net/roadrunner: Upstream disapear and distfile is no more available
2011-05-01 net/sambasentinel: Upstream disapear and distfile is no more available
2011-05-01 net/scand: Upstream disapear and distfile is no more available
2011-05-01 net/tacshell: Upstream disapear and distfile is no more available
2011-05-01 net/telserv: Upstream disapear and distfile is no more available
2011-05-01 net/tridiavnc: Upstream disapear and distfile is no more available
2011-05-01 net/tvark: Upstream disapear and distfile is no more available
2011-05-01 net/warppipe: Upstream disapear and distfile is no more available
2011-05-01 net/wistumbler2: Upstream disapear and distfile is no more available
2011-05-01 net/wmq3: Upstream disapear and distfile is no more available
2011-05-01 net/xbone-gui: will be unsupported by ASF when 2.4.0 is release, migrate to 2.2.x+ now
2011-05-01 net/xsmbrowser: Upstream disapear and distfile is no more available
2011-05-01 net/xtraceroute: Upstream disapear and distfile is no more available
2011-05-01 net/ytalk: Upstream disapear and distfile is no more available
2011-05-01 net/zniper: Upstream disapear and distfile is no more available
Notes
Notes:
svn path=/head/; revision=273447
Diffstat (limited to 'net/wmq3/files/patch-wmq3.c')
-rw-r--r-- | net/wmq3/files/patch-wmq3.c | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/net/wmq3/files/patch-wmq3.c b/net/wmq3/files/patch-wmq3.c deleted file mode 100644 index 4d8d2e8da27c..000000000000 --- a/net/wmq3/files/patch-wmq3.c +++ /dev/null @@ -1,72 +0,0 @@ ---- wmq3.c.orig Sun Dec 9 18:34:46 2001 -+++ wmq3.c Sun Dec 30 01:56:37 2001 -@@ -72,6 +72,7 @@ - int TimerDivisor=60; - int WaveForm=0; - int myStatus=0; -+char *rcfilename = NULL; - - // serverstuff - char server[100][10]; -@@ -100,7 +101,7 @@ - void DrawStats(int *, int, int, int, int); - int left(char *mleft, char *line,char limiter); - void strip(char *line); --int GetConfig(); -+int GetConfig(char *config); - void ButtonUp(int); - void ButtonDown(int); - void execute(); -@@ -118,11 +119,15 @@ - if (strlen(ProgName) >= 4) - ProgName += (strlen(ProgName) - 4); - -- if(GetConfig()<0) -- { -- printf("No servers in configfile\n"); -- exit(0); -- } -+ if (!rcfilename) -+ { -+ char *homedir; -+ homedir = getenv("HOME"); -+ rcfilename = calloc(1, strlen(homedir) + 9); -+ strcat(rcfilename, homedir); -+ strcat(rcfilename, "/.wmq3rc"); -+ } -+ GetConfig(rcfilename); - currserver=0; - wmq3_routine(argc, argv); - return 1; -@@ -476,7 +481,7 @@ - /******************************************************************************* - read config - ******************************************************************************/ --int GetConfig() -+int GetConfig(char *config) - { - FILE *fh; - char buffer[256]; -@@ -487,8 +492,10 @@ - clickcall = (char **)malloc(30 * sizeof(char*)); - - // read configfile -- fh=fopen("/etc/wmq3rc","r"); -+ fh=fopen(config,"r"); - -+ if(fh) -+ { - memset(buffer,0,sizeof(buffer)); - clickparms=-1; - while(fgets(buffer,255,fh)) -@@ -549,6 +556,10 @@ - - fclose(fh); - return scount; -+ } else { -+ fprintf(stderr,"No config file found.\n"); -+ } -+ - } - void strip(char *line) - { |