updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / gjiten / getdics-updurl.diff
blob3585062fa6b155460208aced382e25cd80304c54
1 --- getdics.pl 2006-10-30 02:17:36.000000000 +0900
2 +++ ../../../getdics-updurl.pl 2011-07-24 15:00:34.000000000 +0900
3 @@ -80,7 +80,7 @@
5 my @dics = (
6 {
7 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/edict.gz",
8 + "url" => "http://ftp.monash.edu.au/pub/nihongo/edict.gz",
9 "package" => "edict.gz",
10 "format" => "gzip",
11 "encoding" => "EUC-JP",
12 @@ -90,7 +90,7 @@
13 "section" => "basic",
16 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/kanjidic.gz",
17 + "url" => "http://ftp.monash.edu.au/pub/nihongo/kanjidic.gz",
18 "package" => "kanjidic.gz",
19 "format" => "gzip",
20 "encoding" => "EUC-JP",
21 @@ -102,7 +102,7 @@
23 # EXTRA
25 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/enamdict.gz",
26 + "url" => "http://ftp.monash.edu.au/pub/nihongo/enamdict.gz",
27 "package" => "enamdict.gz",
28 "format" => "gzip",
29 "encoding" => "EUC-JP",
30 @@ -112,7 +112,7 @@
31 "section" => "extra",
34 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/j_places.gz",
35 + "url" => "http://ftp.monash.edu.au/pub/nihongo/j_places.gz",
36 "package" => "j_places.gz",
37 "format" => "gzip",
38 "encoding" => "EUC-JP",
39 @@ -122,7 +122,7 @@
40 "section" => "extra",
43 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/lifscdic.Z",
44 + "url" => "http://ftp.monash.edu.au/pub/nihongo/lifscdic.Z",
45 "package" => "lifscdic.Z",
46 "format" => "gzip",
47 "encoding" => "EUC-JP",
48 @@ -132,7 +132,7 @@
49 "section" => "extra",
52 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/engscidic.gz",
53 + "url" => "http://ftp.monash.edu.au/pub/nihongo/engscidic.gz",
54 "package" => "engscidic.gz",
55 "format" => "gzip",
56 "encoding" => "EUC-JP",
57 @@ -142,7 +142,7 @@
58 "section" => "extra",
61 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/compdic.gz",
62 + "url" => "http://ftp.monash.edu.au/pub/nihongo/compdic.gz",
63 "package" => "compdic.gz",
64 "format" => "gzip",
65 "encoding" => "EUC-JP",
66 @@ -152,7 +152,7 @@
67 "section" => "extra",
70 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/geodic.gz",
71 + "url" => "http://ftp.monash.edu.au/pub/nihongo/geodic.gz",
72 "package" => "geodic.gz",
73 "format" => "gzip",
74 "encoding" => "EUC-JP",
75 @@ -162,7 +162,7 @@
76 "section" => "extra",
79 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/compverb.gz",
80 + "url" => "http://ftp.monash.edu.au/pub/nihongo/compverb.gz",
81 "package" => "compverb.gz",
82 "format" => "gzip",
83 "encoding" => "EUC-JP",
84 @@ -172,7 +172,7 @@
85 "section" => "extra",
88 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/riverwater.zip",
89 + "url" => "http://ftp.monash.edu.au/pub/nihongo/riverwater.zip",
90 "package" => "riverwater.zip",
91 "format" => "zip",
92 "encoding" => "EUC-JP",
93 @@ -182,7 +182,7 @@
94 "section" => "extra",
97 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/4jword3_edict.zip",
98 + "url" => "http://ftp.monash.edu.au/pub/nihongo/4jword3_edict.zip",
99 "package" => "4jword3_edict.zip",
100 "format" => "zip",
101 "encoding" => "EUC-JP",
102 @@ -192,7 +192,7 @@
103 "section" => "extra",
106 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/classical.zip",
107 + "url" => "http://ftp.monash.edu.au/pub/nihongo/classical.zip",
108 "package" => "classical.zip",
109 "format" => "zip",
110 "encoding" => "EUC-JP",
111 @@ -202,7 +202,7 @@
112 "section" => "extra",
115 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/lingdic.zip",
116 + "url" => "http://ftp.monash.edu.au/pub/nihongo/lingdic.zip",
117 "package" => "lingdic.zip",
118 "format" => "zip",
119 "encoding" => "EUC-JP",
120 @@ -212,7 +212,7 @@
121 "section" => "extra",
124 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/forsdic.zip",
125 + "url" => "http://ftp.monash.edu.au/pub/nihongo/forsdic.zip",
126 "package" => "forsdic.zip",
127 "format" => "zip",
128 "encoding" => "EUC-JP",
129 @@ -222,7 +222,7 @@
130 "section" => "extra",
133 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/aviation.zip",
134 + "url" => "http://ftp.monash.edu.au/pub/nihongo/aviation.zip",
135 "package" => "aviation.zip",
136 "format" => "zip",
137 "encoding" => "EUC-JP",
138 @@ -232,7 +232,7 @@
139 "section" => "extra",
142 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/concrete.zip",
143 + "url" => "http://ftp.monash.edu.au/pub/nihongo/concrete.zip",
144 "package" => "concrete.zip",
145 "format" => "zip",
146 "encoding" => "EUC-JP",
147 @@ -242,7 +242,7 @@
148 "section" => "extra",
151 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/findic.zip",
152 + "url" => "http://ftp.monash.edu.au/pub/nihongo/findic.zip",
153 "package" => "findic.zip",
154 "format" => "zip",
155 "encoding" => "EUC-JP",
156 @@ -252,7 +252,7 @@
157 "section" => "extra",
160 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/mktdic.zip",
161 + "url" => "http://ftp.monash.edu.au/pub/nihongo/mktdic.zip",
162 "package" => "mktdic.zip",
163 "format" => "zip",
164 "encoding" => "EUC-JP",
165 @@ -262,7 +262,7 @@
166 "section" => "extra",
169 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/stardict.zip",
170 + "url" => "http://ftp.monash.edu.au/pub/nihongo/stardict.zip",
171 "package" => "stardict.zip",
172 "format" => "zip",
173 "encoding" => "EUC-JP",
174 @@ -272,7 +272,7 @@
175 "section" => "extra",
178 - "url" => "http://ftp.cc.monash.edu.au/pub/nihongo/buddhdic.zip",
179 + "url" => "http://japanologie.arts.kuleuven.be/mirrors/monash/Buddhdic.zip",
180 "package" => "buddhdic.zip",
181 "format" => "zip",
182 "encoding" => "UTF-8",
183 @@ -328,7 +328,7 @@
184 next if (($BASICSETUP == 1) && ($dic->{section} eq "extra"));
186 # DOWNLOAD
187 -#wget -c http://ftp.cc.monash.edu.au/pub/nihongo/edict.gz -O dl/edict.gz
188 +#wget -c http://ftp.monash.edu.au/pub/nihongo/edict.gz -O dl/edict.gz
189 if (! -f "$DLDIR/$dic->{package}") {
190 print "Downloading \"$dic->{name}\" from $dic->{url}\n";
191 my @wget = ("$WGET -q -c $dic->{url} -O $DLDIR/$dic->{package}");