weex-2.6.1/0040777000016100001440000000000007121420631011351 5ustar ludousersweex-2.6.1/po/0040777000016100001440000000000007121420627011774 5ustar ludousersweex-2.6.1/po/de.po0100664000016100001440000003423707121420627012730 0ustar ludousers# Fast Webpage Exchanger # Copyright (C) 1999-2000 Yuuki NINOMIYA # # German translations # Christian Ullrich , 1999-2000. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Fast Webpage Exchanger 2.5.0\n" "POT-Creation-Date: 2000-05-30 23:53+0900\n" "PO-Revision-Date: 2000-02-25 06:10+0100\n" "Last-Translator: Christian Ullrich \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #: src/cache.c:62 #, c-format msgid "Rebuilding cache file `%s'.\n" msgstr "Erstelle Cache-Datei `%s' neu.\n" #: src/cache.c:69 #, c-format msgid "Cache file `%s' does not exist." msgstr "Die Cache-Datei `%s' existiert nicht." #: src/cache.c:71 msgid " Creating a new one.\n" msgstr " Erstelle eine neue.\n" #: src/cache.c:83 src/cache.c:89 #, c-format msgid "Cache file `%s' is broken at line %d.\n" msgstr "Cache-Datei `%s' ist beschädigt in Zeile %d.\n" #: src/cache.c:200 msgid "Internal error: cache facility is broken.\n" msgstr "Interner Fehler in Cache-Verwaltung.\n" #: src/cache.c:287 #, c-format msgid "Cannot create cache file `%s'.\n" msgstr "Kann Cache-Datei `%s' nicht erstellen.\n" #: src/config.c:109 #, c-format msgid "Configuration file `%s/.weex/weexrc' does not exist.\n" msgstr "Die Konfigurationsdatei `%s/.weex/weexrc' existiert nicht.\n" #: src/config.c:115 msgid "There is no section in configuration file.\n" msgstr "In der Konfigurationsdatei sind keine Remote-Hosts definiert.\n" #: src/config.c:140 #, c-format msgid "Cannot make directory `%s'.\n" msgstr "Kann Verzeichnis `%s' nicht erstellen.\n" #: src/config.c:143 #, c-format msgid "Created directory `%s'.\n" msgstr "Verzeichnis `%s' erstellt.\n" #: src/config.c:161 #, c-format msgid "Cannot get file status: `%s'\n" msgstr "Kann Dateistatus nicht feststellen: `%s'.\n" #: src/config.c:185 msgid "A `default' section is required.\n" msgstr "Ein `default'-Abschnitt ist erforderlich.\n" #: src/config.c:241 msgid "" "When you set ChangePermissionDir, you must configure ChangePermission.\n" msgstr "" "Wenn Sie ChangePermissionDir setzen, mssen Sie ChangePermission angeben.\n" #: src/filedata.c:77 #, c-format msgid "Cannot expand symbolic link `%s'. Ignore this file.\n" msgstr "" "Kann den symbolischen Link `%s' nicht auflsen. Ignoriere diese Datei.\n" #: src/filedata.c:78 #, c-format msgid "Expanding symbolic link failed: %s" msgstr "Kann symbolischen Link nicht auflsen: %s" #: src/filedata.c:117 #, c-format msgid "ConvToLower causes a conflict between `%s' and `%s'. Proceed anyway.\n" msgstr "" "Konflikt zwischen `%s' und `%s' durch ConvToLower. Vorgang wird " "fortgesetzt.\n" #: src/filedata.c:119 #, c-format msgid "Confliction by ConvToLower: %s" msgstr "Konflikt durch ConvToLower: %s" #: src/filedata.c:162 msgid "Cannot create a unique file name.\n" msgstr "Kann keinen noch nicht vorhandenen Dateinamen bilden.\n" #: src/filedata.c:169 msgid "Cannot get remote directory list.\n" msgstr "Kann Inhalt von Remote-Verzeichnis nicht lesen.\n" #: src/filedata.c:170 msgid "Getting remote directory list failed" msgstr "Kann Inhalt von Remote-Verzeichnis nicht lesen." #: src/filedata.c:176 #, c-format msgid "Cannot open `%s'.\n" msgstr "Kann `%s' nicht ffnen.\n" #: src/filedata.c:251 #, c-format msgid "Cannot remove `%s'.\n" msgstr "Kann `%s' nicht lschen.\n" #: src/filedata.c:298 src/filedata.c:305 src/filedata.c:316 msgid "Cannot get the remote directory list correctly.\n" msgstr "Kann Inhalt von Remote-Verzeichnis nicht korrekt lesen.\n" #: src/ftplib.c:1179 msgid " : %ld/%ld (%ld%%) [ " msgstr " : %ld/%ld (%ld%%) [ " #: src/ftpmain.c:74 #, c-format msgid "Complete: sent %d file(s), removed %d file(s)" msgstr "Fertig: %d Datei(en) gesendet, %d Datei(en) gelscht" #: src/ftpmain.c:99 #, c-format msgid "Specified host (section) name `%s' is undefined.\n" msgstr "Host (Abschnitt) `%s' ist nicht definiert.\n" #: src/ftpmain.c:104 #, c-format msgid "Specified host (section) number `%s' is undefined.\n" msgstr "Host (Abschnitt) Nummer `%s' ist nicht definiert.\n" #: src/ftpmain.c:109 msgid "Cannot specify a default configuration.\n" msgstr "Die Defaultkonfiguration kann nicht direkt verwendet werden.\n" #: src/ftpmain.c:141 msgid "The source directory (SrcDir) is not configured.\n" msgstr "Das Quellverzeichnis (SrcDir) ist nicht angegeben.\n" #: src/ftpmain.c:148 msgid "The destination directory (DestDir) is not configured.\n" msgstr "Das Zielverzeichnis (DestDir) ist nicht angegeben.\n" #: src/ftpmain.c:187 msgid "The host name is not configured.\n" msgstr "Der Hostname ist nicht angegeben.\n" #: src/ftpmain.c:191 #, c-format msgid "" "Cannot connect host `%s'.\n" "\n" msgstr "" "Kann nicht mit Host `%s' verbinden.\n" "\n" #: src/ftpmain.c:192 #, c-format msgid "Connection failed: %s (%s)" msgstr "Verbindungsaufbau gescheitert: %s (%s)" #: src/ftpmain.c:197 #, c-format msgid "Connected: %s (%s)" msgstr "Verbunden: %s (%s)" #: src/ftpmain.c:224 #, c-format msgid "Disconnected: %s (%s)" msgstr "Verbindungsende: %s (%s)" #: src/ftpmain.c:241 msgid "The login name is not configured.\n" msgstr "Der Loginname ist nicht angegeben.\n" # c-format #. Changed by Waleed Kadous to ask #. for a password if none is given in the weexrc file #: src/ftpmain.c:247 #, c-format msgid "No password specified in configuration file for `%s'. Asking ...\n" msgstr "" "In der Konfigurationsdatei ist kein Paßwort fr `%s' angegeben. Frage " "nach...\n" #: src/ftpmain.c:248 msgid "Password:" msgstr "Paßwort:" #: src/ftpmain.c:253 msgid "" "Login failed. Check your ID and password.\n" "\n" msgstr "" "Login gescheitert. Prfen Sie Ihre ID und das Paßwort.\n" "\n" #: src/ftpmain.c:254 #, c-format msgid "Login failed: %s (%s)" msgstr "Login gescheitert: %s (%s)" #: src/ftpmain.c:314 #, c-format msgid "Cannot change %s current working directory to `%s'.\n" msgstr "Kann %sArbeitsverzeichnis nicht nach `%s' wechseln.\n" #: src/ftpmain.c:314 src/ftpmain.c:315 msgid "local" msgstr "lokales " #: src/ftpmain.c:314 src/ftpmain.c:315 msgid "remote" msgstr "Remote-" # c-format #: src/ftpmain.c:315 #, c-format msgid "Changing %s current working directory failed: %s" msgstr "Kann %sArbeitsverzeichnis nicht nach `%s' wechseln." #: src/ftpmain.c:411 #, c-format msgid "Sent: %s%s" msgstr "Gesendet: %s%s" #: src/ftpmain.c:430 #, c-format msgid "Cannot change the access permissions of `%s%s' to `%s'.\n" msgstr "Kann die Zugriffsrechts von `%s%s' nicht auf `%s' setzen.\n" #: src/ftpmain.c:431 #, c-format msgid "Changing the access permissions failed: %s%s" msgstr "Kann die Zugriffsrechts nicht verändern: %s%s" #: src/ftpmain.c:440 #, c-format msgid "Cannot send file `%s%s'.\n" msgstr "Kann Datei `%s%s' nicht senden.\n" #: src/ftpmain.c:441 #, c-format msgid "Sending failed: %s%s" msgstr "Kann nicht senden: %s%s" #: src/ftpmain.c:447 #, c-format msgid "Retry to send: %s%s" msgstr "Sende erneut: %s%s" #: src/ftpmain.c:450 msgid "Retrying...\n" msgstr "Wiederhole...\n" #: src/ftpmain.c:469 #, c-format msgid "%s : sent %d file(s), removed %d file(s)" msgstr "%s : %d Datei(en) gesendet, %d Datei(en) gelscht" #: src/ftpmain.c:613 #, c-format msgid "Cannot remove remote file `%s%s'.\n" msgstr "Kann Remote-Datei `%s%s' nicht lschen.\n" #: src/ftpmain.c:614 #, c-format msgid "Removing failed: %s%s" msgstr "Kann nicht lschen: %s%s" #: src/ftpmain.c:619 #, c-format msgid "Removed: %s%s" msgstr "Gelscht: %s%s" #: src/ftpmain.c:681 #, c-format msgid "Cannot remove remote directory `%s%s/'.\n" msgstr "Kann Remote-Verzeichnis `%s%s/' nicht lschen.\n" #: src/ftpmain.c:682 #, c-format msgid "Removing failed: %s%s/" msgstr "Kann nicht lschen: %s%s/" #: src/ftpmain.c:709 #, c-format msgid "Cannot make remote directory `%s%s/'.\n" msgstr "Kann Remote-Verzeichnis `%s%s/' nicht erstellen.\n" #: src/ftpmain.c:710 #, c-format msgid "Making directory failed: %s%s/" msgstr "Kann Verzeichnis nicht erstellen: %s%s/" #: src/message.c:50 msgid "Connect : " msgstr "Verbindungsaufbau : " #. CONNECT #: src/message.c:51 msgid "Disconnect : " msgstr "Verbindungsende : " #. DISCONNECT #: src/message.c:52 msgid "Entering : " msgstr "Wechsele nach : " #. ENTER #: src/message.c:53 msgid "Leaving : " msgstr "Verlasse : " #. LEAVE #: src/message.c:54 src/message.c:55 src/message.c:59 src/message.c:60 msgid "Sending : " msgstr "Sende : " #. BINARY_SEND #: src/message.c:56 msgid "Changing : " msgstr "Ändere : " #. CHMOD #: src/message.c:57 msgid "Removing : " msgstr "Lsche : " #. REMOVE #: src/message.c:58 msgid "Making Dir : " msgstr "Erzeuge Verzeichnis: " #. BINARY_LOWER_SEND #: src/message.c:61 msgid "Processing : " msgstr "" #: src/parsecfg.c:268 #, c-format msgid "Configuration file `%s' is not found.\n" msgstr "Konfigurationsdatei `%s' nicht gefunden.\n" # c-format #: src/parsecfg.c:271 #, c-format msgid "Creating configuration file `%s' fails.\n" msgstr "Konfigurationsdatei `%s' kann nicht erstellt werden.\n" #: src/parsecfg.c:274 #, c-format msgid "" "%s(%d): %s\n" "Syntax error\n" msgstr "" "%s(%d): %s\n" "Syntaxfehler\n" #: src/parsecfg.c:277 #, c-format msgid "" "%s(%d): %s\n" "Unrecognized parameter\n" msgstr "" "%s(%d): %s\n" "Unbekannter Parameter\n" #: src/parsecfg.c:280 #, c-format msgid "" "%s(%d): %s\n" "Internal error\n" msgstr "" "%s(%d): %s\n" "Interner Fehler\n" #: src/parsecfg.c:283 #, c-format msgid "" "%s(%d): %s\n" "Invalid number\n" msgstr "" "%s(%d): %s\n" "Ungltiger Wert\n" #: src/parsecfg.c:286 #, c-format msgid "" "%s(%d): %s\n" "Out of range\n" msgstr "" "%s(%d): %s\n" "Bereichsberlauf\n" #: src/parsecfg.c:289 #, c-format msgid "" "%s(%d): %s\n" "Cannot allocate memory.\n" msgstr "" "%s(%d): %s\n" "Speicherallokation fehlgeschlagen.\n" #: src/parsecfg.c:292 #, c-format msgid "" "%s(%d): %s\n" "It must be specified TRUE or FALSE.\n" msgstr "" "%s(%d): %s\n" "Es muß TRUE oder FALSE angegeben werden.\n" #: src/parsecfg.c:295 #, c-format msgid "" "%s(%d): %s\n" "The section name is already used.\n" msgstr "" "%s(%d): %s\n" "Dieser Abschnittsname ist schon vorhanden.\n" #: src/parsecfg.c:298 #, c-format msgid "" "%s(%d)\n" "There is no closing brace.\n" msgstr "" #: src/parsecfg.c:301 #, c-format msgid "" "%s(%d): %s\n" "Unexplained error\n" msgstr "" "%s(%d): %s\n" "Unbekannter Fehler\n" #: src/shhopt.c:235 src/shhopt.c:261 #, c-format msgid "invalid number `%s'\n" msgstr "Ungltiger Wert `%s'\n" #: src/shhopt.c:238 src/shhopt.c:264 #, c-format msgid "number `%s' to `%s' out of range\n" msgstr "Werte `%s' bis `%s' außerhalb des zulässigen Bereichs\n" #: src/shhopt.c:369 #, c-format msgid "unrecognized option `%s'\n" msgstr "Unbekannte Option `%s'\n" #: src/shhopt.c:382 src/shhopt.c:420 #, c-format msgid "option `%s' requires an argument\n" msgstr "Option `%s' erfordert ein Argument\n" #: src/shhopt.c:388 #, c-format msgid "option `%s' doesn't allow an argument\n" msgstr "Option `%s' läßt kein Argument zu\n" #: src/shhopt.c:410 #, c-format msgid "unrecognized option `-%c'\n" msgstr "Unbekannte Option `-%c'\n" #: src/strlib.c:63 src/strlib.c:83 msgid "Cannot allocate memory.\n" msgstr "Speicherallokation fehlgeschlagen.\n" #: src/sub.c:81 #, c-format msgid "Invalid wildcard `%s'.\n" msgstr "Ungltiger Platzhalter `%s'.\n" #: src/weex.c:102 src/weex.c:141 #, c-format msgid "" "Warning! Configuration file `%s/.weex/weexrc' does not exist.\n" "\n" msgstr "" "Warnung! Die Konfigurationsdatei `%s/.weex/weexrc' existiert nicht.\n" "\n" # c-format #: src/weex.c:107 #, c-format msgid "" "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" "\n" "This is free software with ABSOLUTELY NO WARRANTY.\n" "For details please see the file COPYING.\n" "\n" "usage: weex [OPTIONS] HOST...\n" "\n" "options:\n" " -h | --help display this help and exit\n" " -s | --silent suppress normal non-error messages\n" " -f | --force force sending all files\n" " -m | --monochrome output messages in monochrome\n" " -t | --test not modify remote files\n" " -r | --rebuild-cache rebuild cache file\n" " -d | --debug-config display configuration of each hosts\n" " -D | --debug-ftplib output debugging information for ftplib\n" " -V | --version display version information and exit\n" "\n" msgstr "" "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" "\n" "Dies ist freie Software OHNE JEGLICHE GARANTIE.\n" "Details finden Sie in der Datei COPYING.\n" "\n" "Aufruf: weex [OPTIONEN] HOST...\n" "\n" "Optionen:\n" " -h | --help Diese Hilfe anzeigen\n" " -s | --silent Alle Meldungen außer Fehlern unterdrcken\n" " -f | --force Alle Dateien neu senden\n" " -m | --monochrome Meldungen monochrom ausgeben\n" " -t | --test\t Keine Änderungen an Remote-Dateien vornehmen\n" " -r | --rebuild-cache Cache-Datei neu erstellen\n" " -d | --debug-config Konfiguration aller Hosts anzeigen\n" " -D | --debug-ftplib Debug-Informationen aus ftplib ausgeben\n" " -V | --version Versionsinformation anzeigen\n" #: src/weex.c:146 #, c-format msgid "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" msgstr "" #: src/log.c:56 msgid "Cannot get a host name. Proceed anyway.\n" msgstr "Kann keinen Hostnamen ermitteln. Vorgang wird fortgesetzt.\n" #: src/log.c:84 msgid "Stopped.\n" msgstr "Angehalten.\n" #: src/log.c:88 #, c-format msgid "" "Log file `%s' seems to be always locked.\n" "Remove lock file `%s'.\n" msgstr "" "Logdatei `%s' scheint dauerhaft gesperrt zu sein.\n" "Entfernen Sie die Sperr-Datei `%s'.\n" #: src/log.c:90 #, c-format msgid "Another weex is using log file `%s'. Just a moment.\n" msgstr "" "Logdatei `%s' wird von einem anderen weex benutzt. Einen Moment bitte.\n" #: src/log.c:146 msgid "Jan" msgstr "" #: src/log.c:147 msgid "Feb" msgstr "" #: src/log.c:148 msgid "Mar" msgstr "Mär" #: src/log.c:149 msgid "Apr" msgstr "" #: src/log.c:150 msgid "May" msgstr "Mai" #: src/log.c:151 msgid "Jun" msgstr "" #: src/log.c:152 msgid "Jul" msgstr "" #: src/log.c:153 msgid "Aug" msgstr "" #: src/log.c:154 msgid "Sep" msgstr "" #: src/log.c:155 msgid "Oct" msgstr "Okt" #: src/log.c:156 msgid "Nov" msgstr "" #: src/log.c:157 msgid "Dec" msgstr "Dez" #: src/log.c:165 #, c-format msgid "%s %2d %02d:%02d:%02d %s weex[%d]: %s\n" msgstr "" weex-2.6.1/po/es.po0100664000016100001440000003474607121420627012754 0ustar ludousers# Fast Webpage Exchanger # Copyright (C) 1999-2000 Yuuki NINOMIYA # # Spanish translations # Gorka Olaizola , 2000. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Fast Webpage Exchanger 2.5.1\n" "POT-Creation-Date: 2000-05-30 23:53+0900\n" "PO-Revision-Date: 12-03-2000 14:43:28+0100\n" "Last-Translator: Gorka Olaizola \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #: src/cache.c:62 #, c-format msgid "Rebuilding cache file `%s'.\n" msgstr "Recreando el archivo de caché `%s'.\n" #: src/cache.c:69 #, c-format msgid "Cache file `%s' does not exist." msgstr "El archivo de caché `%s' no existe." #: src/cache.c:71 msgid " Creating a new one.\n" msgstr " Creando uno nuevo.\n" #: src/cache.c:83 src/cache.c:89 #, c-format msgid "Cache file `%s' is broken at line %d.\n" msgstr "El archivo de caché `%s' tiene un error en la línea %d.\n" #: src/cache.c:200 msgid "Internal error: cache facility is broken.\n" msgstr "Error interno: cache facility is broken.\n" #: src/cache.c:287 #, c-format msgid "Cannot create cache file `%s'.\n" msgstr "No se puede crear el archivo de caché `%s'.\n" #: src/config.c:109 #, c-format msgid "Configuration file `%s/.weex/weexrc' does not exist.\n" msgstr "El archivo de configuración `%s/.weex/weexrc' no existe.\n" #: src/config.c:115 msgid "There is no section in configuration file.\n" msgstr "No hay secciones en el archivo de configuración.\n" #: src/config.c:140 #, c-format msgid "Cannot make directory `%s'.\n" msgstr "No se puede crear el directorio `%s'.\n" #: src/config.c:143 #, c-format msgid "Created directory `%s'.\n" msgstr "El directorio `%s' ha sido creado.\n" #: src/config.c:161 #, c-format msgid "Cannot get file status: `%s'\n" msgstr "No se ha podido mostrar el estado del archivo: `%s'.\n" #: src/config.c:185 msgid "A `default' section is required.\n" msgstr "Se requiere una sección `default'.\n" #: src/config.c:241 msgid "" "When you set ChangePermissionDir, you must configure ChangePermission.\n" msgstr "" "Si pone ChangePermissionDir, también debe configurar ChangePermission.\n" #: src/filedata.c:77 #, c-format msgid "Cannot expand symbolic link `%s'. Ignore this file.\n" msgstr "" "No se ha podido expandir el enlace simbólico `%s'.\n" "Ignorando este archivo.\n" #: src/filedata.c:78 #, c-format msgid "Expanding symbolic link failed: %s" msgstr "Ha fallado la expansión del enlace simbólico: %s" #: src/filedata.c:117 #, c-format msgid "ConvToLower causes a conflict between `%s' and `%s'. Proceed anyway.\n" msgstr "" "ConvToLower causa conflictos entre `%s' y `%s'. Se continuará de todo " "modos.\n" #: src/filedata.c:119 #, c-format msgid "Confliction by ConvToLower: %s" msgstr "Conflicto de ConvToLower: %s" #: src/filedata.c:162 msgid "Cannot create a unique file name.\n" msgstr "No se ha podido crear un nombre único de archivo.\n" #: src/filedata.c:169 msgid "Cannot get remote directory list.\n" msgstr "No se ha podido leer la lista del directorio remoto.\n" #: src/filedata.c:170 msgid "Getting remote directory list failed" msgstr "Ha fallado La lectura de la lista del directorio remoto." #: src/filedata.c:176 #, c-format msgid "Cannot open `%s'.\n" msgstr "No se ha podido abrir `%s'.\n" #: src/filedata.c:251 #, c-format msgid "Cannot remove `%s'.\n" msgstr "No se ha podido eliminar `%s'.\n" #: src/filedata.c:298 src/filedata.c:305 src/filedata.c:316 msgid "Cannot get the remote directory list correctly.\n" msgstr "No se ha podido leer la lista del directorio remoto correctamente.\n" #: src/ftplib.c:1179 msgid " : %ld/%ld (%ld%%) [ " msgstr " : %ld/%ld (%ld%%) [ " #: src/ftpmain.c:74 #, c-format msgid "Complete: sent %d file(s), removed %d file(s)" msgstr "Completado: enviado(s) %d archivo(s), eliminado(s) %d archivo(s)" #: src/ftpmain.c:99 #, c-format msgid "Specified host (section) name `%s' is undefined.\n" msgstr "No se ha definido la sección del servidor '%s' especificado.\n" #: src/ftpmain.c:104 #, c-format msgid "Specified host (section) number `%s' is undefined.\n" msgstr "" "No se ha definido el número de sección del servidor `%s' especificado\n" #: src/ftpmain.c:109 msgid "Cannot specify a default configuration.\n" msgstr "No hay una configuración por defecto.\n" #: src/ftpmain.c:141 msgid "The source directory (SrcDir) is not configured.\n" msgstr "El directorio fuente (SrcDir) no está configurado.\n" #: src/ftpmain.c:148 msgid "The destination directory (DestDir) is not configured.\n" msgstr "El directorio de destino (DestDir) no está configurado.\n" #: src/ftpmain.c:187 msgid "The host name is not configured.\n" msgstr "El nombre de servidor no está configurado.\n" #: src/ftpmain.c:191 #, c-format msgid "" "Cannot connect host `%s'.\n" "\n" msgstr "" "No se ha podido conectar con el servidor `%s'.\n" "\n" #: src/ftpmain.c:192 #, c-format msgid "Connection failed: %s (%s)" msgstr "La conexión ha fallado: %s (%s)" #: src/ftpmain.c:197 #, c-format msgid "Connected: %s (%s)" msgstr "Conectado: %s (%s)" #: src/ftpmain.c:224 #, c-format msgid "Disconnected: %s (%s)" msgstr "Desconectado: %s (%s)" #: src/ftpmain.c:241 msgid "The login name is not configured.\n" msgstr "El nombre de acceso no está configurado.\n" # c-format #. Changed by Waleed Kadous to ask #. for a password if none is given in the weexrc file #: src/ftpmain.c:247 #, c-format msgid "No password specified in configuration file for `%s'. Asking ...\n" msgstr "" "No se ha especificado ninguna contraseña en el archivo de configuración para " "`%s'. Preguntando ...\n" #: src/ftpmain.c:248 msgid "Password:" msgstr "Contraseña:" #: src/ftpmain.c:253 msgid "" "Login failed. Check your ID and password.\n" "\n" msgstr "" "La autentificación ha fallado. Compruebe su ID y su contraseña.\n" "\n" #: src/ftpmain.c:254 #, c-format msgid "Login failed: %s (%s)" msgstr "La autentificación ha fallado: %s (%s)" #: src/ftpmain.c:314 #, c-format msgid "Cannot change %s current working directory to `%s'.\n" msgstr "No se ha podido cambiar el directorio de trabajo actual %s a `%s'.\n" #: src/ftpmain.c:314 src/ftpmain.c:315 msgid "local" msgstr "local" #: src/ftpmain.c:314 src/ftpmain.c:315 msgid "remote" msgstr "Remoto" # c-format #: src/ftpmain.c:315 #, c-format msgid "Changing %s current working directory failed: %s" msgstr "" #: src/ftpmain.c:411 #, c-format msgid "Sent: %s%s" msgstr "Enviado: %s%s" #: src/ftpmain.c:430 #, c-format msgid "Cannot change the access permissions of `%s%s' to `%s'.\n" msgstr "No se han podido cambiar los permisos de acceso de `%s%s' a `%s'.\n" #: src/ftpmain.c:431 #, c-format msgid "Changing the access permissions failed: %s%s" msgstr "El cambio de permisos de acceso ha fallado: %s%s" #: src/ftpmain.c:440 #, c-format msgid "Cannot send file `%s%s'.\n" msgstr "No se ha podido enviar el archivo `%s%s'.\n" #: src/ftpmain.c:441 #, c-format msgid "Sending failed: %s%s" msgstr "El envio ha fallado: %s%s" #: src/ftpmain.c:447 #, c-format msgid "Retry to send: %s%s" msgstr "Reintentando el envío: %s%s" #: src/ftpmain.c:450 msgid "Retrying...\n" msgstr "Reintentando...\n" #: src/ftpmain.c:469 #, c-format msgid "%s : sent %d file(s), removed %d file(s)" msgstr "%s : Enviado(s) %d archivo(s), eliminado(s) %d archivo(s)" #: src/ftpmain.c:613 #, c-format msgid "Cannot remove remote file `%s%s'.\n" msgstr "No se ha podido eliminar el archivo remoto `%s%s'.\n" #: src/ftpmain.c:614 #, c-format msgid "Removing failed: %s%s" msgstr "La eliminación ha fallado: %s%s" #: src/ftpmain.c:619 #, c-format msgid "Removed: %s%s" msgstr "Eliminado: %s%s" #: src/ftpmain.c:681 #, c-format msgid "Cannot remove remote directory `%s%s/'.\n" msgstr "No se ha podido borrar el directorio remoto `%s%s/'.\n" #: src/ftpmain.c:682 #, c-format msgid "Removing failed: %s%s/" msgstr "La eliminación ha fallado: %s%s/" #: src/ftpmain.c:709 #, c-format msgid "Cannot make remote directory `%s%s/'.\n" msgstr "No se ha podido crear el directorio remoto `%s%s/'.\n" #: src/ftpmain.c:710 #, c-format msgid "Making directory failed: %s%s/" msgstr "La creación del directorio ha fallado: %s%s/" #: src/message.c:50 msgid "Connect : " msgstr "Conectando : " #. CONNECT #: src/message.c:51 msgid "Disconnect : " msgstr "Desconectando : " #. DISCONNECT #: src/message.c:52 msgid "Entering : " msgstr "Accediendo a : " #. ENTER #: src/message.c:53 msgid "Leaving : " msgstr "Saliendo de : " #. LEAVE #: src/message.c:54 src/message.c:55 src/message.c:59 src/message.c:60 msgid "Sending : " msgstr "Enviando : " #. BINARY_SEND #: src/message.c:56 msgid "Changing : " msgstr "Cambiando : " #. CHMOD #: src/message.c:57 msgid "Removing : " msgstr "Eliminando : " #. REMOVE #: src/message.c:58 msgid "Making Dir : " msgstr "Creando el directorio: " #. BINARY_LOWER_SEND #: src/message.c:61 msgid "Processing : " msgstr "Procesando :" #: src/parsecfg.c:268 #, c-format msgid "Configuration file `%s' is not found.\n" msgstr "No se ha encontrado el archivo de configuración `%s'.\n" # c-format #: src/parsecfg.c:271 #, c-format msgid "Creating configuration file `%s' fails.\n" msgstr "Ha fallado la creación del archivo de configuración `%s'.\n" #: src/parsecfg.c:274 #, c-format msgid "" "%s(%d): %s\n" "Syntax error\n" msgstr "" "%s(%d): %s\n" "Error de sintaxis\n" #: src/parsecfg.c:277 #, c-format msgid "" "%s(%d): %s\n" "Unrecognized parameter\n" msgstr "" "%s(%d): %s\n" "Parámetro no reconocido\n" #: src/parsecfg.c:280 #, c-format msgid "" "%s(%d): %s\n" "Internal error\n" msgstr "" "%s(%d): %s\n" "Error interno\n" #: src/parsecfg.c:283 #, c-format msgid "" "%s(%d): %s\n" "Invalid number\n" msgstr "" "%s(%d): %s\n" "Número no válido\n" #: src/parsecfg.c:286 #, c-format msgid "" "%s(%d): %s\n" "Out of range\n" msgstr "" "%s(%d): %s\n" "Fuera de rango\n" #: src/parsecfg.c:289 #, c-format msgid "" "%s(%d): %s\n" "Cannot allocate memory.\n" msgstr "" "%s(%d): %s\n" "No se ha podido reservar memoria.\n" #: src/parsecfg.c:292 #, c-format msgid "" "%s(%d): %s\n" "It must be specified TRUE or FALSE.\n" msgstr "" "%s(%d): %s\n" "Tiene que ser TRUE o FALSE.\n" #: src/parsecfg.c:295 #, c-format msgid "" "%s(%d): %s\n" "The section name is already used.\n" msgstr "" "%s(%d): %s\n" "El nombre de sección ya se está usando.\n" #: src/parsecfg.c:298 #, c-format msgid "" "%s(%d)\n" "There is no closing brace.\n" msgstr "" "%s(%d)\n" "Falta el paréntesis de cierre.\n" #: src/parsecfg.c:301 #, c-format msgid "" "%s(%d): %s\n" "Unexplained error\n" msgstr "" "%s(%d): %s\n" "Error indeterminado\n" #: src/shhopt.c:235 src/shhopt.c:261 #, c-format msgid "invalid number `%s'\n" msgstr "Número no válido `%s'\n" #: src/shhopt.c:238 src/shhopt.c:264 #, c-format msgid "number `%s' to `%s' out of range\n" msgstr "Los números de `%s' a `%s' están fuera de rango\n" #: src/shhopt.c:369 #, c-format msgid "unrecognized option `%s'\n" msgstr "Opción `%s' no reconocida\n" #: src/shhopt.c:382 src/shhopt.c:420 #, c-format msgid "option `%s' requires an argument\n" msgstr "La opción `%s' requiere un argumento\n" #: src/shhopt.c:388 #, c-format msgid "option `%s' doesn't allow an argument\n" msgstr "La opción `%s' no permite ningún argumento\n" #: src/shhopt.c:410 #, c-format msgid "unrecognized option `-%c'\n" msgstr "Opción `-%c' no reconocida\n" #: src/strlib.c:63 src/strlib.c:83 msgid "Cannot allocate memory.\n" msgstr "No se ha podido reservar memoria.\n" #: src/sub.c:81 #, c-format msgid "Invalid wildcard `%s'.\n" msgstr "Carácter comodín no válido `%s'.\n" #: src/weex.c:102 src/weex.c:141 #, c-format msgid "" "Warning! Configuration file `%s/.weex/weexrc' does not exist.\n" "\n" msgstr "" "Atención! El archivo de configuración `%s/.weex/weexrc' no existe.\n" "\n" # c-format #: src/weex.c:107 #, c-format msgid "" "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" "\n" "This is free software with ABSOLUTELY NO WARRANTY.\n" "For details please see the file COPYING.\n" "\n" "usage: weex [OPTIONS] HOST...\n" "\n" "options:\n" " -h | --help display this help and exit\n" " -s | --silent suppress normal non-error messages\n" " -f | --force force sending all files\n" " -m | --monochrome output messages in monochrome\n" " -t | --test not modify remote files\n" " -r | --rebuild-cache rebuild cache file\n" " -d | --debug-config display configuration of each hosts\n" " -D | --debug-ftplib output debugging information for ftplib\n" " -V | --version display version information and exit\n" "\n" msgstr "" "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" "\n" "Este es software libre con ABSOLUTAMENTE NINGUNA GARANTÍA.\n" "Para más detalles lea el archivo COPYING.\n" "\n" "Uso: weex [OPCIONES] SERVIDOR...\n" "\n" "Opciones:\n" " -h | --help Muestra esta ayuda y sale\n" " -s | --silent Sólo muestra los mensajes de error\n" " -f | --force Fuerza el envío de todos los archivos\n" " -m | --monochrome Muestra los mensajes en monocromo\n" " -t | --test No modifica los archivos remotos\n" " -r | --rebuild-cache Recrea el archivo de caché\n" " -d | --debug-config Muestra la configuración de cada servidor\n" " -D | --debug-ftplib Muestra información de depurado de ftplib\n" " -V | --version Muestra información de la versión y sale\n" #: src/weex.c:146 #, c-format msgid "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" msgstr "" #: src/log.c:56 msgid "Cannot get a host name. Proceed anyway.\n" msgstr "" "No se ha podido leer un nombre de servidor.\n" "Se continuará de todos modos.\n" #: src/log.c:84 msgid "Stopped.\n" msgstr "Parado.\n" #: src/log.c:88 #, c-format msgid "" "Log file `%s' seems to be always locked.\n" "Remove lock file `%s'.\n" msgstr "" "El histórico `%s' parece estar siempre bloqueado.\n" "Elimine el archivo cerrojo `%s'.\n" #: src/log.c:90 #, c-format msgid "Another weex is using log file `%s'. Just a moment.\n" msgstr "" "Otra instancia de weex está usando el histórico `%s'. Espere un momento..\n" #: src/log.c:146 msgid "Jan" msgstr "Ene" #: src/log.c:147 msgid "Feb" msgstr "Feb" #: src/log.c:148 msgid "Mar" msgstr "Mar" #: src/log.c:149 msgid "Apr" msgstr "Abr" #: src/log.c:150 msgid "May" msgstr "May" #: src/log.c:151 msgid "Jun" msgstr "Jun" #: src/log.c:152 msgid "Jul" msgstr "Jul" #: src/log.c:153 msgid "Aug" msgstr "Ago" #: src/log.c:154 msgid "Sep" msgstr "Sep" #: src/log.c:155 msgid "Oct" msgstr "Oct" #: src/log.c:156 msgid "Nov" msgstr "Nov" #: src/log.c:157 msgid "Dec" msgstr "Dic" #: src/log.c:165 #, c-format msgid "%s %2d %02d:%02d:%02d %s weex[%d]: %s\n" msgstr "" weex-2.6.1/po/fr.po0100664000016100001440000003505207121420627012743 0ustar ludousers# Fast Webpage Exchanger # Copyright (C) 1999-2000 Yuuki NINOMIYA # # French translations # Olivier Tharan , 2000. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Fast Webpage Exchanger 2.6.1\n" "POT-Creation-Date: 2000-05-30 23:53+0900\n" "PO-Revision-Date: 2000-06-13 20:46+0900\n" "Last-Translator: Olivier Tharan \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #: src/cache.c:62 #, c-format msgid "Rebuilding cache file `%s'.\n" msgstr "Reconstruction du fichier de cache `%s'.\n" #: src/cache.c:69 #, c-format msgid "Cache file `%s' does not exist." msgstr "Le fichier de cache `%s' n'existe pas." #: src/cache.c:71 msgid " Creating a new one.\n" msgstr "Création d'un nouveau fichier.\n" #: src/cache.c:83 src/cache.c:89 #, c-format msgid "Cache file `%s' is broken at line %d.\n" msgstr "Le fichier de cache a une erreur à la ligne %d.\n" #: src/cache.c:200 msgid "Internal error: cache facility is broken.\n" msgstr "Erreur interne : la fonction de cache n'est pas disponible.\n" #: src/cache.c:287 #, c-format msgid "Cannot create cache file `%s'.\n" msgstr "Création du fichier de cache `%s' impossible.\n" #: src/config.c:109 #, c-format msgid "Configuration file `%s/.weex/weexrc' does not exist.\n" msgstr "Le fichier de configuration `%s/.weex/weexrc' n'existe pas.\n" #: src/config.c:115 msgid "There is no section in configuration file.\n" msgstr "Il n'y a aucune section dans le fichier de configuration.\n" #: src/config.c:140 #, c-format msgid "Cannot make directory `%s'.\n" msgstr "Création du répertoire `%s' impossible.\n" #: src/config.c:143 #, c-format msgid "Created directory `%s'.\n" msgstr "Le répertoire `%s' a été créé.\n" #: src/config.c:161 #, c-format msgid "Cannot get file status: `%s'\n" msgstr "Impossible de connaître l'état du fichier : `%s'\n" #: src/config.c:185 msgid "A `default' section is required.\n" msgstr "Une section `default' est obligatoire.\n" #: src/config.c:241 msgid "" "When you set ChangePermissionDir, you must configure ChangePermission.\n" msgstr "" "Quand vous positionnez ChangePermissionDir, vous devez configurer " "ChangePermission.\n" #: src/filedata.c:77 #, c-format msgid "Cannot expand symbolic link `%s'. Ignore this file.\n" msgstr "Impossible de résoudre le lien symbolique `%s'. Fichier ignoré.\n" #: src/filedata.c:78 #, c-format msgid "Expanding symbolic link failed: %s" msgstr "Échec de résolution du lien symbolique : %s" #: src/filedata.c:117 #, c-format msgid "ConvToLower causes a conflict between `%s' and `%s'. Proceed anyway.\n" msgstr "" "ConvToLower engendre un conflit entre `%s' et `%s'. Je continue quand même.\n" #: src/filedata.c:119 #, c-format msgid "Confliction by ConvToLower: %s" msgstr "Conflit sur ConvToLower : %s" #: src/filedata.c:162 msgid "Cannot create a unique file name.\n" msgstr "Création d'un nom de fichier unique impossible.\n" #: src/filedata.c:169 msgid "Cannot get remote directory list.\n" msgstr "Impossible d'obtenir le contenu du répertoire distant.\n" #: src/filedata.c:170 msgid "Getting remote directory list failed" msgstr "Échec de l'obtention du contenu du répertoire distant" #: src/filedata.c:176 #, c-format msgid "Cannot open `%s'.\n" msgstr "Impossible d'ouvrir `%s'.\n" #: src/filedata.c:251 #, c-format msgid "Cannot remove `%s'.\n" msgstr "Impossible de supprimer `%s'.\n" #: src/filedata.c:298 src/filedata.c:305 src/filedata.c:316 msgid "Cannot get the remote directory list correctly.\n" msgstr "Impossible d'obtenir le contenu correct du répertoire distant.\n" #: src/ftplib.c:1179 msgid " : %ld/%ld (%ld%%) [ " msgstr " : %ld/%ld (%ld%%) [ " #: src/ftpmain.c:74 #, c-format msgid "Complete: sent %d file(s), removed %d file(s)" msgstr "Terminé : envoyé %d fichier(s), supprimé %d fichier(s)" #: src/ftpmain.c:99 #, c-format msgid "Specified host (section) name `%s' is undefined.\n" msgstr "La section pour l'hôte spécifié `%s' n'est pas définie.\n" #: src/ftpmain.c:104 #, c-format msgid "Specified host (section) number `%s' is undefined.\n" msgstr "Le numéro de section pour l'hôte spécifié `%s' n'est défini.\n" #: src/ftpmain.c:109 msgid "Cannot specify a default configuration.\n" msgstr "Il n'y a pas de configuration par défaut.\n" #: src/ftpmain.c:141 msgid "The source directory (SrcDir) is not configured.\n" msgstr "Le répertoire source (SrcDir) n'est pas configuré.\n" #: src/ftpmain.c:148 msgid "The destination directory (DestDir) is not configured.\n" msgstr "Le répertoire destination (DestDir) n'est pas configuré.\n" #: src/ftpmain.c:187 msgid "The host name is not configured.\n" msgstr "Le nom de machine n'est pas configuré.\n" #: src/ftpmain.c:191 #, c-format msgid "" "Cannot connect host `%s'.\n" "\n" msgstr "" "Impossible de se connecter à la machine `%s'.\n" "\n" #: src/ftpmain.c:192 #, c-format msgid "Connection failed: %s (%s)" msgstr "Échec de la connexion : %s (%s)" #: src/ftpmain.c:197 #, c-format msgid "Connected: %s (%s)" msgstr "Connecté : %s (%s)" #: src/ftpmain.c:224 #, c-format msgid "Disconnected: %s (%s)" msgstr "Déconnecté : %s (%s)" #: src/ftpmain.c:241 msgid "The login name is not configured.\n" msgstr "Le nom de login n'est pas configuré.\n" #. Changed by Waleed Kadous to ask #. for a password if none is given in the weexrc file #: src/ftpmain.c:247 #, c-format msgid "No password specified in configuration file for `%s'. Asking ...\n" msgstr "" "Pas de mot de passe pour `%s' dans le fichier de configuration. On demande " "...\n" #: src/ftpmain.c:248 msgid "Password:" msgstr "Mot de passe :" #: src/ftpmain.c:253 msgid "" "Login failed. Check your ID and password.\n" "\n" msgstr "" "Le login a échoué. Vérifiez votre identité et votre mot de passe.\n" "\n" #: src/ftpmain.c:254 #, c-format msgid "Login failed: %s (%s)" msgstr "Le login a échoué : %s (%s)" #: src/ftpmain.c:314 #, c-format msgid "Cannot change %s current working directory to `%s'.\n" msgstr "Impossible de passer du répertoire de travail en cours %s à `%s'.\n" #: src/ftpmain.c:314 src/ftpmain.c:315 msgid "local" msgstr "local" #: src/ftpmain.c:314 src/ftpmain.c:315 msgid "remote" msgstr "distant" #: src/ftpmain.c:315 #, c-format msgid "Changing %s current working directory failed: %s" msgstr "Échec du changement du répertoire de travail courant %s : %s" #: src/ftpmain.c:411 #, c-format msgid "Sent: %s%s" msgstr "Envoyé : %s%s" #: src/ftpmain.c:430 #, c-format msgid "Cannot change the access permissions of `%s%s' to `%s'.\n" msgstr "Impossible de modifier les droits d'accèsde `%s%s' en `%s'.\n" #: src/ftpmain.c:431 #, c-format msgid "Changing the access permissions failed: %s%s" msgstr "Échec du changement des droits d'accès : %s%s" #: src/ftpmain.c:440 #, c-format msgid "Cannot send file `%s%s'.\n" msgstr "Impossible d'envoyer le fichier `%s%s'.\n" #: src/ftpmain.c:441 #, c-format msgid "Sending failed: %s%s" msgstr "Échec de l'envoi : %s%s" #: src/ftpmain.c:447 #, c-format msgid "Retry to send: %s%s" msgstr "Nouvelle tentative d'envoi : %s%s" #: src/ftpmain.c:450 msgid "Retrying...\n" msgstr "Nouvelle tentative...\n" #: src/ftpmain.c:469 #, c-format msgid "%s : sent %d file(s), removed %d file(s)" msgstr "%s : envoyé %d fichier(s), supprimé %d fichier(s)" #: src/ftpmain.c:613 #, c-format msgid "Cannot remove remote file `%s%s'.\n" msgstr "Impossible de supprimer le fichier distant `%s%s'.\n" #: src/ftpmain.c:614 #, c-format msgid "Removing failed: %s%s" msgstr "Échec de la suppression : %s%s" #: src/ftpmain.c:619 #, c-format msgid "Removed: %s%s" msgstr "Supprimé : %s%s" #: src/ftpmain.c:681 #, c-format msgid "Cannot remove remote directory `%s%s/'.\n" msgstr "Impossible de supprimer le répertoire distant `%s%s/'.\n" #: src/ftpmain.c:682 #, c-format msgid "Removing failed: %s%s/" msgstr "Échec de la suppresion : %s%s/" #: src/ftpmain.c:709 #, c-format msgid "Cannot make remote directory `%s%s/'.\n" msgstr "Impossible de créer le répertoire distant `%s%s/'.\n" #: src/ftpmain.c:710 #, c-format msgid "Making directory failed: %s%s/" msgstr "Échec de création du répertoire : %s%s/" #: src/message.c:50 msgid "Connect : " msgstr "Connexion :" #. CONNECT #: src/message.c:51 msgid "Disconnect : " msgstr "Déconnexion :" #. DISCONNECT #: src/message.c:52 msgid "Entering : " msgstr "Entrée dans :" #. ENTER #: src/message.c:53 msgid "Leaving : " msgstr "Sortie de :" #. LEAVE #: src/message.c:54 src/message.c:55 src/message.c:59 src/message.c:60 msgid "Sending : " msgstr "Envoi :" #. BINARY_SEND #: src/message.c:56 msgid "Changing : " msgstr "Changement :" #. CHMOD #: src/message.c:57 msgid "Removing : " msgstr "Suppression :" #. REMOVE #: src/message.c:58 msgid "Making Dir : " msgstr "Création de :" #. BINARY_LOWER_SEND #: src/message.c:61 msgid "Processing : " msgstr "Traitement :" #: src/parsecfg.c:268 #, c-format msgid "Configuration file `%s' is not found.\n" msgstr "Le fichier de configuration `%s' n'est pas trouvé.\n" #: src/parsecfg.c:271 #, c-format msgid "Creating configuration file `%s' fails.\n" msgstr "Échec de création du fichier de configuration `%s'.\n" #: src/parsecfg.c:274 #, c-format msgid "" "%s(%d): %s\n" "Syntax error\n" msgstr "" "%s(%d) : %s\n" "Erreur de syntaxe\n" #: src/parsecfg.c:277 #, c-format msgid "" "%s(%d): %s\n" "Unrecognized parameter\n" msgstr "" "%s(%d) : %s\n" "Paramètre inconnu\n" #: src/parsecfg.c:280 #, c-format msgid "" "%s(%d): %s\n" "Internal error\n" msgstr "" "%s(%d) : %s\n" "Erreur interne\n" #: src/parsecfg.c:283 #, c-format msgid "" "%s(%d): %s\n" "Invalid number\n" msgstr "" "%s(%d) : %s\n" "Numéro invalide\n" #: src/parsecfg.c:286 #, c-format msgid "" "%s(%d): %s\n" "Out of range\n" msgstr "" "%s(%d) : %s\n" "Hors des limites\n" #: src/parsecfg.c:289 #, c-format msgid "" "%s(%d): %s\n" "Cannot allocate memory.\n" msgstr "" "%s(%d) : %s\n" "Impossible d'allouer de la mémoire.\n" #: src/parsecfg.c:292 #, c-format msgid "" "%s(%d): %s\n" "It must be specified TRUE or FALSE.\n" msgstr "" "%s(%d) : %s\n" "Il faut spécifier TRUE ou FALSE.\n" #: src/parsecfg.c:295 #, c-format msgid "" "%s(%d): %s\n" "The section name is already used.\n" msgstr "" "%s(%d) : %s\n" "Le nom de section est déjà utilisé.\n" #: src/parsecfg.c:298 #, c-format msgid "" "%s(%d)\n" "There is no closing brace.\n" msgstr "" "%s(%d)\n" "Il n'y a pas de parenthèse fermante.\n" #: src/parsecfg.c:301 #, c-format msgid "" "%s(%d): %s\n" "Unexplained error\n" msgstr "" "%s(%d) : %s\n" "Erreur indéterminée\n" #: src/shhopt.c:235 src/shhopt.c:261 #, c-format msgid "invalid number `%s'\n" msgstr "numéro `%s' invalide\n" #: src/shhopt.c:238 src/shhopt.c:264 #, c-format msgid "number `%s' to `%s' out of range\n" msgstr "numéro `%s' vers `%s' hors des limites\n" #: src/shhopt.c:369 #, c-format msgid "unrecognized option `%s'\n" msgstr "option `%s' non reconnue\n" #: src/shhopt.c:382 src/shhopt.c:420 #, c-format msgid "option `%s' requires an argument\n" msgstr "l'option `%s' nécessite un paramètre\n" #: src/shhopt.c:388 #, c-format msgid "option `%s' doesn't allow an argument\n" msgstr "l'option `%s' n'a pas de paramètre\n" #: src/shhopt.c:410 #, c-format msgid "unrecognized option `-%c'\n" msgstr "option `-%c' inconnue\n" #: src/strlib.c:63 src/strlib.c:83 msgid "Cannot allocate memory.\n" msgstr "Impossible d'allouer de la mémoire.\n" #: src/sub.c:81 #, c-format msgid "Invalid wildcard `%s'.\n" msgstr "Motif d'expansion `%s' invalide.\n" #: src/weex.c:102 src/weex.c:141 #, c-format msgid "" "Warning! Configuration file `%s/.weex/weexrc' does not exist.\n" "\n" msgstr "" "Attention ! Le fichier de configuration `%s/.weex/weexrc' n'existe pas.\n" "\n" #: src/weex.c:107 #, c-format msgid "" "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" "\n" "This is free software with ABSOLUTELY NO WARRANTY.\n" "For details please see the file COPYING.\n" "\n" "usage: weex [OPTIONS] HOST...\n" "\n" "options:\n" " -h | --help display this help and exit\n" " -s | --silent suppress normal non-error messages\n" " -f | --force force sending all files\n" " -m | --monochrome output messages in monochrome\n" " -t | --test not modify remote files\n" " -r | --rebuild-cache rebuild cache file\n" " -d | --debug-config display configuration of each hosts\n" " -D | --debug-ftplib output debugging information for ftplib\n" " -V | --version display version information and exit\n" "\n" msgstr "" "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" "\n" "Voici un logiciel libre avec ABSOLUMENT AUCUNE GARANTIE.\n" "Pour les détails, référez-vous au fichier COPYING.\n" "\n" "utilisation : weex [OPTIONS] MACHINE...\n" "\n" "options :\n" " -h | --help affiche cette aide et termine\n" " -s | --silent ne montre que les messages d'erreur\n" " -f | --force force l'envoi de tous les fichiers\n" " -m | --monochrome affiche les messages en noir & blanc\n" " -t | --test ne modifie pas les fichiers distants\n" " -r | --rebuild-cache reconstruit le fichier de cache\n" " -d | --debug-config affiche la configuration de chaque hôte\n" " -D | --debug-ftplib affiche des informations de débogage pour ftplib\n" " -V | --version affiche des informations sur la version et termine\n" "\n" #: src/weex.c:146 #, c-format msgid "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" msgstr "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" #: src/log.c:56 msgid "Cannot get a host name. Proceed anyway.\n" msgstr "Impossible d'avoir un nom d'hôte. Je continue quand même.\n" #: src/log.c:84 msgid "Stopped.\n" msgstr "Arrêté.\n" #: src/log.c:88 #, c-format msgid "" "Log file `%s' seems to be always locked.\n" "Remove lock file `%s'.\n" msgstr "" "Le fichier de trace `%s' semble être constamment verrouillé.\n" "J'enlève le verrou `%s'.\n" #: src/log.c:90 #, c-format msgid "Another weex is using log file `%s'. Just a moment.\n" msgstr "" "Une autre instance de weex utilise le fichier de trace `%s'. Attendez un " "instant.\n" #: src/log.c:146 msgid "Jan" msgstr "Jan" #: src/log.c:147 msgid "Feb" msgstr "Fév" #: src/log.c:148 msgid "Mar" msgstr "Mar" #: src/log.c:149 msgid "Apr" msgstr "Avr" #: src/log.c:150 msgid "May" msgstr "Mai" #: src/log.c:151 msgid "Jun" msgstr "Jun" #: src/log.c:152 msgid "Jul" msgstr "Jui" #: src/log.c:153 msgid "Aug" msgstr "Aoû" #: src/log.c:154 msgid "Sep" msgstr "Sep" #: src/log.c:155 msgid "Oct" msgstr "Oct" #: src/log.c:156 msgid "Nov" msgstr "Nov" #: src/log.c:157 msgid "Dec" msgstr "Déc" #: src/log.c:165 #, c-format msgid "%s %2d %02d:%02d:%02d %s weex[%d]: %s\n" msgstr "%s %2d %02d:%02d:%02d %s weex[%d] : %s\n" weex-2.6.1/po/ja.po0100664000016100001440000003361707121420627012733 0ustar ludousers# Fast Webpage Exchanger # Copyright (C) 1999-2000 Yuuki NINOMIYA # # Japanese translations # Yuuki NINOMIYA , 1999-2000. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Fast Webpage Exchanger 2.5.3\n" "POT-Creation-Date: 2000-05-30 23:53+0900\n" "PO-Revision-Date: 2000-02-25 04:50+0900\n" "Last-Translator: Yuuki NINOMIYA \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=euc-jp\n" "Content-Transfer-Encoding: 8bit\n" #: src/cache.c:62 #, c-format msgid "Rebuilding cache file `%s'.\n" msgstr "¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë `%s' ¤òºÆ¹½ÃÛ¤·¤Þ¤¹¡£\n" #: src/cache.c:69 #, c-format msgid "Cache file `%s' does not exist." msgstr "¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë `%s' ¤¬¤¢¤ê¤Þ¤»¤ó¡£" #: src/cache.c:71 msgid " Creating a new one.\n" msgstr "¿·¤·¤¯ºîÀ®¤·¤Þ¤¹¡£\n" #: src/cache.c:83 src/cache.c:89 #, c-format msgid "Cache file `%s' is broken at line %d.\n" msgstr "¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë `%s' ¤¬ %d ¹ÔÌܤˤª¤¤¤ÆÇ˲õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£\n" #: src/cache.c:200 msgid "Internal error: cache facility is broken.\n" msgstr "ÆâÉô¥¨¥é¡¼ : ¥­¥ã¥Ã¥·¥åµ¡¹½¤¬Ç˲õ¤µ¤ì¤Þ¤·¤¿¡£\n" #: src/cache.c:287 #, c-format msgid "Cannot create cache file `%s'.\n" msgstr "¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë `%s' ¤òºîÀ®¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/config.c:109 #, c-format msgid "Configuration file `%s/.weex/weexrc' does not exist.\n" msgstr "ÀßÄê¥Õ¥¡¥¤¥ë `%s/.weex/weexrc' ¤¬¤¢¤ê¤Þ¤»¤ó¡£\n" #: src/config.c:115 msgid "There is no section in configuration file.\n" msgstr "ÀßÄê¥Õ¥¡¥¤¥ë¤Ë¥»¥¯¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤»¤ó¡£\n" #: src/config.c:140 #, c-format msgid "Cannot make directory `%s'.\n" msgstr "¥Ç¥£¥ì¥¯¥È¥ê `%s' ¤¬ºîÀ®¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/config.c:143 #, c-format msgid "Created directory `%s'.\n" msgstr "¥Ç¥£¥ì¥¯¥È¥ê `%s' ¤òºîÀ®¤·¤Þ¤·¤¿¡£\n" #: src/config.c:161 #, c-format msgid "Cannot get file status: `%s'\n" msgstr "¥Õ¥¡¥¤¥ë `%s' ¤Î¾ðÊ󤬼èÆÀ¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/config.c:185 msgid "A `default' section is required.\n" msgstr "¥»¥¯¥·¥ç¥ó `default' ¤¬É¬ÍפǤ¹¡£\n" #: src/config.c:241 msgid "" "When you set ChangePermissionDir, you must configure ChangePermission.\n" msgstr "" "ChangePermissionDir ¤òÀßÄꤹ¤ë»þ¤Ë¤Ï ChangePermission " "¤â¹ç¤ï¤»¤ÆÀßÄꤷ¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£\n" #: src/filedata.c:77 #, c-format msgid "Cannot expand symbolic link `%s'. Ignore this file.\n" msgstr "¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯ `%s' ¤òŸ³«¤Ç¤­¤Þ¤»¤ó¡£¤³¤Î¥Õ¥¡¥¤¥ë¤ò̵»ë¤·¤Þ¤¹¡£\n" #: src/filedata.c:78 #, c-format msgid "Expanding symbolic link failed: %s" msgstr "¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯Å¸³«¼ºÇÔ: %s" #: src/filedata.c:117 #, c-format msgid "ConvToLower causes a conflict between `%s' and `%s'. Proceed anyway.\n" msgstr "" "ConvToLower ¤¬Í­¸ú¤Ê¤Î¤Ç `%s' ¤È `%s' ¤¬¾×ÆÍ¤·¤Þ¤¹¡£¤È¤Ë¤«¤¯·Ñ³¤·¤Þ¤¹¡£\n" #: src/filedata.c:119 #, c-format msgid "Confliction by ConvToLower: %s" msgstr "ConvToLower ¤Ë¤è¤ë¾×ÆÍ: %s" #: src/filedata.c:162 msgid "Cannot create a unique file name.\n" msgstr "¥æ¥Ë¡¼¥¯¤Ê¥Õ¥¡¥¤¥ë̾¤òºîÀ®¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/filedata.c:169 msgid "Cannot get remote directory list.\n" msgstr "¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤Î¥ê¥¹¥È¤¬¼èÆÀ¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/filedata.c:170 msgid "Getting remote directory list failed" msgstr "¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¥ê¥¹¥È¼èÆÀ¼ºÇÔ" #: src/filedata.c:176 #, c-format msgid "Cannot open `%s'.\n" msgstr "`%s' ¤¬³«¤±¤Þ¤»¤ó¡£\n" #: src/filedata.c:251 #, c-format msgid "Cannot remove `%s'.\n" msgstr "`%s' ¤òºï½ü¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/filedata.c:298 src/filedata.c:305 src/filedata.c:316 msgid "Cannot get the remote directory list correctly.\n" msgstr "¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤Î¥ê¥¹¥È¤¬Àµ¤·¤¯¼èÆÀ¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/ftplib.c:1179 msgid " : %ld/%ld (%ld%%) [ " msgstr " : %ld/%ld (%ld%%) [ " #: src/ftpmain.c:74 #, c-format msgid "Complete: sent %d file(s), removed %d file(s)" msgstr "´°Î»: %d ¸Ä¤Î¥Õ¥¡¥¤¥ë¤òžÁ÷, %d ¸Ä¤Î¥Õ¥¡¥¤¥ë¤òºï½ü" #: src/ftpmain.c:99 #, c-format msgid "Specified host (section) name `%s' is undefined.\n" msgstr "»ØÄꤵ¤ì¤¿¥Û¥¹¥È (¥»¥¯¥·¥ç¥ó) ̾ `%s' ¤ÏÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£\n" #: src/ftpmain.c:104 #, c-format msgid "Specified host (section) number `%s' is undefined.\n" msgstr "»ØÄꤵ¤ì¤¿¥Û¥¹¥È (¥»¥¯¥·¥ç¥ó) ÈÖ¹æ `%s' ¤ÏÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£\n" #: src/ftpmain.c:109 msgid "Cannot specify a default configuration.\n" msgstr "¥Ç¥Õ¥©¥ë¥ÈÀßÄê¤ò»ØÄꤹ¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/ftpmain.c:141 msgid "The source directory (SrcDir) is not configured.\n" msgstr "¥½¡¼¥¹¥Ç¥£¥ì¥¯¥È¥ê (SrcDir) ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¡£\n" #: src/ftpmain.c:148 msgid "The destination directory (DestDir) is not configured.\n" msgstr "¥Ç¥£¥¹¥Æ¥£¥Í¡¼¥·¥ç¥ó¥Ç¥£¥ì¥¯¥È¥ê (DestDir) ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¡£\n" #: src/ftpmain.c:187 msgid "The host name is not configured.\n" msgstr "¥Û¥¹¥È̾¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¡£\n" #: src/ftpmain.c:191 #, c-format msgid "" "Cannot connect host `%s'.\n" "\n" msgstr "¥Û¥¹¥È `%s' ¤ËÀܳ¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/ftpmain.c:192 #, c-format msgid "Connection failed: %s (%s)" msgstr "Àܳ¼ºÇÔ: %s (%s)" #: src/ftpmain.c:197 #, c-format msgid "Connected: %s (%s)" msgstr "Àܳ: %s (%s)" #: src/ftpmain.c:224 #, c-format msgid "Disconnected: %s (%s)" msgstr "ÀÚÃÇ: %s (%s)" #: src/ftpmain.c:241 msgid "The login name is not configured.\n" msgstr "¥í¥°¥¤¥ó̾¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¡£\n" #. Changed by Waleed Kadous to ask #. for a password if none is given in the weexrc file #: src/ftpmain.c:247 #, c-format msgid "No password specified in configuration file for `%s'. Asking ...\n" msgstr "¥Û¥¹¥È `%s' ¤Ë¥Ñ¥¹¥ï¡¼¥É¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¡£»ØÄꤷ¤Æ¤¯¤À¤µ¤¤ ...\n" #: src/ftpmain.c:248 msgid "Password:" msgstr "¥Ñ¥¹¥ï¡¼¥É:" #: src/ftpmain.c:253 msgid "" "Login failed. Check your ID and password.\n" "\n" msgstr "" "¥í¥°¥¤¥ó¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£ID ¤È¥Ñ¥¹¥ï¡¼¥É¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£\n" "\n" #: src/ftpmain.c:254 #, c-format msgid "Login failed: %s (%s)" msgstr "¥í¥°¥¤¥ó¼ºÇÔ: %s (%s)" #: src/ftpmain.c:314 #, c-format msgid "Cannot change %s current working directory to `%s'.\n" msgstr "%s¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤ò `%s' ¤ËÊѹ¹¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/ftpmain.c:314 src/ftpmain.c:315 msgid "local" msgstr "¥í¡¼¥«¥ë" #: src/ftpmain.c:314 src/ftpmain.c:315 msgid "remote" msgstr "¥ê¥â¡¼¥È" #: src/ftpmain.c:315 #, c-format msgid "Changing %s current working directory failed: %s" msgstr "%s¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥êÊѹ¹¼ºÇÔ: %s" #: src/ftpmain.c:411 #, c-format msgid "Sent: %s%s" msgstr "žÁ÷: %s%s" #: src/ftpmain.c:430 #, c-format msgid "Cannot change the access permissions of `%s%s' to `%s'.\n" msgstr "`%s%s' ¤Î¥¢¥¯¥»¥¹¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤ò `%s' ¤ËÊѹ¹¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/ftpmain.c:431 #, c-format msgid "Changing the access permissions failed: %s%s" msgstr "¥¢¥¯¥»¥¹¥Ñ¡¼¥ß¥Ã¥·¥ç¥óÊѹ¹¼ºÇÔ: %s%s" #: src/ftpmain.c:440 #, c-format msgid "Cannot send file `%s%s'.\n" msgstr "¥Õ¥¡¥¤¥ë `%s%s' ¤òžÁ÷¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/ftpmain.c:441 #, c-format msgid "Sending failed: %s%s" msgstr "žÁ÷¼ºÇÔ: %s%s" #: src/ftpmain.c:447 #, c-format msgid "Retry to send: %s%s" msgstr "žÁ÷ºÆ»î¹Ô: %s%s" #: src/ftpmain.c:450 msgid "Retrying...\n" msgstr "ºÆ»î¹ÔÃæ...\n" #: src/ftpmain.c:469 #, c-format msgid "%s : sent %d file(s), removed %d file(s)" msgstr "%s : %d ¸Ä¤Î¥Õ¥¡¥¤¥ë¤òžÁ÷, %d ¸Ä¤Î¥Õ¥¡¥¤¥ë¤òºï½ü" #: src/ftpmain.c:613 #, c-format msgid "Cannot remove remote file `%s%s'.\n" msgstr "¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë `%s%s' ¤òºï½ü¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/ftpmain.c:614 #, c-format msgid "Removing failed: %s%s" msgstr "ºï½ü¼ºÇÔ: %s%s" #: src/ftpmain.c:619 #, c-format msgid "Removed: %s%s" msgstr "ºï½ü: %s%s" #: src/ftpmain.c:681 #, c-format msgid "Cannot remove remote directory `%s%s/'.\n" msgstr "¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê `%s%s/' ¤òºï½ü¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/ftpmain.c:682 #, c-format msgid "Removing failed: %s%s/" msgstr "ºï½ü¼ºÇÔ: %s%s/" #: src/ftpmain.c:709 #, c-format msgid "Cannot make remote directory `%s%s/'.\n" msgstr "¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê `%s%s/' ¤¬ºîÀ®¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/ftpmain.c:710 #, c-format msgid "Making directory failed: %s%s/" msgstr "¥Ç¥£¥ì¥¯¥È¥êºîÀ®¼ºÇÔ: %s%s/" #: src/message.c:50 msgid "Connect : " msgstr "Àܳ : " #. CONNECT #: src/message.c:51 msgid "Disconnect : " msgstr "ÀÚÃÇ : " #. DISCONNECT #: src/message.c:52 msgid "Entering : " msgstr "EnterÃæ : " #. ENTER #: src/message.c:53 msgid "Leaving : " msgstr "LeaveÃæ : " #. LEAVE #: src/message.c:54 src/message.c:55 src/message.c:59 src/message.c:60 msgid "Sending : " msgstr "žÁ÷Ãæ : " #. BINARY_SEND #: src/message.c:56 msgid "Changing : " msgstr "MODÊѹ¹Ãæ : " #. CHMOD #: src/message.c:57 msgid "Removing : " msgstr "ºï½üÃæ : " #. REMOVE #: src/message.c:58 msgid "Making Dir : " msgstr "DirºîÀ®Ãæ : " #. BINARY_LOWER_SEND #: src/message.c:61 msgid "Processing : " msgstr "½èÍýÃæ : " #: src/parsecfg.c:268 #, c-format msgid "Configuration file `%s' is not found.\n" msgstr "ÀßÄê¥Õ¥¡¥¤¥ë `%s' ¤¬³«¤±¤Þ¤»¤ó¡£\n" #: src/parsecfg.c:271 #, c-format msgid "Creating configuration file `%s' fails.\n" msgstr "ÀßÄê¥Õ¥¡¥¤¥ë `%s' ¤òºîÀ®¤Ç¤­¤Þ¤»¤ó¡£\n" #: src/parsecfg.c:274 #, c-format msgid "" "%s(%d): %s\n" "Syntax error\n" msgstr "" "%s(%d): %s\n" "ʸˡ¥¨¥é¡¼\n" #: src/parsecfg.c:277 #, c-format msgid "" "%s(%d): %s\n" "Unrecognized parameter\n" msgstr "" "%s(%d): %s\n" "ǧ¼±¤Ç¤­¤Ê¤¤¥Ñ¥é¥á¡¼¥¿\n" #: src/parsecfg.c:280 #, c-format msgid "" "%s(%d): %s\n" "Internal error\n" msgstr "" "%s(%d): %s\n" "ÆâÉô¥¨¥é¡¼\n" #: src/parsecfg.c:283 #, c-format msgid "" "%s(%d): %s\n" "Invalid number\n" msgstr "" "%s(%d): %s\n" "̵¸ú¤Ê¿ô»ú\n" #: src/parsecfg.c:286 #, c-format msgid "" "%s(%d): %s\n" "Out of range\n" msgstr "" "%s(%d): %s\n" "Í­¸úÈϰϤòͲá\n" #: src/parsecfg.c:289 #, c-format msgid "" "%s(%d): %s\n" "Cannot allocate memory.\n" msgstr "" "%s(%d): %s\n" "¥á¥â¥ê¤¬³ÎÊݤǤ­¤Þ¤»¤ó\n" #: src/parsecfg.c:292 #, c-format msgid "" "%s(%d): %s\n" "It must be specified TRUE or FALSE.\n" msgstr "" "%s(%d): %s\n" "TRUE ¤« FALSE ¤Ç»ØÄꤷ¤Æ¤¯¤À¤µ¤¤\n" #: src/parsecfg.c:295 #, c-format msgid "" "%s(%d): %s\n" "The section name is already used.\n" msgstr "" "%s(%d): %s\n" "¤³¤Î¥»¥¯¥·¥ç¥ó̾¤Ï´û¤Ë»È¤ï¤ì¤Æ¤¤¤Þ¤¹\n" #: src/parsecfg.c:298 #, c-format msgid "" "%s(%d)\n" "There is no closing brace.\n" msgstr "" #: src/parsecfg.c:301 #, c-format msgid "" "%s(%d): %s\n" "Unexplained error\n" msgstr "" "%s(%d): %s\n" "ÉÔÌÀ¤Ê¥¨¥é¡¼\n" #: src/shhopt.c:235 src/shhopt.c:261 #, c-format msgid "invalid number `%s'\n" msgstr "`%s' ¤Ï̵¸ú¤Ê¿ô»ú¤Ç¤¹\n" #: src/shhopt.c:238 src/shhopt.c:264 #, c-format msgid "number `%s' to `%s' out of range\n" msgstr "¥ª¥×¥·¥ç¥ó `%2$s' ¤Ë»ØÄꤵ¤ì¤¿¿ô»ú `%1$s' ¤ÏÍ­¸úÈϰϤò±Û¤¨¤Æ¤¤¤Þ¤¹\n" #: src/shhopt.c:369 #, c-format msgid "unrecognized option `%s'\n" msgstr "`%s' ¤Ïǧ¼±¤Ç¤­¤Ê¤¤¥ª¥×¥·¥ç¥ó¤Ç¤¹\n" #: src/shhopt.c:382 src/shhopt.c:420 #, c-format msgid "option `%s' requires an argument\n" msgstr "¥ª¥×¥·¥ç¥ó `%s' ¤Ï°ú¿ô¤òɬÍפȤ·¤Þ¤¹\n" #: src/shhopt.c:388 #, c-format msgid "option `%s' doesn't allow an argument\n" msgstr "¥ª¥×¥·¥ç¥ó `%s' ¤Ë°ú¿ô¤Ï»ØÄê¤Ç¤­¤Þ¤»¤ó\n" #: src/shhopt.c:410 #, c-format msgid "unrecognized option `-%c'\n" msgstr "`-%c' ¤Ïǧ¼±¤Ç¤­¤Ê¤¤¥ª¥×¥·¥ç¥ó¤Ç¤¹\n" #: src/strlib.c:63 src/strlib.c:83 msgid "Cannot allocate memory.\n" msgstr "¥á¥â¥ê¤¬³ÎÊݤǤ­¤Þ¤»¤ó¡£\n" #: src/sub.c:81 #, c-format msgid "Invalid wildcard `%s'.\n" msgstr "`%s' ¤Ï»ÈÍѤǤ­¤Ê¤¤¥ï¥¤¥ë¥É¥«¡¼¥É¤Ç¤¹¡£\n" #: src/weex.c:102 src/weex.c:141 #, c-format msgid "" "Warning! Configuration file `%s/.weex/weexrc' does not exist.\n" "\n" msgstr "" "·Ù¹ð¡ª ÀßÄê¥Õ¥¡¥¤¥ë `%s/.weex/weexrc' ¤¬¤¢¤ê¤Þ¤»¤ó¡£\n" "\n" #: src/weex.c:107 #, c-format msgid "" "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" "\n" "This is free software with ABSOLUTELY NO WARRANTY.\n" "For details please see the file COPYING.\n" "\n" "usage: weex [OPTIONS] HOST...\n" "\n" "options:\n" " -h | --help display this help and exit\n" " -s | --silent suppress normal non-error messages\n" " -f | --force force sending all files\n" " -m | --monochrome output messages in monochrome\n" " -t | --test not modify remote files\n" " -r | --rebuild-cache rebuild cache file\n" " -d | --debug-config display configuration of each hosts\n" " -D | --debug-ftplib output debugging information for ftplib\n" " -V | --version display version information and exit\n" "\n" msgstr "" "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" "\n" "¤³¤ì¤Ï¥Õ¥ê¡¼¥½¥Õ¥È¥¦¥§¥¢¤Ç¤¢¤ê¡¢Æ°ºî¤Ë°ìÀÚ¤ÎÊݾڤϤ¢¤ê¤Þ¤»¤ó¡£\n" "¾ÜºÙ¤Ï COPYING.ja ¤òÆÉ¤ó¤Ç¤¯¤À¤µ¤¤¡£\n" "\n" "»ÈÍÑË¡: weex [¥ª¥×¥·¥ç¥ó] ¥Û¥¹¥È...\n" "\n" "¥ª¥×¥·¥ç¥ó:\n" " -h | --help ¤³¤Î¥Ø¥ë¥×¤òɽ¼¨¤·¤Æ½ªÎ»\n" " -s | --silent ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸°Ê³°¤ò½ÐÎϤ·¤Ê¤¤\n" " -f | --force Á´¥Õ¥¡¥¤¥ë¤ò¶¯À©Åª¤ËžÁ÷\n" " -m | --monochrome ¥á¥Ã¥»¡¼¥¸¤ò¥â¥Î¥¯¥í¤Ç½ÐÎÏ\n" " -r | --rebuild-cache ¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë¤òºÆ¹½ÃÛ\n" " -t | --test ¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¤òÊѹ¹¤·¤Ê¤¤\n" " -d | --debug-config ³Æ¥Û¥¹¥È¤ÎÀßÄê¤òɽ¼¨\n" " -D | --debug-ftplib ftplib ¤Î¥Ç¥Ð¥Ã¥°¾ðÊó¤ò½ÐÎÏ\n" " -V | --version ¥Ð¡¼¥¸¥ç¥ó¾ðÊó¤òɽ¼¨¤·¤Æ½ªÎ»\n" "\n" #: src/weex.c:146 #, c-format msgid "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" msgstr "" #: src/log.c:56 msgid "Cannot get a host name. Proceed anyway.\n" msgstr "¥Û¥¹¥È̾¤ò¼èÆÀ¤Ç¤­¤Þ¤»¤ó¡£¤È¤Ë¤«¤¯·Ñ³¤·¤Þ¤¹¡£\n" #: src/log.c:84 msgid "Stopped.\n" msgstr "Ää»ß¡£\n" #: src/log.c:88 #, c-format msgid "" "Log file `%s' seems to be always locked.\n" "Remove lock file `%s'.\n" msgstr "" "¥í¥°¥Õ¥¡¥¤¥ë `%s' ¤Ï¾ï¤Ë¥í¥Ã¥¯¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë»×¤¨¤Þ¤¹¡£\n" "¥í¥Ã¥¯¥Õ¥¡¥¤¥ë `%s' ¤òºï½ü¤·¤Æ¤¯¤À¤µ¤¤¡£\n" #: src/log.c:90 #, c-format msgid "Another weex is using log file `%s'. Just a moment.\n" msgstr "" "¥í¥°¥Õ¥¡¥¤¥ë `%s' ¤ÏÊ̤Πweex " "¤Ë¤è¤Ã¤Æ»È¤ï¤ì¤Æ¤¤¤Þ¤¹¡£¤·¤Ð¤é¤¯¤ªÂÔ¤Á¤¯¤À¤µ¤¤¡£\n" #: src/log.c:146 msgid "Jan" msgstr "01" #: src/log.c:147 msgid "Feb" msgstr "02" #: src/log.c:148 msgid "Mar" msgstr "03" #: src/log.c:149 msgid "Apr" msgstr "04" #: src/log.c:150 msgid "May" msgstr "05" #: src/log.c:151 msgid "Jun" msgstr "06" #: src/log.c:152 msgid "Jul" msgstr "07" #: src/log.c:153 msgid "Aug" msgstr "08" #: src/log.c:154 msgid "Sep" msgstr "09" #: src/log.c:155 msgid "Oct" msgstr "10" #: src/log.c:156 msgid "Nov" msgstr "11" #: src/log.c:157 msgid "Dec" msgstr "12" #: src/log.c:165 #, c-format msgid "%s %2d %02d:%02d:%02d %s weex[%d]: %s\n" msgstr "%s/%02d %02d:%02d:%02d %s weex[%d]: %s\n" weex-2.6.1/po/nl.po0100664000016100001440000003414507121420627012747 0ustar ludousers# Fast Webpage Exchanger # Copyright (C) 1999-2000 Yuuki NINOMIYA # # Dutch translations # Jos Smeets , 2000. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Fast Webpage Exchanger 2.6.0\n" "POT-Creation-Date: 2000-05-30 23:53+0900\n" "PO-Revision-Date: 2000-05-07 16:10+0200\n" "Last-Translator: Jos Smeets \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #: src/cache.c:62 #, c-format msgid "Rebuilding cache file `%s'.\n" msgstr "Cache-bestand `%s' wordt opnieuw gemaakt.\n" #: src/cache.c:69 #, c-format msgid "Cache file `%s' does not exist." msgstr "Cache-bestand `%s' bestaat niet." #: src/cache.c:71 msgid " Creating a new one.\n" msgstr " Een nieuwe maken.\n" #: src/cache.c:83 src/cache.c:89 #, c-format msgid "Cache file `%s' is broken at line %d.\n" msgstr "Cache-bestand `%s' is corrupt in regel %d.\n" #: src/cache.c:200 msgid "Internal error: cache facility is broken.\n" msgstr "Interne fout: cache-mogelijkheid is corrupt.\n" #: src/cache.c:287 #, c-format msgid "Cannot create cache file `%s'.\n" msgstr "Kan het cache-bestand `%s' niet maken.\n" #: src/config.c:109 #, c-format msgid "Configuration file `%s/.weex/weexrc' does not exist.\n" msgstr "Configuratiebestand `%s/.weex/weexrc' bestaat niet.\n" #: src/config.c:115 msgid "There is no section in configuration file.\n" msgstr "Er is geen sectie in het configuratiebestand.\n" #: src/config.c:140 #, c-format msgid "Cannot make directory `%s'.\n" msgstr "Kan de directory `%s' niet maken.\n" #: src/config.c:143 #, c-format msgid "Created directory `%s'.\n" msgstr "Directory `%s' gemaakt.\n" #: src/config.c:161 #, c-format msgid "Cannot get file status: `%s'\n" msgstr "Kan de bestandstatus niet vinden: `%s'.\n" #: src/config.c:185 msgid "A `default' section is required.\n" msgstr "Een `default'-sectie is verplicht.\n" #: src/config.c:241 msgid "" "When you set ChangePermissionDir, you must configure ChangePermission.\n" msgstr "" "Als ChangePermissionDir bestaat, moet ChangePermission geconfigureerd " "worden.\n" #: src/filedata.c:77 #, c-format msgid "Cannot expand symbolic link `%s'. Ignore this file.\n" msgstr "Kan de symbolische link `%s' niet volgen. Negeer dit bestand.\n" #: src/filedata.c:78 #, c-format msgid "Expanding symbolic link failed: %s" msgstr "Volgen symbolische link niet gelukt: %s" #: src/filedata.c:117 #, c-format msgid "ConvToLower causes a conflict between `%s' and `%s'. Proceed anyway.\n" msgstr "" "ConvToLower veroorzaakt een conflict tussen `%s' en `%s'. Ga toch door.\n" #: src/filedata.c:119 #, c-format msgid "Confliction by ConvToLower: %s" msgstr "Conflict door ConvToLower: %s" #: src/filedata.c:162 msgid "Cannot create a unique file name.\n" msgstr "Kan geen unieke bestandsnaam maken.\n" #: src/filedata.c:169 msgid "Cannot get remote directory list.\n" msgstr "Kan de remote directory-lijst niet krijgen.\n" #: src/filedata.c:170 msgid "Getting remote directory list failed" msgstr "Verkrijgen remote directory-lijst mislukt" #: src/filedata.c:176 #, c-format msgid "Cannot open `%s'.\n" msgstr "Kan `%s' niet openen.\n" #: src/filedata.c:251 #, c-format msgid "Cannot remove `%s'.\n" msgstr "Kan `%s' niet verwijderen.\n" #: src/filedata.c:298 src/filedata.c:305 src/filedata.c:316 msgid "Cannot get the remote directory list correctly.\n" msgstr "Kan de remote directory-lijst niet correct krijgen.\n" #: src/ftplib.c:1179 msgid " : %ld/%ld (%ld%%) [ " msgstr " : %ld/%ld (%ld%%) [ " #: src/ftpmain.c:74 #, c-format msgid "Complete: sent %d file(s), removed %d file(s)" msgstr "Klaar: %d bestand(en) verstuurd, %d bestand(en) verwijderd" #: src/ftpmain.c:99 #, c-format msgid "Specified host (section) name `%s' is undefined.\n" msgstr "De vermelde hostnaam (sectie) `%s' is niet gedefinieerd.\n" #: src/ftpmain.c:104 #, c-format msgid "Specified host (section) number `%s' is undefined.\n" msgstr "Het vermelde hostnummer (sectie) `%s' is niet gedefinieerd.\n" #: src/ftpmain.c:109 msgid "Cannot specify a default configuration.\n" msgstr "Kan geen default configuratie specificeren.\n" #: src/ftpmain.c:141 msgid "The source directory (SrcDir) is not configured.\n" msgstr "De bron-directory (SrcDir) is niet geconfigureerd.\n" #: src/ftpmain.c:148 msgid "The destination directory (DestDir) is not configured.\n" msgstr "De bestemmings-directory (DestDir) is niet geconfigureerd.\n" #: src/ftpmain.c:187 msgid "The host name is not configured.\n" msgstr "De hostnaam is niet geconfigureerd.\n" #: src/ftpmain.c:191 #, c-format msgid "" "Cannot connect host `%s'.\n" "\n" msgstr "" "Krijg geen verbinding met de host `%s'.\n" "\n" #: src/ftpmain.c:192 #, c-format msgid "Connection failed: %s (%s)" msgstr "Verbinding mislukt: %s (%s)" #: src/ftpmain.c:197 #, c-format msgid "Connected: %s (%s)" msgstr "Verbonden: %s (%s)" #: src/ftpmain.c:224 #, c-format msgid "Disconnected: %s (%s)" msgstr "Verbinding verbroken: %s (%s)" #: src/ftpmain.c:241 msgid "The login name is not configured.\n" msgstr "De login-naam is niet geconfigureerd.\n" #. Changed by Waleed Kadous to ask #. for a password if none is given in the weexrc file #: src/ftpmain.c:247 #, c-format msgid "No password specified in configuration file for `%s'. Asking ...\n" msgstr "" "Geen paswoord gespecificeerd in het configuratiebestand voor `%s'. Vraag...\n" #: src/ftpmain.c:248 msgid "Password:" msgstr "Paswoord:" #: src/ftpmain.c:253 msgid "" "Login failed. Check your ID and password.\n" "\n" msgstr "" "Login mislukt. Controleer ID en paswoord.\n" "\n" #: src/ftpmain.c:254 #, c-format msgid "Login failed: %s (%s)" msgstr "Login mislukt: %s (%s)" #: src/ftpmain.c:314 #, c-format msgid "Cannot change %s current working directory to `%s'.\n" msgstr "Kan huidige %s werkdirectory niet veranderen naar `%s'.\n" #: src/ftpmain.c:314 src/ftpmain.c:315 msgid "local" msgstr "lokale" #: src/ftpmain.c:314 src/ftpmain.c:315 msgid "remote" msgstr "remote" #: src/ftpmain.c:315 #, c-format msgid "Changing %s current working directory failed: %s" msgstr "Veranderen huidige %s werk-directory mislukt: %s" #: src/ftpmain.c:411 #, c-format msgid "Sent: %s%s" msgstr "Verstuurd: %s%s" #: src/ftpmain.c:430 #, c-format msgid "Cannot change the access permissions of `%s%s' to `%s'.\n" msgstr "Kan de toegangspermissies niet veranderen van `%s%s' in `%s'.\n" #: src/ftpmain.c:431 #, c-format msgid "Changing the access permissions failed: %s%s" msgstr "Veranderen van de toegangspermissies niet gelukt: %s%s" #: src/ftpmain.c:440 #, c-format msgid "Cannot send file `%s%s'.\n" msgstr "Kan de file `%s%s' niet versturen.\n" #: src/ftpmain.c:441 #, c-format msgid "Sending failed: %s%s" msgstr "Versturen mislukt: %s%s" #: src/ftpmain.c:447 #, c-format msgid "Retry to send: %s%s" msgstr "Nieuwe poging om te versturen: %s%s" #: src/ftpmain.c:450 msgid "Retrying...\n" msgstr "Nieuwe poging...\n" #: src/ftpmain.c:469 #, c-format msgid "%s : sent %d file(s), removed %d file(s)" msgstr "%s : %d bestand(en) verstuurd, %d bestand(en) verwijderd" #: src/ftpmain.c:613 #, c-format msgid "Cannot remove remote file `%s%s'.\n" msgstr "Kan het remote bestand `%s%s' niet verwijderen.\n" #: src/ftpmain.c:614 #, c-format msgid "Removing failed: %s%s" msgstr "Verwijderen mislukt: %s%s" #: src/ftpmain.c:619 #, c-format msgid "Removed: %s%s" msgstr "Verwijderd: %s%s" #: src/ftpmain.c:681 #, c-format msgid "Cannot remove remote directory `%s%s/'.\n" msgstr "Kan de remote directory `%s%s/' niet verwijderen.\n" #: src/ftpmain.c:682 #, c-format msgid "Removing failed: %s%s/" msgstr "Verwijderen mislukt: %s%s/" #: src/ftpmain.c:709 #, c-format msgid "Cannot make remote directory `%s%s/'.\n" msgstr "Kan remote directory `%s%s/' niet maken.\n" #: src/ftpmain.c:710 #, c-format msgid "Making directory failed: %s%s/" msgstr "Directory maken mislukt: %s%s/" #: src/message.c:50 msgid "Connect : " msgstr "Verbinden : " #. CONNECT #: src/message.c:51 msgid "Disconnect : " msgstr "Verbreken : " #. DISCONNECT #: src/message.c:52 msgid "Entering : " msgstr "Binnengaan : " #. ENTER #: src/message.c:53 msgid "Leaving : " msgstr "Verlaten : " #. LEAVE #: src/message.c:54 src/message.c:55 src/message.c:59 src/message.c:60 msgid "Sending : " msgstr "Versturen : " #. BINARY_SEND #: src/message.c:56 msgid "Changing : " msgstr "Veranderen : " #. CHMOD #: src/message.c:57 msgid "Removing : " msgstr "Verwijderen: " #. REMOVE #: src/message.c:58 msgid "Making Dir : " msgstr "Dir maken : " #. BINARY_LOWER_SEND #: src/message.c:61 msgid "Processing : " msgstr "Uitvoeren : " #: src/parsecfg.c:268 #, c-format msgid "Configuration file `%s' is not found.\n" msgstr "Configuratiebestand `%s' niet gevonden.\n" #: src/parsecfg.c:271 #, c-format msgid "Creating configuration file `%s' fails.\n" msgstr "Maken van configuratiebestand `%s' mislukt.\n" #: src/parsecfg.c:274 #, c-format msgid "" "%s(%d): %s\n" "Syntax error\n" msgstr "" "%s(%d): %s\n" "Syntax-fout\n" #: src/parsecfg.c:277 #, c-format msgid "" "%s(%d): %s\n" "Unrecognized parameter\n" msgstr "" "%s(%d): %s\n" "Onbekende parameter\n" #: src/parsecfg.c:280 #, c-format msgid "" "%s(%d): %s\n" "Internal error\n" msgstr "" "%s(%d): %s\n" "Interne fout\n" #: src/parsecfg.c:283 #, c-format msgid "" "%s(%d): %s\n" "Invalid number\n" msgstr "" "%s(%d): %s\n" "Ongeldig getal\n" #: src/parsecfg.c:286 #, c-format msgid "" "%s(%d): %s\n" "Out of range\n" msgstr "" "%s(%d): %s\n" "Buiten het bereik\n" #: src/parsecfg.c:289 #, c-format msgid "" "%s(%d): %s\n" "Cannot allocate memory.\n" msgstr "" "%s(%d): %s\n" "Kan geen geheugen toekennen.\n" #: src/parsecfg.c:292 #, c-format msgid "" "%s(%d): %s\n" "It must be specified TRUE or FALSE.\n" msgstr "" "%s(%d): %s\n" "Waarde moet TRUE of FALSE zijn.\n" #: src/parsecfg.c:295 #, c-format msgid "" "%s(%d): %s\n" "The section name is already used.\n" msgstr "" "%s(%d): %s\n" "De sectienaam is al in gebruik.\n" #: src/parsecfg.c:298 #, c-format msgid "" "%s(%d)\n" "There is no closing brace.\n" msgstr "" "%s(%d)\n" "Er is geen sluithaak.\n" #: src/parsecfg.c:301 #, c-format msgid "" "%s(%d): %s\n" "Unexplained error\n" msgstr "" "%s(%d): %s\n" "Onverklaarde fout\n" #: src/shhopt.c:235 src/shhopt.c:261 #, c-format msgid "invalid number `%s'\n" msgstr "ongeldig getal `%s'.\n" #: src/shhopt.c:238 src/shhopt.c:264 #, c-format msgid "number `%s' to `%s' out of range\n" msgstr "getal `%s' tot `%s' is buiten bereik\n" #: src/shhopt.c:369 #, c-format msgid "unrecognized option `%s'\n" msgstr "onbekende optie `%s'\n" #: src/shhopt.c:382 src/shhopt.c:420 #, c-format msgid "option `%s' requires an argument\n" msgstr "optie `%s' heeft een argument nodig\n" #: src/shhopt.c:388 #, c-format msgid "option `%s' doesn't allow an argument\n" msgstr "optie `%s' mag geen argument hebben\n" #: src/shhopt.c:410 #, c-format msgid "unrecognized option `-%c'\n" msgstr "onbekende optie `-%c'\n" #: src/strlib.c:63 src/strlib.c:83 msgid "Cannot allocate memory.\n" msgstr "Kan geen geheugen toekennen.\n" #: src/sub.c:81 #, c-format msgid "Invalid wildcard `%s'.\n" msgstr "Niet-toegestane wildcard `%s'.\n" #: src/weex.c:102 src/weex.c:141 #, c-format msgid "" "Warning! Configuration file `%s/.weex/weexrc' does not exist.\n" "\n" msgstr "" "Waarschuwing! Configuratiebestand `%s/.weex/weexrc' bestaat niet.\n" "\n" #: src/weex.c:107 #, c-format msgid "" "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" "\n" "This is free software with ABSOLUTELY NO WARRANTY.\n" "For details please see the file COPYING.\n" "\n" "usage: weex [OPTIONS] HOST...\n" "\n" "options:\n" " -h | --help display this help and exit\n" " -s | --silent suppress normal non-error messages\n" " -f | --force force sending all files\n" " -m | --monochrome output messages in monochrome\n" " -t | --test not modify remote files\n" " -r | --rebuild-cache rebuild cache file\n" " -d | --debug-config display configuration of each hosts\n" " -D | --debug-ftplib output debugging information for ftplib\n" " -V | --version display version information and exit\n" "\n" msgstr "" "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" "\n" "Dis is gratis software met HELEMAAL GEEN GARANTIE.\n" "Voor details zie het bestand COPYING.\n" "\n" "gebruik: weex [OPTIONS] HOST...\n" "\n" "opties:\n" " -h | --help laat deze help zien en exit\n" " -s | --silent onderdruk normale niet-foutmeldingen\n" " -f | --force forceer versturen van alle bestanden\n" " -m | --monochrome geef meldingen weer in monochrome\n" " -t | --test verander geen remote bestanden\n" " -r | --rebuild-cache maak cache bestand opnieuw\n" " -d | --debug-config laat configuratie van elke hosts zien\n" " -D | --debug-ftplib geef debugging informatie voor ftplib\n" " -V | --version laat versie-information zien en exit\n" "\n" #: src/weex.c:146 #, c-format msgid "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" msgstr "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" #: src/log.c:56 msgid "Cannot get a host name. Proceed anyway.\n" msgstr "Kan hostnaam niet krijgen. Ga toch door.\n" #: src/log.c:84 msgid "Stopped.\n" msgstr "Gestopt.\n" #: src/log.c:88 #, c-format msgid "" "Log file `%s' seems to be always locked.\n" "Remove lock file `%s'.\n" msgstr "" "Log-bestand `%s' lijkt altijd ge-locked.\n" "Verwijder lock-bestand `%s'.\n" #: src/log.c:90 #, c-format msgid "Another weex is using log file `%s'. Just a moment.\n" msgstr "Een andere weex gebruikt het log-bestand `%s'. Een momentje.\n" #: src/log.c:146 msgid "Jan" msgstr "jan" #: src/log.c:147 msgid "Feb" msgstr "feb" #: src/log.c:148 msgid "Mar" msgstr "mrt" #: src/log.c:149 msgid "Apr" msgstr "apr" #: src/log.c:150 msgid "May" msgstr "mei" #: src/log.c:151 msgid "Jun" msgstr "jun" #: src/log.c:152 msgid "Jul" msgstr "jul" #: src/log.c:153 msgid "Aug" msgstr "aug" #: src/log.c:154 msgid "Sep" msgstr "sep" #: src/log.c:155 msgid "Oct" msgstr "okt" #: src/log.c:156 msgid "Nov" msgstr "nov" #: src/log.c:157 msgid "Dec" msgstr "dec" #: src/log.c:165 #, c-format msgid "%s %2d %02d:%02d:%02d %s weex[%d]: %s\n" msgstr "%s %2d %02d:%02d:%02d %s weex[%d]: %s\n" weex-2.6.1/po/cat-id-tbl.c0100644000016100001440000001257607056561007014071 0ustar ludousers/* Automatically generated by po2tbl.sed from weex.pot. */ #if HAVE_CONFIG_H # include #endif #include "libgettext.h" const struct _msg_ent _msg_tbl[] = { {"", 1}, {"Rebuilding cache file `%s'.\n", 2}, {"Cache file `%s' does not exist.", 3}, {" Creating a new one.\n", 4}, {"Cache file `%s' is broken at line %d.\n", 5}, {"Internal error: cache facility is broken.\n", 6}, {"Cannot create cache file `%s'.\n", 7}, {"Configuration file `%s/.weex/weexrc' does not exist.\n", 8}, {"There is no section in configuration file.\n", 9}, {"Cannot make directory `%s'.\n", 10}, {"Created directory `%s'.\n", 11}, {"Cannot get file status: `%s'\n", 12}, {"A `default' section is required.\n", 13}, {"\ When you set ChangePermissionDir, you must configure ChangePermission.\n", 14}, {"Cannot expand symbolic link `%s'. Ignore this file.\n", 15}, {"Expanding symbolic link failed: %s", 16}, {"ConvToLower causes a conflict between `%s' and `%s'. Proceed anyway.\n", 17}, {"Confliction by ConvToLower: %s", 18}, {"Cannot create a unique file name.\n", 19}, {"Cannot get remote directory list.\n", 20}, {"Getting remote directory list failed", 21}, {"Cannot open `%s'.\n", 22}, {"Cannot remove `%s'.\n", 23}, {"Cannot get the remote directory list correctly.\n", 24}, {" : %ld/%ld (%ld%%) [ ", 25}, {"Complete: sent %d file(s), removed %d file(s)", 26}, {"Specified host (section) name `%s' is undefined.\n", 27}, {"Specified host (section) number `%s' is undefined.\n", 28}, {"Cannot specify a default configuration.\n", 29}, {"The source directory (SrcDir) is not configured.\n", 30}, {"The destination directory (DestDir) is not configured.\n", 31}, {"The host name is not configured.\n", 32}, {"\ Cannot connect host `%s'.\n\ \n", 33}, {"Connection failed: %s (%s)", 34}, {"Connected: %s (%s)", 35}, {"Disconnected: %s (%s)", 36}, {"The login name is not configured.\n", 37}, {"No password specified in configuration file for `%s'. Asking ...\n", 38}, {"Password:", 39}, {"\ Login failed. Check your ID and password.\n\ \n", 40}, {"Login failed: %s (%s)", 41}, {"Cannot change %s current working directory to `%s'.\n", 42}, {"local", 43}, {"remote", 44}, {"Changing %s current working directory failed: %s", 45}, {"Sent: %s%s", 46}, {"Cannot change the access permissions of `%s%s' to `%s'.\n", 47}, {"Changing the access permissions failed: %s%s", 48}, {"Cannot send file `%s%s'.\n", 49}, {"Sending failed: %s%s", 50}, {"Retry to send: %s%s", 51}, {"Retrying...\n", 52}, {"%s : sent %d file(s), removed %d file(s)", 53}, {"Cannot remove remote file `%s%s'.\n", 54}, {"Removing failed: %s%s", 55}, {"Removed: %s%s", 56}, {"Cannot remove remote directory `%s%s/'.\n", 57}, {"Removing failed: %s%s/", 58}, {"Cannot make remote directory `%s%s/'.\n", 59}, {"Making directory failed: %s%s/", 60}, {"Connect : ", 61}, {"Disconnect : ", 62}, {"Entering : ", 63}, {"Leaving : ", 64}, {"Sending : ", 65}, {"Changing : ", 66}, {"Removing : ", 67}, {"Making Dir : ", 68}, {"Processing : ", 69}, {"Configuration file `%s' is not found.\n", 70}, {"Creating configuration file `%s' fails.\n", 71}, {"\ %s(%d): %s\n\ Syntax error\n", 72}, {"\ %s(%d): %s\n\ Unrecognized parameter\n", 73}, {"\ %s(%d): %s\n\ Internal error\n", 74}, {"\ %s(%d): %s\n\ Invalid number\n", 75}, {"\ %s(%d): %s\n\ Out of range\n", 76}, {"\ %s(%d): %s\n\ Cannot allocate memory.\n", 77}, {"\ %s(%d): %s\n\ It must be specified TRUE or FALSE.\n", 78}, {"\ %s(%d): %s\n\ The section name is already used.\n", 79}, {"\ %s(%d)\n\ There is no closing brace.\n", 80}, {"\ %s(%d): %s\n\ Unexplained error\n", 81}, {"invalid number `%s'\n", 82}, {"number `%s' to `%s' out of range\n", 83}, {"unrecognized option `%s'\n", 84}, {"option `%s' requires an argument\n", 85}, {"option `%s' doesn't allow an argument\n", 86}, {"unrecognized option `-%c'\n", 87}, {"Cannot allocate memory.\n", 88}, {"Invalid wildcard `%s'.\n", 89}, {"\ Warning! Configuration file `%s/.weex/weexrc' does not exist.\n\ \n", 90}, {"\ Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n\ \n\ This is free software with ABSOLUTELY NO WARRANTY.\n\ For details please see the file COPYING.\n\ \n\ usage: weex [OPTIONS] HOST...\n\ \n\ options:\n\ -h | --help display this help and exit\n\ -s | --silent suppress normal non-error messages\n\ -f | --force force sending all files\n\ -m | --monochrome output messages in monochrome\n\ -t | --test not modify remote files\n\ -r | --rebuild-cache rebuild cache file\n\ -d | --debug-config display configuration of each hosts\n\ -D | --debug-ftplib output debugging information for ftplib\n\ -V | --version display version information and exit\n\ \n", 91}, {"Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n", 92}, {"Cannot get a host name. Proceed anyway.\n", 93}, {"Stopped.\n", 94}, {"\ Log file `%s' seems to be always locked.\n\ Remove lock file `%s'.\n", 95}, {"Another weex is using log file `%s'. Just a moment.\n", 96}, {"Jan", 97}, {"Feb", 98}, {"Mar", 99}, {"Apr", 100}, {"May", 101}, {"Jun", 102}, {"Jul", 103}, {"Aug", 104}, {"Sep", 105}, {"Oct", 106}, {"Nov", 107}, {"Dec", 108}, {"%s %2d %02d:%02d:%02d %s weex[%d]: %s\n", 109}, }; int _msg_tbl_length = 109; weex-2.6.1/po/POTFILES.in0100644000016100001440000000026107055417104013543 0ustar ludousers./src/cache.c ./src/config.c ./src/filedata.c ./src/ftplib.c ./src/ftpmain.c ./src/message.c ./src/parsecfg.c ./src/shhopt.c ./src/strlib.c ./src/sub.c ./src/weex.c ./src/log.c weex-2.6.1/po/stamp-cat-id0100664000016100001440000000001207114752772014201 0ustar ludouserstimestamp weex-2.6.1/po/de.gmo0100664000016100001440000002352607121420627013073 0ustar ludousersÞ•`ƒ(H(^#‡«Æ/á * -C q " !² 4Ô  &) P 4i 8ž × "ó  46 (k ” "² 0Õ  &# J ] (r "› ¾ (Ø  0 ,@ -m &› 5 ø %8ES™(²Û ßí "´4$é*9 Q@_+ Ì âðAY ]g „ ’ ¶Í á îü 13N ‚7Œ!Ä"æ1 +;?gG§ï! &,!Su|–'±Ù0ï. Ok4†»×6ð'!F*hG“%Û-#/4S:ˆ%Ã6é' FH;*Ë0ö8''`1ˆºÒ.ë' B=c¡3·-ë3)M;w³Òè&ûM"p5ŒÂÆÜõ( »4/ð!% "F"c"Vy"7Ð"###'9#a#e#Mi#·#»#Ä# ä#ò#$$8$K$Z$p$ˆ$+—$2Ã$ ö$3%"7%#Z%3~%>²%Eñ%I7&&–&6Ÿ&"Ö&#ù&'%'='.A2!Q$L4G'  P;\@+UK, "VFTC[%D)S3-&X RY M5:/BZ#*(EN67<0HW8`I?9=J_O>]1^ : %ld/%ld (%ld%%) [ Creating a new one. %s : sent %d file(s), removed %d file(s)%s(%d): %s Cannot allocate memory. %s(%d): %s Internal error %s(%d): %s Invalid number %s(%d): %s It must be specified TRUE or FALSE. %s(%d): %s Out of range %s(%d): %s Syntax error %s(%d): %s The section name is already used. %s(%d): %s Unexplained error %s(%d): %s Unrecognized parameter A `default' section is required. Another weex is using log file `%s'. Just a moment. Cache file `%s' does not exist.Cache file `%s' is broken at line %d. Cannot allocate memory. Cannot change %s current working directory to `%s'. Cannot change the access permissions of `%s%s' to `%s'. Cannot connect host `%s'. Cannot create a unique file name. Cannot create cache file `%s'. Cannot expand symbolic link `%s'. Ignore this file. Cannot get a host name. Proceed anyway. Cannot get file status: `%s' Cannot get remote directory list. Cannot get the remote directory list correctly. Cannot make directory `%s'. Cannot make remote directory `%s%s/'. Cannot open `%s'. Cannot remove `%s'. Cannot remove remote directory `%s%s/'. Cannot remove remote file `%s%s'. Cannot send file `%s%s'. Cannot specify a default configuration. Changing : Changing %s current working directory failed: %sChanging the access permissions failed: %s%sComplete: sent %d file(s), removed %d file(s)Configuration file `%s' is not found. Configuration file `%s/.weex/weexrc' does not exist. Confliction by ConvToLower: %sConnect : Connected: %s (%s)Connection failed: %s (%s)ConvToLower causes a conflict between `%s' and `%s'. Proceed anyway. Created directory `%s'. Creating configuration file `%s' fails. DecDisconnect : Disconnected: %s (%s)Entering : Expanding symbolic link failed: %sFast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA This is free software with ABSOLUTELY NO WARRANTY. For details please see the file COPYING. usage: weex [OPTIONS] HOST... options: -h | --help display this help and exit -s | --silent suppress normal non-error messages -f | --force force sending all files -m | --monochrome output messages in monochrome -t | --test not modify remote files -r | --rebuild-cache rebuild cache file -d | --debug-config display configuration of each hosts -D | --debug-ftplib output debugging information for ftplib -V | --version display version information and exit Getting remote directory list failedInternal error: cache facility is broken. Invalid wildcard `%s'. Leaving : Log file `%s' seems to be always locked. Remove lock file `%s'. Login failed. Check your ID and password. Login failed: %s (%s)Making Dir : Making directory failed: %s%s/MarMayNo password specified in configuration file for `%s'. Asking ... OctPassword:Rebuilding cache file `%s'. Removed: %s%sRemoving : Removing failed: %s%sRemoving failed: %s%s/Retry to send: %s%sRetrying... Sending : Sending failed: %s%sSent: %s%sSpecified host (section) name `%s' is undefined. Specified host (section) number `%s' is undefined. Stopped. The destination directory (DestDir) is not configured. The host name is not configured. The login name is not configured. The source directory (SrcDir) is not configured. There is no section in configuration file. Warning! Configuration file `%s/.weex/weexrc' does not exist. When you set ChangePermissionDir, you must configure ChangePermission. invalid number `%s' localnumber `%s' to `%s' out of range option `%s' doesn't allow an argument option `%s' requires an argument remoteunrecognized option `%s' unrecognized option `-%c' : %ld/%ld (%ld%%) [ Erstelle eine neue. %s : %d Datei(en) gesendet, %d Datei(en) gelscht%s(%d): %s Speicherallokation fehlgeschlagen. %s(%d): %s Interner Fehler %s(%d): %s Ungltiger Wert %s(%d): %s Es muß TRUE oder FALSE angegeben werden. %s(%d): %s Bereichsberlauf %s(%d): %s Syntaxfehler %s(%d): %s Dieser Abschnittsname ist schon vorhanden. %s(%d): %s Unbekannter Fehler %s(%d): %s Unbekannter Parameter Ein `default'-Abschnitt ist erforderlich. Logdatei `%s' wird von einem anderen weex benutzt. Einen Moment bitte. Die Cache-Datei `%s' existiert nicht.Cache-Datei `%s' ist beschädigt in Zeile %d. Speicherallokation fehlgeschlagen. Kann %sArbeitsverzeichnis nicht nach `%s' wechseln. Kann die Zugriffsrechts von `%s%s' nicht auf `%s' setzen. Kann nicht mit Host `%s' verbinden. Kann keinen noch nicht vorhandenen Dateinamen bilden. Kann Cache-Datei `%s' nicht erstellen. Kann den symbolischen Link `%s' nicht auflsen. Ignoriere diese Datei. Kann keinen Hostnamen ermitteln. Vorgang wird fortgesetzt. Kann Dateistatus nicht feststellen: `%s'. Kann Inhalt von Remote-Verzeichnis nicht lesen. Kann Inhalt von Remote-Verzeichnis nicht korrekt lesen. Kann Verzeichnis `%s' nicht erstellen. Kann Remote-Verzeichnis `%s%s/' nicht erstellen. Kann `%s' nicht ffnen. Kann `%s' nicht lschen. Kann Remote-Verzeichnis `%s%s/' nicht lschen. Kann Remote-Datei `%s%s' nicht lschen. Kann Datei `%s%s' nicht senden. Die Defaultkonfiguration kann nicht direkt verwendet werden. Ändere : Kann %sArbeitsverzeichnis nicht nach `%s' wechseln.Kann die Zugriffsrechts nicht verändern: %s%sFertig: %d Datei(en) gesendet, %d Datei(en) gelschtKonfigurationsdatei `%s' nicht gefunden. Die Konfigurationsdatei `%s/.weex/weexrc' existiert nicht. Konflikt durch ConvToLower: %sVerbindungsaufbau : Verbunden: %s (%s)Verbindungsaufbau gescheitert: %s (%s)Konflikt zwischen `%s' und `%s' durch ConvToLower. Vorgang wird fortgesetzt. Verzeichnis `%s' erstellt. Konfigurationsdatei `%s' kann nicht erstellt werden. DezVerbindungsende : Verbindungsende: %s (%s)Wechsele nach : Kann symbolischen Link nicht auflsen: %sFast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA Dies ist freie Software OHNE JEGLICHE GARANTIE. Details finden Sie in der Datei COPYING. Aufruf: weex [OPTIONEN] HOST... Optionen: -h | --help Diese Hilfe anzeigen -s | --silent Alle Meldungen außer Fehlern unterdrcken -f | --force Alle Dateien neu senden -m | --monochrome Meldungen monochrom ausgeben -t | --test Keine Änderungen an Remote-Dateien vornehmen -r | --rebuild-cache Cache-Datei neu erstellen -d | --debug-config Konfiguration aller Hosts anzeigen -D | --debug-ftplib Debug-Informationen aus ftplib ausgeben -V | --version Versionsinformation anzeigen Kann Inhalt von Remote-Verzeichnis nicht lesen.Interner Fehler in Cache-Verwaltung. Ungltiger Platzhalter `%s'. Verlasse : Logdatei `%s' scheint dauerhaft gesperrt zu sein. Entfernen Sie die Sperr-Datei `%s'. Login gescheitert. Prfen Sie Ihre ID und das Paßwort. Login gescheitert: %s (%s)Erzeuge Verzeichnis: Kann Verzeichnis nicht erstellen: %s%s/MärMaiIn der Konfigurationsdatei ist kein Paßwort fr `%s' angegeben. Frage nach... OktPaßwort:Erstelle Cache-Datei `%s' neu. Gelscht: %s%sLsche : Kann nicht lschen: %s%sKann nicht lschen: %s%s/Sende erneut: %s%sWiederhole... Sende : Kann nicht senden: %s%sGesendet: %s%sHost (Abschnitt) `%s' ist nicht definiert. Host (Abschnitt) Nummer `%s' ist nicht definiert. Angehalten. Das Zielverzeichnis (DestDir) ist nicht angegeben. Der Hostname ist nicht angegeben. Der Loginname ist nicht angegeben. Das Quellverzeichnis (SrcDir) ist nicht angegeben. In der Konfigurationsdatei sind keine Remote-Hosts definiert. Warnung! Die Konfigurationsdatei `%s/.weex/weexrc' existiert nicht. Wenn Sie ChangePermissionDir setzen, mssen Sie ChangePermission angeben. Ungltiger Wert `%s' lokales Werte `%s' bis `%s' außerhalb des zulässigen Bereichs Option `%s' läßt kein Argument zu Option `%s' erfordert ein Argument Remote-Unbekannte Option `%s' Unbekannte Option `-%c' weex-2.6.1/po/es.gmo0100664000016100001440000002463407121420627013113 0ustar ludousersÞ•id•¬  (6 "_ #‚ ¦ Á /Ü  % -> l "Š !­ 4Ï    &, S 4l 8¡ Ú "ö  49 (n — "µ 0Ø  && M ` (u "ž Á (Û ,-?&m5”Ê é÷ E%k(„­ ±¿ Õ"ã´»$¿*ä'+/ 3@A+‚® ÄÒñõAù;? C M[ x †”ªÁ Õ âð 13F z7„!¼"Þ1+3?_GŸçü!&$!KmtŽ'©Ñ9æ& -Gu'¬Ôï3 A#a#…J©ôø#ü8 "YC|BÀ024,gL”Já5,5bC˜&Ü48U5u3«*ß& 10B@s6´9ë%BSfM†#Ô:ø3 7 H ^ 0o å  †#8Š#)Ã#!í#$$$$S,$A€$&Â$é$,%.%2%c6%š%ž% ¢%®%$½%â%ò%& #&D&`&q&‚& œ&ª&=®&Fì&3'8<'+u')¡'3Ë'1ÿ'D1(Gv(¾(Õ(0Û(+ )%8)^)e)€)GA*NS #MRP]e.D;14f5U )c8,'67d9E0VYW>3?C2_=:&$! <\H/L"i-Q[ bIJaZ@+ `^(BhFTXOK%g : %ld/%ld (%ld%%) [ Creating a new one. %s : sent %d file(s), removed %d file(s)%s(%d) There is no closing brace. %s(%d): %s Cannot allocate memory. %s(%d): %s Internal error %s(%d): %s Invalid number %s(%d): %s It must be specified TRUE or FALSE. %s(%d): %s Out of range %s(%d): %s Syntax error %s(%d): %s The section name is already used. %s(%d): %s Unexplained error %s(%d): %s Unrecognized parameter A `default' section is required. Another weex is using log file `%s'. Just a moment. AprAugCache file `%s' does not exist.Cache file `%s' is broken at line %d. Cannot allocate memory. Cannot change %s current working directory to `%s'. Cannot change the access permissions of `%s%s' to `%s'. Cannot connect host `%s'. Cannot create a unique file name. Cannot create cache file `%s'. Cannot expand symbolic link `%s'. Ignore this file. Cannot get a host name. Proceed anyway. Cannot get file status: `%s' Cannot get remote directory list. Cannot get the remote directory list correctly. Cannot make directory `%s'. Cannot make remote directory `%s%s/'. Cannot open `%s'. Cannot remove `%s'. Cannot remove remote directory `%s%s/'. Cannot remove remote file `%s%s'. Cannot send file `%s%s'. Cannot specify a default configuration. Changing : Changing the access permissions failed: %s%sComplete: sent %d file(s), removed %d file(s)Configuration file `%s' is not found. Configuration file `%s/.weex/weexrc' does not exist. Confliction by ConvToLower: %sConnect : Connected: %s (%s)Connection failed: %s (%s)ConvToLower causes a conflict between `%s' and `%s'. Proceed anyway. Created directory `%s'. Creating configuration file `%s' fails. DecDisconnect : Disconnected: %s (%s)Entering : Expanding symbolic link failed: %sFast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA This is free software with ABSOLUTELY NO WARRANTY. For details please see the file COPYING. usage: weex [OPTIONS] HOST... options: -h | --help display this help and exit -s | --silent suppress normal non-error messages -f | --force force sending all files -m | --monochrome output messages in monochrome -t | --test not modify remote files -r | --rebuild-cache rebuild cache file -d | --debug-config display configuration of each hosts -D | --debug-ftplib output debugging information for ftplib -V | --version display version information and exit FebGetting remote directory list failedInternal error: cache facility is broken. Invalid wildcard `%s'. JanJulJunLeaving : Log file `%s' seems to be always locked. Remove lock file `%s'. Login failed. Check your ID and password. Login failed: %s (%s)Making Dir : Making directory failed: %s%s/MarMayNo password specified in configuration file for `%s'. Asking ... NovOctPassword:Processing : Rebuilding cache file `%s'. Removed: %s%sRemoving : Removing failed: %s%sRemoving failed: %s%s/Retry to send: %s%sRetrying... Sending : Sending failed: %s%sSent: %s%sSepSpecified host (section) name `%s' is undefined. Specified host (section) number `%s' is undefined. Stopped. The destination directory (DestDir) is not configured. The host name is not configured. The login name is not configured. The source directory (SrcDir) is not configured. There is no section in configuration file. Warning! Configuration file `%s/.weex/weexrc' does not exist. When you set ChangePermissionDir, you must configure ChangePermission. invalid number `%s' localnumber `%s' to `%s' out of range option `%s' doesn't allow an argument option `%s' requires an argument remoteunrecognized option `%s' unrecognized option `-%c' : %ld/%ld (%ld%%) [ Creando uno nuevo. %s : Enviado(s) %d archivo(s), eliminado(s) %d archivo(s)%s(%d) Falta el paréntesis de cierre. %s(%d): %s No se ha podido reservar memoria. %s(%d): %s Error interno %s(%d): %s Número no válido %s(%d): %s Tiene que ser TRUE o FALSE. %s(%d): %s Fuera de rango %s(%d): %s Error de sintaxis %s(%d): %s El nombre de sección ya se está usando. %s(%d): %s Error indeterminado %s(%d): %s Parámetro no reconocido Se requiere una sección `default'. Otra instancia de weex está usando el histórico `%s'. Espere un momento.. AbrAgoEl archivo de caché `%s' no existe.El archivo de caché `%s' tiene un error en la línea %d. No se ha podido reservar memoria. No se ha podido cambiar el directorio de trabajo actual %s a `%s'. No se han podido cambiar los permisos de acceso de `%s%s' a `%s'. No se ha podido conectar con el servidor `%s'. No se ha podido crear un nombre único de archivo. No se puede crear el archivo de caché `%s'. No se ha podido expandir el enlace simbólico `%s'. Ignorando este archivo. No se ha podido leer un nombre de servidor. Se continuará de todos modos. No se ha podido mostrar el estado del archivo: `%s'. No se ha podido leer la lista del directorio remoto. No se ha podido leer la lista del directorio remoto correctamente. No se puede crear el directorio `%s'. No se ha podido crear el directorio remoto `%s%s/'. No se ha podido abrir `%s'. No se ha podido eliminar `%s'. No se ha podido borrar el directorio remoto `%s%s/'. No se ha podido eliminar el archivo remoto `%s%s'. No se ha podido enviar el archivo `%s%s'. No hay una configuración por defecto. Cambiando : El cambio de permisos de acceso ha fallado: %s%sCompletado: enviado(s) %d archivo(s), eliminado(s) %d archivo(s)No se ha encontrado el archivo de configuración `%s'. El archivo de configuración `%s/.weex/weexrc' no existe. Conflicto de ConvToLower: %sConectando : Conectado: %s (%s)La conexión ha fallado: %s (%s)ConvToLower causa conflictos entre `%s' y `%s'. Se continuará de todo modos. El directorio `%s' ha sido creado. Ha fallado la creación del archivo de configuración `%s'. DicDesconectando : Desconectado: %s (%s)Accediendo a : Ha fallado la expansión del enlace simbólico: %sFast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA Este es software libre con ABSOLUTAMENTE NINGUNA GARANTÍA. Para más detalles lea el archivo COPYING. Uso: weex [OPCIONES] SERVIDOR... Opciones: -h | --help Muestra esta ayuda y sale -s | --silent Sólo muestra los mensajes de error -f | --force Fuerza el envío de todos los archivos -m | --monochrome Muestra los mensajes en monocromo -t | --test No modifica los archivos remotos -r | --rebuild-cache Recrea el archivo de caché -d | --debug-config Muestra la configuración de cada servidor -D | --debug-ftplib Muestra información de depurado de ftplib -V | --version Muestra información de la versión y sale FebHa fallado La lectura de la lista del directorio remoto.Error interno: cache facility is broken. Carácter comodín no válido `%s'. EneJulJunSaliendo de : El histórico `%s' parece estar siempre bloqueado. Elimine el archivo cerrojo `%s'. La autentificación ha fallado. Compruebe su ID y su contraseña. La autentificación ha fallado: %s (%s)Creando el directorio: La creación del directorio ha fallado: %s%s/MarMayNo se ha especificado ninguna contraseña en el archivo de configuración para `%s'. Preguntando ... NovOctContraseña:Procesando :Recreando el archivo de caché `%s'. Eliminado: %s%sEliminando : La eliminación ha fallado: %s%sLa eliminación ha fallado: %s%s/Reintentando el envío: %s%sReintentando... Enviando : El envio ha fallado: %s%sEnviado: %s%sSepNo se ha definido la sección del servidor '%s' especificado. No se ha definido el número de sección del servidor `%s' especificado Parado. El directorio de destino (DestDir) no está configurado. El nombre de servidor no está configurado. El nombre de acceso no está configurado. El directorio fuente (SrcDir) no está configurado. No hay secciones en el archivo de configuración. Atención! El archivo de configuración `%s/.weex/weexrc' no existe. Si pone ChangePermissionDir, también debe configurar ChangePermission. Número no válido `%s' localLos números de `%s' a `%s' están fuera de rango La opción `%s' no permite ningún argumento La opción `%s' requiere un argumento RemotoOpción `%s' no reconocida Opción `-%c' no reconocida weex-2.6.1/po/fr.gmo0100664000016100001440000002534507121420627013113 0ustar ludousersÞ•l|•Ü0 P &f ( "¶ #Ù ý  /3 c | -• à "á ! 4& [ _ c &ƒ ª 4à 8ø 1 "M p 4 (Å î " 0/ ` &} ¤ · (Ì "õ (2 [0i,š-Ç&õ5R q’E­ó( 5 9G ]"kEŽ´Ô‰$*²Ýõùý @+P| ’ ¿ÃAÇ    ) F Tbx £ °¾ ÓÞ1â3 H7R!Š"¬1Ï+?-GmµÊ!Ð&ò!;B\w—'·1ß,0>o‹-¨Öô0 De'„R¬ÿ&0.$_B„<Ç/04.e@”:Õ17B?z(º3ã27Q3‰(½*æ <-\6Š3Á<õ2 O ] p L Ý 4ý 2! 6!D! Y!+g!E“!Ù!ô$5ø$<.%!k%%‘%•% ™%V§%Cþ%B& ^&'l&”&˜&Oœ&ì&ð&ô& ')';' K'Y'x'!—'¹' Ð'Þ' ö'(8(=A((9ˆ('Â(%ê(3):D)I)TÉ)*4*':*#b*%†*¬*´*Î*JD,QV!$PUS`h:0G>367X+f;. (89g<H2Y\ZA5BF4b@='%" ?_K1O#l/T^ eLMd[]C- ca*EkIW)RN&ji : %ld/%ld (%ld%%) [ Creating a new one. %s %2d %02d:%02d:%02d %s weex[%d]: %s %s : sent %d file(s), removed %d file(s)%s(%d) There is no closing brace. %s(%d): %s Cannot allocate memory. %s(%d): %s Internal error %s(%d): %s Invalid number %s(%d): %s It must be specified TRUE or FALSE. %s(%d): %s Out of range %s(%d): %s Syntax error %s(%d): %s The section name is already used. %s(%d): %s Unexplained error %s(%d): %s Unrecognized parameter A `default' section is required. Another weex is using log file `%s'. Just a moment. AprAugCache file `%s' does not exist.Cache file `%s' is broken at line %d. Cannot allocate memory. Cannot change %s current working directory to `%s'. Cannot change the access permissions of `%s%s' to `%s'. Cannot connect host `%s'. Cannot create a unique file name. Cannot create cache file `%s'. Cannot expand symbolic link `%s'. Ignore this file. Cannot get a host name. Proceed anyway. Cannot get file status: `%s' Cannot get remote directory list. Cannot get the remote directory list correctly. Cannot make directory `%s'. Cannot make remote directory `%s%s/'. Cannot open `%s'. Cannot remove `%s'. Cannot remove remote directory `%s%s/'. Cannot remove remote file `%s%s'. Cannot send file `%s%s'. Cannot specify a default configuration. Changing : Changing %s current working directory failed: %sChanging the access permissions failed: %s%sComplete: sent %d file(s), removed %d file(s)Configuration file `%s' is not found. Configuration file `%s/.weex/weexrc' does not exist. Confliction by ConvToLower: %sConnect : Connected: %s (%s)Connection failed: %s (%s)ConvToLower causes a conflict between `%s' and `%s'. Proceed anyway. Created directory `%s'. Creating configuration file `%s' fails. DecDisconnect : Disconnected: %s (%s)Entering : Expanding symbolic link failed: %sFast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA This is free software with ABSOLUTELY NO WARRANTY. For details please see the file COPYING. usage: weex [OPTIONS] HOST... options: -h | --help display this help and exit -s | --silent suppress normal non-error messages -f | --force force sending all files -m | --monochrome output messages in monochrome -t | --test not modify remote files -r | --rebuild-cache rebuild cache file -d | --debug-config display configuration of each hosts -D | --debug-ftplib output debugging information for ftplib -V | --version display version information and exit FebGetting remote directory list failedInternal error: cache facility is broken. Invalid wildcard `%s'. JanJulJunLeaving : Log file `%s' seems to be always locked. Remove lock file `%s'. Login failed. Check your ID and password. Login failed: %s (%s)Making Dir : Making directory failed: %s%s/MarMayNo password specified in configuration file for `%s'. Asking ... NovOctPassword:Processing : Rebuilding cache file `%s'. Removed: %s%sRemoving : Removing failed: %s%sRemoving failed: %s%s/Retry to send: %s%sRetrying... Sending : Sending failed: %s%sSent: %s%sSepSpecified host (section) name `%s' is undefined. Specified host (section) number `%s' is undefined. Stopped. The destination directory (DestDir) is not configured. The host name is not configured. The login name is not configured. The source directory (SrcDir) is not configured. There is no section in configuration file. Warning! Configuration file `%s/.weex/weexrc' does not exist. When you set ChangePermissionDir, you must configure ChangePermission. invalid number `%s' localnumber `%s' to `%s' out of range option `%s' doesn't allow an argument option `%s' requires an argument remoteunrecognized option `%s' unrecognized option `-%c' : %ld/%ld (%ld%%) [ Création d'un nouveau fichier. %s %2d %02d:%02d:%02d %s weex[%d] : %s %s : envoyé %d fichier(s), supprimé %d fichier(s)%s(%d) Il n'y a pas de parenthèse fermante. %s(%d) : %s Impossible d'allouer de la mémoire. %s(%d) : %s Erreur interne %s(%d) : %s Numéro invalide %s(%d) : %s Il faut spécifier TRUE ou FALSE. %s(%d) : %s Hors des limites %s(%d) : %s Erreur de syntaxe %s(%d) : %s Le nom de section est déjà utilisé. %s(%d) : %s Erreur indéterminée %s(%d) : %s Paramètre inconnu Une section `default' est obligatoire. Une autre instance de weex utilise le fichier de trace `%s'. Attendez un instant. AvrAoûLe fichier de cache `%s' n'existe pas.Le fichier de cache a une erreur à la ligne %d. Impossible d'allouer de la mémoire. Impossible de passer du répertoire de travail en cours %s à `%s'. Impossible de modifier les droits d'accèsde `%s%s' en `%s'. Impossible de se connecter à la machine `%s'. Création d'un nom de fichier unique impossible. Création du fichier de cache `%s' impossible. Impossible de résoudre le lien symbolique `%s'. Fichier ignoré. Impossible d'avoir un nom d'hôte. Je continue quand même. Impossible de connaître l'état du fichier : `%s' Impossible d'obtenir le contenu du répertoire distant. Impossible d'obtenir le contenu correct du répertoire distant. Création du répertoire `%s' impossible. Impossible de créer le répertoire distant `%s%s/'. Impossible d'ouvrir `%s'. Impossible de supprimer `%s'. Impossible de supprimer le répertoire distant `%s%s/'. Impossible de supprimer le fichier distant `%s%s'. Impossible d'envoyer le fichier `%s%s'. Il n'y a pas de configuration par défaut. Changement :Échec du changement du répertoire de travail courant %s : %sÉchec du changement des droits d'accès : %s%sTerminé : envoyé %d fichier(s), supprimé %d fichier(s)Le fichier de configuration `%s' n'est pas trouvé. Le fichier de configuration `%s/.weex/weexrc' n'existe pas. Conflit sur ConvToLower : %sConnexion :Connecté : %s (%s)Échec de la connexion : %s (%s)ConvToLower engendre un conflit entre `%s' et `%s'. Je continue quand même. Le répertoire `%s' a été créé. Échec de création du fichier de configuration `%s'. DécDéconnexion :Déconnecté : %s (%s)Entrée dans :Échec de résolution du lien symbolique : %sFast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA Voici un logiciel libre avec ABSOLUMENT AUCUNE GARANTIE. Pour les détails, référez-vous au fichier COPYING. utilisation : weex [OPTIONS] MACHINE... options : -h | --help affiche cette aide et termine -s | --silent ne montre que les messages d'erreur -f | --force force l'envoi de tous les fichiers -m | --monochrome affiche les messages en noir & blanc -t | --test ne modifie pas les fichiers distants -r | --rebuild-cache reconstruit le fichier de cache -d | --debug-config affiche la configuration de chaque hôte -D | --debug-ftplib affiche des informations de débogage pour ftplib -V | --version affiche des informations sur la version et termine FévÉchec de l'obtention du contenu du répertoire distantErreur interne : la fonction de cache n'est pas disponible. Motif d'expansion `%s' invalide. JanJuiJunSortie de :Le fichier de trace `%s' semble être constamment verrouillé. J'enlève le verrou `%s'. Le login a échoué. Vérifiez votre identité et votre mot de passe. Le login a échoué : %s (%s)Création de :Échec de création du répertoire : %s%s/MarMaiPas de mot de passe pour `%s' dans le fichier de configuration. On demande ... NovOctMot de passe :Traitement :Reconstruction du fichier de cache `%s'. Supprimé : %s%sSuppression :Échec de la suppression : %s%sÉchec de la suppresion : %s%s/Nouvelle tentative d'envoi : %s%sNouvelle tentative... Envoi :Échec de l'envoi : %s%sEnvoyé : %s%sSepLa section pour l'hôte spécifié `%s' n'est pas définie. Le numéro de section pour l'hôte spécifié `%s' n'est défini. Arrêté. Le répertoire destination (DestDir) n'est pas configuré. Le nom de machine n'est pas configuré. Le nom de login n'est pas configuré. Le répertoire source (SrcDir) n'est pas configuré. Il n'y a aucune section dans le fichier de configuration. Attention ! Le fichier de configuration `%s/.weex/weexrc' n'existe pas. Quand vous positionnez ChangePermissionDir, vous devez configurer ChangePermission. numéro `%s' invalide localnuméro `%s' vers `%s' hors des limites l'option `%s' n'a pas de paramètre l'option `%s' nécessite un paramètre distantoption `%s' non reconnue option `-%c' inconnue weex-2.6.1/po/ja.gmo0100664000016100001440000002372207121420627013073 0ustar ludousersÞ•jl•¼ 0 &F (m #– º Õ /ð  9 -R € "ž !Á 4ã    &@ g 4€ 8µ î " - 4M (‚ « "É 0ì  &: a t (‰ "² Õ (ï 0&,W-„&²5Ù .<OEj°(Éò ö "(´K$*)Tlpt x@†+Çó 6:A>€„ ˆ ’  ½ ËÙï  '5 JU1Y3‹ ¿7É!"#1F+x?¤Gä,A!G&i!²¹Óî '!1I"{žµ,Ìù0+\"u"˜O» &=8v1:Âý'+EEq/·'ç/5?%u0›Ìá0ú++#W+{ §"´$×2ü!/.Q€ › ¨¶IÈ#%6\ _ l z‡©¦P""S".v"(¥"Î"Ñ"Ô" ×"bä"=G#…# ›#¨#Ä#Ç#CÊ#$$ $ $)-$ W$ b$o$~$Ž$ Ÿ$ ¬$¹$ È$Ó$=Ö$?%T%B\%Ÿ%!¿%3á%'&6=&[t&Ð&ç&Cð&'4'%\'‚'"‹'#®'HB+OT #NSQ^f/E<256V*d9-'78e:F1ZX?4@D3`>;&$! =]I0M"j.R\ cWJKbY[A, a_)CiGU(PL%hg : %ld/%ld (%ld%%) [ Creating a new one. %s %2d %02d:%02d:%02d %s weex[%d]: %s %s : sent %d file(s), removed %d file(s)%s(%d): %s Cannot allocate memory. %s(%d): %s Internal error %s(%d): %s Invalid number %s(%d): %s It must be specified TRUE or FALSE. %s(%d): %s Out of range %s(%d): %s Syntax error %s(%d): %s The section name is already used. %s(%d): %s Unexplained error %s(%d): %s Unrecognized parameter A `default' section is required. Another weex is using log file `%s'. Just a moment. AprAugCache file `%s' does not exist.Cache file `%s' is broken at line %d. Cannot allocate memory. Cannot change %s current working directory to `%s'. Cannot change the access permissions of `%s%s' to `%s'. Cannot connect host `%s'. Cannot create a unique file name. Cannot create cache file `%s'. Cannot expand symbolic link `%s'. Ignore this file. Cannot get a host name. Proceed anyway. Cannot get file status: `%s' Cannot get remote directory list. Cannot get the remote directory list correctly. Cannot make directory `%s'. Cannot make remote directory `%s%s/'. Cannot open `%s'. Cannot remove `%s'. Cannot remove remote directory `%s%s/'. Cannot remove remote file `%s%s'. Cannot send file `%s%s'. Cannot specify a default configuration. Changing : Changing %s current working directory failed: %sChanging the access permissions failed: %s%sComplete: sent %d file(s), removed %d file(s)Configuration file `%s' is not found. Configuration file `%s/.weex/weexrc' does not exist. Confliction by ConvToLower: %sConnect : Connected: %s (%s)Connection failed: %s (%s)ConvToLower causes a conflict between `%s' and `%s'. Proceed anyway. Created directory `%s'. Creating configuration file `%s' fails. DecDisconnect : Disconnected: %s (%s)Entering : Expanding symbolic link failed: %sFast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA This is free software with ABSOLUTELY NO WARRANTY. For details please see the file COPYING. usage: weex [OPTIONS] HOST... options: -h | --help display this help and exit -s | --silent suppress normal non-error messages -f | --force force sending all files -m | --monochrome output messages in monochrome -t | --test not modify remote files -r | --rebuild-cache rebuild cache file -d | --debug-config display configuration of each hosts -D | --debug-ftplib output debugging information for ftplib -V | --version display version information and exit FebGetting remote directory list failedInternal error: cache facility is broken. Invalid wildcard `%s'. JanJulJunLeaving : Log file `%s' seems to be always locked. Remove lock file `%s'. Login failed. Check your ID and password. Login failed: %s (%s)Making Dir : Making directory failed: %s%s/MarMayNo password specified in configuration file for `%s'. Asking ... NovOctPassword:Processing : Rebuilding cache file `%s'. Removed: %s%sRemoving : Removing failed: %s%sRemoving failed: %s%s/Retry to send: %s%sRetrying... Sending : Sending failed: %s%sSent: %s%sSepSpecified host (section) name `%s' is undefined. Specified host (section) number `%s' is undefined. Stopped. The destination directory (DestDir) is not configured. The host name is not configured. The login name is not configured. The source directory (SrcDir) is not configured. There is no section in configuration file. Warning! Configuration file `%s/.weex/weexrc' does not exist. When you set ChangePermissionDir, you must configure ChangePermission. invalid number `%s' localnumber `%s' to `%s' out of range option `%s' doesn't allow an argument option `%s' requires an argument remoteunrecognized option `%s' unrecognized option `-%c' : %ld/%ld (%ld%%) [ ¿·¤·¤¯ºîÀ®¤·¤Þ¤¹¡£ %s/%02d %02d:%02d:%02d %s weex[%d]: %s %s : %d ¸Ä¤Î¥Õ¥¡¥¤¥ë¤òžÁ÷, %d ¸Ä¤Î¥Õ¥¡¥¤¥ë¤òºï½ü%s(%d): %s ¥á¥â¥ê¤¬³ÎÊݤǤ­¤Þ¤»¤ó %s(%d): %s ÆâÉô¥¨¥é¡¼ %s(%d): %s ̵¸ú¤Ê¿ô»ú %s(%d): %s TRUE ¤« FALSE ¤Ç»ØÄꤷ¤Æ¤¯¤À¤µ¤¤ %s(%d): %s Í­¸úÈϰϤòͲá %s(%d): %s ʸˡ¥¨¥é¡¼ %s(%d): %s ¤³¤Î¥»¥¯¥·¥ç¥ó̾¤Ï´û¤Ë»È¤ï¤ì¤Æ¤¤¤Þ¤¹ %s(%d): %s ÉÔÌÀ¤Ê¥¨¥é¡¼ %s(%d): %s ǧ¼±¤Ç¤­¤Ê¤¤¥Ñ¥é¥á¡¼¥¿ ¥»¥¯¥·¥ç¥ó `default' ¤¬É¬ÍפǤ¹¡£ ¥í¥°¥Õ¥¡¥¤¥ë `%s' ¤ÏÊ̤Πweex ¤Ë¤è¤Ã¤Æ»È¤ï¤ì¤Æ¤¤¤Þ¤¹¡£¤·¤Ð¤é¤¯¤ªÂÔ¤Á¤¯¤À¤µ¤¤¡£ 0408¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë `%s' ¤¬¤¢¤ê¤Þ¤»¤ó¡£¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë `%s' ¤¬ %d ¹ÔÌܤˤª¤¤¤ÆÇ˲õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¥á¥â¥ê¤¬³ÎÊݤǤ­¤Þ¤»¤ó¡£ %s¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤ò `%s' ¤ËÊѹ¹¤Ç¤­¤Þ¤»¤ó¡£ `%s%s' ¤Î¥¢¥¯¥»¥¹¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤ò `%s' ¤ËÊѹ¹¤Ç¤­¤Þ¤»¤ó¡£ ¥Û¥¹¥È `%s' ¤ËÀܳ¤Ç¤­¤Þ¤»¤ó¡£ ¥æ¥Ë¡¼¥¯¤Ê¥Õ¥¡¥¤¥ë̾¤òºîÀ®¤Ç¤­¤Þ¤»¤ó¡£ ¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë `%s' ¤òºîÀ®¤Ç¤­¤Þ¤»¤ó¡£ ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯ `%s' ¤òŸ³«¤Ç¤­¤Þ¤»¤ó¡£¤³¤Î¥Õ¥¡¥¤¥ë¤ò̵»ë¤·¤Þ¤¹¡£ ¥Û¥¹¥È̾¤ò¼èÆÀ¤Ç¤­¤Þ¤»¤ó¡£¤È¤Ë¤«¤¯·Ñ³¤·¤Þ¤¹¡£ ¥Õ¥¡¥¤¥ë `%s' ¤Î¾ðÊ󤬼èÆÀ¤Ç¤­¤Þ¤»¤ó¡£ ¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤Î¥ê¥¹¥È¤¬¼èÆÀ¤Ç¤­¤Þ¤»¤ó¡£ ¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤Î¥ê¥¹¥È¤¬Àµ¤·¤¯¼èÆÀ¤Ç¤­¤Þ¤»¤ó¡£ ¥Ç¥£¥ì¥¯¥È¥ê `%s' ¤¬ºîÀ®¤Ç¤­¤Þ¤»¤ó¡£ ¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê `%s%s/' ¤¬ºîÀ®¤Ç¤­¤Þ¤»¤ó¡£ `%s' ¤¬³«¤±¤Þ¤»¤ó¡£ `%s' ¤òºï½ü¤Ç¤­¤Þ¤»¤ó¡£ ¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê `%s%s/' ¤òºï½ü¤Ç¤­¤Þ¤»¤ó¡£ ¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë `%s%s' ¤òºï½ü¤Ç¤­¤Þ¤»¤ó¡£ ¥Õ¥¡¥¤¥ë `%s%s' ¤òžÁ÷¤Ç¤­¤Þ¤»¤ó¡£ ¥Ç¥Õ¥©¥ë¥ÈÀßÄê¤ò»ØÄꤹ¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£ MODÊѹ¹Ãæ : %s¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥êÊѹ¹¼ºÇÔ: %s¥¢¥¯¥»¥¹¥Ñ¡¼¥ß¥Ã¥·¥ç¥óÊѹ¹¼ºÇÔ: %s%s´°Î»: %d ¸Ä¤Î¥Õ¥¡¥¤¥ë¤òžÁ÷, %d ¸Ä¤Î¥Õ¥¡¥¤¥ë¤òºï½üÀßÄê¥Õ¥¡¥¤¥ë `%s' ¤¬³«¤±¤Þ¤»¤ó¡£ ÀßÄê¥Õ¥¡¥¤¥ë `%s/.weex/weexrc' ¤¬¤¢¤ê¤Þ¤»¤ó¡£ ConvToLower ¤Ë¤è¤ë¾×ÆÍ: %sÀܳ : Àܳ: %s (%s)Àܳ¼ºÇÔ: %s (%s)ConvToLower ¤¬Í­¸ú¤Ê¤Î¤Ç `%s' ¤È `%s' ¤¬¾×ÆÍ¤·¤Þ¤¹¡£¤È¤Ë¤«¤¯·Ñ³¤·¤Þ¤¹¡£ ¥Ç¥£¥ì¥¯¥È¥ê `%s' ¤òºîÀ®¤·¤Þ¤·¤¿¡£ ÀßÄê¥Õ¥¡¥¤¥ë `%s' ¤òºîÀ®¤Ç¤­¤Þ¤»¤ó¡£ 12ÀÚÃÇ : ÀÚÃÇ: %s (%s)EnterÃæ : ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯Å¸³«¼ºÇÔ: %sFast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA ¤³¤ì¤Ï¥Õ¥ê¡¼¥½¥Õ¥È¥¦¥§¥¢¤Ç¤¢¤ê¡¢Æ°ºî¤Ë°ìÀÚ¤ÎÊݾڤϤ¢¤ê¤Þ¤»¤ó¡£ ¾ÜºÙ¤Ï COPYING.ja ¤òÆÉ¤ó¤Ç¤¯¤À¤µ¤¤¡£ »ÈÍÑË¡: weex [¥ª¥×¥·¥ç¥ó] ¥Û¥¹¥È... ¥ª¥×¥·¥ç¥ó: -h | --help ¤³¤Î¥Ø¥ë¥×¤òɽ¼¨¤·¤Æ½ªÎ» -s | --silent ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸°Ê³°¤ò½ÐÎϤ·¤Ê¤¤ -f | --force Á´¥Õ¥¡¥¤¥ë¤ò¶¯À©Åª¤ËžÁ÷ -m | --monochrome ¥á¥Ã¥»¡¼¥¸¤ò¥â¥Î¥¯¥í¤Ç½ÐÎÏ -r | --rebuild-cache ¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë¤òºÆ¹½ÃÛ -t | --test ¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¤òÊѹ¹¤·¤Ê¤¤ -d | --debug-config ³Æ¥Û¥¹¥È¤ÎÀßÄê¤òɽ¼¨ -D | --debug-ftplib ftplib ¤Î¥Ç¥Ð¥Ã¥°¾ðÊó¤ò½ÐÎÏ -V | --version ¥Ð¡¼¥¸¥ç¥ó¾ðÊó¤òɽ¼¨¤·¤Æ½ªÎ» 02¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¥ê¥¹¥È¼èÆÀ¼ºÇÔÆâÉô¥¨¥é¡¼ : ¥­¥ã¥Ã¥·¥åµ¡¹½¤¬Ç˲õ¤µ¤ì¤Þ¤·¤¿¡£ `%s' ¤Ï»ÈÍѤǤ­¤Ê¤¤¥ï¥¤¥ë¥É¥«¡¼¥É¤Ç¤¹¡£ 010706LeaveÃæ : ¥í¥°¥Õ¥¡¥¤¥ë `%s' ¤Ï¾ï¤Ë¥í¥Ã¥¯¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë»×¤¨¤Þ¤¹¡£ ¥í¥Ã¥¯¥Õ¥¡¥¤¥ë `%s' ¤òºï½ü¤·¤Æ¤¯¤À¤µ¤¤¡£ ¥í¥°¥¤¥ó¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£ID ¤È¥Ñ¥¹¥ï¡¼¥É¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¥í¥°¥¤¥ó¼ºÇÔ: %s (%s)DirºîÀ®Ãæ : ¥Ç¥£¥ì¥¯¥È¥êºîÀ®¼ºÇÔ: %s%s/0305¥Û¥¹¥È `%s' ¤Ë¥Ñ¥¹¥ï¡¼¥É¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¡£»ØÄꤷ¤Æ¤¯¤À¤µ¤¤ ... 1110¥Ñ¥¹¥ï¡¼¥É:½èÍýÃæ : ¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë `%s' ¤òºÆ¹½ÃÛ¤·¤Þ¤¹¡£ ºï½ü: %s%sºï½üÃæ : ºï½ü¼ºÇÔ: %s%sºï½ü¼ºÇÔ: %s%s/žÁ÷ºÆ»î¹Ô: %s%sºÆ»î¹ÔÃæ... žÁ÷Ãæ : žÁ÷¼ºÇÔ: %s%sžÁ÷: %s%s09»ØÄꤵ¤ì¤¿¥Û¥¹¥È (¥»¥¯¥·¥ç¥ó) ̾ `%s' ¤ÏÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ »ØÄꤵ¤ì¤¿¥Û¥¹¥È (¥»¥¯¥·¥ç¥ó) ÈÖ¹æ `%s' ¤ÏÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ Ää»ß¡£ ¥Ç¥£¥¹¥Æ¥£¥Í¡¼¥·¥ç¥ó¥Ç¥£¥ì¥¯¥È¥ê (DestDir) ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ ¥Û¥¹¥È̾¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ ¥í¥°¥¤¥ó̾¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ ¥½¡¼¥¹¥Ç¥£¥ì¥¯¥È¥ê (SrcDir) ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ ÀßÄê¥Õ¥¡¥¤¥ë¤Ë¥»¥¯¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤»¤ó¡£ ·Ù¹ð¡ª ÀßÄê¥Õ¥¡¥¤¥ë `%s/.weex/weexrc' ¤¬¤¢¤ê¤Þ¤»¤ó¡£ ChangePermissionDir ¤òÀßÄꤹ¤ë»þ¤Ë¤Ï ChangePermission ¤â¹ç¤ï¤»¤ÆÀßÄꤷ¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£ `%s' ¤Ï̵¸ú¤Ê¿ô»ú¤Ç¤¹ ¥í¡¼¥«¥ë¥ª¥×¥·¥ç¥ó `%2$s' ¤Ë»ØÄꤵ¤ì¤¿¿ô»ú `%1$s' ¤ÏÍ­¸úÈϰϤò±Û¤¨¤Æ¤¤¤Þ¤¹ ¥ª¥×¥·¥ç¥ó `%s' ¤Ë°ú¿ô¤Ï»ØÄê¤Ç¤­¤Þ¤»¤ó ¥ª¥×¥·¥ç¥ó `%s' ¤Ï°ú¿ô¤òɬÍפȤ·¤Þ¤¹ ¥ê¥â¡¼¥È`%s' ¤Ïǧ¼±¤Ç¤­¤Ê¤¤¥ª¥×¥·¥ç¥ó¤Ç¤¹ `-%c' ¤Ïǧ¼±¤Ç¤­¤Ê¤¤¥ª¥×¥·¥ç¥ó¤Ç¤¹ weex-2.6.1/po/nl.gmo0100664000016100001440000002445407121420627013115 0ustar ludousersÞ•l|•Ü0 P &f ( "¶ #Ù ý  /3 c | -• à "á ! 4& [ _ c &ƒ ª 4à 8ø 1 "M p 4 (Å î " 0/ ` &} ¤ · (Ì "õ (2 [0i,š-Ç&õ5R q’E­ó( 5 9G ]"kEŽ´Ô‰$*²Ýõùý @+P| ’ ¿ÃAÇ    ) F Tbx £ °¾ ÓÞ1â3 H7R!Š"¬1Ï+?-GmµÊ!Ð&ò!;B\w—&«8Ò ()Rk+†²Ð+è2#R=v´¸ ¼+Ý 8'>`)Ÿ$É'î>)U(,¨4Õ" )-Wn2Š0½#î, ?0M6~:µ(ð4Nl{ŽHªó, 9 = K i 'w EŸ Õå »#)¿#-é#$7$;$?$ C$FQ$+˜$Ä$ Û$é$% %L%]%a% e% o%*}%¨% ¹%Ç%á%#ü% & 2&@&X&h&9l&<¦& ã&;í&$)'&N'3u'.©'CØ'N(k((%ˆ($®($Ó(ø(ÿ()JD,QV!$PUS`h:0G>367X+f;. (89g<H2Y\ZA5BF4b@='%" ?_K1O#l/T^ eLMd[]C- ca*EkIW)RN&ji : %ld/%ld (%ld%%) [ Creating a new one. %s %2d %02d:%02d:%02d %s weex[%d]: %s %s : sent %d file(s), removed %d file(s)%s(%d) There is no closing brace. %s(%d): %s Cannot allocate memory. %s(%d): %s Internal error %s(%d): %s Invalid number %s(%d): %s It must be specified TRUE or FALSE. %s(%d): %s Out of range %s(%d): %s Syntax error %s(%d): %s The section name is already used. %s(%d): %s Unexplained error %s(%d): %s Unrecognized parameter A `default' section is required. Another weex is using log file `%s'. Just a moment. AprAugCache file `%s' does not exist.Cache file `%s' is broken at line %d. Cannot allocate memory. Cannot change %s current working directory to `%s'. Cannot change the access permissions of `%s%s' to `%s'. Cannot connect host `%s'. Cannot create a unique file name. Cannot create cache file `%s'. Cannot expand symbolic link `%s'. Ignore this file. Cannot get a host name. Proceed anyway. Cannot get file status: `%s' Cannot get remote directory list. Cannot get the remote directory list correctly. Cannot make directory `%s'. Cannot make remote directory `%s%s/'. Cannot open `%s'. Cannot remove `%s'. Cannot remove remote directory `%s%s/'. Cannot remove remote file `%s%s'. Cannot send file `%s%s'. Cannot specify a default configuration. Changing : Changing %s current working directory failed: %sChanging the access permissions failed: %s%sComplete: sent %d file(s), removed %d file(s)Configuration file `%s' is not found. Configuration file `%s/.weex/weexrc' does not exist. Confliction by ConvToLower: %sConnect : Connected: %s (%s)Connection failed: %s (%s)ConvToLower causes a conflict between `%s' and `%s'. Proceed anyway. Created directory `%s'. Creating configuration file `%s' fails. DecDisconnect : Disconnected: %s (%s)Entering : Expanding symbolic link failed: %sFast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA This is free software with ABSOLUTELY NO WARRANTY. For details please see the file COPYING. usage: weex [OPTIONS] HOST... options: -h | --help display this help and exit -s | --silent suppress normal non-error messages -f | --force force sending all files -m | --monochrome output messages in monochrome -t | --test not modify remote files -r | --rebuild-cache rebuild cache file -d | --debug-config display configuration of each hosts -D | --debug-ftplib output debugging information for ftplib -V | --version display version information and exit FebGetting remote directory list failedInternal error: cache facility is broken. Invalid wildcard `%s'. JanJulJunLeaving : Log file `%s' seems to be always locked. Remove lock file `%s'. Login failed. Check your ID and password. Login failed: %s (%s)Making Dir : Making directory failed: %s%s/MarMayNo password specified in configuration file for `%s'. Asking ... NovOctPassword:Processing : Rebuilding cache file `%s'. Removed: %s%sRemoving : Removing failed: %s%sRemoving failed: %s%s/Retry to send: %s%sRetrying... Sending : Sending failed: %s%sSent: %s%sSepSpecified host (section) name `%s' is undefined. Specified host (section) number `%s' is undefined. Stopped. The destination directory (DestDir) is not configured. The host name is not configured. The login name is not configured. The source directory (SrcDir) is not configured. There is no section in configuration file. Warning! Configuration file `%s/.weex/weexrc' does not exist. When you set ChangePermissionDir, you must configure ChangePermission. invalid number `%s' localnumber `%s' to `%s' out of range option `%s' doesn't allow an argument option `%s' requires an argument remoteunrecognized option `%s' unrecognized option `-%c' : %ld/%ld (%ld%%) [ Een nieuwe maken. %s %2d %02d:%02d:%02d %s weex[%d]: %s %s : %d bestand(en) verstuurd, %d bestand(en) verwijderd%s(%d) Er is geen sluithaak. %s(%d): %s Kan geen geheugen toekennen. %s(%d): %s Interne fout %s(%d): %s Ongeldig getal %s(%d): %s Waarde moet TRUE of FALSE zijn. %s(%d): %s Buiten het bereik %s(%d): %s Syntax-fout %s(%d): %s De sectienaam is al in gebruik. %s(%d): %s Onverklaarde fout %s(%d): %s Onbekende parameter Een `default'-sectie is verplicht. Een andere weex gebruikt het log-bestand `%s'. Een momentje. apraugCache-bestand `%s' bestaat niet.Cache-bestand `%s' is corrupt in regel %d. Kan geen geheugen toekennen. Kan huidige %s werkdirectory niet veranderen naar `%s'. Kan de toegangspermissies niet veranderen van `%s%s' in `%s'. Krijg geen verbinding met de host `%s'. Kan geen unieke bestandsnaam maken. Kan het cache-bestand `%s' niet maken. Kan de symbolische link `%s' niet volgen. Negeer dit bestand. Kan hostnaam niet krijgen. Ga toch door. Kan de bestandstatus niet vinden: `%s'. Kan de remote directory-lijst niet krijgen. Kan de remote directory-lijst niet correct krijgen. Kan de directory `%s' niet maken. Kan remote directory `%s%s/' niet maken. Kan `%s' niet openen. Kan `%s' niet verwijderen. Kan de remote directory `%s%s/' niet verwijderen. Kan het remote bestand `%s%s' niet verwijderen. Kan de file `%s%s' niet versturen. Kan geen default configuratie specificeren. Veranderen : Veranderen huidige %s werk-directory mislukt: %sVeranderen van de toegangspermissies niet gelukt: %s%sKlaar: %d bestand(en) verstuurd, %d bestand(en) verwijderdConfiguratiebestand `%s' niet gevonden. Configuratiebestand `%s/.weex/weexrc' bestaat niet. Conflict door ConvToLower: %sVerbinden : Verbonden: %s (%s)Verbinding mislukt: %s (%s)ConvToLower veroorzaakt een conflict tussen `%s' en `%s'. Ga toch door. Directory `%s' gemaakt. Maken van configuratiebestand `%s' mislukt. decVerbreken : Verbinding verbroken: %s (%s)Binnengaan : Volgen symbolische link niet gelukt: %sFast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA Dis is gratis software met HELEMAAL GEEN GARANTIE. Voor details zie het bestand COPYING. gebruik: weex [OPTIONS] HOST... opties: -h | --help laat deze help zien en exit -s | --silent onderdruk normale niet-foutmeldingen -f | --force forceer versturen van alle bestanden -m | --monochrome geef meldingen weer in monochrome -t | --test verander geen remote bestanden -r | --rebuild-cache maak cache bestand opnieuw -d | --debug-config laat configuratie van elke hosts zien -D | --debug-ftplib geef debugging informatie voor ftplib -V | --version laat versie-information zien en exit febVerkrijgen remote directory-lijst misluktInterne fout: cache-mogelijkheid is corrupt. Niet-toegestane wildcard `%s'. janjuljunVerlaten : Log-bestand `%s' lijkt altijd ge-locked. Verwijder lock-bestand `%s'. Login mislukt. Controleer ID en paswoord. Login mislukt: %s (%s)Dir maken : Directory maken mislukt: %s%s/mrtmeiGeen paswoord gespecificeerd in het configuratiebestand voor `%s'. Vraag... novoktPaswoord:Uitvoeren : Cache-bestand `%s' wordt opnieuw gemaakt. Verwijderd: %s%sVerwijderen: Verwijderen mislukt: %s%sVerwijderen mislukt: %s%s/Nieuwe poging om te versturen: %s%sNieuwe poging... Versturen : Versturen mislukt: %s%sVerstuurd: %s%ssepDe vermelde hostnaam (sectie) `%s' is niet gedefinieerd. Het vermelde hostnummer (sectie) `%s' is niet gedefinieerd. Gestopt. De bestemmings-directory (DestDir) is niet geconfigureerd. De hostnaam is niet geconfigureerd. De login-naam is niet geconfigureerd. De bron-directory (SrcDir) is niet geconfigureerd. Er is geen sectie in het configuratiebestand. Waarschuwing! Configuratiebestand `%s/.weex/weexrc' bestaat niet. Als ChangePermissionDir bestaat, moet ChangePermission geconfigureerd worden. ongeldig getal `%s'. lokalegetal `%s' tot `%s' is buiten bereik optie `%s' mag geen argument hebben optie `%s' heeft een argument nodig remoteonbekende optie `%s' onbekende optie `-%c' weex-2.6.1/po/ChangeLog0100644000016100001440000000000006727271176013543 0ustar ludousersweex-2.6.1/po/Makefile.in.in0100644000016100001440000001552707101056745014455 0ustar ludousers# Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # # This file file be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = /bin/sh @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = $(prefix)/@DATADIRNAME@ localedir = $(datadir)/locale gnulocaledir = $(prefix)/share/locale gettextsrcdir = $(prefix)/share/gettext/po subdir = po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ MKINSTALLDIRS = $(top_srcdir)/@MKINSTALLDIRS@ CC = @CC@ GENCAT = @GENCAT@ GMSGFMT = PATH=../src:$$PATH @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = PATH=../src:$$PATH @XGETTEXT@ MSGMERGE = PATH=../src:$$PATH msgmerge DEFS = @DEFS@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ INCLUDES = -I.. -I$(top_srcdir)/intl COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) SOURCES = cat-id-tbl.c POFILES = @POFILES@ GMOFILES = @GMOFILES@ DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(PACKAGE).pot \ stamp-cat-id $(POFILES) $(GMOFILES) $(SOURCES) POTFILES = \ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ INSTOBJEXT = @INSTOBJEXT@ .SUFFIXES: .SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat .c.o: $(COMPILE) $< .po.pox: $(MAKE) $(srcdir)/$(PACKAGE).pot $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox .po.mo: $(MSGFMT) -o $@ $< .po.gmo: file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $< .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ && rm -f $@ && $(GENCAT) $@ $*.msg all: all-@USE_NLS@ all-yes: $(srcdir)/cat-id-tbl.c $(CATALOGS) all-no: $(srcdir)/$(PACKAGE).pot: $(POTFILES) $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \ --add-comments --keyword=_ --keyword=N_ \ --files-from=$(srcdir)/POTFILES.in \ && test ! -f $(PACKAGE).po \ || ( rm -f $(srcdir)/$(PACKAGE).pot \ && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot ) $(srcdir)/cat-id-tbl.c: $(srcdir)/stamp-cat-id; @: $(srcdir)/stamp-cat-id: $(srcdir)/$(PACKAGE).pot rm -f cat-id-tbl.tmp sed -f ../intl/po2tbl.sed $(srcdir)/$(PACKAGE).pot \ | sed -e "s/@PACKAGE NAME@/$(PACKAGE)/" > cat-id-tbl.tmp if cmp -s cat-id-tbl.tmp $(srcdir)/cat-id-tbl.c; then \ rm cat-id-tbl.tmp; \ else \ echo cat-id-tbl.c changed; \ rm -f $(srcdir)/cat-id-tbl.c; \ mv cat-id-tbl.tmp $(srcdir)/cat-id-tbl.c; \ fi cd $(srcdir) && rm -f stamp-cat-id && echo timestamp > stamp-cat-id install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all if test -r "$(MKINSTALLDIRS)"; then \ $(MKINSTALLDIRS) $(datadir); \ else \ $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \ fi @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ case "$$cat" in \ *.gmo) destdir=$(gnulocaledir);; \ *) destdir=$(localedir);; \ esac; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ dir=$$destdir/$$lang/LC_MESSAGES; \ if test -r "$(MKINSTALLDIRS)"; then \ $(MKINSTALLDIRS) $$dir; \ else \ $(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \ fi; \ if test -r $$cat; then \ $(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \ echo "installing $$cat as $$dir/$(PACKAGE)$(INSTOBJEXT)"; \ else \ $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \ echo "installing $(srcdir)/$$cat as" \ "$$dir/$(PACKAGE)$(INSTOBJEXT)"; \ fi; \ if test -r $$cat.m; then \ $(INSTALL_DATA) $$cat.m $$dir/$(PACKAGE)$(INSTOBJEXT).m; \ echo "installing $$cat.m as $$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ else \ if test -r $(srcdir)/$$cat.m ; then \ $(INSTALL_DATA) $(srcdir)/$$cat.m \ $$dir/$(PACKAGE)$(INSTOBJEXT).m; \ echo "installing $(srcdir)/$$cat as" \ "$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ else \ true; \ fi; \ fi; \ done if test "$(PACKAGE)" = "gettext"; then \ if test -r "$(MKINSTALLDIRS)"; then \ $(MKINSTALLDIRS) $(gettextsrcdir); \ else \ $(SHELL) $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \ fi; \ $(INSTALL_DATA) $(srcdir)/Makefile.in.in \ $(gettextsrcdir)/Makefile.in.in; \ else \ : ; \ fi # Define this as empty until I found a useful application. installcheck: uninstall: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ done rm -f $(gettextsrcdir)/po-Makefile.in.in check: all cat-id-tbl.o: $(srcdir)/cat-id-tbl.c $(top_srcdir)/intl/libgettext.h $(COMPILE) $(srcdir)/cat-id-tbl.c dvi info tags TAGS ID: mostlyclean: rm -f core core.* *.pox $(PACKAGE).po *.old.po cat-id-tbl.tmp rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f $(GMOFILES) cat-id-tbl.c stamp-cat-id distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: update-po $(DISTFILES) dists="$(DISTFILES)"; \ for file in $$dists; do \ ln $(srcdir)/$$file $(distdir) 2> /dev/null \ || cp -p $(srcdir)/$$file $(distdir); \ done update-po: Makefile $(MAKE) $(srcdir)/$(PACKAGE).pot PATH=`pwd`/../src:$$PATH; \ cd $(srcdir); \ catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ mv $$lang.po $$lang.old.po; \ echo "$$lang:"; \ if $(MSGMERGE) $$lang.old.po $(PACKAGE).pot -o $$lang.po; then \ rm -f $$lang.old.po; \ else \ echo "msgmerge for $$cat failed!"; \ rm -f $$lang.po; \ mv $$lang.old.po $$lang.po; \ fi; \ done POTFILES: POTFILES.in ( if test 'x$(srcdir)' != 'x.'; then \ posrcprefix='$(top_srcdir)/'; \ else \ posrcprefix="../"; \ fi; \ rm -f $@-t $@ \ && (sed -e '/^#/d' -e '/^[ ]*$$/d' \ -e "s@.*@ $$posrcprefix& \\\\@" < $(srcdir)/$@.in \ | sed -e '$$s/\\$$//') > $@-t \ && chmod a-w $@-t \ && mv $@-t $@ ) Makefile: Makefile.in.in ../config.status POTFILES cd .. \ && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: weex-2.6.1/po/weex.pot0100664000016100001440000002345707114752771013510 0ustar ludousers# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Free Software Foundation, Inc. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2000-05-30 23:53+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: ENCODING\n" #: src/cache.c:62 #, c-format msgid "Rebuilding cache file `%s'.\n" msgstr "" #: src/cache.c:69 #, c-format msgid "Cache file `%s' does not exist." msgstr "" #: src/cache.c:71 msgid " Creating a new one.\n" msgstr "" #: src/cache.c:83 src/cache.c:89 #, c-format msgid "Cache file `%s' is broken at line %d.\n" msgstr "" #: src/cache.c:200 msgid "Internal error: cache facility is broken.\n" msgstr "" #: src/cache.c:287 #, c-format msgid "Cannot create cache file `%s'.\n" msgstr "" #: src/config.c:109 #, c-format msgid "Configuration file `%s/.weex/weexrc' does not exist.\n" msgstr "" #: src/config.c:115 msgid "There is no section in configuration file.\n" msgstr "" #: src/config.c:140 #, c-format msgid "Cannot make directory `%s'.\n" msgstr "" #: src/config.c:143 #, c-format msgid "Created directory `%s'.\n" msgstr "" #: src/config.c:161 #, c-format msgid "Cannot get file status: `%s'\n" msgstr "" #: src/config.c:185 msgid "A `default' section is required.\n" msgstr "" #: src/config.c:241 msgid "" "When you set ChangePermissionDir, you must configure ChangePermission.\n" msgstr "" #: src/filedata.c:77 #, c-format msgid "Cannot expand symbolic link `%s'. Ignore this file.\n" msgstr "" #: src/filedata.c:78 #, c-format msgid "Expanding symbolic link failed: %s" msgstr "" #: src/filedata.c:117 #, c-format msgid "ConvToLower causes a conflict between `%s' and `%s'. Proceed anyway.\n" msgstr "" #: src/filedata.c:119 #, c-format msgid "Confliction by ConvToLower: %s" msgstr "" #: src/filedata.c:162 msgid "Cannot create a unique file name.\n" msgstr "" #: src/filedata.c:169 msgid "Cannot get remote directory list.\n" msgstr "" #: src/filedata.c:170 msgid "Getting remote directory list failed" msgstr "" #: src/filedata.c:176 #, c-format msgid "Cannot open `%s'.\n" msgstr "" #: src/filedata.c:251 #, c-format msgid "Cannot remove `%s'.\n" msgstr "" #: src/filedata.c:298 src/filedata.c:305 src/filedata.c:316 msgid "Cannot get the remote directory list correctly.\n" msgstr "" #: src/ftplib.c:1179 msgid " : %ld/%ld (%ld%%) [ " msgstr "" #: src/ftpmain.c:74 #, c-format msgid "Complete: sent %d file(s), removed %d file(s)" msgstr "" #: src/ftpmain.c:99 #, c-format msgid "Specified host (section) name `%s' is undefined.\n" msgstr "" #: src/ftpmain.c:104 #, c-format msgid "Specified host (section) number `%s' is undefined.\n" msgstr "" #: src/ftpmain.c:109 msgid "Cannot specify a default configuration.\n" msgstr "" #: src/ftpmain.c:141 msgid "The source directory (SrcDir) is not configured.\n" msgstr "" #: src/ftpmain.c:148 msgid "The destination directory (DestDir) is not configured.\n" msgstr "" #: src/ftpmain.c:187 msgid "The host name is not configured.\n" msgstr "" #: src/ftpmain.c:191 #, c-format msgid "" "Cannot connect host `%s'.\n" "\n" msgstr "" #: src/ftpmain.c:192 #, c-format msgid "Connection failed: %s (%s)" msgstr "" #: src/ftpmain.c:197 #, c-format msgid "Connected: %s (%s)" msgstr "" #: src/ftpmain.c:224 #, c-format msgid "Disconnected: %s (%s)" msgstr "" #: src/ftpmain.c:241 msgid "The login name is not configured.\n" msgstr "" #. Changed by Waleed Kadous to ask #. for a password if none is given in the weexrc file #: src/ftpmain.c:247 #, c-format msgid "No password specified in configuration file for `%s'. Asking ...\n" msgstr "" #: src/ftpmain.c:248 msgid "Password:" msgstr "" #: src/ftpmain.c:253 msgid "" "Login failed. Check your ID and password.\n" "\n" msgstr "" #: src/ftpmain.c:254 #, c-format msgid "Login failed: %s (%s)" msgstr "" #: src/ftpmain.c:314 #, c-format msgid "Cannot change %s current working directory to `%s'.\n" msgstr "" #: src/ftpmain.c:314 src/ftpmain.c:315 msgid "local" msgstr "" #: src/ftpmain.c:314 src/ftpmain.c:315 msgid "remote" msgstr "" #: src/ftpmain.c:315 #, c-format msgid "Changing %s current working directory failed: %s" msgstr "" #: src/ftpmain.c:411 #, c-format msgid "Sent: %s%s" msgstr "" #: src/ftpmain.c:430 #, c-format msgid "Cannot change the access permissions of `%s%s' to `%s'.\n" msgstr "" #: src/ftpmain.c:431 #, c-format msgid "Changing the access permissions failed: %s%s" msgstr "" #: src/ftpmain.c:440 #, c-format msgid "Cannot send file `%s%s'.\n" msgstr "" #: src/ftpmain.c:441 #, c-format msgid "Sending failed: %s%s" msgstr "" #: src/ftpmain.c:447 #, c-format msgid "Retry to send: %s%s" msgstr "" #: src/ftpmain.c:450 msgid "Retrying...\n" msgstr "" #: src/ftpmain.c:469 #, c-format msgid "%s : sent %d file(s), removed %d file(s)" msgstr "" #: src/ftpmain.c:613 #, c-format msgid "Cannot remove remote file `%s%s'.\n" msgstr "" #: src/ftpmain.c:614 #, c-format msgid "Removing failed: %s%s" msgstr "" #: src/ftpmain.c:619 #, c-format msgid "Removed: %s%s" msgstr "" #: src/ftpmain.c:681 #, c-format msgid "Cannot remove remote directory `%s%s/'.\n" msgstr "" #: src/ftpmain.c:682 #, c-format msgid "Removing failed: %s%s/" msgstr "" #: src/ftpmain.c:709 #, c-format msgid "Cannot make remote directory `%s%s/'.\n" msgstr "" #: src/ftpmain.c:710 #, c-format msgid "Making directory failed: %s%s/" msgstr "" #: src/message.c:50 msgid "Connect : " msgstr "" #. CONNECT #: src/message.c:51 msgid "Disconnect : " msgstr "" #. DISCONNECT #: src/message.c:52 msgid "Entering : " msgstr "" #. ENTER #: src/message.c:53 msgid "Leaving : " msgstr "" #. LEAVE #: src/message.c:54 src/message.c:55 src/message.c:59 src/message.c:60 msgid "Sending : " msgstr "" #. BINARY_SEND #: src/message.c:56 msgid "Changing : " msgstr "" #. CHMOD #: src/message.c:57 msgid "Removing : " msgstr "" #. REMOVE #: src/message.c:58 msgid "Making Dir : " msgstr "" #. BINARY_LOWER_SEND #: src/message.c:61 msgid "Processing : " msgstr "" #: src/parsecfg.c:268 #, c-format msgid "Configuration file `%s' is not found.\n" msgstr "" #: src/parsecfg.c:271 #, c-format msgid "Creating configuration file `%s' fails.\n" msgstr "" #: src/parsecfg.c:274 #, c-format msgid "" "%s(%d): %s\n" "Syntax error\n" msgstr "" #: src/parsecfg.c:277 #, c-format msgid "" "%s(%d): %s\n" "Unrecognized parameter\n" msgstr "" #: src/parsecfg.c:280 #, c-format msgid "" "%s(%d): %s\n" "Internal error\n" msgstr "" #: src/parsecfg.c:283 #, c-format msgid "" "%s(%d): %s\n" "Invalid number\n" msgstr "" #: src/parsecfg.c:286 #, c-format msgid "" "%s(%d): %s\n" "Out of range\n" msgstr "" #: src/parsecfg.c:289 #, c-format msgid "" "%s(%d): %s\n" "Cannot allocate memory.\n" msgstr "" #: src/parsecfg.c:292 #, c-format msgid "" "%s(%d): %s\n" "It must be specified TRUE or FALSE.\n" msgstr "" #: src/parsecfg.c:295 #, c-format msgid "" "%s(%d): %s\n" "The section name is already used.\n" msgstr "" #: src/parsecfg.c:298 #, c-format msgid "" "%s(%d)\n" "There is no closing brace.\n" msgstr "" #: src/parsecfg.c:301 #, c-format msgid "" "%s(%d): %s\n" "Unexplained error\n" msgstr "" #: src/shhopt.c:235 src/shhopt.c:261 #, c-format msgid "invalid number `%s'\n" msgstr "" #: src/shhopt.c:238 src/shhopt.c:264 #, c-format msgid "number `%s' to `%s' out of range\n" msgstr "" #: src/shhopt.c:369 #, c-format msgid "unrecognized option `%s'\n" msgstr "" #: src/shhopt.c:382 src/shhopt.c:420 #, c-format msgid "option `%s' requires an argument\n" msgstr "" #: src/shhopt.c:388 #, c-format msgid "option `%s' doesn't allow an argument\n" msgstr "" #: src/shhopt.c:410 #, c-format msgid "unrecognized option `-%c'\n" msgstr "" #: src/strlib.c:63 src/strlib.c:83 msgid "Cannot allocate memory.\n" msgstr "" #: src/sub.c:81 #, c-format msgid "Invalid wildcard `%s'.\n" msgstr "" #: src/weex.c:102 src/weex.c:141 #, c-format msgid "" "Warning! Configuration file `%s/.weex/weexrc' does not exist.\n" "\n" msgstr "" #: src/weex.c:107 #, c-format msgid "" "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" "\n" "This is free software with ABSOLUTELY NO WARRANTY.\n" "For details please see the file COPYING.\n" "\n" "usage: weex [OPTIONS] HOST...\n" "\n" "options:\n" " -h | --help display this help and exit\n" " -s | --silent suppress normal non-error messages\n" " -f | --force force sending all files\n" " -m | --monochrome output messages in monochrome\n" " -t | --test not modify remote files\n" " -r | --rebuild-cache rebuild cache file\n" " -d | --debug-config display configuration of each hosts\n" " -D | --debug-ftplib output debugging information for ftplib\n" " -V | --version display version information and exit\n" "\n" msgstr "" #: src/weex.c:146 #, c-format msgid "Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n" msgstr "" #: src/log.c:56 msgid "Cannot get a host name. Proceed anyway.\n" msgstr "" #: src/log.c:84 msgid "Stopped.\n" msgstr "" #: src/log.c:88 #, c-format msgid "" "Log file `%s' seems to be always locked.\n" "Remove lock file `%s'.\n" msgstr "" #: src/log.c:90 #, c-format msgid "Another weex is using log file `%s'. Just a moment.\n" msgstr "" #: src/log.c:146 msgid "Jan" msgstr "" #: src/log.c:147 msgid "Feb" msgstr "" #: src/log.c:148 msgid "Mar" msgstr "" #: src/log.c:149 msgid "Apr" msgstr "" #: src/log.c:150 msgid "May" msgstr "" #: src/log.c:151 msgid "Jun" msgstr "" #: src/log.c:152 msgid "Jul" msgstr "" #: src/log.c:153 msgid "Aug" msgstr "" #: src/log.c:154 msgid "Sep" msgstr "" #: src/log.c:155 msgid "Oct" msgstr "" #: src/log.c:156 msgid "Nov" msgstr "" #: src/log.c:157 msgid "Dec" msgstr "" #: src/log.c:165 #, c-format msgid "%s %2d %02d:%02d:%02d %s weex[%d]: %s\n" msgstr "" weex-2.6.1/doc/0040777000016100001440000000000007121420631012116 5ustar ludousersweex-2.6.1/doc/FAQ0100644000016100001440000000261507055270613012456 0ustar ludousers* FAQ Q.1 The progress information that is displayed when weex sends a file is incorrect. It displays about 50KB just after starting to send. In addition, even if it runs up to 100%, it doesn't finish sending soon. A.1 I guess that Linux kernel has a buffer. The other FTP clients has the same problem. If you know a way of avoiding it, please tell me it. Q.2 Weex fails in changing a remote diretory. It outputs as the following. --------------------------------------------------------------------- % weex foo Connect : www.foo.com Entering : public_html/ Entering : public_html/foo/ Cannot change remote current working directory to `public_html/foo/'. --------------------------------------------------------------------- A.2 You must specify SrcDir and DestDir in the configuration file as the absolute path. However you can specify other files/directories configurations as the relative path. Q.3 Weex outputs `Cannot get remote directory list.' and stops. A.3 The FTP server may not support passive mode. If error returns when connect it by a traditional FTP command and input `passive', it is so. Set `FtpPassive' to `false' in `weexrc' to avoid this problem. (It may make transfer slower) Now I know `cindy.on FTP server (Version: 7.2)' and `Netscape SuiteSpot(tm)-Aware FTP Server - Version 1.2 (build 6)' are such a kind of server. weex-2.6.1/doc/BUGS0100644000016100001440000000110307052777243012606 0ustar ludousers* Known problems + When all the following requirements are met, the file is not sent. It is a feature. 1. The clock of a remote machine is pretty faster than the local's one. 2. The cache file is broken or nonexistent. 3. The timestamp of newly updated file is older than the timestamp of the same file before updated on remote side. The problem is not caused as long as the timestamp cache facility works correctly. The most easy and absolute way to avoid this problem is asking the administrator of a remote server to put the clock right. :-) weex-2.6.1/doc/TODO0100644000016100001440000000037107112246313012603 0ustar ludousers* TODO (in order of priority) + Before connecting, weex checks whether any local file is actually changed. Weex connects only when the remote site needs updating. + Support for bidirectional transfer (It will be supported from Ver 3.0.0). weex-2.6.1/doc/FAQ.ja0100644000016100001440000000271507055270550013050 0ustar ludousers¢¡£Æ£Á£Ñ Q.1 ¥Õ¥¡¥¤¥ëžÁ÷»þ¤Ëɽ¼¨¤µ¤ì¤ë¿ÊĽ¾õ¶·¤¬¤ª¤«¤·¤¤¡£ žÁ÷³«»Ïľ¸å¤«¤é 50KB ÄøÅÙ¤¬´û¤ËžÁ÷ºÑ¤ß¤Èɽ¼¨¤µ¤ì¤ë¤·¡¢100% ¤Ë㤷¤Æ¤â ¤Ê¤«¤Ê¤«Å¾Á÷¤¬½ªÎ»¤·¤Ê¤¤¡£ A.1 ¤³¤ì¤Ï Linux ¥«¡¼¥Í¥ë¤¬¥Ð¥Ã¥Õ¥¡¤ò»ý¤Ã¤Æ¤¤¤ë¤¿¤á¤È¹Í¤¨¤é¤ì¤Þ¤¹¡£ ¾¤Î FTP ¥¯¥é¥¤¥¢¥ó¥È¤âƱÍͤÎÌäÂê¤òÊú¤¨¤Æ¤¤¤Þ¤¹¡£²óÈòºö¤¬¤¢¤ì¤Ð ¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£ Q.2 ¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤ÎÊѹ¹¤¬¤Ç¤­¤Ê¤¤¡£°Ê²¼¤Î¤è¤¦¤Ëɽ¼¨¤µ¤ì¤Æ¤·¤Þ¤¦¡£ --------------------------------------------------------------------- % weex hoge Àܳ : www.hoge.com EnterÃæ : public_html/ EnterÃæ : public_html/hoge/ ¥ê¥â¡¼¥È¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤ò `public_html/hoge/' ¤ËÊѹ¹¤Ç¤­¤Þ¤»¤ó¡£ --------------------------------------------------------------------- A.2 ÀßÄê¥Õ¥¡¥¤¥ëÃæ¤Î SrcDir ¤È DestDir ¤ÏÀäÂХѥ¹¤Ç»ØÄꤷ¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£ ¤¿¤À¤·¤½¤Î¾¤Î¥Ç¥£¥ì¥¯¥È¥ê/¥Õ¥¡¥¤¥ë»ØÄê¤ÏÁêÂХѥ¹¤Ç»ØÄꤷ¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£ Q.3 ¡Ö¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤Î¥ê¥¹¥È¤¬¼èÆÀ¤Ç¤­¤Þ¤»¤ó¡£¡×¤È¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì »ß¤Þ¤Ã¤Æ¤·¤Þ¤¦¡£ A.3 FTP ¥µ¡¼¥Ð¤¬ passive ¥â¡¼¥É¤ËÂбþ¤·¤Æ¤¤¤Ê¤¤²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£FTP ¥³¥Þ¥ó¥É¤Ç ¤½¤Î¥µ¡¼¥Ð¤ËÀܳ¤·¤Æ¡¢¡Öpassive¡×¤ÈÆþÎϤ¹¤ë¤È¥¨¥é¡¼¤¬Ê֤äƤ¯¤ë¤Î¤Ç¤¢¤ì¤Ð ¥Ó¥ó¥´¤Ç¤¹¡£ weexrc ¤Ç¡ÖFtpPassive¡×¤ò false ¤Ë¤·¤Æ¤ä¤Ã¤Æ¤¯¤À¤µ¤¤¡£PORT ¥â¡¼¥É¤Ç¥¢¥¯¥»¥¹ ¤¹¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹ (¤¿¤À¤·Â®ÅÙ¤¬Äã²¼¤¹¤ë¤«¤â¤·¤ì¤Þ¤»¤ó)¡£ RIMNET ¤Ç»È¤ï¤ì¤Æ¤¤¤ë¡Öcindy.on FTP server (Version: 7.2)¡×¤È¡¢ ¡ÖNetscape SuiteSpot(tm)-Aware FTP Server - Version 1.2 (build 6)¡×¤¬ passive ¥â¡¼¥É¤ËÂбþ¤·¤Æ¤¤¤Ê¤¤¤³¤È¤¬³Îǧ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ weex-2.6.1/doc/README.ja0100644000016100001440000004125207121417714013374 0ustar ludousers+-----------------------------------------------------------------------+ | | | Fast Webpage Exchanger | | | | Copyright (C) 1999-2000 Yuuki NINOMIYA | | | +-----------------------------------------------------------------------+ ¢¡³µÍ× ¡¡Fast Webpage Exchanger (weex) ¤Ï web ¥Ú¡¼¥¸¤¢¤ë¤¤¤Ï¤½¤Î¾¤Î¥¢¡¼¥«¥¤¥Ö¤ò ±ó³Ö¥á¥ó¥Æ¥Ê¥ó¥¹¤¹¤ëºî¶È¤ò¼«Æ°²½¤¹¤ë¤¿¤á¤ËºîÀ®¤µ¤ì¤¿ÈóÂÐÏ÷¿ FTP ¥¯¥é¥¤¥¢¥ó¥È¤Ç¤¹¡£weex ¤ò»È¤¨¤Ð web ¥Ú¡¼¥¸¤ò FTP ¤Ç¥µ¡¼¥Ð¤ËžÁ÷¤¹¤ëºî¶È¤ò ÂçÉý¤Ë´Êά²½¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¥¦¥§¥Ö¥Þ¥¹¥¿¤ÏžÁ÷¤·¤¿¤¤¥Õ¥¡¥¤¥ë¤È¥Ç¥£¥ì¥¯¥È¥ê¤ò¥í¡¼¥«¥ë¤ËÍѰդ·¡¢Ã±¤Ë weex ¤ò¼Â¹Ô¤¹¤ë¤À¤±¤Ç¹¹¿·¤¹¤ëɬÍפ¬¤¢¤ë¥Õ¥¡¥¤¥ë¤Î¤ß¤¬¥ê¥â¡¼¥È¤Ë žÁ÷¤µ¤ì¤Þ¤¹¡£ ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤Ë¥í¡¼¥«¥ë¤ÈƱ¤¸¹½À®¤òºî¤ë¤¿¤á¤Ë¡¢¤³¤Î¥×¥í¥°¥é¥à¤Ï ¥Õ¥¡¥¤¥ë/¥Ç¥£¥ì¥¯¥È¥ê¤ò¼«Æ°Åª¤ËºîÀ®/ºï½ü¤·¤Þ¤¹¡£ ¡¡¡Öweex¡×¤Ï WEb EXchanger ¤Îά¾Î¤Ç¤¢¤ê¡¢¡Öweeks¡×¤Î¤è¤¦¤Ëȯ²»¤·¤Þ¤¹¡£ ¡¡¡Öweex¡×¤ò»È¤Ã¤Æ¡¢Ëè½µ web ¥Ú¡¼¥¸¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤·¤Þ¤·¤ç¤¦¡£:-) ¢¡ÆÃħ ¡¦¤¢¤é¤«¤¸¤áÀßÄꤷ¤¿ÆâÍÆ¤òÍѤ¤¡¢ÈóÂÐÏÃŪ¤Ëưºî¡£ 1ÅÙÀßÄê¤ò¹Ô¤Ã¤Æ¤ª¤±¤Ð¡¢¡Öweex hostname¡×¤È¤¹¤ë¤À¤±¤ÇÁ´¼«Æ°¤Çưºî¡£ Ʊ¤¸¥Û¥¹¥È¤Ë²¿ÅÙ¤âžÁ÷¤ò¹Ô¤¦¡¢web ¥Ú¡¼¥¸¤Î¹¹¿·¤Ë¤Ô¤Ã¤¿¤ê¤Ç¤¹¡£ ¡¦Ê£¿ô¤Î¥Û¥¹¥È¤¬ÀßÄê¤Ç¤­¡¢Ï¢Â³¤·¤ÆÅ¾Á÷¤¹¤ë¤³¤È¤¬²Äǽ¡£ ÀßÄê¤Ç¤­¤ë¥Û¥¹¥È¿ô¤ËÀ©¸Â¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤½¤¦¤·¤Æ 2 ¥ö½ê°Ê¾å¤Î¥Û¥¹¥È¤Ë Ϣ³¤·¤ÆÅ¾Á÷¤¹¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£¤â¤Á¤í¤óÊ£¿ô¤Î weex ¤òƱ»þ¤Ë»ÈÍÑ ¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ ¡¦¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÈæ³Ó¤·¡¢Á°²óžÁ÷¸å¤Ë¹¹¿·¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤À¤±¤òžÁ÷¤·¤Þ¤¹¡£ ¡¦¥ê¥â¡¼¥È¦¤Ë¤Î¤ß¸ºß¤¹¤ë¥Õ¥¡¥¤¥ë¤ä¥Ç¥£¥ì¥¯¥È¥ê¤ò¼«Æ°Åª¤Ëºï½ü¡£ ¤â¤Á¤í¤óºï½ü¤·¤Ê¤¤¤è¤¦¤ËÀßÄꤹ¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£ ¡¦Ìµ»ë¤·¤¿¤¤¥Õ¥¡¥¤¥ë¤ä¥Ç¥£¥ì¥¯¥È¥ê¤òÀßÄꤹ¤ë¤³¤È¤¬²Äǽ¡£ ¤Þ¤À¹©»öÃæ¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ä¡¢¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤¬Å¾Á÷¤µ¤ì¤Æ¤·¤Þ¤¦ ¤Î¤òËɤ°¤¿¤á¤Îµ¡Ç½¤Ç¤¹¡£¥í¡¼¥«¥ë¦¤À¤±¤Ç¤Ê¤¯¥ê¥â¡¼¥È¦¤Ë¤âÀßÄê¤Ç¤­¤Þ¤¹¡£ ¤µ¤é¤Ë¡¢¤³¤ì¤é¤Î»ØÄê¤Ë¤Ï¥ï¥¤¥ë¥É¥«¡¼¥É¤¬»ÈÍѤǤ­¤Þ¤¹¡£ ¡¦Å¾Á÷¤·¤¿¥Õ¥¡¥¤¥ë¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤òÊѹ¹²Äǽ¡£ žÁ÷¤·¤¿¸å¡¢¥¢¥¯¥»¥¹¸¢¸Â¤ò»ØÄꤷ¤¿¤â¤Î¤ËÊѹ¹¤Ç¤­¤Þ¤¹¡£CGI ¥×¥í¥°¥é¥à ¤Ê¤É¤òžÁ÷¤¹¤ëºÝ¤Ë½ÅÊõ¤·¤Þ¤¹¡£ ¤¢¤ë¤¤¤Ï¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤ò¥ê¥â¡¼¥È¤Ë¥³¥Ô¡¼¤¹¤ë ¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ ¡¦Âçʸ»ú¾®Ê¸»ú¤ò¶èÊ̤·¤Ê¤¤ FTP ¥µ¡¼¥Ð¤ËÂФ·¤Æ¤â»ÈÍѲÄǽ¡£ ¥Õ¥¡¥¤¥ë̾¤ò¾®Ê¸»ú¤ËÊÑ´¹¤·¤Æ¤«¤éžÁ÷¤¹¤ëµ¡Ç½¤òÅëºÜ¤·¤Æ¤¤¤Þ¤¹¡£ ¡¦¥­¥ã¥Ã¥·¥åµ¡Ç½¤òÅëºÜ¡£ ¥Ç¥£¥ì¥¯¥È¥ê¹½Â¤¡¢¥Õ¥¡¥¤¥ë̾¡¢¤ª¤è¤Ó³Æ¥Õ¥¡¥¤¥ë¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò ¥­¥ã¥Ã¥·¥ó¥°¤¹¤ë¤Î¤Ç¡¢¥Ç¥£¥ì¥¯¥È¥ê¿ô¤ä¥Õ¥¡¥¤¥ë¿ô¤¬Áý¤¨¤Æ¤â¤Û¤È¤ó¤É ®ÅÙ¤¬Íî¤Á¤Þ¤»¤ó¡£ ¡¦¥Õ¥¡¥¤¥ë¤òžÁ÷¤¹¤ëºÝ¤Ë¿ÊĽ¾õ¶·¤òɽ¼¨¤·¤Þ¤¹¡£ Â礭¤Ê¥Õ¥¡¥¤¥ë¤òžÁ÷¤¹¤ë»þ¤Ë¡¢²¿¥Ð¥¤¥ÈžÁ÷¤·¤¿¤«¤¬¤ï¤«¤ê¤Þ¤¹¡£ ¡¦¥í¥°µ­Ï¿µ¡Ç½¤òÅëºÜ¡£ cron ¤Ç¼«Æ°±¿Å¾¤¹¤ë»þ¤ä¥Ð¥Ã¥¯¥°¥é¥¦¥ó¥É¤Çưºî¤µ¤»¤ë»þ¤ËÌòΩ¤Á¤Þ¤¹¡£ ¡¦gettext ¤ËÂбþ¡£ ¥á¥Ã¥»¡¼¥¸¤Î½ÐÎÏ¤Ë gettext ¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢¥á¥Ã¥»¡¼¥¸ ¥«¥¿¥í¥°¤µ¤¨ºî¤ì¤Ð¤É¤Î¸À¸ì¤Ç¤â»ÈÍѤǤ­¤Þ¤¹¡£¸½¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï ÆüËܸì¤È¥É¥¤¥Ä¸ì¤È¥¹¥Ú¥¤¥ó¸ì¤È¥ª¥é¥ó¥À¸ì¤È¥Õ¥é¥ó¥¹¸ì¤Î¥á¥Ã¥»¡¼¥¸ ¥«¥¿¥í¥°¤¬ÍѰդµ¤ì¤Æ¤¤¤Þ¤¹¡£ ¢¡¥¤¥ó¥¹¥È¡¼¥ëÊýË¡ ¡¡¡Ö./configure¡×¤Ç¡Ömake¡×¤Ç¡Ömake install¡×¤Ç¤¹¡£ ¡¡¤³¤Î¸å¡¢°Ê²¼¤Ë½¾¤Ã¤ÆÀßÄê¥Õ¥¡¥¤¥ë¤òŬÀڤ˽ñ¤­´¹¤¨¤Þ¤¹¡£ ¢¡ÀßÄê¥Õ¥¡¥¤¥ë¤Î¾ÜºÙ ¡¡ÀßÄê¥Õ¥¡¥¤¥ë¤Ï¡Ö~/.weex/weexrc¡×¤Þ¤¿¤Ï¡Ö~/.weexrc¡×¤Ç¤¹¡£ ¤³¤Î¥Õ¥¡¥¤¥ë¤¬¤Ê¤±¤ì¤Ðưºî¤·¤Þ¤»¤ó¡£ ¡¡À¸¤Î¥Ñ¥¹¥ï¡¼¥É¤òµ­½Ò¤¹¤ë¤Î¤Ç¡¢°ÂÁ´¤Î¤¿¤á¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤Ï 0600 ¤Ë¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤Î²¼ 2 ¤Ä¤¬ 00 ¤Ç¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï µ¯Æ°»þ¤Ë·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬½Ð¤Þ¤¹¡£ ¡¡¶õÇòʸ»ú (¥¹¥Ú¡¼¥¹) ¤È¥¿¥Öʸ»ú¤Ï¾ï¤ËÆÉ¤ßÈô¤Ð¤µ¤ì¤Þ¤¹¡£¤³¤ì¤é¤Î ÆÃ¼ìʸ»ú¤ò´Þ¤ß¤¿¤¤¾ì¹ç¤Ï¥À¥Ö¥ë¥¯¥©¡¼¥Æ¡¼¥·¥ç¥ó (") ¤«¥·¥ó¥°¥ë ¥¯¥©¡¼¥Æ¡¼¥·¥ç¥ó (') ¤ÇÁ´ÂΤò°Ï¤ß¤Þ¤¹¡£ ¡¡¥À¥Ö¥ë¥¯¥©¡¼¥Æ¡¼¥·¥ç¥ó¤ò´Þ¤ß¤¿¤¤¾ì¹ç¤Ï¥·¥ó¥°¥ë¥¯¥©¡¼¥Æ¡¼¥·¥ç¥ó¤Ç °Ï¤ó¤Ç¤¯¤À¤µ¤¤¡£µÕ¤â ok ¤Ç¤¹¡£ ¡¡¥·¥ã¡¼¥×µ­¹æ (#) ¤Î¸å¤í¤Ï¥³¥á¥ó¥È¤Èǧ¼±¤·¡¢ÆÉ¤ßÈô¤Ð¤µ¤ì¤Þ¤¹¡£ ÃͤÎÃæ¤Ë¥·¥ã¡¼¥×µ­¹æ¤ò»È¤¤¤¿¤¤¾ì¹ç¤Ï¡¢Á´ÂΤò¥¯¥©¡¼¥Æ¡¼¥·¥ç¥ó¤Ç °Ï¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ¡¡¥»¥¯¥·¥ç¥ó̾¤È¥Ñ¥é¥á¡¼¥¿¤ÏÂçʸ»ú¾®Ê¸»ú¤ò¶èÊ̤·¤Þ¤»¤ó¡£¡ÖHostName¡×¤È ¡ÖHoStNaMe¡×¤ÏƱ¤¸¤È²ò¼á¤µ¤ì¤Þ¤¹¡£ ¡¡ÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢³Æ¥Û¥¹¥È̾¤ò¥»¥¯¥·¥ç¥ó̾¤È¤·¤ÆÍøÍѤ·¤Æ¤ª¤ê¡¢ ¤½¤ì¤¾¤ì¤Î¥»¥¯¥·¥ç¥ó¤´¤È¤Ë³ÆÀßÄê¤òµ­½Ò¤·¤Þ¤¹¡£¥»¥¯¥·¥ç¥ó̾¤ÏÂç³ç¸Ì ([]) ¤Ç°Ï¤ó¤Ç¤¯¤À¤µ¤¤¡£ ¡¡¥Û¥¹¥È̾¡Ödefault¡×¤À¤±¤ÏÆÃḚ̂·¤¤¤Ç¡¢Â¾¤Î¥Û¥¹¥È¤ÎÀßÄê¤Ë¤ª¤¤¤Æ ¾Êά¤·¤¿¹àÌܤϡ¢¥Û¥¹¥È¡Ödefault¡×¤Î¤â¤Î¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£ ¡¡´ðËÜŪ¤Êµ­½Ò¤Ï¡¢¥Ñ¥é¥á¡¼¥¿¤ÈÃͤò¥¤¥³¡¼¥ë (=) ¤Ç·ë¤ó¤À¤â¤Î¤Ç¤¹¡£ ----------------------------------------------------- HostName = www.enjoy.ne.jp LoginName = ninomiya Password = yuuki ----------------------------------------------------- ¡¡Ê£¿ô¤ÎÃͤòÀßÄꤷ¤¿¤¤»þ¤Ï¡¢Æ±¤¸¥Ñ¥é¥á¡¼¥¿¤ò 2 ²óÀßÄꤹ¤ë¤«¡¢ ¤¢¤ë¤¤¤ÏÃͤòÃæ³ç¸Ì (¤Û¤ó¤È¤Ï¤³¤ì¤¬Âç³ç¸Ì¡©) ¤Ç°Ï¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ----------------------------------------------------- IgnoreLocalDir = /mnt/gm1/data/file/gms_page/nifty IgnoreLocalDir = /mnt/gm1/data/file/gms_page/backup IgnoreLocalFile = { /mnt/gm1/data/file/gms_page/nosend.html /mnt/gm1/data/file/gms_page/bak.html } ----------------------------------------------------- ¡¡¤â¤· 1 ¤Ä¤·¤«ÀßÄê¤Ç¤­¤Ê¤¤¥Ñ¥é¥á¡¼¥¿¤ËÊ£¿ô¤ÎÃͤòÀßÄꤷ¤¿¾ì¹ç¤Ë¤Ï¡¢ °ìÈֺǸå¤Ë»ØÄꤷ¤¿ÆâÍÆ¤¬Í­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£ ¡¡Ê£¿ô»ØÄê²Äǽ¤Ê¹àÌܤξì¹ç¡¢ÀßÄê²Äǽ¤Ê¿ô¤ËÀ©¸Â¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¡¡¥Ç¥£¥ì¥¯¥È¥ê¤ª¤è¤Ó¥Õ¥¡¥¤¥ë¤Î»ØÄê (SrcDir ¤È DestDir ¤Ï½ü¤¯) ¤Ë¤Ï¡¢ ¥·¥§¥ë¤ÇÍѤ¤¤é¤ì¤Æ¤¤¤ë¥ï¥¤¥ë¥É¥«¡¼¥Éɽ¸½¤¬»ÈÍѤǤ­¤Þ¤¹¡£ ¡¡¥Ç¥£¥ì¥¯¥È¥ê¤Î»ØÄê¤Ë¤ª¤¤¤Æ¡¢ºÇ¸å¤Î '/' ¤ÏÉÕ¤±¤Æ¤âÉÕ¤±¤Ê¤¯¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£ ¥Õ¥¡¥¤¥ë¤Î»ØÄê¤Ç¤Ï¡¢ÀäÂХѥ¹¤Çµ­½Ò¤·¤¿¾ì¹ç¤Ë¤Ï¤½¤Î»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¤Î¤ß¤¬ Í­¸ú¤È¤Ê¤ê¡¢¥Õ¥¡¥¤¥ë̾¤Î¤ß¤ò»ØÄꤷ¤¿¾ì¹ç¤Ë¤Ï¡¢Á´¥Ç¥£¥ì¥¯¥È¥ê¤ÇÍ­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£ ¡¡SrcDir ¤È DestDir °Ê³°¤Î¥Ç¥£¥ì¥¯¥È¥ê/¥Õ¥¡¥¤¥ë¤ÎÀßÄê¤Ë¤ÏÀäÂХѥ¹¤È ÁêÂХѥ¹¤ÎξÊý¤¬»ØÄê¤Ç¤­¤Þ¤¹¡£¤¿¤À¤·¡¢SrcDir ¤È DestDir ¤Ë¤Ïɬ¤ºÀäÂХѥ¹¤ò »ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ ¡¡DestDir ¤¬¡Ö/public_html¡×¤Ç¤¢¤ë¾ì¹ç¤Î¥Õ¥¡¥¤¥ë¤Î»ØÄê¤Ë¤ª¤¤¤Æ¡¢ ¡Ö/public_html/ignoreme.html¡×¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤òÁêÂХѥ¹¤Ç»ØÄꤷ¤è¤¦¤È¤·¤Æ ¡Öignoreme.html¡×¤È¤·¤Æ¤·¤Þ¤¦¤È¡¢Á´¤Æ¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ÇÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤Î¤Ç¡¢ ¤³¤Î¥Õ¥¡¥¤¥ë¤À¤±¤ò»ØÄꤷ¤¿¤¤¾ì¹ç¤Ï¡Ö./ignoreme.html¡×¤È¤·¤Æ¤¯¤À¤µ¤¤¡£ ¡¡¿¿µ¶Ãͤò¼è¤ë¥Ñ¥é¥á¡¼¥¿¤Ï¡¢¡ÖTrue¡×¡ÖYes¡×¡ÖT¡×¡ÖY¡×¡Ö1¡× ¤Ê¤éÍ­¸ú¤Ë¡¢¡ÖFalse¡×¡ÖNo¡×¡ÖF¡×¡ÖN¡×¡Ö0¡×¤Ê¤é̵¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£ Âçʸ»ú¾®Ê¸»ú¤Ï¶èÊ̤·¤Þ¤»¤ó¡£ ¡¡¤½¤ì¤Ç¤Ï³Æ¥Û¥¹¥È¤ÎÀßÄê¤ò¸«¤Æ¤¤¤­¤Þ¤·¤ç¤¦¡£ ¡¦HostName Àܳ¤¹¤ë¥Û¥¹¥È̾¤Ç¤¹¡£ÅöÁ³¤Ê¤¬¤é¡Öftp://¡×¤Ï ¤¤¤ê¤Þ¤»¤ó¡£ IP ¥¢¥É¥ì¥¹¤Ç¤â¹½¤¤¤Þ¤»¤ó¡£ ¡¦LoginName ¤½¤Î¥Û¥¹¥È¤Ë¥í¥°¥¤¥ó¤¹¤ë¤¿¤á¤Î¥í¥°¥¤¥ó̾¡£ ¡¦Password ¾åµ­¥í¥°¥¤¥ó̾¤Ç¥í¥°¥¤¥ó¤¹¤ë¤Î¤ËɬÍפʥѥ¹¥ï¡¼¥É¡£ ¥Ñ¥¹¥ï¡¼¥É¤ò¤½¤Î¤Þ¤Þµ­½Ò¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤â¤·¤³¤Î¥Ñ¥é¥á¡¼¥¿¤¬Â¸ºß¤·¤Ê¤«¤Ã¤¿¤é¡¢weex ¤Ï¼Â¹Ô»þ¤Ë ¥Ñ¥¹¥ï¡¼¥É¤ò¿Ò¤Í¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ¡¦SrcDir žÁ÷¸µ¥í¡¼¥«¥ë¥Ç¥£¥ì¥¯¥È¥ê¡£ÀäÂХѥ¹ (pwd ¤Ç ɽ¼¨¤µ¤ì¤ë¥Ñ¥¹) ¤Çµ­½Ò¤·¤Æ¤¯¤À¤µ¤¤¡£ ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤µ¤ì¤Æ¤¤¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ÎÃæ¤À¤È¡¢ ¥·¥§¥ë¤¬É½¼¨¤·¤Æ¤¤¤ë¥Ñ¥¹¤È pwd ¤Çɽ¼¨¤µ¤ì¤ë¥Ñ¥¹¤¬ °Û¤Ê¤Ã¤Æ¤¤¤ë¤Î¤ÇÃí°Õ¡£ °ìÃפ·¤Æ¤¤¤ë»ö¤ò pwd ¥³¥Þ¥ó¥É¤Ç¥Á¥§¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡ª ¡¦DestDir žÁ÷Àè¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¡£¤³¤ì¤âÀäÂХѥ¹¤Ç µ­½Ò¤·¤Æ¤¯¤À¤µ¤¤¡£FTP ¥³¥Þ¥ó¥É¤ÇÀܳ¤·¤Æ pwd ¤Ç ¥Á¥§¥Ã¥¯¤¹¤ë¤È¤¤¤¤¤Ç¤·¤ç¤¦¡£ ¡¦IgnoreLocalDir ̵»ë¤¹¤ë¥í¡¼¥«¥ë¥Ç¥£¥ì¥¯¥È¥ê¡£¤³¤³¤Ë»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Ï ¸ºß¤·¤Ê¤¤¤â¤Î¤È¤·¤Æ½èÍý¤µ¤ì¤Þ¤¹¡£ Ê£¿ô»ØÄê²Ä¡£ ¡¦IgnoreLocalFile ̵»ë¤¹¤ë¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¡£¤³¤³¤Ë»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¤Ï ¸ºß¤·¤Ê¤¤¤â¤Î¤È¤·¤Æ½èÍý¤µ¤ì¤Þ¤¹¡£ Ê£¿ô»ØÄê²Ä¡£ ¡¦IgnoreRemoteDir ̵»ë¤¹¤ë¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¡£¤³¤³¤Ë»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Ï ¸ºß¤·¤Ê¤¤¤â¤Î¤È¤·¤Æ½èÍý¤µ¤ì¤Þ¤¹¡£ Ê£¿ô»ØÄê²Ä¡£ ¡¦IgnoreRemoteFile ̵»ë¤¹¤ë¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¡£¤³¤³¤Ë»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¤Ï ¸ºß¤·¤Ê¤¤¤â¤Î¤È¤·¤Æ½èÍý¤µ¤ì¤Þ¤¹¡£ Ê£¿ô»ØÄê²Ä¡£ ¡¦AsciiFile ¥¢¥¹¥­¡¼ (¥Æ¥­¥¹¥È) ·Á¼°¤È¤·¤ÆÅ¾Á÷¤¹¤ë¥Õ¥¡¥¤¥ë (¥í¡¼¥«¥ë¤ò»ØÄê)¡£ ¤³¤ÎÀßÄê¤Ë´Þ¤Þ¤ì¤Ê¤¤¥Õ¥¡¥¤¥ë¤Ï¥Ð¥¤¥Ê¥ê (¥¤¥á¡¼¥¸) ·Á¼°¤È¤·¤Æ žÁ÷¤µ¤ì¤Þ¤¹¡£ Ê£¿ô»ØÄê²Ä¡£ ¡¦KeepRemoteDir ¤³¤³¤Ë»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤Ï¡¢¥í¡¼¥«¥ë¤Ë¥Õ¥¡¥¤¥ë¤¬¤Ê¤¯¤Æ¤â ¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¤¬ºï½ü¤µ¤ì¤Þ¤»¤ó¡£ Ê£¿ô»ØÄê²Ä¡£ ¤³¤³¤Ç¤Á¤ç¤Ã¤È¤·¤¿¥Æ¥¯¥Ë¥Ã¥¯¤òÈäϪ¡ª °ìÀÚ¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¤òºï½ü¤µ¤»¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¡¢ KeepRemoteDir = { * . } ¤È¤·¤Þ¤¹¡£¡Ö*¡×¤À¤±¤¸¤ã¤Ê¤¯¡¢¡Ö.¡×¤â°ì½ï¤Ë»ØÄꤹ¤ë¤Î¤¬¥³¥Ä¡£ ¤Ê¤¼¤½¤¦¤·¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤Î¤«¤Ï¡Öweex -d¡×¤È¤¹¤ì¤Ð°ìÌÜÎÆÁ³¡£ ¡¦ChangePermissionDir žÁ÷¸å¤Ë¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤òÊѹ¹¤·¤¿¤¤¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤷ¤Þ¤¹¡£ *¥í¡¼¥«¥ë* ¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ Ê£¿ô»ØÄê²Ä¡£ ¡¦ChangePermission ¾åµ­¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î¥Õ¥¡¥¤¥ë¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤ò ²¿¤ËÊѹ¹¤¹¤ë¤«¡£ 8 ¿Ê 3 ·å¤Ç»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ ¡¦PreservePermissionDir ¤³¤³¤Ë»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥êÃæ¤Î¥Õ¥¡¥¤¥ë¤Î ¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤Ï¥ê¥â¡¼¥È¤Ë¥³¥Ô¡¼¤µ¤ì¤Þ¤¹¡£ *¥í¡¼¥«¥ë* ¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ Ê£¿ô»ØÄê²Ä¡£ ChangePermissionDir ¤È PreservePermissionDir ¤¬ ¾×ÆÍ¤·¤¿¾ì¹ç¤ÏÁ°¼Ô¤¬Í¥À褵¤ì¤Þ¤¹¡£ ¡¦NestSpaces 1 ¤Ä²¼°Ì¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ËÆþ¤Ã¤¿»þ¤Ë¡¢¤¤¤¯¤Äɽ¼¨¤ò±¦¤Ë¤º¤é¤¹¤«¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï 4 ¤Ç¤¹¡£ ¥¤¥ó¥Ç¥ó¥È¤ò¤Ê¤¯¤·¤¿¤¤¤È¤­¤Ë¤ÏÉé¤Î¿ô¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£0 ¤ò »ØÄꤹ¤ë¤È¥Ç¥Õ¥©¥ë¥È¤Î 4 ¤¬»ØÄꤵ¤ì¤¿¤ÈȽÃǤµ¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹(^^; 狼¤É¤¦¤Ë¤«¤·¤Æ¤Á¤ç¡£ ¡¦MaxRetryToSend ¥Õ¥¡¥¤¥ë¤ÎžÁ÷¤Ë¼ºÇÔ¤·¤¿¾ì¹ç¡¢¤³¤Î²ó¿ô¤À¤±ºÆ»î¹Ô¤ò¹Ô¤¤¤Þ¤¹¡£ ¤ä¤¿¤éÈ¿±þ¤¬ÃÙ¤¯¤ÆÅ¾Á÷¤¬¥¿¥¤¥à¥¢¥¦¥È¤·¤Æ¤·¤Þ¤¦ FTP ¥µ¡¼¥Ð Âкö¤Ç¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï 8 ¤Ç¤¹¡£ ºÆ»î¹Ô¤ò¤ä¤á¤µ¤»¤ë¤Ë¤ÏÎã¤Ë¤è¤Ã¤ÆÉé¤Î¿ô¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ 0 ¤ò»ØÄꤹ¤ë¤È¥Ç¥Õ¥©¥ë¥ÈÃͤ¬ºÎÍѤµ¤ì¤Þ¤¹¡£ ¡¦ConvToLower ¤³¤ì¤ò¡Ötrue¡×¤Ë¤¹¤ë¤È¡¢¥Õ¥¡¥¤¥ë¤ò¾®Ê¸»ú¤ËÊÑ´¹¤·¤Æ¤«¤éžÁ÷¤·¤Þ¤¹¡£ FTP ¥µ¡¼¥Ð¤¬Âçʸ»ú¾®Ê¸»ú¤ò¶èÊ̤·¤Æ¤¯¤ì¤Ê¤¤¾ì¹ç¤Ë»ÈÍѤ·¤Þ¤¹¡£ ¥Õ¥¡¥¤¥ë¤ò¾®Ê¸»ú¤ËÊÑ´¹¤¹¤ë¤È¥Õ¥¡¥¤¥ë̾¤¬¾×ÆÍ¤¹¤ë¾ì¹ç¤Ï ·Ù¹ð¥á¥Ã¥»¡¼¥¸¤ò½ÐÎϤ·¤Þ¤¹ (žÁ÷¤ÏÀµ¾ï¤Ë¹Ô¤ï¤ì¤Þ¤»¤ó)¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï¡Öfalse¡×¤Ç¤¹¡£ ¡¦OverwriteOK ¤³¤ì¤ò¡Öfalse¡×¤Ë¤¹¤ë¤È¡¢¥Õ¥¡¥¤¥ë¤ò¾å½ñ¤­¤¹¤ëºÝ¤Ë¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤ò °ìöºï½ü¤·¤Æ¤«¤éžÁ÷¤·¤Þ¤¹¡£¾å½ñ¤­¤¬¶Ø»ß¤µ¤ì¤Æ¤¤¤ë FTP ¥µ¡¼¥Ð¤Î ¤¿¤á¤ÎÀßÄê¤Ç¤¹¡£½èÍý®ÅÙ¤¬Íî¤Á¤Þ¤¹¤Î¤Ç¡¢ Ä̾ï¤ÏÍ­¸ú¤Ë¤·¤Æ¤ª¤¤¤Æ ¤¯¤À¤µ¤¤¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï¡Ötrue¡×¤Ç¤¹¡£ ¡¦RecordLog ¤³¤ì¤ò¡Ötrue¡×¤Ë¤¹¤ë¤È¡¢¥í¥° (¼Â¹Ôµ­Ï¿) ¤¬ºîÀ®¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ¥í¥°¥Õ¥¡¥¤¥ë¤Ï¡Ö~/.weex/weex.log¡×¤Ç¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï¡Ötrue¡×¤Ç¤¹¡£ ¡¦LogDetailLevel ¥í¥°¤ò¤É¤ì¤¯¤é¤¤¾Ü¤·¤¯µ­Ï¿¤¹¤ë¤«¤ò»ØÄꤷ¤Þ¤¹¡£ ¤¤¤º¤ì¤ò»ØÄꤷ¤Æ¤â¡¢ÀܳÀÚÃǤΥá¥Ã¥»¡¼¥¸¤È¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤Ï ɬ¤ºµ­Ï¿¤µ¤ì¤Þ¤¹¡£ weex ¤¬Àµ¾ï¤Ë½ªÎ»¤·¤¿¤«¤É¤¦¤«¤Ï¡¢ÀÚÃÇ¥á¥Ã¥»¡¼¥¸¤ÎľÁ°¤Ë ¡Ö´°Î»¡×¤Èµ­Ï¿¤µ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤ÇȽÄê¤Ç¤­¤Þ¤¹¡£ 1 °Ê²¼ ... ³ÆÀܳËè¤Ë¤¤¤¯¤Ä¥Õ¥¡¥¤¥ë¤òžÁ÷/ºï½ü¤·¤¿¤«¤òµ­Ï¿ 2 ........ ¤µ¤é¤Ë³Æ¥Ç¥£¥ì¥¯¥È¥êËè¤ÎžÁ÷/ºï½ü¿ô¤âµ­Ï¿ 3 °Ê¾å ... ¤µ¤é¤ËžÁ÷/ºï½ü¤ò¹Ô¤Ã¤¿³Æ¥Õ¥¡¥¤¥ë¤Î̾Á°¤âµ­Ï¿ ¥Ç¥Õ¥©¥ë¥È¤Ï 1 ¤Ç¤¹¡£ ¡¦Silent ¤³¤ì¤ò¡Ötrue¡×¤Ë¤¹¤ë¤È¡¢¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸°Ê³°¤Î½ÐÎϤòÍÞÀ©¤·¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï¡Öfalse¡×¤Ç¤¹¡£ ¡¦Monochrome ¤³¤ì¤ò¡Ötrue¡×¤Ë¤¹¤ë¤È¡¢¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤òÍѤ¤¤¿¥«¥é¡¼É½¼¨¤Ç¤Ï¤Ê¤¯ Çò¹õ¤Ç¥á¥Ã¥»¡¼¥¸¤ò½ÐÎϤ·¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï¡Öfalse¡×¤Ç¤¹¡£ ¡¦Force ¤³¤ì¤ò¡Ötrue¡×¤Ë¤¹¤ë¤È¡¢¥¿¥¤¥à¥¹¥¿¥ó¥×¤Ë´Ø·¸¤Ê¤¯Á´¥Õ¥¡¥¤¥ë¤ò ̵¾ò·ï¤ÇžÁ÷¤·¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï¡Öfalse¡×¤Ç¤¹¡£ ¡¦FtpPassive ¤â¤· FTP ¥µ¡¼¥Ð¤¬ PASV ¥â¡¼¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤«¤Ã¤¿¾ì¹ç¡¢ ¡Öfalse¡×¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£PORT ¥â¡¼¥É¤Ç¥¢¥¯¥»¥¹¤¹¤ë¤è¤¦¤Ë ¤Ê¤ê¤Þ¤¹ (¤¿¤À¤·Â®ÅÙ¤¬Äã²¼¤¹¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹)¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï¡Ötrue¡×¤Ç¤¹¡£ (FAQ.ja ¤âÆÉ¤ó¤Ç¤¯¤À¤µ¤¤) ¡¦ShowHiddenFile ¤³¤ì¤ò¡Ötrue¡×¤Ë¤¹¤ë¤È¡¢ÉáÄÌ¤Ë ls ¤·¤¿¤À¤±¤Ç¤Ï±£¤·¥Õ¥¡¥¤¥ë (¥É¥Ã¥È¤Ç»Ï¤Þ¤ë¥Õ¥¡¥¤¥ë) ¤¬É½¼¨¤µ¤ì¤Ê¤¤ FTP ¥µ¡¼¥Ð¤Ç±£¤·¥Õ¥¡¥¤¥ë¤¬ ǧ¼±¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï¡Öfalse¡×¤Ç¤¹¡£ ¡¦FollowSymlinks ¤³¤ì¤ò¡Ötrue¡×¤Ë¤¹¤ë¤È¡¢¥í¡¼¥«¥ë¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤òŸ³«¤·¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï¡Öfalse¡×¤Ç¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥Ç¥£¥ì¥¯¥È¥ê¤Î¥ê¥ó¥¯¤Ï ¥µ¥¤¥º 0 ¥Ð¥¤¥È¤Î¥Õ¥¡¥¤¥ë¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£ ¡¦ChdirAtConnection ¤³¤ì¤ò¡Ötrue¡×¤Ë¤¹¤ë¤È¡¢Àܳ»þ¤Ë¥ê¥â¡¼¥È¤Î¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤ò DestDir ¤ËÊѹ¹¤·¤Þ¤¹¡£ ¤â¤·Àܳ»þ¤Î¥ê¥â¡¼¥È¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤¬ DestDir ¤ÈƱ¤¸¤Ç¤¢¤ì¤Ð ¤³¤Î¥Ñ¥é¥á¡¼¥¿¤ò¡Öfalse¡×¤ËÀßÄꤹ¤ë¤³¤È¤Ç¡¢weex ¤¬¤Û¤ó¤Î¾¯¤·Á᤯ ưºî¤·¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ï¡Ötrue¡×¤Ç¤¹¡£ ¡¡°Ê¾å¤¬ÀßÄê¥Õ¥¡¥¤¥ë¤Î¾ÜºÙ¤Ç¤¹¡£¤â¤Á¤í¤óµ­½Ò¤¹¤ë¹àÌܤ˽çÈ֤Ϥ¢¤ê¤Þ¤»¤ó¡£ ¡¡¡Ösample.weexrc¡×¤ò»²¹Í¤Ë¤·¤Æ½ñ¤¤¤Æ¤¯¤À¤µ¤¤¡£ ¢¡¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó »ÈÍÑË¡: weex [¥ª¥×¥·¥ç¥ó] ¥Û¥¹¥È... ¡¡¥Û¥¹¥È¤Ï¥»¥¯¥·¥ç¥ó̾¤È¤·¤Æ»ØÄꤷ¤¿¤â¤Î¤Ç¤¹¡£¥Û¥¹¥È¤Ï̾Á°¤Ç¤Ê¤¯¡¢ÈÖ¹æ¤Ç »ØÄꤹ¤ë¤³¤È¤â½ÐÍè¤Þ¤¹¡£ ¡¡²ò¼á¤Ç¤­¤Ê¤¤¥ª¥×¥·¥ç¥ó¤ä¥Û¥¹¥È̾ (ÈÖ¹æ) ¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢usage ¤òɽ¼¨¤·¤Æ ½ªÎ»¤·¤Þ¤¹¡£ ¥ª¥×¥·¥ç¥ó: -u | --usage »È¤¤Êý¤òɽ¼¨¤·¤Æ½ªÎ»¤·¤Þ¤¹¡£ -s | --silent ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸°Ê³°¤òɽ¼¨¤·¤Þ¤»¤ó¡£ žÁ÷Ãæ¤Î¥Õ¥¡¥¤¥ë̾¤Ê¤ó¤«¤òɽ¼¨¤·¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£ -f | --force Á´¥Õ¥¡¥¤¥ë¤ò¶¯À©Åª¤ËžÁ÷¡£¤Ê¤ó¤é¤«¤ÎÍýͳ¤Ç ¥Õ¥¡¥¤¥ë¤¬Àµ¾ï¤ËžÁ÷¤µ¤ì¤Ê¤¤¾ì¹ç»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£ -m | --monochrome ¥á¥Ã¥»¡¼¥¸¤ò¥â¥Î¥¯¥í¤Çɽ¼¨¤¹¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£ -r | --rebuild-cache ¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë¤òºÆ¹½ÃÛ -t | --test ¥ê¥â¡¼¥È¤Î¥Õ¥¡¥¤¥ë/¥Ç¥£¥ì¥¯¥È¥ê¤ò°ìÀÚÊѹ¹¤·¤Þ¤»¤ó¡£ -d | --debug-config ³Æ¥Û¥¹¥È¤ÎÀßÄê¤òɽ¼¨¤·¤Þ¤¹¡£ -D | --debug-ftplib ftplib ¤Î¥Ç¥Ð¥Ã¥°¾ðÊó¤ò½ÐÎÏ -V | --version ¥Ð¡¼¥¸¥ç¥ó¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡£ ¡¡½ÐÎÏ¥á¥Ã¥»¡¼¥¸¤Ï gettext ¤Ë¤è¤ê¹ñºÝ²½¤ËÂбþ¤·¤Æ¤¤¤Þ¤¹¡£ ÀßÄꤵ¤ì¤Æ¤¤¤ë¥í¥«¡¼¥ë (´Ä¶­ÊÑ¿ô LANG) ¤Ë¹ç¤ï¤»¤ÆÉ½¼¨¸À¸ì¤¬ ÀÚ¤êÂØ¤ï¤ê¤Þ¤¹¡£ ¢¡¶ñÂÎŪ¤Ê»ÈÍÑÎã ¡¦weex hoge Ä̾ï¤ÎÍøÍÑË¡¤Ç¤¹¡£ ¡¦weex hoge tara Ê£¿ô¤Î¥Û¥¹¥È¤Ë¥¢¥Ã¥×¥í¡¼¥É¤¹¤ë¤Ê¤é¤³¤¦¤¤¤¦´¶¤¸¤Ç¤¹¡£ ¡¦weex 2 1 ¥Û¥¹¥È¤ÏÈÖ¹æ¤Ç»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ ¡¦weex 4 hoge 7 tara ¤³¤¦¤¤¤¦¤³¤È¤â²Äǽ¡£ ¡¦weex 3 3 3 ¤Þ¤Ã¤¿¤¯Ìµ°ÕÌ£¤À¤¬(¾Ð)¡£ ¡¦weex -s hoge ¤³¤¦¤¹¤ì¤Ð¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤·¤Ê¤¯¤Ê¤ê¤Þ¤¹ (¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤Ïɽ¼¨¤µ¤ì¤ë)¡£ ¡¦weex 1 >& /dev/null ¤³¤ì¤Ê¤é¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤âɽ¼¨¤µ¤ì¤ó¤¾(¾Ð)¡£ ¡¦weex -m hoge ¥á¥Ã¥»¡¼¥¸¤¬¥â¥Î¥¯¥í¤Çɽ¼¨¤µ¤ì¤Þ¤¹¡£ ¡¦weex 3 -f ¥Û¥¹¥ÈÈÖ¹æ 3 ¤Ë¶¯À©¥¢¥Ã¥×¥í¡¼¥É¡£ ¡¦weex -t hoge ¥ê¥â¡¼¥È¥Û¥¹¥È hoge ¤Î¥Õ¥¡¥¤¥ë¤Ï°ìÀÚÊѹ¹¤µ¤ì¤Þ¤»¤ó¡£ ¡¦weex -r tara ¤Ê¤ó¤é¤«¤Î»ö¾ð¤Ç¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë¤¬Ç˲õ¤µ¤ì¤Æ ¤·¤Þ¤Ã¤¿¤È¤­¤Ë¤Ï¡¢¤³¤ì¤Ç¥­¥ã¥Ã¥·¥å¤òºÆ¹½ÃÛ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¡¦weex -h usage ¤òɽ¼¨¡£ ¡¦weex ¤³¤ì¤â¤ä¤Ã¤Ñ¤ê usage ¤òɽ¼¨¡£ ¡¦weex -d ³Æ¥Û¥¹¥È¤ÎÀßÄêÆâÍÆ¤òɽ¼¨¤·¤Þ¤¹¡£Àµ¤·¤¯ ÆÉ¤ß¹þ¤á¤Æ¤¤¤ë¤«¤É¤¦¤«Ê¬¤«¤ê¤Þ¤¹¡£ ¡¦weex -D 1 FTP ¥µ¡¼¥Ð¤È¤Î¤ä¤ê¤È¤ê¤¬Á´¤ÆÉ½¼¨¤µ¤ì¤Þ¤¹¡£ ¤¦¤Þ¤¯Æ°ºî¤·¤Ê¤¤¤È¤­¤Ï¤³¤Î¥ª¥×¥·¥ç¥ó¤òÉÕ¤±¤Æ ¼Â¹Ô¤·¤¿¤È¤­¤Î·ë²Ì¤òÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ¡¦weex --monochrome 1 ¥ª¥×¥·¥ç¥ó¤Ï¥Õ¥ë¥¹¥Ú¥ë¤Ç¤â ok¡£ ¢¡¥­¥ã¥Ã¥·¥åµ¡Ç½¤Ë´Ø¤¹¤ëÃí°Õ ¡¡Ver 1.6.0 ¤«¤é¥¿¥¤¥à¥¹¥¿¥ó¥×¤Î¥­¥ã¥Ã¥·¥åµ¡Ç½¤òÅëºÜ¤·¤Æ¤¤¤Þ¤¹¡£ °ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤ÏÁ´¤Æ¤Î¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ°ì¤Ä°ì¤Ä ¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò¼èÆÀ¤·¤Æ¤¤¤Þ¤·¤¿¤¬¡¢¥Õ¥¡¥¤¥ë¿ô¤¬Áý¤¨¤ë¤ÈÈó¾ï¤Ë ®ÅÙ¤¬Äã²¼¤·¤Þ¤¹¡£¤½¤³¤Ç¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤Ëµ­Ï¿ (¥­¥ã¥Ã¥·¥ó¥°) ¤¹¤ë¤è¤¦¤Ë¤·¡¢¤½¤Á¤é¤«¤é¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò¼èÆÀ ¤¹¤ë¤è¤¦¤Ë¤·¤Þ¤·¤¿¡£ ¡¡¤µ¤é¤Ë Ver 2.5.0 ¤«¤é¤Ï¥Ç¥£¥ì¥¯¥È¥ê¹½Â¤¤È¥Õ¥¡¥¤¥ë̾¤â ¥­¥ã¥Ã¥·¥ó¥°¤¹¤ë¤è¤¦¤Ë¤·¤Þ¤·¤¿¡£¤³¤ì¤Ë¤è¤ê¥Ç¥£¥ì¥¯¥È¥ê¿ô¤ä ¥Õ¥¡¥¤¥ë¿ô¤¬Áý¤¨¤Æ¤â¤Û¤È¤ó¤É®ÅÙ¤¬Äã²¼¤·¤Ê¤¯¤Ê¤ê¤Þ¤·¤¿¡£ ¡¡Ê̤ΠFTP ¥¯¥é¥¤¥¢¥ó¥È¤òÍѤ¤¤Æ¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¤òÊѹ¹¤·¤¿¤ê¡¢ weex ¤¬Æ°ºîÃæ¤Ë¶¯À©½ªÎ»¤µ¤»¤é¤ì¤¿¤ê¡¢¥¨¥é¡¼¤ÇÃæÅÓ½ªÎ»¤·¤¿¤ê¤¹¤ë¤È ¥­¥ã¥Ã¥·¥å¤ÎÀ°¹çÀ­¤¬Êø¤ì¤Þ¤¹¤Î¤Ç¡¢¤½¤ÎºÝ¤Ë¤Ï¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë (~/.weex/weex.cache.HOSTNAME) ¤òºï½ü¤¹¤ë¤«¡¢¡Ö--rebuild-cache¡× ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ¥­¥ã¥Ã¥·¥å¤òºÆ¹½ÃÛ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¢¡À©¸Â»ö¹à ¡¡ÆÃ¤Ë¤¢¤ê¤Þ¤»¤ó¡£ ¢¡Æ°ºî³ÎǧºÑ¤ßOS ¡¦Debian GNU/Linux 2.1 ¡¦Red Hat Linux 5.1/5.2/6.0/6.1J ¡¦SuSE Linux 6.1/6.2/6.3/6.4 ¡¦Linux Mandrake 6.1 ¡¦FreeBSD(98) 3.0-RELEASE ¡¦FreeBSD 3.3-RELEASE ¡¦Solaris 2.5.1 ¢¡Ä̹𠡡¤³¤Î¥½¥Õ¥È¤Ç¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Î²òÀÏ¤Ë shhopt ¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£ shhopt ¤Ï Artistic License ¤Ë¤ÆÇÛÉÛ¤µ¤ì¤Æ¤ª¤ê¡¢¤â¤·Ë¾¤à¤Ê¤é shhopt ¤Î¤ß¤ò ÀÚ¤êÎ¥¤·¤Æ¤½¤ì¤ò Artistic License ¤Ë´ð¤Å¤¤¤Æ»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¢¡Ãøºî¸¢¤ª¤è¤ÓÇÛÉÛ¡¦²þ¤¤Ë¤Ä¤¤¤Æ ¡¡¤³¤Î¥½¥Õ¥È¥¦¥§¥¢¤ª¤è¤Ó¥É¥­¥å¥á¥ó¥È¤ÎÃøºî¸¢¤Ï¡ÖÆóÇ·µÜ¡¡Í´¼ù¡×¤¬ ÊÝ»ý¤·¡¢GNU GENERAL PUBLIC LICENSE Version 2 ¤Þ¤¿¤Ï¤½¤ì°Ê¹ß¤Ë ½¾¤Ã¤ÆÇÛÉÛ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¡¡ÇÛÉÛ¡¢¤ª¤è¤Ó²þ¤¤Ë¤Ä¤¤¤Æ¤Ï GPL ¤Ë½¾¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ¢¡ÍøÍѼԤؤª´ê¤¤ ¡¡»ä¤¬¼«¤éưºî¤ò¥Á¥§¥Ã¥¯¤Ç¤­¤ë¤Î¤Ï¡¢Èó¾ï¤Ë¸Â¤é¤ì¤¿´Ä¶­¤À¤±¤Ç¤¹¡£¤³¤Î ¥½¥Õ¥È¤ò»È¤Ã¤Æ¤¤¤ëÊý¤Ï¡Öư¤¤¤¿¤è¡×¤È¤«¡Ö»È¤Ã¤Æ¤ë¤è¡×¤À¤±¤Ç·ë¹½¤Ç¤¹¤Î¤Ç Êó¹ð失¤¿¤é¹¬¤¤¤Ç¤¹¡£ ¡¡¤â¤Á¤í¤ó¡¢¥Ð¥°Êó¹ð¤äÍ×˾¤Ê¤É¤â´¿·Þ¤·¤Þ¤¹¡£ ¢¡ºî¼Ô¤Ø¤ÎÏ¢ÍíÀè ¡¡e-mail : gm@debian.or.jp ¢¡ºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Îºß½è ¡¡http://www.enjoy.ne.jp/~gm/program/weex/index-ja.html ¢¡¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Î°ÆÆâ ¡¡weex ¤Î¥µ¥Ý¡¼¥ÈÍѤ˥᡼¥ê¥ó¥°¥ê¥¹¥È¤ò³«Àߤ·¤Þ¤·¤¿¡£»²²Ã¤¹¤ë¤Ë¤Ï °Ê²¼¤ÎÆþ²ñ¥¢¥É¥ì¥¹¤Ë¥á¡¼¥ë¤òÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤ (subject ¤ÈËÜʸ¤Ï ²¿¤Ç¤â¤¤¤¤¤Ç¤¹)¡£ ¡¦WeexÆüËܸì¥á¡¼¥ê¥ó¥°¥ê¥¹¥È Åê¹Æ : weex-ja@egroups.co.jp Æþ²ñ : weex-ja-subscribe@egroups.co.jp Âà²ñ : weex-ja-unsubscribe@egroups.co.jp ¡¦Weex Mailing List (±Ñ¸ì) Åê¹Æ : weex@eGroups.com Æþ²ñ : weex-subscribe@eGroups.com Âà²ñ : weex-unsubscribe@eGroups.com ¡¡¤É¤·¤É¤·¸æ»²²Ã¤¯¤À¤µ¤¤¡£ ¡¡¤Ê¤ª¡¢²áµî¥í¥°¤ä³Æ¼ï¥á¡¼¥ê¥ó¥°¥ê¥¹¥È´ØÏ¢¤Î¾ðÊó¤Ï°Ê²¼¤Î¥Ú¡¼¥¸¤«¤é¼èÆÀ¤Ç¤­¤Þ¤¹¡£ WeexÆüËܸì¥á¡¼¥ê¥ó¥°¥ê¥¹¥È : http://www.egroups.co.jp/list/weex-ja/info.html Weex Mailing List : http://www.egroups.com/list/weex/info.html ¢¡weex¤Ç¥¢¥Ã¥×¥í¡¼¥É¤·¤Æ¤¤¤ë(^^;)»ä¤Î¥Ú¡¼¥¸¤Î¾Ò²ð ¡¡£Ç£Í¤¯¤ó¤ÎLinuxËüºÐ!! ¡¡http://www.enjoy.ne.jp/~gm/index-ja.html ¡¡Linux ¤Î¥¤¥ó¥¹¥È¡¼¥ë¤«¤é³Æ¼ïÀßÄê¤ÎÊѹ¹¡¢¤µ¤Þ¤¶¤Þ¤Ê¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î ¾Ò²ð¤ò¡¢¼ç¤Ë Debian ¤ËÂФ·¤Æ¹Ô¤Ã¤Æ¤¤¤Þ¤¹¡£ ¡¡Â¾¤ËÆüµ­¤È¤â¥³¥é¥à¤È¤â¤Ä¤«¤óʸ¾Ï¤ä¡¢Linux/UNIX ÍѤμ«ºî¥½¥Õ¥È¤Î ¸ø³«¼¼¤Ê¤É¤â¤¢¤ê¤Þ¤¹¡£ --------------------------- Yuuki NINOMIYA(ÆóÇ·µÜ Í´¼ù) weex-2.6.1/doc/README0100644000016100001440000003520207121420005012764 0ustar ludousers+-----------------------------------------------------------------------+ | | | Fast Webpage Exchanger | | | | Copyright (C) 1999-2000 Yuuki NINOMIYA | | | +-----------------------------------------------------------------------+ * Description Fast Webpage Exchanger (weex) is a utility designed to automate the task of remotely maintaining a web page or other FTP archive. With weex, the maintainer of a web site or archive that must be administered through FTP interaction can largely ignore that process. The archive administrator simply creates a local directory that serves as an exact model for the offsite data. All modifications and direct interaction is done locally to this directory structure. When the administrator wishes to coordinate the data on the remote site with that of the local model directory, simply executing weex accomplishes this in the most bandwidth-efficient fashion by only transferring files that need updating. The program will create or remove (!) files or directories as necessary to accurately establish the local model on the remote server. `weex' is short for WEb EXchanger and is pronounced like `weeks'. Update your web pages every few weeks with weex. :-) * Features + It works automatically based on the configuration file. + You can configure more than one FTP server, and update in succession with one command. + It sends files that are updated after previous sending by comparing timestamp. + Files and directories are removed automatically (only on the remote side). + You can configure files and directories you want to ignore. And they can be specified with shell wildcards. + It can change the access permissions of sent files. It can also copy access permission of the local file to the remote one. + You can use it on non-case sensitive FTP servers. + Cache facility is supported. Weex caches directory structure, file names and each timestamps. So never slow transfer even if you have many directories and files. + It outputs progress bar when sending. + A logging facility is supported. It is useful for using weex with cron or background execution. + Gettext is supported. Japanese, German, Spanish, Dutch and French translations are available now. * How to install % ./configure % make # make install And copy sample.weexrc as `~/.weex/weexrc' or `~/.weexrc' and edit it. * Details of the configuration file The configuration file is `~/.weex/weexrc' or `~/.weexrc'. You need to write this to use weex. The configuration file has raw passwords and this file uses no special facilities to safeguard passwords. So change the access permission of it to 0600. If it is not 0?00, a warning will be issued at execution. White space and tab are always skipped. If you use special characters, quote with double quotes (") or single quotes ('). If you use double quotes ("), quote with single quotes ('). If you use single quotes ('), quote with double quotes ("). Lines that begin with the '#' character are safely ignored as comments. If you want to use '#' in a value, quote with ' or ". Parameters are not case sensitive. Sections are declared using a keyword reference enclosed in brackets. Sections could for example be named: [BigProject], [mywebsite], [tripod], etc. Host name `[default]' is a special section. These would be the default values if not explicitly given in the specific section. Basic format is `PARAMETER = VALUE'. ----------------------------------------------------- HostName = www.enjoy.ne.jp LoginName = ninomiya Password = yuuki ----------------------------------------------------- If you want to specify multiple values, specify same parameter or quote values with braces. ----------------------------------------------------- IgnoreLocalDir = /mnt/gm1/data/file/gms_page/nifty IgnoreLocalDir = /mnt/gm1/data/file/gms_page/backup IgnoreLocalFile = { /mnt/gm1/data/file/gms_page/nosend.html /mnt/gm1/data/file/gms_page/bak.html } ----------------------------------------------------- The number of values is unlimited. Both files and directories (except SrcDir and DestDir) can be specified with shell wildcards. The trailing '/' in directory names is optional. When specifying *files*, if a file or file pattern is given without a path, it is assumed to be available when encountered in any directory. If it is an explicitly specified path/file combination, the configuration is available in that directory. Files/directories except `SrcDir' and `DestDir' can be specified as both absolute path and relative path. But you must specify `SrcDir' and `DestDir' as the absolute path. When you want to specify `/public_html/ignoreme.html' as the relative path, you should specify `./ignoreme.html' rather than `ignoreme.html'. When specifying binary states, you may use any of the following: True/False, Yes/No, T/F, 1/0. None are case sensitive. Here are the FTP server configuration parameters: + HostName Hostname to connect to. The "ftp://" protocol specifier is implied and shouldn't be used. An IP address is also valid and may save lookup time. + LoginName Login name of the account on the FTP server. + Password Plaintext password granting access to the account. If this parameter is not found, weex asks for it on the terminal. + SrcDir Source directory containing the local copy of the information to be mirrored. This setting corresponds to the `pwd' command on shells. + DestDir Destination directory on the remote FTP server where the mirrored information will be sent. This parameter must be specified as absolute path as well. This setting corresponds to the `pwd' command on traditional FTP clients. + IgnoreLocalDir This parameter contains one or more protected local directories that are completely ignored during the transfer process. This is useful if you want to have subdirectories that are part of a project but don't need to be in the final, online version (i.e., old versions). + IgnoreRemoteDir This parameter contains one or more protected remote directories that are completely ignored during the transfer process. They are not removed. This is useful if you want to have other material on the remote FTP site that is not related to the specific project that weex is dealing with. This could include, for example, data administered through a different FTP client or process. + IgnoreLocalFile This parameter contains one or more protected local files that are completely ignored during the transfer process. + IgnoreRemoteFile This parameter contains one or more protected remote files that are completely ignored during the transfer process. They are not removed. + AsciiFile Filenames/patterns (local) that will be transferred using ASCII mode. The default mode for files not specified in this way is IMAGE (BINARY) mode. + KeepRemoteDir In their directories, files are not removed when they don't exist in the local directory. Here is a tip! If you want not to remove any file, set it to: KeepRemoteDir = { * . } + ChangePermissionDir Files in directories assigned to this parameter will have their access permissions changed after sending. Specify *local* directories. + ChangePermission The access permissions of the files in the ChangePermissionDir. The format is a three digit octal number. + PreservePermissionDir The access permissions of the files in directories assigned to this parameter will be copied to remote. Specify *local* directories. If ChangePermissionDir and PreservePermissionDir conflict, the former has priority. + NestSpaces Controls the indentation spacing. Default is 4. If you want to suppress it, specify -1. If you specify 0, weex assumes you specify 4. :-) + MaxRetryToSend When weex fails in sending a file, it retry to send the file. The maximum times of retrying is this parameter. Default is 8. Specify -1 to stop retrying. + ConvToLower When it is `true', convert letters to lower case before sending. This is for servers with case sensitivity problems. The program fails with a warning in the case of a naming conflict. Default is `false'. + OverwriteOK If the FTP server has trouble overwriting files, set this parameter to `false'. Default is `true'. + RecordLog When `true', weex create a log. Log file is `~/.weex/weex.log'. Default is `true'. + LogDetailLevel It specifies how detail level weex records a log at. Connection and disconnection message and error messages are always recorded. When weex finishes working correctly, it writes `Complete' previous disconnection message. 1 or less ... records each connection 2 ........... records each directory 3 or more ... records each file manipulated Default is 1. + Silent Set `true' to suppresses normal non-error messages. Default is `false'. + Monochrome Set `true' to output messages in monochrome. Default is `false'. + Force Set `true' to send all files without timestamp condition. Default is `false'. + FtpPassive Set `false' to use port mode instead of passive mode. If the FTP server doesn't support passive mode, set `false'. (It may make transfer slower) Default is `true'. (See also FAQ) + ShowHiddenFile Set `true' to get hidden files (starting with a dot) on FTP server which doesn't show hidden files by default. Default is `false'. + FollowSymlinks Set `true' to follow symbolic links. Default is `false'. Symbolic link of directory assumes a file whose size is 0 byte by default. + ChdirAtConnection Set `true' to change remote current working directory to DestDir at connection. If remote current working directory at connection is DestDir, weex runs faster a bit by setting this parameter to `false'. Default is `true'. * Details of command line options usage: weex [OPTIONS] HOST... HOST is a section name in the configuration file. You can specify not only hosts by name but also host number. When you set invalid options or host name (number), usage information displays and the program exits. options: -h | --help Outputs a usage summary to stdout. -s | --silent The default mode outputs a helpful status message for each action taken. This mode suppresses output. -f | --force If the caching mechanism is inhibiting the uploading of files that should be transferred, this option will force the actual transfer to always occur. -m | --monochrome The default mode generates a helpful color coding based on the operation being performed. This option suppresses that. -t | --test Weex doesn't modify any remote files/directories. -r | --rebuild-cache If cache file is broken, use this to rebuild it. -d | --debug-config Outputs the configuration of each hosts -D | --debug-ftplib Outputs messages from/to FTP server. -V | --version Prints the version of the weex program. * Examples + weex foo Common. + weex foo bar Send to 2 hosts. + weex 2 1 You can specify host number as well. + weex 4 foo 7 bar 1 You can do such a thing. + weex 3 3 3 Meaningless? :-p + weex -s foo Suppress normal non-error messages. + weex 1 >& /dev/null Error messages wipe off as well. heheh. + weex -m bar Messages are output as monochrome. + weex 3 -f Send all files without timestamp condition. + weex -t foo Any files on host `foo' is not modified. + weex -r bar If cache file is broken, use this to rebuild cache. + weex -h Display usage. + weex Displays usage, too. + weex -d Display configuration of hosts for debugging. + weex -D 1 Output messages from/to FTP server. If weex doesn't work fine, use this option and send its result to me. + weex --monochrome 1 Full spelling is available as well. * Notes about the cache facility weex implements a cache of file timestamps from Ver 1.6.0. This makes updating much faster when you have a lot of files. In addition, weex also caches directory structure and file names from Ver 2.5.0. So never slow transfer even if you have many directories and files. If, however, you change the remote files with another FTP client or running weex is killed or weex is terminated by an error, the cache file will not be correct. The simple solution to this problem is to remove the cache file (located in `~/.weex/weex.cache.HOSTNAME') completely or to run weex with option `--rebuild-cache'. * Limits None. * Tested OS + Debian GNU/Linux 2.1 + Red Hat Linux 5.1/5.2/6.0/6.1J + SuSE Linux 6.1/6.2/6.3/6.4 + Linux Mandrake 6.1 + FreeBSD(98) 3.0-RELEASE + FreeBSD 3.3-RELEASE + Solaris 2.5.1 * Notice This software uses shhopt for parsing command line options. Shhopt is released under the Artistic License. You can use it separately under the Artistic License if you want. * Copying The copyright of this software belongs to Yuuki NINOMIYA. It is released under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. You can redistribute it and/or modify it under the GPL. * Request to users I have an incomplete mastery of the English language, so please help correct the text of the documents and messages in this program. Comments, suggestions, bug reports and patches are welcome. Please mail them to me at the following address. * Contact me e-mail : gm@debian.or.jp * The latest version http://www.enjoy.ne.jp/~gm/program/weex/ * Mailing list I set up mailing lists for supporting weex users. Send e-mail to subscribe a mailing list. + Weex Mailing List (English language) Post Message : weex@eGroups.com Subscribe : weex-subscribe@eGroups.com Unsubscribe : weex-unsubscribe@eGroups.com + Weex Japanese Mailing List (Japanese language) Post Message : weex-ja@egroups.co.jp Subscribe : weex-ja-subscribe@egroups.co.jp Unsubscribe : weex-ja-unsubscribe@egroups.co.jp Messages and information about mailing lists are availble from the following. Weex Mailing List : http://www.egroups.com/list/weex/info.html Weex Japanese Mailing List : http://www.egroups.co.jp/list/weex-ja/info.html * My webpage Yuuki NINOMIYA's webpage http://www.enjoy.ne.jp/~gm/ ----------------------------------- Yuuki NINOMIYA weex-2.6.1/doc/THANKS0100644000016100001440000000333407121417646013041 0ustar ludousers* Acknowledgement Borrowed Code / Library ======================= Thomas Pfau http://www.cnj.digex.net/~pfau/ - ftplib (routines that implement the FTP protocol) Sverre H. Huseby http://home.sol.no/~sverrehu/ - shhopt (parsing command line arguments) Takashi SHIRAI http://hp.vector.co.jp/authors/VA012337/ - cnvregexp() in sub.c (routine to convert shell wildcards to regular expression) Contributions (Code / Document) =============================== Masashi Itou http://www.maitou.gr.jp/ - some bugfixes in ftplib.c and others - implementation of chmod Chris X Edwards http://members.tripod.com/chrisxed/ - the manpage in English - many suggestions and bug reports seagull http://homepage1.nifty.com/seagull/ - support for @Nifty - some bugfixes - support for a symbolic link Julian C. Dunn http://www.aquezada.com/staff/julian/ - support for FreeBSD Christian Ullrich - bugfix for processing a symbolic link Mohammed Waleed Kadous - ask password if none is given Craig Wilkie (Remove NO_RUBBISH from e-mail address) - bugfix for supporting an FTP server based on Windows NT Jeff Abrahamson - add paramter whether follow symlinks Translations ============ Christian Ullrich - German translations (de.po) Gorka Olaizola - Spanish translations (es.po) Jos Smeets - Dutch translations (nl.po) Olivier Tharan - French translations (fr.po) weex-2.6.1/doc/TODO.ja0100644000016100001440000000321607117467377013221 0ustar ludousers¢¡¤¹¤ë¤Ù¤­»öÊÁ(¾å¤Ë¤¢¤ë¤Û¤ÉÍ¥Àè½ç°Ì¤¬¹â¤¤) ¡¦¥­¥ã¥Ã¥·¥å¤È¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤òÈæ¤Ù¤Æ¡¢¹¹¿·¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤¬ ¤É¤ì¤À¤±¤¢¤ë¤«¤ò¤Þ¤º¥Á¥§¥Ã¥¯¤¹¤ë¡£¹¹¿·¤¹¤ë¥Õ¥¡¥¤¥ë¤¬¤Ê¤±¤ì¤Ð Àܳ¤·¤Ê¤¤¡£ ¡¦ÁÐÊý¸þžÁ÷¤ËÂбþ (¤³¤ì¤Ï Ver 3.0.0 ¤Ç¼ÂÁõ¤µ¤ì¤ëͽÄê¤Ç¤¹)¡£ ¥É¥­¥å¥á¥ó¥È¤Ë*Remote* ¤Ï¥ê¥â¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤹ¤ë¤è¤¦¤Ë¤«¤¯ "%s: The remote site needs updating (%d items to update). "%s: The remote site needs updating (1 item to update). "%s: The remote site does not need updating. -d ¤ò¤â¤Ã¤È¸«¤ä¤¹¤¯ Îã¡§ Site: mysite Server: my.server.com Port: ftp Protocol: FTP Username: fred Remote directory: ~/public_html/ Local directory: /home/fred/html/ Permissions: Ignored Symlinks: Followed Files will be moved remotely if moved locally. SrcDir ¤¬¤Ê¤±¤ì¤Ð¥¹¥­¥Ã¥×¤¹¤ë¤è¤¦¤Ë sitecopy: Could not read directory for `mysite': /home/fred/html/ sitecopy: Skipping site `mysite'. lock µ¡¹½¤ò Linux ɸ½à¤Ë log ¤ò UNIX ɸ½à¤Ê¥¢¥ì¤Ë gweex (GNOMEÈÇ) kweex (KDEÈÇ) > In combination with -t, it dies because it can't cd into > remote directories because the remote site is still empty. Thanks. I will fix it. (To: weex doesn't rebuilt the cache with -t) > 2) A feature to specify a resource file and log/cache directory in the way > The ftp server runs on a Mac. It's dir list format is different from > unix ftp servers. > 4) Why don't you also supply the source rpms for download? > The program leaves temporary rubbish in ~/.weex/ after error exit. Current processing of temporary file and lock file is not Linux standard. I will fix them some day. README ¤Ë ftp ¥Ý¡¼¥È¤òÊѹ¹¤Ç¤­¤ë¤à¤Í¤òµ­½Ò¤¹¤ë weex-2.6.1/doc/Makefile.am0100644000016100001440000000021507036045232014146 0ustar ludousersEXTRA_DIST=BUGS BUGS.ja ChangeLog ChangeLog.ja COPYING \ COPYING.ja FAQ FAQ.ja README README.ja sample.weexrc \ THANKS TODO TODO.ja weex.cat weex-2.6.1/doc/Makefile.in0100664000016100001440000001132707121420631014162 0ustar ludousers# Makefile.in generated automatically by automake 1.4 from Makefile.am # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ DATADIRNAME = @DATADIRNAME@ GENCAT = @GENCAT@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GT_NO = @GT_NO@ GT_YES = @GT_YES@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INSTOBJEXT = @INSTOBJEXT@ INTLDEPS = @INTLDEPS@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ PACKAGE = @PACKAGE@ POFILES = @POFILES@ POSUB = @POSUB@ RANLIB = @RANLIB@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ l = @l@ localedir = @localedir@ EXTRA_DIST = BUGS BUGS.ja ChangeLog ChangeLog.ja COPYING COPYING.ja FAQ FAQ.ja README README.ja sample.weexrc THANKS TODO TODO.ja weex.cat mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = DIST_COMMON = README AUTHORS COPYING ChangeLog Makefile.am Makefile.in \ THANKS TODO DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps doc/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status tags: TAGS TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = doc distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall: uninstall-am all-am: Makefile all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-generic clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: tags distdir info-am info dvi-am dvi check check-am \ installcheck-am installcheck install-exec-am install-exec \ install-data-am install-data install-am install uninstall-am uninstall \ all-redirect all-am all installdirs mostlyclean-generic \ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: weex-2.6.1/doc/COPYING.ja0100644000016100001440000005145306773443274013567 0ustar ludousers¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡£Ç£Î£Õ°ìÈ̸øÍ­»ÈÍѵöÂú½ñ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡1991 ǯ6 ·î¡¤¥Ð¡¼¥¸¥ç¥ó2 ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Copyright (C) 1989,1991 Free Software Foundation, Inc. ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡675 Mass Ave, Cambridge, MA 02139, USA * ---------------------------------------------------------------------- * ¡ÚÃí°Õ¡Û ¸½ºß¡¢¤³¤Î¥Ð¡¼¥¸¥ç¥ó2¤Îȯ¹Ô¼Ô(FSF)½»½ê¤Ï¡¢Àµ¼°¤Ë¿· ¤·¤¤½»½ê¤Î 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA ¤ËÊѤï¤Ã¤Æ¤¤¤ë¡£ ---------------------------------------------------------------------- ²¿¿Í¤â¡¢°Ê²¼¤ÎÆâÍÆ¤òÊѹ¹¤·¤Ê¤¤¤Ç¤½¤Î¤Þ¤ÞÊ£¼Ì¤¹¤ë¾ì¹ç¤Ë¸Â¤ê¡¢ËÜ»ÈÍѵöÂú ½ñ¤òÊ£À½¤·¤¿¤êÈÒÉÛ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¤Ï¤¸¤á¤Ë -------- ¡¡¤Û¤È¤ó¤É¤Î¥½¥Õ¥È¥¦¥§¥¢¤Î»ÈÍѵöÂú¤Ï¡¢¥½¥Õ¥È¥¦¥§¥¢¤ò¶¦Í­¤·¡¢Êѹ¹¤¹¤ë¥æ¡¼ ¥¶¤Î¼«Í³¤òÃ¥¤¦¤³¤È¤ò°Õ¿Þ¤·¤Æ¤¤¤Þ¤¹¡£¤½¤ì¤ËÂФ·¤Æ¡¢²æ¡¹¤ÎGNU°ìÈ̸øÍ­»È ÍѵöÂú¤Ï¡¢¥Õ¥ê¡¼¡¦¥½¥Õ¥È¥¦¥§¥¢¤ò¶¦Í­¤·¤¿¤êÊѹ¹¤¹¤ë¼«Í³¤ò¥æ¡¼¥¶¤ËÊݾڤ¹ ¤ë¤¿¤á¤Î¤â¤Î¡¢Â¨¤Á¥Õ¥ê¡¼¡¦¥½¥Õ¥È¥¦¥§¥¢¤¬¤½¤Î¥æ¡¼¥¶Á´¤Æ¤Ë¤È¤Ã¤Æ¥Õ¥ê¡¼¤Ç ¤¢¤ë¤³¤È¤òÊݾڤ¹¤ë¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£ËÜ»ÈÍѵöÂú¤Ï¡¢Free Software Foundation ¤Î¤Û¤È¤ó¤ÉÁ´¤Æ¤Î¥½¥Õ¥È¥¦¥§¥¢¤ËŬÍѤµ¤ì¤ë¤À¤±¤Ç¤Ê¤¯¡¢¥×¥í¥° ¥é¥à¤ÎºîÀ®¼Ô¤¬ËÜ»ÈÍѵöÂú¤Ë°Í¤ë¤È¤·¤¿¾ì¹ç¤Î¤½¤Î¥×¥í¥°¥é¥à¤Ë¤âŬÍѤ¹¤ë¤³ ¤È¤¬¤Ç¤­¤Þ¤¹¡£¡Ê¤½¤Î¾¤Î Free Software Foundation ¤Î¥½¥Õ¥È¥¦¥§¥¢¤Î¤¤¤¯ ¤Ä¤«¤Ï¡¢ËܵöÂú½ñ¤Ç¤Ï¤Ê¤¯¡¢GNU¥é¥¤¥Ö¥é¥ê°ìÈ̸øÍ­»ÈÍѵöÂú¤ÇÊݸ¤ì¤Þ¤¹¡£¡Ë ¤¢¤Ê¤¿¤Ï¼«Ê¬¤Î¥×¥í¥°¥é¥à¤Ë¤â¤³¤ì¤òŬÍѤǤ­¤Þ¤¹¡£²æ¡¹¤¬¥Õ¥ê¡¼¡¦¥½¥Õ¥È¥¦¥§ ¥¢¤Ë¤Ä¤¤¤Æ¸À¤¦¾ì¹ç¤Ï¼«Í³¤Î¤³¤È¤Ë¸ÀµÚ¤·¤Æ¤¤¤ë¤Î¤Ç¤¢¤Ã¤Æ¡¢²Á³Ê¤Î¤³¤È¤Ç¤Ï ¤¢¤ê¤Þ¤»¤ó¡£²æ¡¹¤Î°ìÈ̸øÍ­»ÈÍѵöÂú¤Î³Æ¾ò¹à¤Ï¡¢¼¡¤Î»öÊÁ¤ò³Î¼Â¤Ë¼Â¸½¤¹¤ë ¤³¤È¤òÌÜŪ¤È¤·¤ÆÎ©°Æ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¡¡¡¡¡¡¡¦¡¡¥Õ¥ê¡¼¡¦¥½¥Õ¥È¥¦¥§¥¢¤ÎÊ£À½Êª¤ò¼«Í³¤ËÈÒÉۤǤ­¤ë¤³¤È¡Ê¤½¤·¤Æ¡¢ ¡¡¡¡¡¡¡¡¡¡Ë¾¤à¤Ê¤é¤¢¤Ê¤¿¤Î¤³¤Î¥µ¡¼¥Ó¥¹¤ËÂФ·¤ÆÂвÁ¤òÀÁµá¤Ç¤­¤ë¤³¤È¡Ë¡£ ¡¡¡¡¡¡¡¦¡¡¥½¡¼¥¹¡¦¥³¡¼¥É¤ò¼ÂºÝ¤Ë¼õ¤±¼è¤ë¤«¡¢¤¢¤ë¤¤¤Ï¡¢´õ˾¤·¤µ¤¨¤¹¤ì¤Ð ¡¡¡¡¡¡¡¡¡¡¤½¤ì¤òÆþ¼ê¤¹¤ë¤³¤È¤¬²Äǽ¤Ç¤¢¤ë¤³¤È¡£ ¡¡¡¡¡¡¡¦¡¡Æþ¼ê¤·¤¿¥½¥Õ¥È¥¦¥§¥¢¤òÊѹ¹¤·¤¿¤ê¡¢¿·¤·¤¤¥Õ¥ê¡¼¡¦¥×¥í¥°¥é¥à¤Î ¡¡¡¡¡¡¡¡¡¡°ìÉô¤È¤·¤Æ»ÈÍѤǤ­¤ë¤³¤È¡£ ¡¡¡¡¡¡¡¦¡¡°Ê¾å¤Î³ÆÆâÍÆ¤ò¹Ô¤Ê¤¦¤³¤È¤¬¤Ç¤­¤ë¤È¤¤¤¦¤³¤È¤ò¥æ¡¼¥¶¼«¿È¤¬ÃΤà ¡¡¡¡¡¡¡¡¡¡¤Æ¤¤¤ë¤³¤È¡£ ¡¡¤³¤Î¤è¤¦¤Ê¥æ¡¼¥¶¤Î¸¢Íø¤ò¼é¤ë¤¿¤á¤Ë¡¢²æ¡¹¤Ï¡¢²¿¿Í¤â¤³¤ì¤é¤Î¸¢Íø¤òÈÝÄê ¤·¤¿¤ê¡¢¤¢¤ë¤¤¤ÏÊü´þ¤¹¤ë¤è¤¦¤Ë¥æ¡¼¥¶¤Ëµá¤á¤ë¤³¤È¤Ï¤Ç¤­¤Ê¤¤¤È¤¤¤¦À©¸Â¾ò ¹à¤òÀߤ±¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤é¤ÎÀ©¸Â¾ò¹à¤Ï¡¢¥æ¡¼¥¶¤¬¡¢¥Õ¥ê¡¼¡¦¥½¥Õ¥È ¥¦¥§¥¢¤ÎÊ£À½Êª¤òÈÒÉÛ¤·¤¿¤êÊѹ¹¤·¤è¤¦¤È¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢¤½¤Î¥æ¡¼¥¶¼«¿È¤¬¼é ¤ë¤Ù¤­µÁ̳¤È¤â¤Ê¤ê¤Þ¤¹¡£Î㤨¤Ð¡¢¤¢¤Ê¤¿¤¬¥Õ¥ê¡¼¡¦¥½¥Õ¥È¥¦¥§¥¢¤ÎÊ£À½Êª¤ò ÈÒÉÛ¤¹¤ë¾ì¹ç¡¢Í­½þ¤«Ìµ½þ¤«¤Ë¤«¤«¤ï¤é¤º¡¢¤¢¤Ê¤¿¤Ï¼«Ê¬¤Î»ý¤Ã¤Æ¤¤¤ë¸¢Íø¤ò Á´¤ÆÁê¼ê¤ËÍ¿¤¨¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£¤¢¤Ê¤¿¤Ï¡¢Áê¼ê¤â¤Þ¤¿¥½¡¼¥¹¡¦¥³¡¼¥É¤ò ¼õ¤±¼è¤Ã¤¿¤êÆþ¼ê¤Ç¤­¤ë¤È¤¤¤¦¤³¤È¤òǧ¤á¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£¤µ¤é¤Ë¤¢¤Ê¤¿ ¤Ï¡¢Èà¤é¤¬¼«Ê¬¤¿¤Á¤Î¸¢Íø¤òÃΤë¤è¤¦¤Ë¡¢¤³¤ì¤é¤Î¾ò¹à¤òÃΤ餷¤á¤Ê¤±¤ì¤Ð¤Ê ¤ê¤Þ¤»¤ó¡£ ¡¡²æ¡¹¤Ï¼¡¤Î£²¤Ä¤ÎÊýË¡¤Ç¥æ¡¼¥¶¤Î¸¢Íø¤ò¼é¤ê¤Þ¤¹¡£¡Ê£±¡Ë¥½¥Õ¥È¥¦¥§¥¢¤ËÃø ºî¸¢¤ò¼çÄ¥¤·¡¢¡Ê£²¡ËËÜ»ÈÍѵöÂú¤Î¾ò¹à¤Î²¼¤Ç¥½¥Õ¥È¥¦¥§¥¢¤òÊ£À½¡¦ÈÒÉÛ¡¦ÊÑ ¹¹¤¹¤ë¸¢Íø¤ò¥æ¡¼¥¶¤ËÍ¿¤¨¤Þ¤¹¡£ ¡¡¤Þ¤¿¡¢³ÆºîÀ®¼Ô¤ä²æ¡¹¼«¿È¤ò¼é¤ë¤¿¤á¤Ë¡¢Ëܥե꡼¡¦¥½¥Õ¥È¥¦¥§¥¢¤¬ÌµÊÝ¾Ú ¤Ç¤¢¤ë¤³¤È¤òÁ´¤Æ¤Î¿Í¡¹¤¬Î»²ò¤·¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤µ¤é¤Ë¡¢Â¾¤Î狼¤Ë ¤è¤Ã¤ÆÊѹ¹¤µ¤ì¤¿¥½¥Õ¥È¥¦¥§¥¢¤¬ÈÒÉÛ¤µ¤ì¤¿¾ì¹ç¡¢¼õÎμԤϤ½¤Î¥½¥Õ¥È¥¦¥§¥¢ ¤¬¥ª¥ê¥¸¥Ê¥ë¡¦¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¤Ê¤¤¤È¤¤¤¦¤³¤È¤òÃΤ餵¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤½¤ì¤Ï¡¢Â¾¿Í¤Î´ØÍ¿¤Ë¤è¤Ã¤Æ¸¶³«È¯¼Ô¤ËÂФ¹¤ëɾ²Á¤¬±Æ¶Á¤µ¤ì¤Ê¤¤¤è¤¦¤Ë¤¹¤ë ¤¿¤á¤Ç¤¹¡£ ¡¡ºÇ¸å¤Ë¡¢¤É¤Î¥Õ¥ê¡¼¡¦¥×¥í¥°¥é¥à¤â¥½¥Õ¥È¥¦¥§¥¢ÆÃµö¤ËÀ䤨¤º¶¼¤«¤µ¤ì¤Æ¤¤ ¤Þ¤¹¡£²æ¡¹¤Ï¡¢¥Õ¥ê¡¼¡¦¥×¥í¥°¥é¥à¤ÎºÆÈÒÉÛ¼Ô¤¬¸Ä¿ÍŪ¤ËÆÃµö¸¢¤ò¼èÆÀ¤·¡¢»ö ¼Â¾å¤½¤Î¥×¥í¥°¥é¥à¤ò¼«Ê¬¤Îºâ»º¤Ë¤·¤Æ¤·¤Þ¤¦¤È¤¤¤¦´í¸±¤òÈò¤±¤¿¤¤¤È´ê¤Ã¤Æ ¤¤¤Þ¤¹¡£¤³¤ì¤òËɤ°¤¿¤á¤Ë²æ¡¹¤Ï¡¢¤¤¤º¤ì¤ÎÆÃµö¤â¡¢Ã¯¤Ç¤â¼«Í³¤Ë»ÈÍѤǤ­¤ë ¤è¤¦¤Ë»ÈÍѵöÂú¤µ¤ì¤ë¤Ù¤­¤«¡¢¤¢¤ë¤¤¤Ï²¿¿Í¤ËÂФ·¤Æ¤âÁ´¤¯»ÈÍѤµ¤»¤Ê¤¤¤«¤Î¡¢ ¤¤¤º¤ì¤«¤Ë¤¹¤Ù¤­¤Ç¤¢¤ë¤³¤È¤òÌÀ¤é¤«¤Ë¤·¤Æ¤­¤Þ¤·¤¿¡£ ¡¡Ê£¼Ì¡¦ÈÒÉÛ¡¦Êѹ¹¤ËÂФ¹¤ëÀµ³Î¤Ê¾ò¹à¤È¾ò·ï¤ò¼¡¤Ë¼¨¤·¤Þ¤¹¡£ £Ç£Î£Õ°ìÈ̸øÍ­»ÈÍѵöÂú¤Î²¼¤Ç¤ÎÊ£À½¡¢ÈÒÉÛ¡¢Êѹ¹¤Ë´Ø¤¹¤ë¾ò¹à¤È¾ò·ï ¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á ¡¡£±¡¥¡¡ËÜ»ÈÍѵöÂú¤Ï¡¢ËܰìÈ̸øÍ­»ÈÍѵöÂú¤Î³Æ¾ò¹à¤Ë½¾¤Ã¤ÆÈÒÉÛ¤µ¤ì¤ë¤È¤¤ ¡¡¡¡¡¡¡¡¤¦Ãøºî¸¢¼Ô¤«¤é¤Î¹ðÃÎʸ¤¬É½¼¨¤µ¤ì¤Æ¤¤¤ë¥×¥í¥°¥é¥à¤ä¤½¤Î¾¤ÎºîÀ® ¡¡¡¡¡¡¡¡Êª¤ËŬÍѤµ¤ì¤Þ¤¹¡£°Ê²¼¤Ë¤ª¤¤¤Æ¡Ö¥×¥í¥°¥é¥à¡×¤È¤Ï¡¢¤½¤Î¤è¤¦¤Ê¥× ¡¡¡¡¡¡¡¡¥í¥°¥é¥à¤äºîÀ®Êª¤ò»Ø¤¹¤â¤Î¤È¤·¡¢¤Þ¤¿¡¢¡Ö¥×¥í¥°¥é¥àÀ¸À®Êª¡×¤È¤Ï¡¢ ¡¡¡¡¡¡¡¡¾å½Ò¤·¤¿¡Ö¥×¥í¥°¥é¥à¡×¼«¿È¡¢¤Þ¤¿¤Ï¡¢Ãøºî¸¢Ë¡²¼¤Ë¤ª¤±¤ëÁ´¤Æ¤ÎÇÉ ¡¡¡¡¡¡¡¡À¸Êª¡¨¤¹¤Ê¤ï¤Á¡¢¤½¤Î¡Ö¥×¥í¥°¥é¥à¡×¤ÎÁ´ÉôËô¤Ï°ìÉô¤ò¡¢¤½¤Î¤Þ¤ÞËô ¡¡¡¡¡¡¡¡¤ÏÊѹ¹¤·¤Æ¡¢³î¤Ä¡¿Ëô¤Ï¾¤Î¸À¸ì¤ËÊÑ´¹¤·¤Æ¡¢ÆâÉô¤ËÁȤ߹þ¤ó¤ÀºîÀ® ¡¡¡¡¡¡¡¡Êª¤ò°ÕÌ£¤·¤Þ¤¹¡£¡Ê°Ê²¼¡¢¸À¸ìÊÑ´¹¤Ï¡ÖÊѹ¹¡×¤È¤¤¤¦ÍѸì¤ÎÃæ¤Ë̵¾ò ¡¡¡¡¡¡¡¡·ï¤Ë´Þ¤Þ¤ì¤ë¤â¤Î¤È¤·¤Þ¤¹¡£¡ËËÜ»ÈÍѵöÂú¤Ë¤è¤Ã¤ÆµöÂú¤ò¼õ¤±¤ë¼Ô¤ò ¡¡¡¡¡¡¡¡¡Ö¤¢¤Ê¤¿¡×¤È¸Æ¤Ó¤Þ¤¹¡£¡¡ ¡¡¡¡¡¡¡¡Ê£À½¡¢ÈÒÉÛ¡¢Êѹ¹°Ê³°¤Î¹Ô°Ù¤ÏËÜ»ÈÍѵöÂú¤ÎÂоݤȤ·¤Þ¤»¤ó¡£¤½¤ì¤é ¡¡¡¡¡¡¡¡¤ÏËÜ»ÈÍѵöÂú¤ÎÈϰϳ°¤Ç¤¹¡£¡Ö¥×¥í¥°¥é¥à¡×¤ò¼Â¹Ô¤µ¤»¤ë¹Ô°Ù¤Ë´Ø¤· ¡¡¡¡¡¡¡¡¤ÆÀ©Ìó¤Ï¤¢¤ê¤Þ¤»¤ó¡£¡Ö¥×¥í¥°¥é¥à¡×¤Î½ÐÎϤϡ¢¡Ê¡¡¡Ö¥×¥í¥°¥é¥à¡× ¡¡¡¡¡¡¡¡¤ò¼Â¹Ô¤µ¤»¤ÆºîÀ®¤µ¤»¤¿¤«¤É¤¦¤«¤È¤Ï̵´Ø·¸¤Ë¡Ë¡¡¤½¤ÎÆâÍÆ¤¬¡Ö¥×¥í ¡¡¡¡¡¡¡¡¥°¥é¥àÀ¸À®Êª¡×¤Ç¤¢¤ë¾ì¹ç¤Ë¸Â¤êËÜ»ÈÍѵöÂú¤ÎÂоݤȤʤê¤Þ¤¹¡£¤³¤ì ¡¡¡¡¡¡¡¡¤¬Åö¤Æ¤Ï¤Þ¤ë¤«¤É¤¦¤«¤Ï¡¢¡Ö¥×¥í¥°¥é¥à¡×¤¬²¿¤ò¤¹¤ë¤â¤Î¤«¤Ë°Í¤ê¤Þ ¡¡¡¡¡¡¡¡¤¹¡£ ¡¡£²¡¥¡¡¤¢¤Ê¤¿¤Ï¡¢¤É¤Î¤è¤¦¤ÊÇÞÂÎ¾å¤ØÊ£À½¤·¤è¤¦¤È¤¹¤ë¾ì¹ç¤Ç¤¢¤Ã¤Æ¤â¡¢Æþ ¡¡¡¡¡¡¡¡¼ê¤·¤¿¡Ö¥×¥í¥°¥é¥à¡×¤Î¥½¡¼¥¹¡¦¥³¡¼¥É¤ò¤½¤Î¤Þ¤Þ¤ÎÆâÍÆ¤ÇÊ£¼Ì¤·¤¿ ¡¡¡¡¡¡¡¡¾å¤ÇŬÀµ¤ÊÃøºî¸¢É½¼¨¤ÈÊݾڤÎÊü´þ¤òÌÀ³Î¡¢³î¤ÄŬÀµ¤ËÉÕµ­¤¹¤ë¾ì¹ç ¡¡¡¡¡¡¡¡¤Ë¸Â¤ê¡¢Ê£À½Ëô¤ÏÈÒÉÛ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤Î¾ì¹ç¡¢ËÜ»ÈÍѵöÂúµÚ ¡¡¡¡¡¡¡¡¤Ó̵Êݾڤ˴ؤ¹¤ëµ­ºÜÉôʬ¤Ï¡¢Á´¤Æ¸µ¤Î¤Þ¤Þ¤Î·Á¤Çɽ¼¨¤·¤Æ¤¯¤À¤µ¤¤¡£ ¡¡¡¡¡¡¡¡¤Þ¤¿¡¢¡Ö¥×¥í¥°¥é¥à¡×¤ÎÈÒÉÛÀè¤ËÂФ·¤Æ¤Ï¡¢¡Ö¥×¥í¥°¥é¥à¡×¤È¶¦¤ËËÜ ¡¡¡¡¡¡¡¡»ÈÍѵöÂú½ñ¤Î¼Ì¤·¤òÅϤ·¤Æ¤¯¤À¤µ¤¤¡£Ê£À½Êª¤Î°ú¤­ÅϤ·¤ËÍפ¹¤ë¼ÂÈñ ¡¡¡¡¡¡¡¡¤ÏÀÁµá¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤Þ¤¿¡¢¤¢¤Ê¤¿ÆÈ¼«¤ÎÊݾڤò¹Ô¤Ê¤¦¾ì¹ç¤Ï ¡¡¡¡¡¡¡¡¤½¤ì¤òÍ­½þ¤È¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¡¡£³¡¥¡¡¼¡¤Î³Æ¾ò·ï¤òÁ´¤ÆËþ¤¿¤·¤Æ¤¤¤ë¸Â¤ê¡¢¤¢¤Ê¤¿¤Ï¡¢¡Ö¥×¥í¥°¥é¥à¡×Ëô¤Ï ¡¡¡¡¡¡¡¡¤½¤Î°ìÉôʬ¤òÊѹ¹¤·¤Æ¡Ö¥×¥í¥°¥é¥àÀ¸À®Êª¡×¤È¤¹¤ë¤³¤È¤¬¤Ç¤­¡¢¤µ¤é ¡¡¡¡¡¡¡¡¤Ë¡¢Êѹ¹ÈǤ䱦ºîÀ®Êª¤ò¾åµ­Â裲¹à¤Ë½¾¤Ã¤ÆÊ£À½Ëô¤ÏÈÒÉÛ¤¹¤ë¤³¤È¤â ¡¡¡¡¡¡¡¡¤Ç¤­¤Þ¤¹¡£ ¡¡¡¡¡¡¡¡¡Ê£á¡Ë¥Õ¥¡¥¤¥ë¤òÊѹ¹¤·¤¿»Ý¤È¤½¤ÎÊѹ¹Æü¤È¤ò¡¢Êѹ¹¤·¤¿¥Õ¥¡¥¤¥ë¾å ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¤ËÌÀ³Î¤Ëɽ¼¨¤¹¤ë¤³¤È¡£ ¡¡¡¡¡¡¡¡¡Ê£â¡ËÊѹ¹¤·¤¿¤«Èݤ«¤òÌä¤ï¤º¡¢ËÞ¤½¡Ö¥×¥í¥°¥é¥à¡×Ëô¤Ï¤½¤Î°ìÉôʬ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¤òÆâÉô¤ËÁȤ߹þ¤ó¤Ç¤¤¤ë¤«Ëô¤Ï¤½¤ì¤«¤éÇÉÀ¸¤·¤¿À¸À®Êª¤òÈÒÉÛ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢¤½¤ÎÁ´ÂΤòËÜ»ÈÍѵöÂú¤Î¾ò¹à¤Ë½¾¤Ã¤ÆÂè»°¼Ô¤Ø ¡¡¡¡¡¡¡¡¡¡¡¡¡¡Ìµ½þ¤Ç»ÈÍѵöÂú¤¹¤ë¤³¤È¡£ ¡¡¡¡¡¡¡¡¡Ê£ã¡ËÊѹ¹¤·¤¿¥×¥í¥°¥é¥à¤¬¼Â¹Ô»þ¤ËÄ̾ï¤ÎÂÐÏÃŪ¤ÊÊýË¡¤Ç¥³¥Þ¥ó¥É ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¤òÆÉ¤à¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤È¤¹¤ì¤Ð¡¢ºÇ¤âÉáÄ̤ÎÊýË¡¤ÇÂÐÏÃŪ¤Ë ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¤½¤Î¥×¥í¥°¥é¥à¤ò¼Â¹Ô¤¹¤ë»þ¤Ë¡¢¼¡¤ÎÆâÍÆ¤ò¼¨¤¹Ê¸¸À¤¬¥×¥ê¥ó ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¥¿¤Ø°õ»ú¤µ¤ì¤ë¤«¡¢°¿¤¤¤Ï²èÌ̤Ëɽ¼¨¤µ¤ì¤ë¤³¤È¡£ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¦Å¬ÀÚ¤ÊÃøºî¸¢É½¼¨¡£ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¦ÌµÊݾڤǤ¢¤ë¤³¤È¡Ê¤¢¤Ê¤¿¤¬ÆÈ¼«¤ËÊݾڤ¹¤ë¾ì¹ç¤Ï¡¢¤½¤Î»Ý¡Ë¡£ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¦ÈÒÉÛ¤ò¼õ¤±¤ë¼Ô¤â¡¢ËÜ»ÈÍѵöÂú¤ÈƱ°ì¤Î¾ò¹à¤Ë½¾¤Ã¤Æ¡Ö¥×¥í ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¥°¥é¥à¡×¤òºÆÈÒÉۤǤ­¤ë¤³¤È¡£ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¦ÈÒÉÛ¤ò¼õ¤±¤ë¼Ô¤¬ËÜ»ÈÍѵöÂú½ñ¤Î¼Ì¤·¤ò»²¾È¤¹¤ëÊýË¡¡£ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÊÎã³°¤È¤·¤Æ¡¢¡Ö¥×¥í¥°¥é¥à¡×¼«ÂΤÏÂÐÏÃŪ¤Ç¤¢¤Ã¤Æ¤âµ¯Æ°»þ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¤Îʸ¸À¤òÄ̾ï¤Ï°õ»ú¤·¤Ê¤¤¤Î¤Ê¤é¤Ð¡¢¤¢¤Ê¤¿¤Î¡Ö¥×¥í¥°¥é¥àÀ¸ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡À®Êª¡×¤Ï¤³¤Î¤è¤¦¤Êʸ¸À¤ò°õ»ú¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£¡Ë ¡¡¡¡¡¡¡¡¤³¤ì¤é¤ÎÍ×·ï¤ÏÊѹ¹¤µ¤ì¤¿ºîÀ®Êª¤Ë¤âÁ´¤ÆÅ¬ÍѤµ¤ì¤Þ¤¹¡£¤½¤ÎÊѹ¹ÈÇ ¡¡¡¡¡¡¡¡¤Î°¿¤ëÉôʬ¤¬¡Ö¥×¥í¥°¥é¥à¡×¤ÎÇÉÀ¸Êª¤Ç¤Ï¤Ê¤¯¡¢¤·¤«¤â¤½¤ì¼«ÂÎÆÈΩ ¡¡¡¡¡¡¡¡¤Ç°Û¤Ê¤ëºîÀ®Êª¤À¤È¹çÍýŪ¤Ë¹Í¤¨¤é¤ì¤ë¾ì¹ç¡¢¤¢¤Ê¤¿¤¬¤½¤ì¤é¤òÊ̤Π¡¡¡¡¡¡¡¡ºîÀ®Êª¤È¤·¤ÆÈÒÉÛ¤·¤¿»þ¤Ï¡¢ËÜ»ÈÍѵöÂú¤È¤½¤Î¾ò¹à¤Ï¤½¤ì¤é¤ÎÉôʬ¤Ë ¡¡¡¡¡¡¡¡¤ÏŬÍѤµ¤ì¤Þ¤»¤ó¡£¤·¤«¤·¡¢¤½¤ì¤é¤ò¡Ö¥×¥í¥°¥é¥àÀ¸À®Êª¡×¤Î°ìÉô¤È ¡¡¡¡¡¡¡¡¤·¤ÆÈÒÉÛ¤¹¤ë¾ì¹ç¤Ï¡¢Á´ÂΤ¬ËÜ»ÈÍѵöÂú¤Î¾ò¹à¤Ë½¾¤Ã¤ÆÈÒÉÛ¤µ¤ì¤Ê¤± ¡¡¡¡¡¡¡¡¤ì¤Ð¤Ê¤é¤º¡¢»ÈÍѵöÂú¤ò¼õ¤±¤ë¾¤ÎÁ´¤Æ¤Î¼Ô¤ËÂФ¹¤ëµöÂú¤â¥×¥í¥°¥é ¡¡¡¡¡¡¡¡¥àÁ´ÂΤˤ錄¤Ã¤ÆÍ¿¤¨¤é¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¢·ë²Ì¤È¤·¤Æ¡¢Ã¯¤¬½ñ¤¤¤¿ ¡¡¡¡¡¡¡¡¤«¤Ë¤«¤«¤ï¤é¤º¡¢Á´¤Æ¤ÎÉôʬ¤ËËÜ»ÈÍѵöÂú¤¬Å¬ÍѤµ¤ì¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ ¡¡¡¡¡¡¡¡¤»¤ó¡£ ¡¡¡¡¡¡¡¡¤³¤Î¤è¤¦¤Ë¡¢Ëܾò¹à¤Î°Õ¿Þ¤¹¤ë¤È¤³¤í¤Ï¡¢´°Á´¤Ë¤¢¤Ê¤¿¤Ë¤è¤Ã¤Æ½ñ¤« ¡¡¡¡¡¡¡¡¤ì¤¿ºîÀ®Êª¤Ë¤Ä¤¤¤Æ¡¢¸¢Íø¤òÍ׵ᤷ¤¿¤ê¡¢¤¢¤Ê¤¿¤È¸¢Íø´Ø·¸¤òÁ褦¤³ ¡¡¡¡¡¡¡¡¤È¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤à¤·¤í¤½¤ÎÌÜŪ¤Ï¡¢ºîÀ®Êª¤¬¡Ö¥×¥í¥°¥é¥àÀ¸À®Êª¡× ¡¡¡¡¡¡¡¡¤Ç¤¢¤ë¾ì¹ç¤Ë¤½¤ÎÇÉÀ¸Êª¤ä½¸¹çʪ¤ÎÈÒÉÛ¤òµ¬À©¤¹¤ë¤³¤È¤Ë¤¢¤ê¤Þ¤¹¡£ ¡¡¡¡¡¡¡¡¤µ¤é¤Ë¡¢¡Ö¥×¥í¥°¥é¥à¡×¡ÊËô¤Ï¡Ö¥×¥í¥°¥é¥àÀ¸À®Êª¡×¡Ë¡¡¤È¡Ö¥×¥í¥° ¡¡¡¡¡¡¡¡¥é¥àÀ¸À®Êª¡×¤È¤Ï¤Ê¤é¤Ê¤¤Â¾¤Î¥×¥í¥°¥é¥à¤È¤ò¡¢Ã±¤ËÊݴɤäÈÒÉۤΤ¿ ¡¡¡¡¡¡¡¡¤á¤ËƱ°ì¤ÎÇÞÂξå¤Ë¤Þ¤È¤á¤Æµ­Ï¿¤·¤¿¤È¤·¤Æ¤â¡¢ËÜ»ÈÍѵöÂú¤Ï¾¤Î¥× ¡¡¡¡¡¡¡¡¥í¥°¥é¥à¤Ë¤ÏŬÍѤµ¤ì¤Þ¤»¤ó¡£ ¡¡£´¡¥¡¡¤¢¤Ê¤¿¤Ï¡¢°Ê²¼¤Î¤¦¤Á¤¤¤º¤ì¤«£±¤Ä¤òËþ¤¿¤¹¸Â¤ê¡¢¾åµ­Â裲¹àµÚ¤ÓÂè ¡¡¡¡¡¡¡¡£³¹à¤Ë½¾¤Ã¤Æ¡Ö¥×¥í¥°¥é¥à¡×¡ÊËô¤Ï¡¢¾åµ­Â裳¹à¤Ç¸ÀµÚ¤·¤Æ¤¤¤ë¡Ö¥× ¡¡¡¡¡¡¡¡¥í¥°¥é¥àÀ¸À®Êª¡×¡Ë¤ò¥ª¥Ö¥¸¥§¥¯¥È¡¦¥³¡¼¥ÉËô¤Ï¼Â¹Ô²Äǽ¤Ê·Á¼°¤ÇÊ£ ¡¡¡¡¡¡¡¡À½µÚ¤ÓÈÒÉÛ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¡¡¡¡¡¡¡¡¡Ê£á¡ËÂбþ¤¹¤ëµ¡³£ÆÉ¤ß¼è¤ê²Äǽ¤Ê¥½¡¼¥¹¡¦¥³¡¼¥É°ì¼°¤ò°ì½ï¤Ë°ú¤­ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÅϤ¹¤³¤È¡£¤½¤Î¾ì¹ç¡¢¤½¤Î¥½¡¼¥¹¡¦¥³¡¼¥É¤Î°ú¤­ÅϤ·¤Ï¾åµ­Âè ¡¡¡¡¡¡¡¡¡¡¡¡¡¡£²¹àµÚ¤ÓÂ裳¹à¤Ë½¾¤Ã¤Æ¡¢Ä̾諒¥Õ¥È¥¦¥§¥¢¤Î¸ò´¹¤ËÍѤ¤¤é¤ì ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¤ëÇÞÂΤǹԤʤï¤ì¤ë¤³¤È¡£ ¡¡¡¡¡¡¡¡¡Ê£â¡Ë¾¯¤Ê¤¯¤È¤â£³Ç¯´Ö¤ÎÍ­¸ú´ü´Ö¤òÄê¤á¡¢³î¤Ä¤½¤Î´ü´ÖÆâ¤Ç¤¢¤ì¤Ð ¡¡¡¡¡¡¡¡¡¡¡¡¡¡Âбþ¤¹¤ëµ¡³£ÆÉ¤ß¼è¤ê²Äǽ¤Ê¥½¡¼¥¹¡¦¥³¡¼¥É°ì¼°¤ÎÊ£À½¤ò¡¢¥½¡¼ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¥¹ÈÒÉۤ˴ؤï¤ë¼ÂÈñ°Ê¾å¤ÎÂвÁ¤òÍ׵᤻¤º¤ËÄ󶡤¹¤ë»Ý¡¢µÚ¤Ó ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¤½¤Î¾ì¹ç¤Ë¤Ï¾åµ­Â裲¹àµÚ¤ÓÂ裳¹à¤Ë½¾¤Ã¤Æ¡¢Ä̾諒¥Õ¥È¥¦¥§ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¥¢¤Î¸ò´¹¤ËÍѤ¤¤é¤ì¤ëÇÞÂΤÇÄ󶡤µ¤ì¤ë»Ý¤òµ­ºÜ¤·¤¿½ñÌ̤ò¡¢ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡Âè»°¼Ô¤Ë°ì½ï¤Ë°ú¤­ÅϤ¹¤³¤È¡£ ¡¡¡¡¡¡¡¡¡Ê£ã¡ËÂбþ¤¹¤ë¥½¡¼¥¹¡¦¥³¡¼¥ÉÈÒÉۤ、·½Ð¤ËºÝ¤·¤Æ¡¢¤¢¤Ê¤¿¤¬ÆÀ¤¿ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¾ðÊó¤ò°ì½ï¤Ë°ú¤­ÅϤ¹¤³¤È¡£¡Ê¤³¤ÎÁªÂò»è¤Ï¡¢±ÄÍø¤òÌÜŪ¤È¤· ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¤Ê¤¤ÈÒÉۤǤ¢¤Ã¤Æ¡¢³î¤Ä¤¢¤Ê¤¿¤¬¾åµ­¤Î¡Ê£â¡Ë¹à¤Ë´ð¤Å¤¤¤Æ¡¢ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¥ª¥Ö¥¸¥§¥¯¥È¡¦¥³¡¼¥É°¿¤¤¤Ï¼Â¹Ô²Äǽ·Á¼°¤Î¥×¥í¥°¥é¥à¤·¤«Æþ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¼ê¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë¸Â¤êŬÍѤµ¤ì¤ëÁªÂò¹àÌܤǤ¹¡£¡Ë ¡¡¡¡¡¡¡¡¤Ê¤ª¡¢¥½¡¼¥¹¡¦¥³¡¼¥É¤È¤Ï¡¢Êѹ¹ºî¶È¤ËŬ¤·¤¿µ­½Ò·Á¼°¤ò»Ø¤·¤Þ¤¹¡£ ¡¡¡¡¡¡¡¡¤Þ¤¿¡¢¼Â¹Ô²Äǽ·Á¼°¤Î¥Õ¥¡¥¤¥ë¤ËÂбþ¤¹¤ë¥½¡¼¥¹¡¦¥³¡¼¥É°ì¼°¤È¤Ï¡¢ ¡¡¡¡¡¡¡¡¤½¤ì¤Ë´Þ¤Þ¤ì¤ëÁ´¥â¥¸¥å¡¼¥ë¤ËÂбþ¤¹¤ëÁ´¤Æ¤Î¥½¡¼¥¹¡¦¥³¡¼¥É¡¢µÚ¤Ó ¡¡¡¡¡¡¡¡¤¢¤é¤æ¤ë´ØÏ¢¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹ÄêµÁ¥Õ¥¡¥¤¥ë¡¢µÚ¤Ó¼Â¹Ô¤ò²Äǽ¤Ë¤¹¤ë ¡¡¡¡¡¡¡¡¥³¥ó¥Ñ¥¤¥ë¤È¥¤¥ó¥¹¥È¡¼¥ë¤ÎÀ©¸æ¤Ë´Ø¤¹¤ëµ­½Ò¤ò»Ø¤·¤Þ¤¹¡£ÆÃÊ̤ÊÎã ¡¡¡¡¡¡¡¡³°¤È¤·¤Æ¡¢¼Â¹Ô²Äǽ¤Ê¥Õ¥¡¥¤¥ë¤¬Æ°ºî¤¹¤ë¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¡¦¥·¥¹¥Æ ¡¡¡¡¡¡¡¡¥à¤Î¼çÍפʹ½À®Í×Áǡʥ³¥ó¥Ñ¥¤¥é¡¢¥«¡¼¥Í¥ë¤Ê¤É¡Ë¡¡¤È¶¦¤Ë¡Ê¥½¡¼¥¹¡¦ ¡¡¡¡¡¡¡¡¥³¡¼¥ÉËô¤Ï¥Ð¥¤¥Ê¥ê¤Î¤É¤Á¤é¤«¤Ç¡Ë¡¡ÈÒÉÛ¤µ¤ì¤Æ¤¤¤ë¤â¤Î¤Ë¤Ä¤¤¤Æ¤Ï¡¢ ¡¡¡¡¡¡¡¡¤½¤Î¹½À®Í×ÁǼ«ÂΤ¬¼Â¹Ô·Á¼°¤ËÉտ路¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë¸Â¤ê¡¢ÈÒÉÛ¤µ¤ì ¡¡¡¡¡¡¡¡¤ë¥½¡¼¥¹¡¦¥³¡¼¥É¤Ë´Þ¤á¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ ¡¡¡¡¡¡¡¡¼Â¹Ô²Äǽ·Á¼°¤Þ¤¿¤Ï¥ª¥Ö¥¸¥§¥¯¥È¡¦¥³¡¼¥É¤ÎÈÒÉÛ¤¬¡¢»Ø¼¨¤µ¤ì¤¿¾ì½ê ¡¡¡¡¡¡¡¡¤«¤é¤ÎÊ£À½¤Î¤¿¤á¤Î¥¢¥¯¥»¥¹¸¢¤ÎÉêÍ¿¤Ç¤¢¤ë¾ì¹ç¡¢Æ±¤¸¾ì½ê¤«¤é¤Î¥½¡¼ ¡¡¡¡¡¡¡¡¥¹¡¦¥³¡¼¥É¤ÎÊ£À½¤Î¤¿¤á¤ÎƱÅù¤Ê¥¢¥¯¥»¥¹¸¢¤òÉêÍ¿¤¹¤ì¤Ð¡¢¤¿¤È¤¨Âè ¡¡¡¡¡¡¡¡»°¼Ô¤Ë¥ª¥Ö¥¸¥§¥¯¥È¡¦¥³¡¼¥É¤È¶¦¤Ë¥½¡¼¥¹¤ÎÊ£À½¤ò¶¯¤¤¤Ê¤¯¤È¤â¡¢¥½¡¼ ¡¡¡¡¡¡¡¡¥¹¡¦¥³¡¼¥É¤òÈÒÉÛ¤·¤¿¤â¤Î¤È¤ß¤Ê¤·¤Þ¤¹¡£ ¡¡£µ¡¥¡¡ËÜ»ÈÍѵöÂú¤¬ÌÀ¼¨Åª¤ËµöÂú¤·¤Æ¤¤¤ë¾ì¹ç¤ò½ü¤­¡¢¤¢¤Ê¤¿¤Ï¡¢¡Ö¥×¥í¥° ¡¡¡¡¡¡¡¡¥é¥à¡×¤òÊ£À½¡¢Êѹ¹¡¢¥µ¥Ö¥é¥¤¥»¥ó¥¹¡¢ÈÒÉÛ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó¡£ ¡¡¡¡¡¡¡¡ËÜ»ÈÍѵöÂú¤Ë½¾¤ï¤º¤Ë¡Ö¥×¥í¥°¥é¥à¡×¤òÊ£À½¡¢Êѹ¹¡¢¥µ¥Ö¥é¥¤¥»¥ó¥¹¡¢ ¡¡¡¡¡¡¡¡ÈÒÉÛ¤·¤è¤¦¤È¤¹¤ë¹Ô°Ù¤Ï¡¢¤½¤ì¼«ÂΤ¬Ìµ¸ú¤Ç¤¢¤ê¡¢³î¤Ä¡¢ËÜ»ÈÍѵöÂú ¡¡¡¡¡¡¡¡¤¬¤¢¤Ê¤¿¤ËµöÂú¤·¤Æ¤¤¤ë¡Ö¥×¥í¥°¥é¥à¡×¤Î¸¢Íø¤ò¼«Æ°Åª¤Ë¾ÃÌǤµ¤»¤Þ ¡¡¡¡¡¡¡¡¤¹¡£¤½¤Î¾ì¹ç¡¢ËÜ»ÈÍѵöÂú¤Ë½¾¤Ã¤Æ¤¢¤Ê¤¿¤«¤éÊ£À½Êª¤ä¤½¤Î¸¢Íø¤òÆÀ ¡¡¡¡¡¡¡¡¤Æ¤¤¤ëÂè»°¼Ô¤Ï¡¢ËÜ»ÈÍѵöÂú¤Ë´°Á´¤Ë½¾¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¸Â¤ê¡¢°ú³¤­ ¡¡¡¡¡¡¡¡Í­¸ú¤Ê»ÈÍѸ¢¸Â¤ò»ý¤Ä¤â¤Î¤È¤·¤Þ¤¹¡£ ¡¡£¶¡¥¡¡¤¢¤Ê¤¿¤Ï¤Þ¤ÀƱ°Õ¤Î°õ¤È¤·¤Æ½ð̾¤·¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢ËÜ»ÈÍѵöÂú¤ò¼õ¤± ¡¡¡¡¡¡¡¡Æþ¤ì¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£¤·¤«¤·¡¢¤¢¤Ê¤¿¤Ë¡Ö¥×¥í¥°¥é¥à¡×Ëô¤Ï¤½¤Î ¡¡¡¡¡¡¡¡ÇÉÀ¸Êª¤òÊѹ¹Ëô¤ÏºÆÈÒÉÛ¤¹¤ëµö²Ä¤òÍ¿¤¨¤ë¤â¤Î¤ÏËÜ»ÈÍѵöÂú°Ê³°¤Ë¤Ï ¡¡¡¡¡¡¡¡¤¢¤ê¤Þ¤»¤ó¡£¤³¤ì¤é¤Î¹Ô°Ù¤Ï¡¢¤¢¤Ê¤¿¤¬¤â¤·ËÜ»ÈÍѵöÂú¤ò¼õ¤±Æþ¤ì¤Ê ¡¡¡¡¡¡¡¡¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢Ë¡Î§¤Ë¤è¤Ã¤Æ¶Ø¤¸¤é¤ì¤Þ¤¹¡£½¾¤Ã¤Æ¡¢¤¢¤Ê¤¿¤¬¡Ö¥×¥í ¡¡¡¡¡¡¡¡¥°¥é¥à¡×¡ÊËô¤Ï¡Ö¥×¥í¥°¥é¥àÀ¸À®Êª¡×¡Ë¤ÎÊѹ¹Ëô¤ÏÈÒÉÛ¤ò¹Ô¤¨¤Ð¡¢¤½ ¡¡¡¡¡¡¡¡¤ì¼«ÂΤǤ¢¤Ê¤¿¤ÏËÜ»ÈÍѵöÂú¤ò¼õ¤±Æþ¤ì¡¢³î¤Ä¡¢¡Ö¥×¥í¥°¥é¥à¡×Ëô¤Ï ¡¡¡¡¡¡¡¡¤½¤Î¡Ö¥×¥í¥°¥é¥àÀ¸À®Êª¡×¤ÎÊ£À½¡¢ÈÒÉÛ¡¢Êѹ¹¤Ë´Ø¤¹¤ë¤³¤ì¤é¤Î¾ò¹à ¡¡¡¡¡¡¡¡¤È¾ò·ï¤ÎÁ´¤Æ¤ò¼õ¤±Æþ¤ì¤¿¤³¤È¤ò¼¨¤·¤Þ¤¹¡£ ¡¡£·¡¥¡¡¤¢¤Ê¤¿¤¬¡Ö¥×¥í¥°¥é¥à¡×¡ÊËô¤Ï¤½¤Î¡Ö¥×¥í¥°¥é¥àÀ¸À®Êª¡×¡Ë¤òºÆÈÒÉÛ ¡¡¡¡¡¡¡¡¤¹¤ë¤È¼«Æ°Åª¤Ë¡¢¤½¤Î¼õÎμԤϡ¢¸µ¤Î»ÈÍѵöÂú¼Ô¤«¤é¡¢ËÜ»ÈÍѵöÂú¤Î ¡¡¡¡¡¡¡¡¾ò¹à¤Ë½¾¤Ã¤Æ¡Ö¥×¥í¥°¥é¥à¡×¤òÊ£À½¡¢ÈÒÉÛ¡¢Êѹ¹¤¹¤ë¤³¤È¤òÆâÍÆ¤È¤¹ ¡¡¡¡¡¡¡¡¤ë»ÈÍѵöÂú¤ò¼õ¤±¤¿¤â¤Î¤È¤·¤Þ¤¹¡£¤¢¤Ê¤¿¤Ï¡¢¼õÎμԤ˵öÂú¤µ¤ì¤¿¸¢ ¡¡¡¡¡¡¡¡Íø¤Î¹Ô»È¤Ë¤Ä¤¤¤Æ¡¢¤µ¤é¤ËÀ©Ìó¤ò²Ã¤¨¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤¢¤Ê¤¿¤Ë ¡¡¡¡¡¡¡¡¤Ï¡¢Âè»°¼Ô¤ËËÜ»ÈÍѵöÂú¤Î¼õ¤±Æþ¤ì¤ò¶¯¤¤¤ëÀÕǤ¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¡¡£¸¡¥¡¡ºÛȽ½ê¤ÎȽ·è¡¢Ëô¤ÏÆÃµö¿¯³²¤Î¿½¤·Î©¤Æ¡¢Ëô¤Ï¡ÊÆÃµöÌäÂê¤Ë¸Â¤é¤Ê¤¤¡Ë ¡¡¡¡¡¡¡¡²¿¤é¤«¤ÎÍýͳ¤Î·ë²Ì¤È¤·¤Æ¡¢¤¢¤Ê¤¿¤Ë²Ý¤»¤é¤ì¤¿¾ò·ï¤¬ËÜ»ÈÍѵöÂú¤È ¡¡¡¡¡¡¡¡ÁêÆþ¤ì¤Ê¤¤¤â¤Î¤Ç¤¢¤Ã¤¿¤È¤·¤Æ¤â¡ÊºÛȽ½ê¤ÎÌ¿Îá¡¢·ÀÌ󡢤½¤Î¾¤Ë¤è ¡¡¡¡¡¡¡¡¤ë¤â¤Î¤Ç¤¢¤ì¡Ë¡¢ËÜ»ÈÍѵöÂú¤Î¾ò·ï¤¬ÌȽü¤µ¤ì¤ë¤â¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¡¡¡¡¡¡¡¡ËÜ»ÈÍѵöÂú¤Ë¤è¤ëÀÕ̳¤È¡¢¤½¤Î¾¤Î²¿¤é¤«¤Î´ØÏ¢ÀÕ̳¤òƱ»þ¤ËËþ¤¿¤¹ ¡¡¡¡¡¡¡¡ÂÖÍͤÇÈÒÉÛ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¤¤Ê¤é¤Ð¡¢¤¢¤Ê¤¿¤Ï¡Ö¥×¥í¥°¥é¥à¡×¤òÁ´ ¡¡¡¡¡¡¡¡¤¯ÈÒÉÛ¤·¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£Î㤨¤Ð¡¢ÆÃµö¸¢¤ÎÆâÍÆ¤¬¡¢¤¢¤Ê¤¿¤«¤éľÀÜ ¡¡¡¡¡¡¡¡Ëô¤Ï´ÖÀܤËÊ£À½¤ò¼õ¤±¼è¤Ã¤¿Á´¤Æ¤Î¿Í¤Ë»ÈÍÑÎÁ¤Î¤Ê¤¤¥×¥í¥°¥é¥à¤ÎºÆ ¡¡¡¡¡¡¡¡ÈÒÉÛ¤òµö¤µ¤Ê¤¤¤â¤Î¤Ç¤¢¤ì¤Ð¡¢¤¢¤Ê¤¿¤¬¤«¤«¤ëÆÃµö¾å¤ÎÍ×ÀÁ¤ÈËÜ»ÈÍÑ ¡¡¡¡¡¡¡¡µöÂú¤ÎξÊý¤òËþ­¤µ¤»¤ëÊýË¡¤Ï¡¢¡Ö¥×¥í¥°¥é¥à¡×¤ÎÈÒÉÛ¤ò´°Á´¤ËÃÇǰ ¡¡¡¡¡¡¡¡¤¹¤ë¤³¤È¤À¤±¤Ç¤¹¡£ ¡¡¡¡¡¡¡¡Ëܾò¹à¤Î°¿¤ëÉôʬ¤¬²¿¤é¤«¤ÎÆÃÊ̤ʾõ¶·²¼¤Ç̵¸ú¤Þ¤¿¤ÏŬÍÑÉÔ²Äǽ¤Ë ¡¡¡¡¡¡¡¡¤Ê¤Ã¤¿¾ì¹ç¡¢Ëܾò¹à¤Î¤½¤Î¾¤Î»Ä¤ê¤ÎÉôʬ¤¬Å¬ÍѤµ¤ì¤ë¤è¤¦¤Ë°Õ¿Þ¤µ ¡¡¡¡¡¡¡¡¤ì¤Æ¤ª¤ê¡¢¤Þ¤¿¡¢Ëܾò¹à¤ÏÁ´ÂΤȤ·¤Æ¤½¤Î¾¤Î¾õ¶·¤ËÅö¤Æ¤Ï¤Þ¤ë¤è¤¦ ¡¡¡¡¡¡¡¡¤Ë°Õ¿Þ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¡¡¡¡¡¡¡¡Ëܾò¹à¤ÎÌÜŪ¤Ï¡¢ÆÃµö¤ä¤½¤Î¾¤Îºâ»º¸¢¤ò¿¯³²¤·¤¿¤ê¡¢¤½¤Î¤è¤¦¤Ê¸¢ ¡¡¡¡¡¡¡¡Íø¤Ë´ð¤Å¤¯¼çÄ¥¤ÎÂÅÅöÀ­¤òÁ褦¤è¤¦¤Ë¤¢¤Ê¤¿¤Ë´«¤á¤ë¤³¤È¤Ç¤Ï¤¢¤ê¤Þ ¡¡¡¡¡¡¡¡¤»¤ó¡£Ëܾò¹à¤ÎÍ£°ì¤ÎÌÜŪ¤Ï¡¢¥Õ¥ê¡¼¡¦¥½¥Õ¥È¥¦¥§¥¢¤ÎÈÒÉÛ¥·¥¹¥Æ¥à ¡¡¡¡¡¡¡¡¤Î´°Á´À­¤ò¼é¤ë¤³¤È¤Ç¡¢¤½¤ì¤Ï¸øÍ­»ÈÍѵöÂú¤Î¼ÂÁ©¤Ë¤è¤Ã¤ÆÍú¹Ô¤µ¤ì ¡¡¡¡¡¡¡¡¤Þ¤¹¡£Â¿¤¯¤Î¿Í¡¹¤¬¡¢¤³¤Î¥·¥¹¥Æ¥à¤Î°ì´Ó¤·¤¿Å¬ÍѤò¿®Íꤷ¤Æ¡¢¤³¤Î ¡¡¡¡¡¡¡¡¥·¥¹¥Æ¥à¤òÄ̤¸¤ÆÈÒÉÛ¤µ¤ì¤Æ¤¤¤ëÉý¹­¤¤ÈϰϤΥ½¥Õ¥È¥¦¥§¥¢¤ËÀˤ·¤ß ¡¡¡¡¡¡¡¡¤Ê¤¤¹×¸¥¤ò¤·¤Æ¤¯¤ì¤Þ¤·¤¿¡£ºîÀ®¼Ô¤ä´ó£¼Ô¤¬Â¾¤Î²¿¤é¤«¤Î¥·¥¹¥Æ¥à ¡¡¡¡¡¡¡¡¤òÄ̤¸¤Æ¥½¥Õ¥È¥¦¥§¥¢¤òÈÒÉÛ¤·¤¿¤¤¤È·è¤á¤ë¤³¤È¤ÏÈà¤é¤Î¼«Í³°Õ»Ö¤Ç ¡¡¡¡¡¡¡¡¤¢¤ê¡¢»ÈÍѵöÂú¤ò¼õ¤±¤ë¼Ô¤Ï¤½¤ÎÁªÂò¤ò¶¯¤¤¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£ ¡¡¡¡¡¡¡¡Ëܾò¹à¤Ï¡¢ËÜ»ÈÍѵöÂú¤Î¾¤Î¾ò¹à¤Î°ÕÌ£ÆâÍÆ¤¬²¿¤Ç¤¢¤ë¤«¤ò´°Á´¤ËÌÀ ¡¡¡¡¡¡¡¡¤é¤«¤Ë¤¹¤ë¤³¤È¤ò°Õ¿Þ¤·¤Æ¤¤¤Þ¤¹¡£ ¡¡£¹¡¥¡¡¡Ö¥×¥í¥°¥é¥à¡×¤ÎÈÒÉÛ¡¦»ÈÍѤ¬¡¢¤¢¤ë¹ñ¤Ë¤ª¤¤¤ÆÆÃµöËô¤ÏÃøºî¸¢¤ÇÊÝ ¡¡¡¡¡¡¡¡¸î¤µ¤ì¤¿¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î¤É¤Á¤é¤«¤ÇÀ©¸Â¤µ¤ì¤ë¾ì¹ç¡¢¡Ö¥×¥í¥°¥é¥à¡× ¡¡¡¡¡¡¡¡¤òËÜ»ÈÍѵöÂú²¼¤Ë¤ª¤¤¤¿¸¶Ãøºî¸¢ÊÝ»ý¼Ô¤Ï¡¢¤½¤Î¹ñ¤ò½ü³°¤¹¤ë»Ý¤ÎÌÀ ¡¡¡¡¡¡¡¡¼¨Åª¤ÊÈÒÉÛÃϰèÀ©¸Â¤ò²Ã¤¨¡¢¤½¤ì°Ê³°¤Î¡Ê½ü³°¤µ¤ì¤Ê¤¤¡Ë¡¡¹ñ¤Ë¸ÂÄê ¡¡¡¡¡¡¡¡¤·¤ÆÈÒÉÛ¤¬µö¤µ¤ì¤ë¤è¤¦¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤Î¤è¤¦¤Ê¾ì¹ç¡¢¤½ ¡¡¡¡¡¡¡¡¤ÎÀ©¸Â¤òËÜ»ÈÍѵöÂú¤ÎËÜʸ¤Ë¤¢¤¿¤«¤â½ñ¤«¤ì¤Æ¤¤¤ë¤«¤Î¤è¤¦¤ËËÜ»ÈÍÑ ¡¡¡¡¡¡¡¡µöÂú¤ÎÃæ¤ËÁÈ¤ßÆþ¤ì¤é¤ì¤ë¤â¤Î¤È¤·¤Þ¤¹¡£ £±£°¡¥¡¡Free Software Foundation ¤Ï¿ï»þ¡¢ËܰìÈ̸øÍ­»ÈÍѵöÂú¤Î²þÄûÈÇ¡¢ ¡¡¡¡¡¡¡¡Ëô¤Ï¿·ÈǤò¸øÉ½¤¹¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£¤½¤Î¤è¤¦¤Ê¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤Ï¡¢ ¡¡¡¡¡¡¡¡¸½¹Ô¤Î¥Ð¡¼¥¸¥ç¥ó¤È´ðËÜŪ¤ËÊѤï¤ë¤È¤³¤í¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢¿·¤·¤¤Ìä ¡¡¡¡¡¡¡¡Âê¤ä·ü°Æ»ö¹à¤ËÂбþ¤¹¤ë¤¿¤á¤ËºÙÉô¤Ç¤Ï°Û¤Ê¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¡¡¡¡¡¡¡¡³Æ¥Ð¡¼¥¸¥ç¥ó¤Ï¡¢¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤Ë¤è¤Ã¤Æ¶èÊ̤·¤Þ¤¹¡£¡Ö¥×¥í¥°¥é¥à¡× ¡¡¡¡¡¡¡¡Ãæ¤ËËÜ»ÈÍѵöÂú¤Î¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤Î»ØÄ꤬¤¢¤ë¾ì¹ç¤Ï¡¢¤½¤Î»ØÄꤵ¤ì ¡¡¡¡¡¡¡¡¤¿¥Ð¡¼¥¸¥ç¥ó¤«¡¢Ëô¤Ï¤½¤Î¸å¤Ë Free Software Foundation ¤«¤é¸øÉ½ ¡¡¡¡¡¡¡¡¤µ¤ì¤Æ¤¤¤ë¤¤¤º¤ì¤«¤Î¥Ð¡¼¥¸¥ç¥ó¤«¤é£±¤Ä¤òÁªÂò¤·¤Æ¡¢¤½¤Î¾ò¹à¤È¾ò ¡¡¡¡¡¡¡¡·ï¤Ë½¾¤Ã¤Æ¤¯¤À¤µ¤¤¡£¡Ö¥×¥í¥°¥é¥à¡×Ãæ¤ËËÜ»ÈÍѵöÂú¤Î¥Ð¡¼¥¸¥ç¥óÈÖ ¡¡¡¡¡¡¡¡¹æ¤Î»ØÄ꤬¤Ê¤¤¾ì¹ç¤Ï¡¢Free Software Foundation ¤¬¸øÉ½¤·¤¿¤É¤Î ¡¡¡¡¡¡¡¡¥Ð¡¼¥¸¥ç¥ó¤Ç¤âÁªÂò¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ £±£±¡¥¡¡¡Ö¥×¥í¥°¥é¥à¡×¤Î°ìÉô¤òÈÒÉÛ¾ò·ï¤Î°Û¤Ê¤ë¾¤Î¥Õ¥ê¡¼¡¦¥×¥í¥°¥é¥à¤Ë ¡¡¡¡¡¡¡¡ÁȤ߹þ¤ß¤¿¤¤¾ì¹ç¤Ï¡¢¤½¤Î³«È¯¼Ô¤Ë½ñÌ̤ǵö²Ä¤òµá¤á¤Æ¤¯¤À¤µ¤¤¡£ ¡¡¡¡¡¡¡¡Free Software Foundation ¤¬Ãøºî¸¢¤ò»ý¤Ã¤Æ¤¤¤ë¥½¥Õ¥È¥¦¥§¥¢¤Ë¤Ä ¡¡¡¡¡¡¡¡¤¤¤Æ¤Ï¡¢ Free Software Foundation ¤Ø½ñÌ̤òÄó½Ð¤·¤Æ¤¯¤À¤µ¤¤¡£¤³ ¡¡¡¡¡¡¡¡¤Î¤è¤¦¤Ê¾ì¹ç¤ËÂбþ¤¹¤ë¤¿¤á¤Ë²æ¡¹¤ÏÎ㳰Ū½èÍý¤ò¤¹¤ë¤³¤È¤â¤¢¤ê¤Þ ¡¡¡¡¡¡¡¡¤¹¤¬¡¢¤½¤ÎȽÃÇ´ð½à¤È¤Ê¤ë¤Î¤Ï¡¢¼¡¤Î£²¤Ä¤ÎÌÜɸ¤Î¼Â¸½¤Ë¹çÃפ¹¤ë¤« ¡¡¡¡¡¡¡¡Èݤ«¤È¤¤¤¦ÅÀ¤Ç¤¹¡£Â¨¤Á¡¢£±¤Ä¤Ï²æ¡¹¤Î¥Õ¥ê¡¼¡¦¥½¥Õ¥È¥¦¥§¥¢¤ÎÁ´¤Æ ¡¡¡¡¡¡¡¡¤ÎÇÉÀ¸Êª¤ò¥Õ¥ê¡¼¤Ê¾õÂÖ¤ËÊݤĤ³¤È¤Ç¤¢¤ê¡¢¤â¤¦£±¤Ä¤Ï¥½¥Õ¥È¥¦¥§¥¢ ¡¡¡¡¡¡¡¡¤Î¶¦Í­¤ÈºÆÍøÍѤȤò¹­¤¯Â¥¿Ê¤µ¤»¤ë¤³¤È¤Ç¤¹¡£ ̵ÊÝ¾Ú ------ £±£²¡¥¡¡¡Ö¥×¥í¥°¥é¥à¡×¤Ï̵½þ¤Ç»ÈÍѵöÂú¤µ¤ì¤Þ¤¹¤Î¤Ç¡¢Å¬ÍÑË¡Îá¤ÎÈÏ°ÏÆâ¤Ç¡¢ ¡¡¡¡¡¡¡¡¡Ö¥×¥í¥°¥é¥à¡×¤ÎÊݾڤϰìÀÚ¤¢¤ê¤Þ¤»¤ó¡£Ãøºî¸¢¼Ô¤ä¤½¤Î¾¤ÎÂè»°¼Ô ¡¡¡¡¡¡¡¡¤ÏÁ´¤¯ÌµÊݾڤǡ֤½¤Î¤Þ¤Þ¡×¤Î¾õÂ֤ǡ¢³î¤Ä¡¢ÌÀ¼¨¤«°ÅÌۤǤ¢¤ë¤«¤ò ¡¡¡¡¡¡¡¡Ìä¤ï¤º°ìÀÚ¤ÎÊݾڤò¤Ä¤±¤Ê¤¤¤ÇÄ󶡤¹¤ë¤â¤Î¤È¤·¤Þ¤¹¡£¤³¤³¤Ç¤¤¤¦ÊÝ ¡¡¡¡¡¡¡¡¾Ú¤È¤Ï¡¢»Ô¾ìÀ­¤äÆÃÄêÌÜŪŬ¹çÀ­¤Ë¤Ä¤¤¤Æ¤Î°ÅÌÛ¤ÎÊݾڤâ´Þ¤Þ¤ì¤Þ¤¹ ¡¡¡¡¡¡¡¡¤¬¡¢¤½¤ì¤Ë¸ÂÄꤵ¤ì¤ë¤â¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£¡Ö¥×¥í¥°¥é¥à¡×¤ÎÉʼÁ¤ä ¡¡¡¡¡¡¡¡À­Ç½¤Ë´Ø¤¹¤ëÁ´¤Æ¤Î¥ê¥¹¥¯¤Ï¤¢¤Ê¤¿¤¬É餦¤â¤Î¤È¤·¤Þ¤¹¡£¡Ö¥×¥í¥°¥é ¡¡¡¡¡¡¡¡¥à¡×¤Ë·ç´Ù¤¬¤¢¤ë¤È¤ï¤«¤Ã¤¿¾ì¹ç¡¢¤½¤ì¤Ëȼ¤¦°ìÀÚ¤ÎÇÉÀ¸ÈñÍѤ佤Íý¡¦ ¡¡¡¡¡¡¡¡ÄûÀµ¤ËÍפ¹¤ëÈñÍѤÏÁ´¤Æ¤¢¤Ê¤¿¤ÎÉéô¤È¤·¤Þ¤¹¡£ £±£³¡¥¡¡Å¬ÍÑË¡Îá¤ÎÄê¤á¡¢Ëô¤Ï½ñÌ̤ˤè¤ë¹ç°Õ¤¬¤¢¤ë¾ì¹ç¤ò½ü¤­¡¢Ãøºî¸¢¼Ô¤ä ¡¡¡¡¡¡¡¡¾åµ­µöÂú¤ò¼õ¤±¤Æ¡Ö¥×¥í¥°¥é¥à¡×¤ÎÊѹ¹¡¦ºÆÈÒÉÛ¤ò°Ù¤·ÆÀ¤ëÂè»°¼Ô¤Ï¡¢ ¡¡¡¡¡¡¡¡¡Ö¥×¥í¥°¥é¥à¡×¤ò»ÈÍѤ·¤¿¤³¤È¡¢¤Þ¤¿¤Ï»ÈÍѤǤ­¤Ê¤¤¤³¤È¤Ëµ¯°ø¤¹¤ë ¡¡¡¡¡¡¡¡°ìÀڤλ³²¤Ë¤Ä¤¤¤Æ²¿¤é¤ÎÀÕǤ¤âÉ餤¤Þ¤»¤ó¡£Ãøºî¸¢¼Ô¤äÁ°µ­¤ÎÂè»° ¡¡¡¡¡¡¡¡¼Ô¤¬¡¢¤½¤Î¤è¤¦¤Ê»³²¤ÎȯÀ¸¤¹¤ë²ÄǽÀ­¤Ë¤Ä¤¤¤ÆÃΤ餵¤ì¤Æ¤¤¤¿¾ì¹ç ¡¡¡¡¡¡¡¡¤Ç¤âƱÍͤǤ¹¡£¤Ê¤ª¡¢¤³¤³¤Ç¤¤¤¦Â»³²¤Ë¤ÏÄ̾ﻳ²¡¢ÆÃÊÌ»³²¡¢¶öȯ ¡¡¡¡¡¡¡¡Â»³²¡¢´ÖÀÜ»³²¤¬´Þ¤Þ¤ì¤Þ¤¹¡Ê¥Ç¡¼¥¿¤Î¾Ã¼º¡¢Ëô¤Ï¤½¤ÎÀµ³Î¤µ¤ÎÁÓ¼º¡¢ ¡¡¡¡¡¡¡¡¤¢¤Ê¤¿¤äÂè»°¼Ô¤¬Èï¤Ã¤¿Â»¼º¡¢Â¾¤Î¥×¥í¥°¥é¥à¤È¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î ¡¡¡¡¡¡¡¡ÉÔŬ¹ç²½¡¢Åù¤â´Þ¤Þ¤ì¤Þ¤¹¤¬¡¢¤³¤ì¤Ë¸ÂÄꤵ¤ì¤ë¤â¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡Ë¡£ ¡¡¡¡¡¡¡¡°Ê¾å Ãí°Õ ¡ö¡ö ¡¡±Ñʸʸ½ñ (GNU General Public License) ¤òÀµ¼°Ê¸½ñ¤È¤¹¤ë¡£¤³¤ÎÏÂʸʸ½ñ ¤ÏÊÛ¸î»Î¤Î°Õ¸«¤òºÎ¤êÆþ¤ì¤Æ¡¢¤Ç¤­¤ë¤À¤±Àµ³Î¤Ë±Ñʸʸ½ñ¤òËÝÌõ¤·¤¿¤â¤Î¤Ç¤¢ ¤ë¤¬¡¢Ë¡Î§Åª¤ËÍ­¸ú¤Ê·ÀÌó½ñ¤Ç¤Ï¤Ê¤¤¡£ ÏÂʸʸ½ñ¼«ÂΤκÆÇÛÉۤ˴ؤ·¤Æ ¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö ¡¡¤¤¤«¤Ê¤ëÇÞÂΤǤ⼡¤Î¾ò·ï¤¬¤¹¤Ù¤ÆËþ¤¿¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¸Â¤ê¡¢ËÜÏÂʸʸ½ñ ¤ò¤½¤Î¤Þ¤ÞÊ£¼Ì¤·ÇÛÉÛ¤¹¤ë¤³¤È¤òµö²Ä¤¹¤ë¡£¤Þ¤¿¡¢¤¢¤Ê¤¿¤ÏÂè»°¼Ô¤ËÂФ·¤ÆËÜ µö²Ä¹ðÃÎ¤ÈÆ±°ì¤Îµö²Ä¤òÍ¿¤¨¤ë¾ì¹ç¤Ë¸Â¤ê¡¢ºÆÇÛÉÛ¤¹¤ë¤³¤È¤¬µö²Ä¤µ¤ì¤Æ¤¤¤Þ ¤¹¡£ ¡¡¡¡¡¡¡¦¼õÎΡ¢ÇÛÉÛ¤µ¤ì¤¿¥³¥Ô¡¼¤ËÃøºî¸¢É½¼¨¤ª¤è¤ÓËܵöÂú¹ðÃΤ¬Á°¤â¤Ã¤ÆºÜ ¡¡¡¡¡¡¡¡¤»¤é¤ì¤Æ¤¤¤ë¤³¤È¡£¡¡ ¡¡¡¡¡¡¡¦¥³¥Ô¡¼¤Î¼õÎμԤ¬¤µ¤é¤ËºÆÇÛÉÛ¤¹¤ë¾ì¹ç¡¢¤½¤ÎÇÛÉÛ¼Ô¤¬ËܹðÃÎ¤ÈÆ±¤¸ ¡¡¡¡¡¡¡¡µö²Ä¤òÍ¿¤¨¤Æ¤¤¤ë¤³¤È¡£ ¡¡¡¡¡¡¡¦ÏÂʸʸ½ñ¤ÎËÜʸ¤ò²þÊѤ·¤Ê¤¤¤³¤È¡£ ------------------------------------------------------------------------------ ¤¢¤Ê¤¿¤Î¿·¤·¤¤¥×¥í¥°¥é¥à¤Ë¤³¤ì¤é¤Î¾ò¹à¤òŬÍѤ¹¤ëÊýË¡ ¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á¡á ¡¡¤¢¤Ê¤¿¤¬¿·¤·¤¯¥×¥í¥°¥é¥à¤òºîÀ®¤·¡¢¤½¤ì¤ò¸øÍѤ˶¡¤·¤¿¤¤¾ì¹ç¤Ï¡¢¥×¥í¥° ¥é¥à¤ò¥Õ¥ê¡¼¡¦¥½¥Õ¥È¥¦¥§¥¢¤Ë¤·¤Æ¡¢Á´¤Æ¤Î¿Í¡¹¤¬°Ê¾å¤Î³Æ¾ò¹à¤Ë½¾¤Ã¤Æ¤³¤ì ¤òºÆÈÒÉÛ¤äÊѹ¹¤ò¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë¤Î¤¬ºÇÎɤÎÊýË¡¤Ç¤¹¡£ ¡¡¤½¤¦¤¹¤ë¤¿¤á¤Ë¤Ï¡¢¥×¥í¥°¥é¥à¤Ë°Ê²¼¤Îɽ¼¨¤ò¤·¤Æ¤¯¤À¤µ¤¤¡£¤½¤Î¾ì¹ç¡¢Ìµ ÊݾڤǤ¢¤ë¤È¤¤¤¦¤³¤È¤òºÇ¤â¸ú²ÌŪ¤ËÅÁ¤¨¤ë¤¿¤á¤Ë¡¢¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤ÎËÁƬ ¤Ë¤½¤ÎÁ´Ê¸¤òɽ¼¨¤¹¤ì¤ÐºÇ¤â°ÂÁ´¤Ç¤¹¤¬¡¢¤½¤Î¾¤ÎÊýË¡¤Çɽ¼¨¤¹¤ë¾ì¹ç¤Ç¤â¡¢ ¡ÖÃøºî¸¢É½¼¨¡×¤ÈÁ´Ê¸¤òÆÉ¤ß½Ð¤¹°Ù¤Î¥¢¥É¥ì¥¹¤Ø¤Î¥Ý¥¤¥ó¥¿¤À¤±¤Ï¥Õ¥¡¥¤¥ë¾å ¤Ëɽ¼¨¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£ ¡¡¡¡¡ã¥×¥í¥°¥é¥à̾¤È¤É¤ó¤Êưºî¤ò¤¹¤ë¤â¤Î¤«¤Ë¤Ä¤¤¤Æ¤Î´Êñ¤ÊÀâÌÀ¤Î¹Ô¡ä ¡¡¡¡¡¡£Ã£ï£ð£ù£ò£é£ç£è£ô¡Ê£Ã¡Ë¡¡£±£¹¡û¡ûǯ¡¢¡ãÃøºî¸¢¼Ô̾¡ä ¡¡¡¡¡¡ËÜ¥×¥í¥°¥é¥à¤Ï¥Õ¥ê¡¼¡¦¥½¥Õ¥È¥¦¥§¥¢¤Ç¤¹¡£¤¢¤Ê¤¿¤Ï¡¢Free Software ¡¡¡¡¡¡Foundation ¤¬¸øÉ½¤·¤¿GNU °ìÈ̸øÍ­»ÈÍѵöÂú¤Î¡Ö¥Ð¡¼¥¸¥ç¥ó£²¡×°¿¤¤ ¡¡¡¡¡¡¤Ï¤½¤ì°Ê¹ß¤Î³Æ¥Ð¡¼¥¸¥ç¥ó¤ÎÃæ¤«¤é¤¤¤º¤ì¤«¤òÁªÂò¤·¡¢¤½¤Î¥Ð¡¼¥¸¥ç¥ó ¡¡¡¡¡¡¤¬Äê¤á¤ë¾ò¹à¤Ë½¾¤Ã¤ÆËÜ¥×¥í¥°¥é¥à¤òºÆÈÒÉÛ¤Þ¤¿¤ÏÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­ ¡¡¡¡¡¡¤Þ¤¹¡£ ¡¡¡¡¡¡ËÜ¥×¥í¥°¥é¥à¤ÏÍ­ÍѤȤϻפ¤¤Þ¤¹¤¬¡¢ÈÒÉۤˤ¢¤¿¤Ã¤Æ¤Ï¡¢»Ô¾ìÀ­µÚ¤ÓÆÃ ¡¡¡¡¡¡ÄêÌÜŪŬ¹çÀ­¤Ë¤Ä¤¤¤Æ¤Î°ÅÌÛ¤ÎÊݾڤò´Þ¤á¤Æ¡¢¤¤¤«¤Ê¤ëÊݾڤâ¹Ô¤Ê¤¤¤Þ ¡¡¡¡¡¡¤»¤ó¡£¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤ÏGNU °ìÈ̸øÍ­»ÈÍѵöÂú½ñ¤ò¤ªÆÉ¤ß¤¯¤À¤µ¤¤¡£ ¡¡¡¡¡¡¤¢¤Ê¤¿¤Ï¡¢ËÜ¥×¥í¥°¥é¥à¤È°ì½ï¤ËGNU °ìÈ̸øÍ­»ÈÍѵöÂú¤Î¼Ì¤·¤ò¼õ¤±¼è¤Ã ¡¡¡¡¡¡¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢Free Software Foundation, Inc., ¡¡¡¡¡¡675 Mass Ave, Cambridge, MA 02139, USA * ¤Ø¼ê»æ¤ò½ñ¤¤¤Æ¤¯¤À¤µ¤¤¡£ ---------------------------------------------------------------------- * ¡ÚÃí°Õ¡Û ¸½ºß¡¢¤³¤Î¥Ð¡¼¥¸¥ç¥ó2¤Îȯ¹Ô¼Ô(FSF)½»½ê¤Ï¡¢Àµ¼°¤Ë¿· ¤·¤¤½»½ê¤Î 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA ¤ËÊѤï¤Ã¤Æ¤¤¤ë¡£ ---------------------------------------------------------------------- ¡¡¡¡¡¡ ¡¡¤Þ¤¿¡¢¥æ¡¼¥¶¤¬ÅŻҥᥤ¥ë¤ä½ñ¿®¤Ç¤¢¤Ê¤¿¤ÈÏ¢Íí¤ò¤È¤ëÊýË¡¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó ¤â½ñ¤­Åº¤¨¤Æ¤¯¤À¤µ¤¤¡£ ¡¡¥×¥í¥°¥é¥à¤¬ÂÐÏÃŪ¤Ëưºî¤¹¤ë¾ì¹ç¤Ï¡¢ÂÐÏå⡼¥É¤Çµ¯Æ°¤·¤¿»þ¤Ë¼¡¤Î¤è¤¦ ¤Êû¤¤¹ðÃÎʸ¤¬É½¼¨¤µ¤ì¤ë¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£ ¡¡¡¡¡¡£Ç£î£ï£í£ï£ö£é£ó£é£ï£î¡¡¥Ð¡¼¥¸¥ç¥ó£¶£¹¡¢£Ã£ï£ð£ù£ò£é£ç£è£ô¡Ê£Ã¡Ë£±£¹¡û¡ûǯ ¡ãÃøºî¸¢¼Ô̾¡ä ¡¡¡¡¡¡Gnomovision ¤Ï´°Á´¤Ë̵ÊݾڤǤ¹¡£¾ÜºÙ¤Ï show w ¤È¥¿¥¤¥×¤·¤Æ¤¯¤À¤µ ¡¡¡¡¡¡¤¤¡£¤³¤ì¤Ï¥Õ¥ê¡¼¡¦¥½¥Õ¥È¥¦¥§¥¢¤Ê¤Î¤Ç¡¢ÆÃÄê¤Î¾ò·ï¤Î²¼¤Ç¤³¤ì¤òºÆÈÒ ¡¡¡¡¡¡ÉÛ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¾ÜºÙ¤Ï show c ¤È¥¿¥¤¥×¤·¤Æ¤¯¤À¤µ¤¤¡£ ¡¡¾åµ­¤Îshow w ¤äshow c ¤Ï³Æ¡¹¡¢ËܰìÈ̸øÍ­»ÈÍѵöÂú¤Î´ØÏ¢¤¹¤ëÉôʬ¤òɽ¼¨ ¤¹¤ë¥³¥Þ¥ó¥É¤ò»Ø¤·¤Þ¤¹¡£¤â¤Á¤í¤ó¡¢¤¢¤Ê¤¿¤¬»È¤¦¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤Ïshow w ¤äshow c ¤È¤¤¤Ã¤¿¸Æ¤Ó̾¤Ç¤Ê¤¯¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£¤µ¤é¤Ë¡¢¤½¤ì¤é¤Î¥³¥Þ¥ó¥É ¤Ï¤¢¤Ê¤¿¤Î¥×¥í¥°¥é¥à¤Ë¹ç¤ï¤»¤ë°Ù¤Ë¡¢¥Þ¥¦¥¹¤Ç¥¯¥ê¥Ã¥¯¤·¤¿¤ê¥á¥Ë¥å¡¼·Á¼° ¤Ë¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£ ¡¡¤Þ¤¿¡¢É¬ÍפÈǧ¤á¤¿¾ì¹ç¤Ë¤Ï¡¢¤¢¤Ê¤¿¤Î¸Û¤¤¼ç(¤¢¤Ê¤¿¤¬¥×¥í¥°¥é¥Þ¤È¤·¤Æ Ư¤¤¤Æ¤¤¤ë¾ì¹ç) ¤äºßÀÒ¤¹¤ë³Ø¹»¤«¤é¡¢¤½¤Î¥×¥í¥°¥é¥à¤ËÂФ¹¤ë¡ÖÃøºî¸¢Êü´þ¡× ¤òǧ¤á¤¿½ð̾Æþ¤ê¤Î½ñÌ̤òÆþ¼ê¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤³¤Ë¤½¤ÎʸÎã¤òºÜ¤»¤Þ¤¹¡£Ì¾ Á°¤ÏÊѤ¨¤Æ¤¯¤À¤µ¤¤¡£ ¡¡¡¡¡¡Yoyodyne, Inc. ¤Ï¡¢James Hacker ¤¬³«È¯¤·¤¿¥×¥í¥°¥é¥à ¡¡¡¡¡¡`Gnomovision' (¥³¥ó¥Ñ¥¤¥é¤Ë¤Ä¤Ê¤²¤ë¥×¥í¥°¥é¥à) ¤Ë¤Ä¤¤¤Æ¤ÎÃøºî¸¢ ¡¡¡¡¡¡Ë¡¾å¤ÎÁ´¤Æ¤Î¸¢Íø¤òÊü´þ¤¹¤ë¡£ ¡¡¡¡¡¡¡ã£Ô£ù¡¡£Ã£ï£ï£î¡¡¤Î½ð̾¡ä¡¤¡¡£±¡¡£Á£ð£ò£é£ì¡¡£±£¹£¸£¹ ¡¡¡¡¡¡£Ô£ù¡¡£Ã£ï£ï£î¡¤¡¡Éû¼ÒĹ ¡¡ËܰìÈ̸øÍ­»ÈÍѵöÂú¤Ï¡¢¤¢¤Ê¤¿¤Î¥×¥í¥°¥é¥à¤òºâ»º¸¢¤ÎÂоݤȤʤäƤ¤¤ë¾ ¤Î¥×¥í¥°¥é¥à¤ËÁȤ߹þ¤à¤³¤È¤Ïǧ¤á¤Æ¤¤¤Þ¤»¤ó¡£¤¢¤Ê¤¿¤Î¥×¥í¥°¥é¥à¤¬¥µ¥Ö¥ë¡¼ ¥Á¥ó¡¦¥é¥¤¥Ö¥é¥ê¤Ç¤¢¤Ã¤Æ¡¢¤¢¤Ê¤¿¤¬¤½¤Î¥é¥¤¥Ö¥é¥ê¤òºâ»º¸¢¤ÎÂÐ¾Ý¤È¤Ê¤Ã¤Æ ¤¤¤ë¾¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤È¥ê¥ó¥¯¤µ¤»¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢¤µ¤é¤ËÍ­ÍѤʤâ¤Î¤Ë ¤·¤è¤¦¤È¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢ËÜ»ÈÍѵöÂú½ñ¤ÎÂå¤ï¤ê¤Ë¡¢GNU ¥é¥¤¥Ö¥é¥ê°ìÈ̸øÍ­»È ÍѵöÂú½ñ¤Ë½¾¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ------------------------------------------------------------------------------ weex-2.6.1/doc/AUTHORS0100644000016100001440000000004107104026225013154 0ustar ludousersYuuki NINOMIYA weex-2.6.1/doc/sample.weexrc0100644000016100001440000000473307111635355014630 0ustar ludousers#-------------------------------------------# # Fast Webpage Exchanger Configuration File # #-------------------------------------------# # the configuration of 1st host [deodeo] HostName = www.enjoy.ne.jp LoginName = gm Password = gmkun SrcDir = /mnt/gm1/data/file/gms_page DestDir = /public_html IgnoreLocalDir = /mnt/gm1/data/file/gms_page/nifty IgnoreLocalFile = /mnt/gm1/data/file/gms_page/upload_self_check.sh # the configuration of 2nd host [nifty] HostName = mftp9.nifty.ne.jp LoginName = gm #Password = nifgm # if a password is not specified weex asks for it on the terminal. SrcDir = /mnt/gm1/data/file/gms_page/nifty DestDir = /homepage IgnoreLocalDir = { /ignore/*/ /*/ignore/*/ /*/ignore/ /ignore/ } # the configuration of 3rd host # (for backupping data in HDD) [backup] HostName = gm1 LoginName = gm Password = "gm#345$%@%" SrcDir = /mnt/gm1/data DestDir = /mnt/gm1/dvd/backup IgnoreLocalDir = { /mnt/gm1/data/file/midi /mnt/gm1/data/file/mp3 } # the configuration of 4th host # (sample) [sample] HostName = 192.168.1.1 LoginName = gm Password = sample SrcDir = /home/gm/data DestDir = /public_html IgnoreLocalDir = /home/gm/data/temp/*/test IgnoreLocalFile = { /home/gm/data/nosend.html temp* } IgnoreRemoteDir = /public_html/notouch/[1-9][A-Z][a-z]/ IgnoreRemoteFile= /public_html/data??? KeepRemoteDir = /public_html/noremove PreservePermissionDir = { . * } ChangePermission = 700 ChangePermissionDir = /home/gm/data/prog[^ABC] ConvToLower = False RecordLog = true OverwriteOK = T Silent = F Force = 0 Monochrome = FALSE NestSpaces = 2 LogDetailLevel = 3 MaxRetryToSend = 4 FtpPassive = 1 ShowHiddenFiles = n FollowSymlinks = yes ChdirAtConnection = true # the configuration of 5th-7th host # You can have multiple web sites on one ftp account # by the following technique. [host1] HostName = www.giem.ne.jp LoginName = gm Password = ViVaLiNuX SrcDir = /home/gm/giemweb/one DestDir = /one IgnoreRemoteDir = { /two /three } [host2] HostName = www.giem.ne.jp LoginName = gm Password = ViVaLiNuX SrcDir = /home/gm/giemweb/two DestDir = /two IgnoreRemoteDir = { /one /three } [host3] HostName = www.giem.ne.jp LoginName = gm Password = ViVaLiNuX SrcDir = /home/gm/giemweb/three DestDir = /three IgnoreRemoteDir = { /one /two } # the configuration of default host # (These would be the default values if not explicitly # given in the specific section.) [default] IgnoreLocalFile = { *~ *.tmp *.bak } AsciiFile = *.htm AsciiFile = *.html AsciiFile = *.txt weex-2.6.1/doc/BUGS.ja0100644000016100001440000000105707020501600013160 0ustar ludousers¢¡¸½ºßȽÌÀ¤·¤Æ¤¤¤ëÌäÂê ¡¦°Ê²¼¤Î¾ò·ï¤òÁ´¤ÆËþ¤¿¤¹¾õ¶·²¼¤Ç¤Ï¡¢¥Õ¥¡¥¤¥ë¤¬Å¾Á÷¤µ¤ì¤Þ¤»¤ó¡£ ¤³¤ì¤Ï»ÅÍͤǤ¹¡£ 1. ¥ê¥â¡¼¥È¥Þ¥·¥ó¤Î»þ·×¤¬¥í¡¼¥«¥ë¥Þ¥·¥ó¤è¤ê¤âÂçÉý¤Ë¿Ê¤ó¤Ç¤¤¤ë¡£ 2. ¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë¤¬²õ¤ì¤Æ¤¤¤ë¡¢¤Þ¤¿¤Ï¸ºß¤·¤Ê¤¤¡£ 3. ¿·¤·¤¯¹¹¿·¤·¤¿¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤è¤ê ¥ê¥â¡¼¥È¤Ë¤¢¤ë¹¹¿·Á°¤ÎƱ¥Õ¥¡¥¤¥ë¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤Î¤Û¤¦¤¬¿·¤·¤¤¡£ ¥­¥ã¥Ã¥·¥åµ¡¹½¤¬Àµ¾ï¤ËƯ¤¤¤Æ¤¤¤ë¸Â¤ê¡¢¤³¤ÎÌäÂê¤ÏȯÀ¸¤·¤Þ¤»¤ó¡£ ºÇ¤â´Êñ¤«¤Ä³Î¼Â¤Ë¤³¤ÎÌäÂê¤ò²óÈò¤¹¤ëÊýË¡¤Ï¡¢¥ê¥â¡¼¥È¥µ¡¼¥Ð¤Î´ÉÍý¼Ô¤Ë »þ·×¤ò¤­¤Á¤ó¤È¹ç¤ï¤»¤ë¤è¤¦¤ËÍê¤à¤³¤È¤Ç¤¹¡£:-) weex-2.6.1/doc/ChangeLog0100664000016100001440000002616607121420521013674 0ustar ludousers* History + 2000/06/13 Ver 2.6.1 - Support for MACOS type remote server. - Bugfix for reporting the wrong number of sent/delected files in log file. - French translations (fr.po) has been added. Thanks to Olivier Tharan . + 2000/05/22 Ver 2.6.0 - Bugfix for trying to remove current directory when remove a directory. - The way of check of DestDir is changed. `It exists if "mkdir " fails.' to `It exists if "chdir " successes.' - Run "chdir " at connection for safety reasons. - A new parameter `ChdirAtConnection' has been added. It controls the above. - Dutch translations (nl.po) has been added. Thanks to Jos Smeets . + 2000/05/03 Ver 2.5.4 - A new parameter `FollowSymlinks' has been added. By default, weex doesn't expand symbolic links on local for safety reasons. If you need expansion of symbolic links, please set this parameter to `true'. Thanks to Jeff Abrahamson . + 2000/04/16 Ver 2.5.3 - Bugfix for parsing remote directory names incorrectly with some FTP server based on Windows NT. Thanks to Craig Wilkie. + 2000/03/24 Ver 2.5.2 - Even if suppress messages, weex outputs one new line when disconnect. - Add Spanish translations. (es.po) Thanks to Gorka Olaizola . + 2000/02/29 Ver 2.5.1 - If a password can not be found in the configuration file, weex asks for it on the terminal. Thanks to Mohammed Waleed Kadous . + 2000/02/25 Ver 2.5.0 - Directory structure and file names are saved in cache. It suppresses LIST command. So it makes transfer much faster. WARNING! A cache file of this version is NOT compatible with previous version. Please remove all cache files as the following before using. % rm ~/.weex/weex.cache.* - Suppressing CWD command by using absolute path as argument of FTP command. It makes transfer much faster. - Parameter `SupportFor@Nifty' is removed. Please modify a configuration file. It isn't needed from this version. - Weex outputs `Processing' message when specify multiple hosts as command line argument. - If there isn't the directory specified as DestDir, create it. - Add a new parameter `ShowHiddenFile'. This is for FTP server which doesn't show hidden files (starting with a dot) by default. - Add a new parameter `PreservePermissionDir'. In these directories, weex copies access permission of the local file to the remote one. - Add a new option `--rebuild-cache'. If cache file is broken, use this. - Add a new option `--debug-ftplib'. Output messages from/to FTP server. - Update de.po. Thanks to Christian Ullrich . + 2000/01/09 Ver 2.3.0 - The bug is fixed that weex crashes when there is a parameter before defining section in a configuration file. - Add a new option `--test' that doesn't actually change remote files/directories. - The bug is fixed that a cache file is broken when weex processes the file which included blank in its name. - When weex changes the current directory, it removes the last slash of directory name. - Support for the FTP server which doesn't output group name when `ls'. - Support for port mode for the FTP server which doesn't support passive mode by a new parameter `FtpPassive'. - Update de.po. Thanks to Christian Ullrich . + 1999/12/20 Ver 2.2.0 - Support for configuration of files/directories (except `SrcDir' and `DestDir') as relative path. - Add a new parameter `KeepRemoteDir'. Files in this directory are not removed when they don't exist in the local directory. - Support for Geocities. It is recognized automatically. + 1999/12/11 Ver 2.1.2 - The bug is fixed that processing a symlink is wrong again. Thanks to Christian Ullrich . + 1999/12/10 Ver 2.1.1 - Update de.po. Thanks to Christian Ullrich . - Some messages are modified. - The bug is fixed that processing a symlink is wrong. + 1999/12/09 Ver 2.1.0 - Update de.po. Thanks to Christian Ullrich . - Support for Solaris. - Support for a file whose name includes spaces. - The parameter `LsAtNifty' is changed to `SupportFor@Nifty'. Please type as the following. % cd ~/.weex % mv weexrc weexrc.old % sed -e "s/LsAtNifty/SupportFor@Nifty/" < weexrc.old > weexrc - Weex continues processing if it receives a minor error. - Retry to send when weex fails in sending a file. The maximum times of retrying can be specified by `MaxRetryToSend'. - Add a logging facility. It would be useful for using weex with cron or background execution. + 1999/11/29 Ver 2.0.7 - Support for Windows_NT type remote server. - The file name of the temporary file stored file lists on remote server is made by tempnam(). You can use multiple weex at the same time. + 1999/11/25 Ver 2.0.6 - Modify documents. - Rewrite set_default() in config.c. - The following items are for supporting FreeBSD. Thanks to Julian C. Dunn . Uses gnuregex.h prior to regex.h. - If constant macro `PATH_MAX' is undefined, define as 512. - Uses strtok() instead of sscanf() because a compiler on FreeBSD outputs warnings when use `%as' in sscanf(). - The bug is fixed that the progress information is always 0. + 1999/11/14 Ver 2.0.5a - Update de.po. Thanks to Christian Ullrich . + 1999/11/13 Ver 2.0.5 - The bug is fixed that the file at the first of directory entry on remote side is ignored. It caused that the file is not sent or weex outputs `Cannot make directory `foo'.' and exit. - Add a debug facility. It outputs many debug outputs, when weex runs. Compile weex with `./configure --enable-debug' to use this facility. + 1999/11/10 Ver 2.0.4 - Some memory leaks are fixed. - Support for a symbolic link. It works correctly on local side. Thanks to seagull . - The bug is fixed that the progress information is broken when sends the file whose size is more than 20MB. + 1999/11/08 Ver 2.0.3a - Add German translations. (de.po) Thanks to Christian Ullrich . + 1999/11/07 Ver 2.0.3 - The fatal bug missing subscript of array is fixed. It caused weex can't get the list of remote directory in some FTP server. This bug was entered in Ver 2.0.2. Sorry. + 1999/11/07 Ver 2.0.2 - The bug is fixed that local variable `put_config_flag' is not initialized. - Some memory leaks are fixed. - Support for @Nifty. Thanks to seagull . + 1999/11/06 Ver 2.0.1a - Add a example to sample.weexrc that You have multiple web sites on one ftp account. This technique would be useful for large website builders. + 1999/11/06 Ver 2.0.1 - If you do not have reading permission of the configuration file, output warning message at execution. - Stop the program when ChangePermissionDir is configured but ChangePermission is not. - The bug is fixed that changing directory fails if DestDir (or SrcDir) is root directory ("/"). + 1999/11/04 Ver 2.0.0 - Even if the progress information runs up to 100%, it continues being displayed until finishing to send it. - If you do a weex -h with no config file, it prints the warning message and the normal -h output. - Some messages are modified. - A access permission of the configuration file is allowed ?00. - The bug is fixed that when a password is not configured, the program crashes. - The configuration parameter and value `OverwriteImpossible=True' is changed to `OverwriteOK=False'. - The bug is fixed that if the remote machine's clock is slow, non-updated files are sent. - Add a new option `-d' to check whether the configuration file is read correctly. - Update the manpage by Chris X Edwards . He proofread README and messages in the program. And besides, he sent many suggestions and bug reports to me. Thanks! + 1999/10/29 Ver 1.9.9 - Rewrite from scratch. - The program name is changed to `weex'. The configuration file and directory name and etc are changed. + 1999/10/07 Ver 1.7.3a - Includes the manpage written by Chris X Edwards . + 1999/09/27 Ver 1.7.3 - Some messages are modified. + 1999/09/24 Ver 1.7.2 - The cache file is divided by host number. + 1999/09/12 Ver 1.7.1 - Uses shhopt instead of parseopt. - Add a new option `-V | --version'. + 1999/08/13 Ver 1.7.0 - The program name is changed. The configuration file and directory name and etc are changed from `*iwe*' to `*fwe*'. - Apply patch from Masashi Itou . It offers the following. - The bug is fixed that deadlock when STOR is permission error. - Support for Chmod. Specify variable [ExecDir_*] to change access permission of files to 777. - Support for ftpd that cannot overwrite. Specify variable [CantOverwrite_*] to use this function. - Process the extensions more correctly. + 1999/08/08 Ver 1.6.4 - Uses ioptparse instead of shhopt for parsing command line options. + 1999/07/19 Ver 1.6.3 - The usage is modified a little. + 1999/07/09 Ver 1.6.2 - The bug is fixed that cannot compile when don't use NLS. + 1999/07/07 Ver 1.6.1 - The bug is fixed that host number processing have a mistake. + 1999/06/29 Ver 1.6.0a - The documents are divided. + 1999/06/11 Ver 1.6.0 - Read the configuration file at `~/.iwerc' and `~/.iwe/iwerc'. - Make the directory `~/.iwe/' in startup. - Remove "ListTemp" from the configuration file. + 1999/06/09 Ver 1.5.0 - Uses shhopt for parsing command line options. - The bug is fixed that cannot send files made in the 1970's. - Uses "Inchiki Configuraion File Parse Library 2.0.1" for parsing the configuraion file. + 1999/05/21 Ver 1.4.0 - Support for autoconf, automake and gettext. - When the color restores, use system default instead of white. + 1999/04/13 Ver 1.3.2 - The bug is fixed that the process doesn't stop even if the configuration file is broken. + 1999/04/05 Ver 1.3.1 - Error messages output to stderr. + 1999/04/03 Ver 1.3.0 - Use "Inchiki Configuraion File Reading Library". Attention! The configuration file loses compatibility. - Can process up to 500 files in one directory. + 1999/03/16 Ver 1.2.0 - Support for I18N by catgets. - A fatal bug that get wrong file name (made last year ago) is fixed. - Version notation is changed. + 1999/02/14 Ver 1.11 - Includes English documents. - Some messages are modified. + 1999/02/13 Ver 1.10 - Command line options are available. - Japanese and English are available (-e and -j option). - Add a new option `-f' (sending by force). - Add a new option `-s' (output no message). + 1999/02/12 Ver 1.00 - First release. It has all function that I want. weex-2.6.1/doc/ChangeLog.ja0100664000016100001440000003730107121420217014260 0ustar ludousers¢¡¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×ÍúÎò ¡¦2000/06/13 Ver 2.6.1 - MACOS ¥¿¥¤¥×¤Î¥ê¥â¡¼¥È¥µ¡¼¥Ð¤ËÂбþ¡£ - Log ¤ÎžÁ÷/ºï½ü¥Õ¥¡¥¤¥ë¿ô¤¬±³¤Ð¤Ã¤«¤ê¤À¤Ã¤¿¤Î¤ò½¤Àµ¡£ - ¥Õ¥é¥ó¥¹¸ìËÝÌõ (fr.po) ¤òźÉÕ¡£ Thanks to Olivier Tharan ¡¦2000/05/22 Ver 2.6.0 - ¥Ç¥£¥ì¥¯¥È¥êºï½ü¤Î¤µ¤¤¤Ë¡¢¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤òºï½ü¤·¤è¤¦¤È ¤·¤Æ¤¤¤¿¥Ð¥°¤ò¥Õ¥£¥¯¥¹¡£ - DestDir ¤Î¸ºß¥Á¥§¥Ã¥¯¤ÎÊýË¡¤ò¡Ö"mkdir " ¤Ë¼ºÇÔ¤·¤¿¤é ¸ºß¡×¤«¤é¡Ö"chdir " ¤ËÀ®¸ù¤·¤¿¤é¸ºß¡×¤ËÊѹ¹¡£ - °ÂÁ´¤Î¤¿¤á¡¢Àܳ¤·¤¿¤é¤Þ¤º¡Öchdir ¡×¤¹¤ë¤è¤¦¤Ë¤·¤¿¡£ - ¾åµ­¤òÀ©¸æ¤¹¤ë¥Ñ¥é¥á¡¼¥¿¡ÖChdirAtConnection¡×¤òÄɲᣠ- ¥ª¥é¥ó¥À¸ìËÝÌõ (nl.po) ¤òźÉÕ¡£ Thanks to Jos Smeets ¡¦2000/05/03 Ver 2.5.4 - ¿·¤·¤¤¥Ñ¥é¥á¡¼¥¿¡ÖFollowSymlinks¡×¤òÄɲᣠ°ÂÁ´¤Î¤¿¤á¤Ë¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥í¡¼¥«¥ë¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ÎŸ³«¤ò ¤·¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤·¤¿¡£Å¸³«¤¬É¬ÍפÊÊý¤Ï¤³¤Î¥Ñ¥é¥á¡¼¥¿¤ò¡Ötrue¡×¤Ë ÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ Thanks to Jeff Abrahamson ¡¦2000/04/16 Ver 2.5.3 - WindowsNT ¤ò»ÈÍѤ·¤¿ FTP ¥µ¡¼¥Ð¤Ç¥ê¥â¡¼¥È¤Î¥Ç¥£¥ì¥¯¥È¥ê̾¤¬Àµ¾ï¤Ë ¥Ñ¡¼¥¹¤µ¤ì¤Ê¤¤¥Ð¥°¤ò¥Õ¥£¥¯¥¹¡£ Thanks to Craig Wilkie ¡¦2000/03/24 Ver 2.5.2 - ½èÍý¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤·¤Ê¤¤ÀßÄê¤Ë¤·¤Æ¤¢¤Ã¤Æ¤â¡¢ÀÚÃÇ»þ¤Ë²þ¹Ô¤¬ 1 ¤Ä ½ÐÎϤµ¤ì¤Æ¤·¤Þ¤¦¥Ð¥°¤ò¥Õ¥£¥¯¥¹¡£ - ¥¹¥Ú¥¤¥ó¸ìËÝÌõ (es.po) ¤òźÉÕ¡£ Thanks to Gorka Olaizola ¡¦2000/02/29 Ver 2.5.1 - ÀßÄê¥Õ¥¡¥¤¥ë¤Ç¥Ñ¥¹¥ï¡¼¥É¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢¼Â¹Ô¤Ë ¿Ò¤Í¤ë¤è¤¦¤Ë¤·¤¿¡£ Thanks to Mohammed Waleed Kadous ¡¦2000/02/25 Ver 2.5.0 - ¥Ç¥£¥ì¥¯¥È¥ê¹½Â¤¤È¥Õ¥¡¥¤¥ë̾¤â¥­¥ã¥Ã¥·¥å¤ËÊݸ¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢ Ëè²ó LIST ¥³¥Þ¥ó¥É¤òȯ¹Ô¤¹¤ë¤Î¤òÍÞÀ©¤·¤¿¡£¤³¤ì¤Ë¤è¤ê½èÍý®ÅÙ¤¬ ÂçÉý¤Ë¸þ¾å¤·¤Þ¤·¤¿¡£ Ãí°Õ¡ªº£¥Ð¡¼¥¸¥ç¥ó¤Î¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë¤Ï°ÊÁ°¤Î¤â¤Î¤È¸ß´¹À­¤¬ ¤¢¤ê¤Þ¤»¤ó¤Î¤Ç¡¢¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×¤ÎºÝ¤Ë¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ ¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë¤òÁ´¤Æºï½ü¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£ % rm ~/.weex/weex.cache.* - FTP ¥³¥Þ¥ó¥É¤Î°ú¿ô¤ËÀäÂХѥ¹¤òÍѤ¤¤ë¤³¤È¤Ë¤è¤ê¡¢CWD ¥³¥Þ¥ó¥É¤Î ȯ¹Ô¤òÍÞÀ©¤·¤¿¡£¤³¤ì¤Ë¤è¤ê½èÍý®ÅÙ¤¬ÂçÉý¤Ë¸þ¾å¤·¤Þ¤·¤¿¡£ - ¡ÖSupportFor@Nifty¡×¥Ñ¥é¥á¡¼¥¿¤òÇÓ½ü¤·¤Þ¤·¤¿¡£ÀßÄê¥Õ¥¡¥¤¥ë¤«¤é ºï½ü¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£¤³¤Î¥Ñ¥é¥á¡¼¥¿¤¬¤Ê¤¯¤Æ¤âÌäÂê¤Ê¤¯ ưºî¤¹¤ë¤è¤¦¤Ê¼ÂÁõ¤ËÊѹ¹¤·¤Æ¤¢¤ê¤Þ¤¹¡£ - Ê£¿ô¤Î¥Û¥¹¥È¤ò»ØÄꤷ¤¿¤È¤­¤Ë¤Ï¡ÖÀܳ¡×¥á¥Ã¥»¡¼¥¸¤ÎÁ°¤Ë¡Ö½èÍýÃæ¡× ¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤¹¤ë¤è¤¦¤Ë¤·¤¿¡£ - DestDir ¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤¬Â¸ºß¤·¤Ê¤«¤Ã¤¿¾ì¹ç¡¢ºîÀ® ¤¹¤ë¤è¤¦¤Ë¤·¤¿¡£ - ÉáÄÌ¤Ë ls ¤·¤¿¤À¤±¤Ç¤Ï±£¤·¥Õ¥¡¥¤¥ë (¥É¥Ã¥È¤Ç»Ï¤Þ¤ë¥Õ¥¡¥¤¥ë) ¤¬ ɽ¼¨¤µ¤ì¤Ê¤¤ FTP ¥µ¡¼¥Ð¤Ç±£¤·¥Õ¥¡¥¤¥ë¤òǧ¼±¤µ¤»¤ë¤¿¤á¤Î¥Ñ¥é¥á¡¼¥¿ ¡ÖShowHiddenFile¡×¤òÄɲᣠ- ¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤Î¥¢¥¯¥»¥¹¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤ò¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¤Ë ¥³¥Ô¡¼¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤹ¤ë¥Ñ¥é¥á¡¼¥¿¡ÖPreservePermissionDir¡× ¤òÄɲᣠ- ¥­¥ã¥Ã¥·¥å¤òºÆ¹½ÃÛ¤¹¤ë¥ª¥×¥·¥ç¥ó¡Ö--rebuild-cache¡×¤òÄɲᣥ­¥ã¥Ã¥·¥å ¥Õ¥¡¥¤¥ë¤¬²õ¤ì¤Æ¤·¤Þ¤Ã¤¿¤é¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ÇºÆ¹½ÃÛ¤·¤Þ¤·¤ç¤¦¡£ - FTP ¥µ¡¼¥Ð¤È¤Î¤ä¤ê¤È¤ê¤òɽ¼¨¤¹¤ë¥ª¥×¥·¥ç¥ó¡Ö--debug-ftplib¡×¤òÄɲᣠ- de.po ¤ò¹¹¿·¡£ Thanks to Christian Ullrich ¡¦2000/01/09 Ver 2.3.0 - ÀßÄê¥Õ¥¡¥¤¥ë¤Ë¤ª¤¤¤Æ¡¢¥»¥¯¥·¥ç¥ó¤òÄêµÁ¤¹¤ëÁ°¤Ë¥Ñ¥é¥á¡¼¥¿¤¬¤¢¤ë¤È ¥¯¥é¥Ã¥·¥å¤¹¤ë¥Ð¥°¤ò¥Õ¥£¥¯¥¹¡£ - ¼ÂºÝ¤Ë¤Ï¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë/¥Ç¥£¥ì¥¯¥È¥ê¤ÎÊѹ¹¤ò¹Ô¤ï¤Ê¤¤¡Ö--test¡× ¥ª¥×¥·¥ç¥ó¤òÄɲᣠ- ¥Õ¥¡¥¤¥ë̾¤Ë¶õÇò¤ò´Þ¤ó¤À¥Õ¥¡¥¤¥ë¤ò½èÍý¤¹¤ë¤È¡¢¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë¤¬ ¤ª¤«¤·¤¯¤Ê¤ë¥Ð¥°¤ò¥Õ¥£¥¯¥¹¡£ - ¥Ç¥£¥ì¥¯¥È¥ê¤òÊѹ¹¤¹¤ë¤È¤­¤Ë¤Ï¡¢¤½¤Î¥Ç¥£¥ì¥¯¥È¥ê̾¤ÎºÇ¸å¤Ë¥¹¥é¥Ã¥·¥å¤ò ÉÕ¤±¤Ê¤¤¤è¤¦¤Ë¤·¤¿¡£¤É¤¦¤â¥¹¥é¥Ã¥·¥å¤¬¤¢¤ë¤È cd ¤Ç¤­¤Ê¤¤¥µ¡¼¥Ð¤¬ ¤¢¤ë¤è¤¦¤Ç¡£ - ls ¤·¤¿¤È¤­¡¢¥°¥ë¡¼¥×̾¤òɽ¼¨¤»¤º¤Ë¥ª¡¼¥Ê̾¤·¤«É½¼¨¤·¤Æ¤¯¤ì¤Ê¤¤ ¥µ¡¼¥Ð¤ËÂбþ¡£ - ¥Ñ¥é¥á¡¼¥¿¡ÖFtpPassive¡×¤Ë¤è¤ê PASV ¥â¡¼¥É¤¬»È¤¨¤Ê¤¤ FTP ¥µ¡¼¥Ð¤Ç¤Ï PORT ¥â¡¼¥É¤ò»ÈÍѤ¹¤ë¤³¤È¤¬²Äǽ¤Ë¤Ê¤Ã¤¿¡£ - de.po ¤ò¹¹¿·¡£ Thanks to Christian Ullrich ¡¦1999/12/20 Ver 2.2.0 - ¡ÖSrcDir¡×¤È¡ÖDestDir¡×°Ê³°¤Î¥Õ¥¡¥¤¥ë¤ª¤è¤Ó¥Ç¥£¥ì¥¯¥È¥ê¤Î»ØÄê¤ò ÁêÂХѥ¹¤Ç¤âÀßÄê¤Ç¤­¤ë¤è¤¦¤Ë¤·¤¿¡£ - ¥í¡¼¥«¥ë¤Ë¥Õ¥¡¥¤¥ë¤¬¤Ê¤¯¤Æ¤â¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¤òºï½ü¤·¤Ê¤¤¥Ç¥£¥ì¥¯¥È¥ê¤ò ¡ÖKeepRemoteDir¡×¤ÇÀßÄê¤Ç¤­¤ë¤è¤¦¤Ë¤·¤¿¡£ - Geocities ¤ËÂбþ¡£¼«Æ°È½Ê̤·¤Þ¤¹¡£ ¡¦1999/12/11 Ver 2.1.2 - ¤Þ¤À¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¼þ¤ê¤Î½èÍý¤¬¤ª¤«¤·¤«¤Ã¤¿¤Î¤ò¥Õ¥£¥¯¥¹¡£ º£ÅÙ¤³¤½Ä¾¤Ã¤¿¤Ï¤º¡£ Thanks to Christian Ullrich ¡¦1999/12/10 Ver 2.1.1 - de.po ¤ò¹¹¿·¡£ Thanks to Christian Ullrich - ¥á¥Ã¥»¡¼¥¸¤ò¤Á¤ç¤³¤Ã¤ÈÊѹ¹¡£ - ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Î½èÍý¤ò¥ß¥¹¤Ã¤Æ¤¤¤¿¤Î¤ò½¤Àµ¡£ ÌÀ¤é¤«¤Ë´Ö°ã¤Ã¤Æ¤¿¤ó¤Ç¤¹¤±¤Éư¤¤¤Æ¤Þ¤·¤¿¡©(^^; ¡¦1999/12/09 Ver 2.1.0 - de.po ¤ò¹¹¿·¡£ Thanks to Christian Ullrich - Solaris Âбþ¡£ - ¥Õ¥¡¥¤¥ë̾¤Ë¶õÇò¤ò´Þ¤ó¤À¥Õ¥¡¥¤¥ë¤âÀµ¾ï¤Ë½èÍý¤Ç¤­¤ë¤è¤¦¤Ë¤·¤¿¡£ - ÀßÄê¥Õ¥¡¥¤¥ë¤Î¥Ñ¥é¥á¡¼¥¿Ì¾¡ÖLsAtNifty¡×¤ò¡ÖSupportFor@Nifty¡×¤Ë Êѹ¹¤·¤¿¡£¤´ÌÂÏǤò¤ª¤«¤±¤·¤Þ¤¹¤¬¡¢°Ê²¼¤Î¤è¤¦¤Ë¥³¥Þ¥ó¥É¤òÆþÎϤ·¤Æ Êѹ¹¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£ % cd ~/.weex % mv weexrc weexrc.old % sed -e "s/LsAtNifty/SupportFor@Nifty/" < weexrc.old > weexrc - ¤Á¤ç¤Ã¤È¤·¤¿¥¨¥é¡¼¤¬È¯À¸¤·¤Æ¤â½èÍý¤ò·Ñ³¤¹¤ë¤è¤¦¤Ë¤·¤¿¡£ - ¥Õ¥¡¥¤¥ë¤ÎžÁ÷¤Ë¼ºÇÔ¤·¤¿¤È¤­¡¢ºÆ»î¹Ô¤¹¤ë¤è¤¦¤Ë¤·¤¿¡£ ºÆ»î¹Ô¤Î²ó¿ô¤Ï¡ÖMaxRetryToSend¡×¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£ - ¥í¥°µ­Ï¿µ¡Ç½¤¬ÉÕ¤­¤Þ¤·¤¿¡£cron ¤Ç¼«Æ°±¿Å¾¤·¤¿¤ê¡¢¥Ð¥Ã¥¯¥°¥é¥¦¥ó¥É¤Ç ưºî¤µ¤»¤ë¤È¤­¤ËÌò¤ËΩ¤Ä¤Ç¤·¤ç¤¦¡£ »ä¤Ï¿²¤ëÁ°¤Ë¡¢ % pon; sleep 10; weex 1 &; weex 2 &; weex 3 &; wait; poff; sleep 10; halt ¤Ê¤É¤È¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤è¤¦¤Ë¤·¤Æ¤¤¤Þ¤¹ (¥¹¥¯¥ê¥×¥È¤ò½ñ¤¤¤Æ¤ª¤±¤Ð ¤µ¤é¤Ë³Ú¤Á¤ó)¡£¥¢¥Ã¥×¥í¡¼¥É¤¹¤ë FTP ¥µ¥¤¥È¤¬¤½¤ì¤¾¤ì°Û¤Ê¤Ã¤Æ¤¤¤ë¤Ê¤é¡¢ ñ¤Ë¡Öweex 1 2 3¡×¤È¤ä¤ë¤è¤êÁ᤯½èÍý¤¬½ªÎ»¤·¤Þ¤¹¡£ ¤­¤Á¤ó¤ÈÇÓ¾½èÍý¤ò¤ä¤Ã¤Æ¤¤¤ë¤Î¤Ç weex ¤òƱ»þ¤ËÊ£¿ô¼Â¹Ô¤·¤Æ¤â ¥í¥°¥Õ¥¡¥¤¥ë¤¬²õ¤ì¤ë¤³¤È¤Ï¤Ê¤¤¤Ï¤º¤Ç¤¹¡£ ¡¦1999/11/29 Ver 2.0.7 - Windows_NT ¥¿¥¤¥×¤Î¥ê¥â¡¼¥È¥µ¡¼¥Ð¤ËÂбþ¡£ - ¥ê¥â¡¼¥È¤Î¥Õ¥¡¥¤¥ë¥ê¥¹¥È¤òÊݸ¤¹¤ë¥Æ¥ó¥Ý¥é¥ê¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò tempnam() ¤ÇºîÀ®¤¹¤ë¤è¤¦¤Ë¤·¤¿¡£ ¤³¤ì¤Ë¤è¤ê 1 ¿Í¤Î¥æ¡¼¥¶¤¬Ê£¿ô¤Î weex ¤òƱ»þ¤Ëư¤«¤»¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£ ¡¦1999/11/25 Ver 2.0.6 - ¥É¥­¥å¥á¥ó¥È¤ò¼ã´³Êѹ¹¡£¾¯¤·¤ÏÛ£Ëæ¤µ¤¬¼è¤ì¤¿¤Ç¤·¤ç¤¦¤«¡© ¤½¤ÎºÝ¤Ëʸ¾Ï¤Î½ñ¤­Êý¤ò¡ÖDebian JP ʸ½ñºîÀ®¤Î»Ø¿Ë¡×¤Ë½¾¤¦¤è¤¦¤Ë¤·¤¿¡£ - config.c ¤Î set_default() ¤ò½ñ¤­Ä¾¤·¤¿¡£¤«¤Ê¤ê¥Þ¥·¤Ë¤Ê¤Ã¤¿¤«¤â¡£ - °Ê²¼¤Ï FreeBSD Âкö¤Ç¤¹¡£ Thanks to Julian C. Dunn regex.h ¤è¤ê gnuregex.h ¤òÍ¥À褹¤ë¤è¤¦¤Ë¤·¤¿¡£ - Äê¿ô¥Þ¥¯¥í¡ÖPATH_MAX¡×¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤¤È¤­¤Ï 512 ¤ÈÄêµÁ¤¹¤ë¤è¤¦¤Ë¤·¤¿¡£ - sscanf() ¤Ç¡Ö%as¡×¤ò»È¤¦¤È FreeBSD ¤Ç¥³¥ó¥Ñ¥¤¥ë¤·¤¿¤È¤­¤Ë warning ¤¬½Ð¤ë¤Î¤Ç sscanf() ¤ÎÂå¤ï¤ê¤Ë strtok() ¤ò»È¤¦¤è¤¦¤ËÊѹ¹¤·¤¿¡£ - ¿ÊĽ¾õ¶·¤Ç¾ï¤Ë 0 ¤¬É½¼¨¤µ¤ì¤Æ¤·¤Þ¤¦¥Ð¥°¤ò¥Õ¥£¥¯¥¹¡£off_t ¤ò 32bit ¤È ²¾Äꤷ¤Æ¤¤¤¿¤±¤É¡¢FreeBSD ¤À¤È 64bit ¤Ê¤ó¤Ç¤¹¤Í¡£ ¡¦1999/11/14 Ver 2.0.5a - de.po ¤ò¹¹¿·¡£ Thanks to Christian Ullrich ¡¦1999/11/13 Ver 2.0.5 - ¥ê¥â¡¼¥È¦¤Î¥Ç¥£¥ì¥¯¥È¥ê¥¨¥ó¥È¥ê¤ÎºÇ½é¤Ë¤¢¤ë¥Õ¥¡¥¤¥ë(¤Þ¤¿¤Ï¥Ç¥£¥ì¥¯¥È¥ê)¤¬ ̵»ë¤µ¤ì¤Æ¤·¤Þ¤¤¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤¬Å¾Á÷¤µ¤ì¤Ê¤«¤Ã¤¿¤ê¡¢¡Ö¥Ç¥£¥ì¥¯¥È¥ê `hoge' ¤¬ºîÀ®¤Ç¤­¤Þ¤»¤ó¡£¡×¤Ê¤É¤È¥¨¥é¡¼¤¬½Ð¤¿¤ê¤¹¤ë¥Ð¥°¤ò¥Õ¥£¥¯¥¹¡£ - ¥Ç¥Ð¥Ã¥°µ¡Ç½¤òÄɲá£weex ¼Â¹Ô»þ¤Ë¿Î̤ΥǥХå°½ÐÎϤòÅǤ­½Ð¤·¤Þ¤¹¡£ ¡Ö./configure --enable-debug¡×¤È¤·¤Æ¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¤³¤È¤Ë¤è¤êÍ­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£ ¡¦1999/11/10 Ver 2.0.4 - ¤¤¤¯¤Ä¤«¤Î¥á¥â¥ê¥ê¡¼¥¯¤ò½¤Àµ¡£ - ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ò¼ã´³¥µ¥Ý¡¼¥È¤·¤¿¡£¥í¡¼¥«¥ë¦¤ÏÀµ¤·¤¯Æ°ºî¤¹¤ë¤Ï¤º¤Ç¤¹¡£ Thanks to seagull - 20MB °Ê¾å¤Î¥µ¥¤¥º¤Î¥Õ¥¡¥¤¥ë¤òžÁ÷¤¹¤ë¤È¿ÊĽ¾õ¶·¤¬¤ª¤«¤·¤¯¤Ê¤ë ¥Ð¥°¤ò¥Õ¥£¥¯¥¹¡£ ¡¦1999/11/08 Ver 2.0.3a - ¥É¥¤¥Ä¸ìËÝÌõ (de.po) ¤òźÉÕ¡£ Thanks to Christian Ullrich ¡¦1999/11/07 Ver 2.0.3 - ÇÛÎó¤Îź»ú¤ò»ØÄꤷ˺¤ì¤Æ¤¤¤Æ¡¢ÇÛÎó¤ÎÀèÆ¬¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤·¤¿¡£ Ver 2.0.2 ¤Ç¥¨¥ó¥Ð¥°¤µ¤»¤Á¤ã¤Ã¤Æ¤¿¤ß¤¿¤¤¤Ç¤¹¡£ ¤½¤Î¤»¤¤¤Ç¤¤¤¯¤Ä¤«¤Î FTP ¥µ¡¼¥Ð¤Ç¤Þ¤Ã¤¿¤¯»ÈÍѤǤ­¤Ê¤¯¤Ê¤Ã¤Æ¤¤¤Þ¤·¤¿¡£¤´¤á¤ó¡£ ¡¦1999/11/07 Ver 2.0.2 - ¥í¡¼¥«¥ëÊÑ¿ô `put_config_flag' ¤¬½é´ü²½¤µ¤ì¤Æ¤¤¤Ê¤«¤Ã¤¿¥Ð¥°¤ò½¤Àµ¡£ - ¤¤¤¯¤Ä¤«¤Î¥á¥â¥ê¥ê¡¼¥¯¤ò½¤Àµ¡£ - @Nifty ¤ò¥µ¥Ý¡¼¥È¡£Thanks to seagull ¡¦1999/11/06 Ver 2.0.1a - 1¤Ä¤Î FTP ¥¢¥«¥¦¥ó¥È¤ÇÊ£¿ô¤Î web ¥µ¥¤¥È¤ò°Ý»ý¤¹¤ë¥Æ¥¯¥Ë¥Ã¥¯¤ÎÀßÄêÎã¤ò sample.weexrc ¤ËÄɲᣵðÂç¤Ê¥Ú¡¼¥¸¤òÊ£¿ô¿Í¤Ç´ÉÍý¤·¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï ¤«¤Ê¤êÍ­¸ú¤«¤â¡£ ¡¦1999/11/06 Ver 2.0.1 - ÀßÄê¥Õ¥¡¥¤¥ë¤ÎÆÉ¤ß¹þ¤ß¸¢¸Â¤¬½êÍ­¼Ô¤ËÍ¿¤¨¤é¤ì¤Æ¤¤¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¤â ·Ù¹ð¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤¹¤ë¤è¤¦¤Ë¤·¤¿¡£¤É¤¦¤»ÆÉ¤ß¹þ¤à»þ¤Ë¥¨¥é¡¼¤Ç ¤Ï¤¸¤«¤ì¤ë¤ó¤À¤«¤é°ì½ï¤À¤±¤É¡£ - ChangePermissionDir ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Æ ChangePermission ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤ ¤È¤­¤Ë¤Ï¥¨¥é¡¼¤ÇÍî¤È¤¹¤è¤¦¤Ë¤·¤¿¡£ - DestDir ¤ä SrcDir ¤Ë¥ë¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê("/")¤òÀßÄꤷ¤Æ¤¤¤ë¾ì¹ç¤Ë ¥Ç¥£¥ì¥¯¥È¥ê¤Î°Üư¤Ë¼ºÇÔ¤¹¤ë¥Ð¥°¤ò¥Õ¥£¥¯¥¹¡£¤ä¤äÂ礭¤á¤Î½¤Àµ¤Ë¤Ê¤Ã¤Æ ¤·¤Þ¤Ã¤¿¤Î¤Ç¥¨¥ó¥Ð¥°¤·¤Æ¤¿¤é¤´¤á¤ó¤Ê¤µ¤¤¡£ ¡¦1999/11/04 Ver 2.0.0 - ¿ÊĽ¾õ¶·¤¬ 100% ¤Ë㤷¤Æ¤â¡¢Å¾Á÷¤¬´°Á´¤Ë½ªÎ»¤¹¤ë¤Þ¤Ç¤Ïɽ¼¨¤ò ¾Ã¤µ¤Ê¤¤¤è¤¦¤Ë¤·¤¿¡£ - ÀßÄê¥Õ¥¡¥¤¥ë¤¬¤Ê¤¯¤Æ¤â -h ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤¿»þ¤Ë¤Ï usage ¤ò ɽ¼¨¤¹¤ë¤è¤¦¤Ë¤·¤¿¡£ - ¤¤¤¯¤Ä¤«¤Î¥á¥Ã¥»¡¼¥¸¤òÊѹ¹¡£ - ÀßÄê¥Õ¥¡¥¤¥ë¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤¬ 600 °Ê³°¤À¤Ã¤¿¾ì¹ç¤Ë¤Ï·Ù¹ð¥á¥Ã¥»¡¼¥¸¤ò ɽ¼¨¤¹¤ë¤è¤¦¤Ë¤·¤Æ¤¤¤¿¤¬¡¢²¼2¤Ä¤¬ 00 ¤À¤Ã¤¿¤é·Ù¹ð¤·¤Ê¤¤¤è¤¦¤Ë¤·¤¿¡£ - ¥Ñ¥¹¥ï¡¼¥É¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤«¤Ã¤¿¤È¤­¡¢¥»¥°¥á¥ó¥È°ãÈ¿¤ÇÍî¤Á¤ë¥Ð¥°¤ò ¥Õ¥£¥¯¥¹¡£ - ¾å½ñ¤­¤¬ÉÔ²Äǽ¤Ê FTP ¥µ¡¼¥Ð¤Î¤¿¤á¤ÎÀßÄê¡¢¡ÖOverwriteImpossible=True¡×¤ò ¡ÖOverwriteOK=False¡×¤ËÊѹ¹¡£¥Ñ¥é¥á¡¼¥¿¤Î°ÕÌ£¤òÀµÈ¿ÂФˤ·¤Þ¤·¤¿¡£ ±Ñ¸ì¤Î2½ÅÈÝÄê¤Ï¤ï¤«¤ê¤Ë¤¯¤¤¤é¤·¤¤¤Ç¤¹¡£ - ¥ê¥â¡¼¥È¥Þ¥·¥ó¤Î»þ·×¤¬ÃÙ¤ì¤Æ¤¤¤ë¤È¡¢¥Õ¥¡¥¤¥ë¤¬¹¹¿·¤µ¤ì¤Æ¤¤¤Ê¤¯¤Æ¤â ¤½¤Î¥Õ¥¡¥¤¥ë¤¬Å¾Á÷¤µ¤ì¤Æ¤·¤Þ¤¦¥Ð¥°¤ò¥Õ¥£¥¯¥¹¡£ - ÀßÄê¥Õ¥¡¥¤¥ë¤¬Àµ¾ï¤ËÆÉ¤ß¹þ¤Þ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤òÄ´¤Ù¤ë¤¿¤á¤Î ¥ª¥×¥·¥ç¥ó -d ¤òÄɲᣠ- Chris X Edwards ¤µ¤ó¤Ë man ¥Ú¡¼¥¸¤ò¥¢¥Ã¥×¥Ç¡¼¥È ¤·¤Æ¤¤¤¿¤À¤­¤Þ¤·¤¿¡£¤µ¤é¤Ë README ¤â¹»Àµ¤·¤Æ¤â¤é¤¤¤Þ¤·¤¿¡£ Èफ¤é¤Ï¾¤Ë¤â¿¿ô¤ÎÄó°Æ¤È¥Ð¥°¥ì¥Ý¡¼¥È¤ò夭¤Þ¤·¤¿¡£¤¢¤ê¤¬¤È¤¦¡ª ¡¦1999/10/29 Ver 1.9.9 - ºÇ½é¤«¤é½ñ¤­Ä¾¤·¤¿¡£Êѹ¹ÅÀ¶Ë¤á¤ÆÂ¿¿ô¡£ - ̾¾Î¤ò¡Öweex¡×¤ËÊѹ¹¡£ÀßÄê¥Õ¥¡¥¤¥ë¤ä¥Ç¥£¥ì¥¯¥È¥ê̾¤Ê¤ó¤«¤¬ÊѤï¤ê¤Þ¤·¤¿¡£ ÀßÄê¥Õ¥¡¥¤¥ë¤âÂçÉý¤ËÊѹ¹¤Ë¤Ê¤Ã¤¿¤Î¤Ç¡¢¥É¥­¥å¥á¥ó¥È¤òÆÉ¤ó¤ÇºÆÀßÄê¤ò ¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ¡¦1999/10/07 Ver 1.7.3a - Chris X Edwards ¤µ¤ó¤Ëºî¤Ã¤Æ¤¤¤¿¤À¤¤¤¿ man ¥Ú¡¼¥¸¤ò źÉÕ¤·¤Þ¤·¤¿¡£ ¡¦1999/09/27 Ver 1.7.3 - ɽ¼¨¥á¥Ã¥»¡¼¥¸¤ò¼ã´³Êѹ¹¡£ ¡¦1999/09/24 Ver 1.7.2 - ¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë¤ò³Æ¥Û¥¹¥ÈËè¤Ëʬ¤±¤ë¤è¤¦¤Ë¤·¤¿¡£ ¡¦1999/09/12 Ver 1.7.1 - ¥é¥¤¥»¥ó¥¹¾å¤ÎÌäÂ꤬²óÈò¤µ¤ì¤¿¤Î¤Ç¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Î ²òÀϤò shhopt ¤Ç¹Ô¤¦¤è¤¦¤ËÊѹ¹¤¹¤ë¡£ - ¡Ö-V | --version¡×¥ª¥×¥·¥ç¥ó¤òÄɲᣠ¡¦1999/08/13 Ver 1.7.0 - ̾¾Î¤òÊѹ¹¡£ ÀßÄê¥Õ¥¡¥¤¥ë¤ä¥Ç¥£¥ì¥¯¥È¥ê̾¤Ê¤ó¤«¤¬¡Ö*iwe*¡×¤«¤é¡Ö*fwe*¡×¤Ë ÊѤï¤ê¤Þ¤·¤¿¡£Ì¾Á°¤À¤±¤Ç¤¹¤Î¤Ç¤ª¼ê¿ô¤ò¤ª³Ý¤±¤·¤Þ¤¹¤¬Êѹ¹¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£ - init_config() ¤ò¼ã´³½ñ¤­Ä¾¤·¡£C ¥×¥í¥°¥é¥ß¥ó¥°¿ÇÃǼ¼¤ËÊü¤ê¹þ¤Þ¤ì¤½¤¦¤Ê ¤Û¤É±ø¤¤¤Ê¡¦¡¦¡¦¡£ - ¤Þ¤¤¤È¤¦¾ðÊóÄÌ¿®¸¦µæ²ñ (http://www.maitou.gr.jp/) ¤Î°ËÆ£¤µ¤ó¤Î ºîÀ®¤µ¤ì¤¿¥Ñ¥Ã¥Á¤ò¼è¤ê¹þ¤ß¤Þ¤·¤¿¡£°Ê²¼¤Ï¤³¤Î¥Ñ¥Ã¥Á¤Ë¤è¤ëÊѹ¹ÅÀ¤Ç¤¹¡£ - STOR ³«»Ï»þ¤Ë Permission error (1°Ê³°) ¤È¤Ê¤Ã¤¿¾ì¹ç¡¢ ¥Ç¡¼¥¿Å¾Á÷ÍÑ¥³¥Í¥¯¥·¥ç¥ó¤Ï³ÎΩ¤µ¤ì¤Æ¤¤¤Ê¤¤¤Ë¤â´Ø¤ï¤é¤º¡¢ ¥Ç¡¼¥¿Å¾Á÷ÍÑ¥³¥Í¥¯¥·¥ç¥ó¤ò½ªÎ»¤·¤è¤¦¤È¤·¤Æ¥Ç¥Ã¥É¥í¥Ã¥¯ ¤·¤Æ¤·¤Þ¤¦¥Ð¥°¤ò FtpClose2 ¤òºîÀ®¤·¤Æ²þÁ±¡£ ('~' Åù¤ÎÆÃÄê¤Îʸ»ú¤¬¤Ä¤¯¥Õ¥¡¥¤¥ë̾¤ò¥¢¥Ã¥×¥í¡¼¥É ¤·¤è¤¦¤È¤¹¤ë¤È Permission error ¤È¤Ê¤ë ftpd ¤ËÂФ·Í­¸ú) - ÀßÄê¥Õ¥¡¥¤¥ë¤Ç»ØÄꤷ¤¿¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î¥Õ¥¡¥¤¥ë¤Î ¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤ò 777 ¤Ë¤Ç¤­¤ëµ¡Ç½¤òÄɲᣠ(ftplib.c ¤Ë¹¥¤­¤ÊÃÍ¤Ë chmod ¤Ç¤­¤ë´Ø¿ô¤òÄɲᣠfwe.c ¦¤Ç 777 ¤Ë¸ÇÄê¡£ÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢ [ExecDir_*] °À­¤Ë¤è¤ê¥Ñ¥¹¤ò»ØÄê¤Ç¤­¤ë¤è¤¦µ¡Ç½ÄɲÃ) - ¥Õ¥¡¥¤¥ë¤ò¾å½ñ¤Ç¤­¤Ê¤¤¤è¤¦¤ÊÀßÄê¤Ë¤Ê¤Ã¤Æ¤¤¤Æ ´û¤Ë¸ºß¤¹¤ë¥Õ¥¡¥¤¥ë¤Ï°ìöºï½ü¤·¤Æ¤«¤é¤Ç¤Ê¤¤¤È ¿·¤¿¤Ë STOR ¤Ç¤­¤Ê¤¤ ftpd ¤ËÂбþ¡£ ¤³¤Îµ¡Ç½¤òÍ­¸ú¤Ë¤¹¤ë¤Ë¤ÏÀßÄê¥Õ¥¡¥¤¥ëÃæ¤Î [CantOverwrite_*] °À­¤ò ¤ò¡ÖTrue¡×¤Ë¤·¤Þ¤¹¡£ - ÀßÄê¥Õ¥¡¥¤¥ë¤Î¡ÖAsciiExt¡×¤È¡ÖDontUpExt¡×¤Ë¤ª¤¤¤Æ¡¢°ÊÁ°¤Ï Ê£¿ô¤Î¥Ô¥ê¥ª¥É¤¬Â¸ºß¤¹¤ë³ÈÄ¥»Ò¤ò½èÍý¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¤¬¡¢¤³¤ì¤¬ ½¤Àµ¤µ¤ì¡¢¡Ö.tar.gz¡×¤Ê¤É¤È¤¤¤¦»ØÄ꤬²Äǽ¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ ¥Õ¥¡¥¤¥ë̾¤ò¸å¤í¤«¤é¸«¤Æ¹Ô¤Ã¤ÆÁ´¤Æ°ìÃפ¹¤ì¤Ð¡Ö³ºÅö¡×¤ÈȽÄꤹ¤ë¤Î¤Ç (ÀâÌÀ¤¬Ê¬¤«¤ê¤Ë¤¯¤¤¤Í¡£fwe.c ¤Î is_dontupext() ¤ò¸«¤ì¤Ð°ìÌÜÎÆÁ³¤Ç¤¹)¡¢ ³ÈÄ¥»Ò¤È¤¤¤¦³µÇ°¼«ÂΤ¬¤Ê¤¯¤Ê¤ê¤Þ¤·¤¿¡£¡Öhoge¡×¤ÈÀßÄꤷ¤Æ¤ª¤±¤Ð ¡Öhogehoge.hoge¡×¤â¡Öhogehogehoge¡×¤â³ºÅö¤·¤Þ¤¹¡£Á°¼Ô¤À¤±³ºÅö¤µ¤»¤ë ¤¿¤á¤Ë¤Ï¡Ö.hoge¡×¤ÈÀßÄꤹ¤ì¤Ð ok ¤Ç¤¹¡£ ¡¦1999/08/08 Ver 1.6.4 - ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Î²òÀÏ¤Ë shhopt ¤ò»È¤Ã¤Æ¤¤¤¿¤Î¤ò ioptparse ¤ËÊѹ¹¡£ ¡¦1999/07/19 Ver 1.6.3 - usage ¤Îɽ¼¨¤ò¼ã´³Êѹ¹¡£ ¡¦1999/07/09 Ver 1.6.2 - ¡Öconfigure --disable-nls¡×¤ÇNLS¤ò̵¸ú¤Ë¤¹¤ë¡¢¤¢¤ë¤¤¤ÏºÇ½é¤«¤é NLS ¤¬ Í­¸ú¤Ç¤Ê¤¤¥Þ¥·¥ó¤À¤È¥³¥ó¥Ñ¥¤¥ë¤¬ÅÓÃæ¤Ç»ß¤Þ¤Ã¤Æ¤·¤Þ¤¦¥Ð¥°¤ò¥Õ¥£¥¯¥¹¡£ ¡¦1999/07/07 Ver 1.6.1 - ¥Û¥¹¥ÈÈÖ¹æ¤Î°ú¿ô½èÍý¤¬´Ö°ã¤Ã¤Æ¤¤¤¿¤Î¤ò½¤Àµ¡£¡Öiwe 1 2 3¡×¤È¼Â¹Ô¤¹¤ë¤È Á´¤ÆºÇ½é¤Ë»ØÄꤷ¤¿¥Û¥¹¥ÈÈֹ椬žÁ÷¤µ¤ì¤Æ¤¤¤¿(¡Öiwe 1 1 1¡×¤ÈƱ¤¸)¡£ ¡¦1999/06/29 Ver 1.6.0a - ¥É¥­¥å¥á¥ó¥È¤òʬ³ä¡£¥³¡¼¥É¤ËÊѹ¹¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¡¦1999/06/11 Ver 1.6.0 - ÀßÄê¥Õ¥¡¥¤¥ë¤ò¡Ö~/.iwerc¡×¤Î¾¤Ë¡Ö~/.iwe/iwerc¡×¤âÆÉ¤ß¤Ë¹Ô¤¯¤è¤¦¤Ë¤·¤¿¡£ - µ¯Æ°»þ¤Ë¥Ç¥£¥ì¥¯¥È¥ê¡Ö~/.iwe/¡×¤òºîÀ®¤¹¤ë¤è¤¦¤Ë¡£ - ÀßÄê¥Õ¥¡¥¤¥ë¤«¤é¡ÖListTemp¡×¤Î¹àÌܤòºï½ü¡£ - ¥­¥ã¥Ã¥·¥åµ¡Ç½ÅëºÜ¡£¥Õ¥¡¥¤¥ë¿ô¤¬Â¿¤¤¾ì¹ç¤Ï°ÊÁ°¤ËÈæ¤Ù¤Æ¤«¤Ê¤ê¹â®¤Ë ¤Ê¤ê¤Þ¤·¤¿¡£ ¡¦1999/06/09 Ver 1.5.0 - ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Î²òÀÏ¤Ë shhopt ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¤è¤¦¤Ë¤·¤¿¡£ - ¥¿¥¤¥à¥¹¥¿¥ó¥×¤¬ 1970 ǯÂå¤Ê¥Õ¥¡¥¤¥ë¤òÀµ¾ï¤ËžÁ÷¤Ç¤­¤Ê¤«¤Ã¤¿¥Ð¥°¤ò¥Õ¥£¥¯¥¹¡£ UNIX ¤Î¾ì¹ç¤Ï¤Õ¤Ä¡Á¤Ë¥³¡¼¥Ç¥£¥ó¥°¤·¤Æ¤ì¤Ð 2000 ǯÌäÂê¤Ïµ¯¤³¤é¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢ ¤Ê¤¼¤«ÌµÍýÌðÍý¤«¤Ä̵°ÕÌ£¤Ë 2000 ǯÌäÂê¤ò²óÈò¤¹¤ë¤è¤¦¤Ë¥³¡¼¥Ç¥£¥ó¥°¤·¤Æ¤¢¤Ã¤Æ¡¢ ¤½¤Î¤»¤¤¤ÇµÕ¤Ë¥Ð¥°¤Ã¤Æ¤¿¤ß¤¿¤¤¡£ - ÀßÄê¥Õ¥¡¥¤¥ë¤Î²òÀÏ¤Ë Inchiki Configuration File Parse Library 2.0.1 ¤ò ÍѤ¤¤ë¤è¤¦¤ËÊѹ¹¡£¥³¥á¥ó¥È³«»Ïʸ»ú¤¬ '#' ¤Ë¤Ê¤ê¤Þ¤·¤¿¤Î¤ÇÀßÄê¥Õ¥¡¥¤¥ëÃæ¤Î ';' ¤ò '#' ¤ËÊѹ¹¤·¤Æ¤¯¤À¤µ¤¤¡£¤·¤ç¤Ã¤Á¤å¤¦ÊѤï¤Ã¤Æ¤¹¤Þ¤Ì¡£ - ±Ñʸ¥É¥­¥å¥á¥ó¥È¤Î¹¹¿·¤òÊü´þ¡£ÆÉ¤à¤Î¤Ï¤¤¤¤¤±¤É¡¢½ñ¤¯¤Î¤Ï¤¿¤Þ¤é¤ó¤Ã¤¹¡£ ¡¦1999/05/21 Ver 1.4.0 - À¤³¦É¸½à¤Î¼öʸ¤ËÂбþ(¾Ð)¡£¤¹¤Ê¤ï¤Á autoconf,automake,gettext ²½¡£ - ¿§¤òÊѹ¹¤·¤¿ºÝ¤Ë¤½¤ì¤òÌ᤹»þ¤ËÇò¿§¤ËÊѹ¹¤·¤Æ¤ª¤¤¤¿¤Î¤Ç¤¹¤¬¡¢ ¤è¤¯¹Í¤¨¤ë¤ÈÀ¤¤ÎÃæ¤Ë¤ÏÇØ·Ê¤¬Çò¤Çʸ»ú¤¬¹õ¤Ê¿Í¤â¤¤¤ë¤ï¤±¤Ç¡¦¡¦¡¦¡£ ¤È¤¤¤¦¤ï¤±¤Çʸ»ú¿§¤òÌ᤹¤È¤­¤Ë¤Ï¥·¥¹¥Æ¥àµ¬Äê¿§¤òºÎÍÑ¡£ ¡¦1999/04/13 Ver 1.3.2 - ÀßÄê¥Õ¥¡¥¤¥ë¤Ë¥¨¥é¡¼¤¬¤¢¤Ã¤Æ¤â¤½¤Î¤Þ¤Þ½èÍý¤ò·Ñ³¤·¤Æ¤·¤Þ¤¦¥Ð¥°¤ò ¥Õ¥£¥¯¥¹¡£ ¡¦1999/04/05 Ver 1.3.1 - ¥½¡¼¥¹¥³¡¼¥É¤Î¥â¥¸¥å¡¼¥ë²½¤ò¿Ê¤á¤¿¡£¤³¤ì¤Ç¾¯¤·¤ÏÆÉ¤ß¤ä¤¹¤¯¤Ê¤Ã¤¿¤Ï¤º¡£ - ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤òɸ½à¥¨¥é¡¼½ÐÎϤ˽ÐÎϤ¹¤ë¤è¤¦¤ËÊѹ¹¡£ ¡¦1999/04/03 Ver 1.3.0 - Inchiki Configuration File Reading Library ¤òÍѤ¤¤ÆÀßÄê¥Õ¥¡¥¤¥ë¤ò ÆÉ¤ß¹þ¤à¤è¤¦¤ËÊѹ¹¡£¤³¤ì¤Ë¤è¤êÀßÄê¥Õ¥¡¥¤¥ë¤¬µ­½Ò¤·¤ä¤¹¤¯¤Ê¤ê¡¢ ¤½¤·¤ÆÂ¿¤¯¤ÎÀ©¸Â¤¬Å±ÇѤµ¤ì¤¿¡£ °ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤ÈÀßÄê¥Õ¥¡¥¤¥ë¤Î¸ß´¹À­¤¬¼º¤ï¤ì¤Æ¤¤¤ë¤Î¤Ç¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥× ¤¹¤ëÊý¤Ïα°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ - 1¤Ä¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ç½èÍý¤Ç¤­¤ë¥Õ¥¡¥¤¥ë¿ô¤Î¥Ç¥Õ¥©¥ë¥È¤ò 100 ¤È¤·¤Æ¤¤¤¿¤Î¤ò 500 ¤ËÊѹ¹¡£ ¡¦1999/03/16 Ver 1.2.0 - ¥Ï¡¼¥É¥³¡¼¥Ç¥£¥ó¥°¤Ë¤è¤ëÃϰ貽¤òÃæ»ß¤·¡¢NLS ¥á¥Ã¥»¡¼¥¸¥«¥¿¥í¥°¤ò»ÈÍѤ·¤¿ ¹ñºÝ²½¤ËÊѹ¹¡£¤³¤ì¤ÇÆüËܸ졦±Ñ¸ì°Ê³°¤Î¸À¸ì¤â´Êñ¤Ë»ÈÍѤǤ­¤ë¤è¤¦¤Ë ¤Ê¤ê¤Þ¤·¤¿¡£¤½¤ì¤Ë¤È¤â¤Ê¤¤¶¯À©ÆüËܸ졦±Ñ¸ìɽ¼¨¥ª¥×¥·¥ç¥ó¤òÇѻߡ£ - µîǯ°ÊÁ°¤Î¥ê¥â¡¼¥È¥Õ¥¡¥¤¥ë¤òÆÉ¤Þ¤»¤ë¤È¥Õ¥¡¥¤¥ë̾¤òÀµ¾ï¤Ë¼èÆÀ¤Ç¤­¤º ¸íưºî¤¹¤ë¥Ð¥°¤ò¥Õ¥£¥¯¥¹(¤Ê¤ó¤ÆÃ×̿Ū¤Ê¡¦¡¦¡¦)¡£ - ¥Ð¡¼¥¸¥ç¥óɽµ­¤ò UNIX ½àµò¤Ë(^^; ¡¦1999/02/14 Ver 1.11 - ±Ñ¸ìÈǥɥ­¥å¥á¥ó¥È¤òźÉÕ¡£ - ¤¤¤¯¤Ä¤«¤Î¥á¥Ã¥»¡¼¥¸¤ò½¤Àµ¡£ ¡¦1999/02/13 Ver 1.10 - ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤¬ÍøÍѲÄǽ¤Ë¤Ê¤Ã¤¿¡£ - ÆüËܸì¤È±Ñ¸ì¤ò¡¢¥ª¥×¥·¥ç¥ó¡Ö-e¡×¤È¡Ö-j¡×¤òÍѤ¤¤ÆÁªÂò¡¢É½¼¨¤Ç¤­¤ë¤è¤¦¤Ë ¤Ê¤Ã¤¿¡£¥Ç¥Õ¥©¥ë¥È¤Ï´Ä¶­ÊÑ¿ô LANG ¤ò¸«¤Æ·è¤á¤Æ¤¤¤ë¡£ - ¶¯À©Å¾Á÷¥ª¥×¥·¥ç¥ó¡Ö-f¡×¤òÄɲá£ÌۤäƼ¹Ԥ¹¤ë¥ª¥×¥·¥ç¥ó¡Ö-s¡×¤òÄɲᣠ- ¤Ä¤¤¤Ë¥É¥­¥å¥á¥ó¥È¤òÉÕ¤±¤¿¡£ ¡¦1999/02/12 Ver 1.00 - ½é¸ø³«¡£»ä¤ÎÍߤ·¤«¤Ã¤¿µ¡Ç½¤ÏÁ´¤ÆÅëºÜ¤·¤Æ¤¢¤ë¡£ weex-2.6.1/doc/COPYING0100644000016100001440000004311006773221544013157 0ustar ludousers GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. weex-2.6.1/doc/weex.cat0100664000016100001440000004527507112245654013601 0ustar ludousers weex(1) weex(1) NNAAMMEE weex - fast WEb EXchanger non-interactive FTP client SSYYNNOOPPSSIISS wweeeexx [ Options ] _H_O_S_T_I_D _[_H_O_S_T_I_D_._._._] DDEESSCCRRIIPPTTIIOONN wweeeexx is a utility designed to automate the task of remotely maintaining a web page or other FTP archive. With wweeeexx , the maintainer of a web site or archive that must be administered through FTP interaction can largely ignore that process. The archive administrator simply creates a local directory that serves as an exact model for the off- site data. All modifications and direct interaction is done locally to this directory structure. When the admin- istrator wishes to coordinate the data on the remote site with that of the local model directory, simply executing wweeeexx accomplishes this in the most bandwidth-efficient fashion by only transferring files that need updating. The program will create or remove (!) files or directories as necessary to accurately establish the local model on the remote server. The mandatory _H_O_S_T_I_D argument is the user-defined name that represents a particular FTP account or configuration specified in the _~_/_._w_e_e_x_r_c file. This file, the contents of which are described below, can alternatively be named _~_/_._w_e_e_x_/_w_e_e_x_r_c. Multiple _H_O_S_T_I_D arguments to a single wweeeexx command are supported to affect multiple archives or configurations in immediate succession. In addition, the actual _H_O_S_T_I_D can be substituted with the number repre- senting its relative sequential position in the _~_/_._w_e_e_x_r_c file (the first _H_O_S_T_I_D definition is 1, and so on). OOPPTTIIOONNSS Options at the command line take precedence over any spec- ified in the configuration file. --dd,, ----ddeebbuugg--ccoonnffiigg Outputs the configuration of each hosts. --DD,, ----ddeebbuugg--ffttpplliibb Outputs messages from/to FTP server. YN-cxe 2000.05.22 1 weex(1) weex(1) --ff,, ----ffoorrccee If the caching mechanism is inhibiting the upload- ing of files that should be transferred, this option will force the actual transfer to always occur. --hh,, ----hheellpp Outputs a usage summary to _s_t_d_o_u_t. --mm,, ----mmoonnoocchhrroommee The default mode generates a helpful color coding based on the operation being performed. This option suppresses that. --rr,, ----rreebbuuiilldd--ccaacchhee If cache file is broken, use this to rebuild it. --ss,, ----ssiilleenntt The default mode outputs a helpful status message for each action taken, including file transfer progress meters. This mode suppresses output. --tt,, ----tteesstt Weex doesn't modify any remote files/directories. --VV,, ----vveerrssiioonn Prints the version of the wweeeexx program. CCOONNFFIIGGUURRAATTIIOONN FFIILLEE Because this program is meant to be non-interactive, a properly set up configuration file is essential. wweeeexx looks for this file either in _~_/_._w_e_e_x_r_c or _~_/_._w_e_e_x_/_w_e_e_x_r_c. The general format of the configuration file is a brack- eted section heading followed by parameters that define that section's configuration. This section name is what is provided to wweeeexx at run time to indicate the FTP arrange- ment you wish to update. A parameter is only valid for the most recent section heading that preceded it. The excep- tion to this is the _[_d_e_f_a_u_l_t_] section which creates set- tings for unspecified parameters in every section. In the case of parameters that accept multiple values, the default section augments any specifically designated val- ues. Lines that begin with the '#' character are safely ignored as comments. Neither section names nor parameter YN-cxe 2000.05.22 2 weex(1) weex(1) variables are case sensitive in any way. Section names can not begin with numbers. Some parameters can be assigned multiple values. Where this is not possible, the last value is used. To quote special characters, use single quotes (') or double quotes ("). To quote a particular quote symbol, use the other quote. The general syntax for- mat for the configuration file is: [hostid1] Parameter1 = Value # First method for multiple values Parameter2 = Value Parameter2 = Value ... [hostid2] Parameter1 = Value # Second method for multiple values Parameter2 = { Value Value } ... [default] Parameter = Value ... PPAARRAAMMEETTEERR LLIISSTT These parameters are used to define the properties of a particular host configuration named in brackets. When specifying directory names, the trailing "/" is optional. Also, both files and directories (except SrcDir and Dest- Dir) can be specified with shell wildcards. When specify- ing files, if a file or file pattern is given without a path, it is assumed to be available when encountered in any directory. If it is an explicitly specified path/file combination, the configuration is available in that direc- tory. Files/directories except `SrcDir' and `DestDir' can be specified as both absolute path and relative path. But you must specify `SrcDir' and `DestDir' as absolute path. When you want to specify `/public_html/ignoreme.html' as relative path, you should specify `./ignoreme.html' rather than `ignoreme.html'. When specifying binary states, you may use any of the following: True/False, Yes/No, T/F, 1/0. None are case sensitive. AAsscciiiiFFiillee Filename patterns that will be transferred using ASCII mode. The default mode for files not speci- fied in this way is IMAGE(BINARY) mode. YN-cxe 2000.05.22 3 weex(1) weex(1) CChhaannggeePPeerrmmiissssiioonn The access permissions of the files in the directo- ries specified with ChangePermissionDir are changed to this parameter. The format is a three digit octal number. CChhaannggeePPeerrmmiissssiioonnDDiirr Files in directories assigned to this parameter will have their access permissions changed after sending. Specify local directories. CChhddiirrAAttCCoonnnneeccttiioonn Set `true' to change remote current working direc- tory to DestDir at connection. If remote current working directory at connection is DestDir, weex runs faster a bit by setting this parameter to `false'. Default is `true'. CCoonnvvTTooLLoowweerr If set to `true', the filenames are converted to lower case before sending. This feature allows interaction with FTP servers that do not support case sensitive filenames. If a naming conflict arises due to a lower case name already existing, an error occurs. Furthermore, the cache is totally unaware of original uppercase filenames. DDeessttDDiirr Destination directory on the remote FTP server where the mirrored information will be sent. This setting corresponds to the "pwd" command on tradi- tional FTP clients. FFoorrccee If the caching mechanism is inhibiting the upload- ing of files that should be transferred, this option will force the actual transfer to always occur if set to `true'. FFoolllloowwSSyymmlliinnkkss Set `true' to follow symbolic links. Default is `false'. Symbolic link of directory assumes a file whose size is 0 byte at default. FFttppPPaassssiivvee When it is `false', weex uses port mode instead of passive mode. If the FTP server doesn't support passive mode, specify `false'. (It may make YN-cxe 2000.05.22 4 weex(1) weex(1) transfer slower) Default is `true'. (See also FAQ) HHoossttNNaammee Hostname to connect to. The "ftp://" protocol spec- ifier is implied and shouldn't be used. An IP address is also valid and may save lookup time. IIggnnoorreeLLooccaallDDiirr This parameter contains one or more protected local directories that are completely ignored during the transfer process. This is useful if you want to have subdirectories that are part of a project but don't need to be in the final, online version (i.e., old versions). IIggnnoorreeLLooccaallFFiillee This parameter contains one or more protected local file specifiers that will be completely ignored during the transfer process. IIggnnoorreeRReemmootteeDDiirr This parameter contains one or more protected remote directories that are completely ignored dur- ing the transfer process. This is useful if you want to have other material on the remote FTP site that is not related to the specific project that wweeeexx is dealing with. This could include, for exam- ple, data administered through a different FTP client or process. IIggnnoorreeRReemmootteeFFiillee This parameter contains one or more protected remote file specifiers that will be completely ignored during the transfer process. KKeeeeppRReemmootteeDDiirr In their directories, files are not removed when they don't exist in the local directory. LLooggDDeettaaiillLLeevveell It specifis how detail level weex records a log at. Connection and disconnection message and error mes- sages are always recorded. When weex finishes working correctly, it writes `Complete' previous disconnection message. If 1 or less, records each connection. If 2, records each directory. If 3 or more, records each file manipulated Default is 1. YN-cxe 2000.05.22 5 weex(1) weex(1) LLooggiinnNNaammee Login name of the account on the FTP server. MMaaxxRReettrryyTTooSSeenndd When weex fails in sending a file, it retry to send the file. The maximum times of retrying is this parameter. Default is 8. Specify -1 to stop retry- ing. MMoonnoocchhrroommee The default mode generates a helpful color coding based on the operation being performed. A `true' setting suppresses that. NNeessttSSppaacceess An integer that controls the indent spacing of the output. The default is 4. If you want to suppress it, specify -1. If you specify 0, weex uses 4. :-) OOvveerrwwrriitteeOOKK If the FTP server has trouble overwriting files, set this parameter to `false'. PPaasssswwoorrdd Plaintext password granting access to the account. Note that this file uses no special facilities to safeguard passwords. Make sure that the file per- missions of a configuration file containing pass- words are set conservatively. If they are not, a warning will be issued at execution. If this parameter is not found, weex asks for it on the terminal. PPrreesseerrvveePPeerrmmiissssiioonnDDiirr The access permissions of the files in directories assigned to this parameter will be copied to remote. Specify *local* directories. RReeccoorrddLLoogg When `true', weex create a log. SShhoowwHHiiddddeennFFiillee Set `true' to get hidden files (starting with a dot) on FTP server which doesn't show hidden files by default. Default is `false'. YN-cxe 2000.05.22 6 weex(1) weex(1) SSiilleenntt The default mode outputs a helpful status message for each action taken, including file transfer progress meters. A `true' setting suppresses out- put. SSrrccDDiirr Top of the source directory tree containing the local copy of the information to be mirrored. This setting corresponds to the "lcd" command on tradi- tional FTP clients. EEXXAAMMPPLLEESS Here is an example of what a typical ..wweeeexxrrcc file might look like: #-=-=-=-=-=Sample Configuration file=-=-=-=-=- # My favorite FTP account... [Ninja] HostName = ftp.ninja-rights.org LoginName = chrisxed Password = '"mYsEcReT!"' SrcDir = /home/chrisxed/project/weex DestDir = / ASCIIfile = *.c IgnoreLocalDir = /home/chrisxed/project/weex/weex.devel IgnoreLocalDir = /home/chrisxed/project/weex/weex.old IgnoreLocalFile = notes2myself.txt IgnoreRemoteDir = /offsitearchive/ # Another FTP account... [Veggie] HostName = ftp.vegetable-advocacy.com LoginNAME = waxedbean Password = "X'sBean" SrcDir = /home/chrisxed/project/legumes DestDir = /souppot/ # Global configuration settings [default] AsciiFile = { *.htm *.html *.txt *.asc } IgnoreLocalFile = { *.bak *.tmp *.swp } With a configuration like this, executing: YN-cxe 2000.05.22 7 weex(1) weex(1) $$ wweeeexx NNiinnjjaa would cause the file system assigned to SSrrccDDiirr to be com- pletely mirrored on the remote server. Executing: $$ wweeeexx nniinnjjaa vveeggggiiee would cause the FTP update to occur for the "Ninja" con- figuration and then for the "Veggie" configuration. This could also be specified like this: $$ wweeeexx 11 22 NNOOTTEESS TTiimmeessttaammpp CCaacchhee FFaacciilliittyy wweeeexx implements a cache of file timestamps from Ver 1.6.0. This makes updating much faster when you have a lot of files. In addition, wweeeexx also caches directory structure and file names from Ver 2.5.0. So never slow transfer even if you have many directories and files. If, however, you change the remote files with another FTP client or running wweeeexx is killed or wweeeexx is terminated by an error, the cache file will not be correct. The simple solution to this problem is to remove the cache file (located in _~_/_._w_e_e_x_/_w_e_e_x_._c_a_c_h_e_._H_O_S_T_N_A_M_E ) completely or to run wweeeexx with option _-_-_r_e_b_u_i_l_d_-_c_a_c_h_e. TTeesstteedd OOppeerraattiinngg SSyysstteemmss Debian GNU/Linux 2.1 Red Hat Linux 5.1/5.2/6.0/6.1J SuSE Linux 6.1/6.2/6.3 Linux Mandrake 6.1 FreeBSD(98) 3.0-RELEASE FreeBSD 3.3-RELEASE Solaris 2.5.1 AAUUTTHHOORR This very handy program was written by: Yuuki NINOMIYA The original man page was written by: Chris _X Edwards The copyright of this software and documentation belongs to Yuuki NINOMIYA. It is released under the terms of the GNU General Public License as published by the Free YN-cxe 2000.05.22 8 weex(1) weex(1) Software Foundation; either version 2, or (at your option) any later version. You can redistribute it and/or modify it under the GPL. This software uses shhopt for parsing command line options. Shhopt is released under the Artistic License. You may use it separately under the Artistic License. YN-cxe 2000.05.22 9 weex-2.6.1/man/0040777000016100001440000000000007121420631012124 5ustar ludousersweex-2.6.1/man/Makefile.am0100644000016100001440000000004207007310034014143 0ustar ludousersman_MANS=weex.1 EXTRA_DIST=weex.1 weex-2.6.1/man/Makefile.in0100664000016100001440000001357007121420631014172 0ustar ludousers# Makefile.in generated automatically by automake 1.4 from Makefile.am # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ DATADIRNAME = @DATADIRNAME@ GENCAT = @GENCAT@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GT_NO = @GT_NO@ GT_YES = @GT_YES@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INSTOBJEXT = @INSTOBJEXT@ INTLDEPS = @INTLDEPS@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ PACKAGE = @PACKAGE@ POFILES = @POFILES@ POSUB = @POSUB@ RANLIB = @RANLIB@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ l = @l@ localedir = @localedir@ man_MANS = weex.1 EXTRA_DIST = weex.1 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = man1dir = $(mandir)/man1 MANS = $(man_MANS) NROFF = nroff DIST_COMMON = Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps man/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status install-man1: $(mkinstalldirs) $(DESTDIR)$(man1dir) @list='$(man1_MANS)'; \ l2='$(man_MANS)'; for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ done uninstall-man1: @list='$(man1_MANS)'; \ l2='$(man_MANS)'; for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ rm -f $(DESTDIR)$(man1dir)/$$inst; \ done install-man: $(MANS) @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-man1 uninstall-man: @$(NORMAL_UNINSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-man1 tags: TAGS TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = man distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-exec: install-exec-am install-data-am: install-man install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall-man uninstall: uninstall-am all-am: Makefile $(MANS) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-generic clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: install-man1 uninstall-man1 install-man uninstall-man tags \ distdir info-am info dvi-am dvi check check-am installcheck-am \ installcheck install-exec-am install-exec install-data-am install-data \ install-am install uninstall-am uninstall all-redirect all-am all \ installdirs mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: weex-2.6.1/man/weex.10100644000016100001440000003131307112245614013156 0ustar ludousers.TH weex 1 "2000.05.22" "YN-cxe" .SH NAME weex \- fast WEb EXchanger non-interactive FTP client .SH SYNOPSIS .B weex [ Options ] .I HOSTID [HOSTID...] .SH DESCRIPTION .B weex is a utility designed to automate the task of remotely maintaining a web page or other FTP archive. With .B weex , the maintainer of a web site or archive that must be administered through FTP interaction can largely ignore that process. The archive administrator simply creates a local directory that serves as an exact model for the offsite data. All modifications and direct interaction is done locally to this directory structure. When the administrator wishes to coordinate the data on the remote site with that of the local model directory, simply executing .B weex accomplishes this in the most bandwidth-efficient fashion by only transferring files that need updating. The program will create or remove (!) files or directories as necessary to accurately establish the local model on the remote server. .P The mandatory .I HOSTID argument is the user-defined name that represents a particular FTP account or configuration specified in the .I ~/.weexrc file. This file, the contents of which are described below, can alternatively be named .IR ~/.weex/weexrc . Multiple .I HOSTID arguments to a single .B weex command are supported to affect multiple archives or configurations in immediate succession. In addition, the actual .I HOSTID can be substituted with the number representing its relative sequential position in the .IR "~/.weexrc" " file (the first " "HOSTID" " definition is 1, and so on)." .SH OPTIONS Options at the command line take precedence over any specified in the configuration file. .TP .B -d, --debug-config Outputs the configuration of each hosts. .TP .B -D, --debug-ftplib Outputs messages from/to FTP server. .TP .B -f, --force If the caching mechanism is inhibiting the uploading of files that should be transferred, this option will force the actual transfer to always occur. .TP .B -h, --help Outputs a usage summary to .IR stdout . .TP .B -m, --monochrome The default mode generates a helpful color coding based on the operation being performed. This option suppresses that. .TP .B -r, --rebuild-cache If cache file is broken, use this to rebuild it. .TP .B -s, --silent The default mode outputs a helpful status message for each action taken, including file transfer progress meters. This mode suppresses output. .TP .B -t, --test Weex doesn't modify any remote files/directories. .TP .B -V, --version Prints the version of the .B weex program. .SH CONFIGURATION FILE Because this program is meant to be non-interactive, a properly set up configuration file is essential. .B weex looks for this file either in .I ~/.weexrc or .IR ~/.weex/weexrc . .P The general format of the configuration file is a bracketed section heading followed by parameters that define that section's configuration. This section name is what is provided to .B weex at run time to indicate the FTP arrangement you wish to update. A parameter is only valid for the most recent section heading that preceded it. The exception to this is the .I [default] section which creates settings for unspecified parameters in every section. In the case of parameters that accept multiple values, the default section augments any specifically designated values. .P Lines that begin with the '#' character are safely ignored as comments. Neither section names nor parameter variables are case sensitive in any way. Section names can not begin with numbers. Some parameters can be assigned multiple values. Where this is not possible, the last value is used. To quote special characters, use single quotes (') or double quotes ("). To quote a particular quote symbol, use the other quote. The general syntax format for the configuration file is: .TP [hostid1] Parameter1 = Value # First method for multiple values Parameter2 = Value Parameter2 = Value ... .TP [hostid2] Parameter1 = Value # Second method for multiple values Parameter2 = { Value Value } ... .TP [default] Parameter = Value ... .P .B PARAMETER LIST .P These parameters are used to define the properties of a particular host configuration named in brackets. When specifying directory names, the trailing "/" is optional. Also, both files and directories (except SrcDir and DestDir) can be specified with shell wildcards. When specifying files, if a file or file pattern is given without a path, it is assumed to be available when encountered in any directory. If it is an explicitly specified path/file combination, the configuration is available in that directory. Files/directories except `SrcDir' and `DestDir' can be specified as both absolute path and relative path. But you must specify `SrcDir' and `DestDir' as absolute path. When you want to specify `/public_html/ignoreme.html' as relative path, you should specify `./ignoreme.html' rather than `ignoreme.html'. When specifying binary states, you may use any of the following: True/False, Yes/No, T/F, 1/0. None are case sensitive. .TP .B AsciiFile Filename patterns that will be transferred using ASCII mode. The default mode for files not specified in this way is IMAGE(BINARY) mode. .TP .B ChangePermission The access permissions of the files in the directories specified with ChangePermissionDir are changed to this parameter. The format is a three digit octal number. .TP .B ChangePermissionDir Files in directories assigned to this parameter will have their access permissions changed after sending. Specify local directories. .TP .B ChdirAtConnection Set `true' to change remote current working directory to DestDir at connection. If remote current working directory at connection is DestDir, weex runs faster a bit by setting this parameter to `false'. Default is `true'. .TP .B ConvToLower If set to `true', the filenames are converted to lower case before sending. This feature allows interaction with FTP servers that do not support case sensitive filenames. If a naming conflict arises due to a lower case name already existing, an error occurs. Furthermore, the cache is totally unaware of original uppercase filenames. .TP .B DestDir Destination directory on the remote FTP server where the mirrored information will be sent. This setting corresponds to the "pwd" command on traditional FTP clients. .TP .B Force If the caching mechanism is inhibiting the uploading of files that should be transferred, this option will force the actual transfer to always occur if set to `true'. .TP .B FollowSymlinks Set `true' to follow symbolic links. Default is `false'. Symbolic link of directory assumes a file whose size is 0 byte at default. .TP .B FtpPassive When it is `false', weex uses port mode instead of passive mode. If the FTP server doesn't support passive mode, specify `false'. (It may make transfer slower) Default is `true'. (See also FAQ) .TP .B HostName Hostname to connect to. The "ftp://" protocol specifier is implied and shouldn't be used. An IP address is also valid and may save lookup time. .TP .B IgnoreLocalDir This parameter contains one or more protected local directories that are completely ignored during the transfer process. This is useful if you want to have subdirectories that are part of a project but don't need to be in the final, online version (i.e., old versions). .TP .B IgnoreLocalFile This parameter contains one or more protected local file specifiers that will be completely ignored during the transfer process. .TP .B IgnoreRemoteDir This parameter contains one or more protected remote directories that are completely ignored during the transfer process. This is useful if you want to have other material on the remote FTP site that is not related to the specific project that .B weex is dealing with. This could include, for example, data administered through a different FTP client or process. .TP .B IgnoreRemoteFile This parameter contains one or more protected remote file specifiers that will be completely ignored during the transfer process. .TP .B KeepRemoteDir In their directories, files are not removed when they don't exist in the local directory. .TP .B LogDetailLevel It specifis how detail level weex records a log at. Connection and disconnection message and error messages are always recorded. When weex finishes working correctly, it writes `Complete' previous disconnection message. If 1 or less, records each connection. If 2, records each directory. If 3 or more, records each file manipulated Default is 1. .TP .B LoginName Login name of the account on the FTP server. .TP .B MaxRetryToSend When weex fails in sending a file, it retry to send the file. The maximum times of retrying is this parameter. Default is 8. Specify -1 to stop retrying. .TP .B Monochrome The default mode generates a helpful color coding based on the operation being performed. A `true' setting suppresses that. .TP .B NestSpaces An integer that controls the indent spacing of the output. The default is 4. If you want to suppress it, specify -1. If you specify 0, weex uses 4. :-) .TP .B OverwriteOK If the FTP server has trouble overwriting files, set this parameter to `false'. .TP .B Password Plaintext password granting access to the account. Note that this file uses no special facilities to safeguard passwords. Make sure that the file permissions of a configuration file containing passwords are set conservatively. If they are not, a warning will be issued at execution. If this parameter is not found, weex asks for it on the terminal. .TP .B PreservePermissionDir The access permissions of the files in directories assigned to this parameter will be copied to remote. Specify *local* directories. .TP .B RecordLog When `true', weex create a log. .TP .B ShowHiddenFile Set `true' to get hidden files (starting with a dot) on FTP server which doesn't show hidden files by default. Default is `false'. .TP .B Silent The default mode outputs a helpful status message for each action taken, including file transfer progress meters. A `true' setting suppresses output. .TP .B SrcDir Top of the source directory tree containing the local copy of the information to be mirrored. This setting corresponds to the "lcd" command on traditional FTP clients. .SH EXAMPLES Here is an example of what a typical .B .weexrc file might look like: #-=-=-=-=-=Sample Configuration file=-=-=-=-=- # My favorite FTP account... [Ninja] HostName = ftp.ninja-rights.org LoginName = chrisxed Password = '"mYsEcReT!"' SrcDir = /home/chrisxed/project/weex DestDir = / ASCIIfile = *.c IgnoreLocalDir = /home/chrisxed/project/weex/weex.devel IgnoreLocalDir = /home/chrisxed/project/weex/weex.old IgnoreLocalFile = notes2myself.txt IgnoreRemoteDir = /offsitearchive/ # Another FTP account... [Veggie] HostName = ftp.vegetable-advocacy.com LoginNAME = waxedbean Password = "X'sBean" SrcDir = /home/chrisxed/project/legumes DestDir = /souppot/ # Global configuration settings [default] AsciiFile = { *.htm *.html *.txt *.asc } IgnoreLocalFile = { *.bak *.tmp *.swp } With a configuration like this, executing: .B $ weex Ninja would cause the file system assigned to .BR SrcDir " to be completely mirrored on the remote server." Executing: .B $ weex ninja veggie would cause the FTP update to occur for the "Ninja" configuration and then for the "Veggie" configuration. This could also be specified like this: .B $ weex 1 2 .SH NOTES .P .B Timestamp Cache Facility .P .B weex implements a cache of file timestamps from Ver 1.6.0. This makes updating much faster when you have a lot of files. In addition, .B weex also caches directory structure and file names from Ver 2.5.0. So never slow transfer even if you have many directories and files. If, however, you change the remote files with another FTP client or running .B weex is killed or .B weex is terminated by an error, the cache file will not be correct. The simple solution to this problem is to remove the cache file (located in .I ~/.weex/weex.cache.HOSTNAME ) completely or to run .B weex with option .IR --rebuild-cache . .P .B Tested Operating Systems .P Debian GNU/Linux 2.1 Red Hat Linux 5.1/5.2/6.0/6.1J SuSE Linux 6.1/6.2/6.3 Linux Mandrake 6.1 FreeBSD(98) 3.0-RELEASE FreeBSD 3.3-RELEASE Solaris 2.5.1 .SH AUTHOR This very handy program was written by: .RS Yuuki NINOMIYA .RI "" .RE The original man page was written by: .RS .RI Chris " X " Edwards .RI "" .RE The copyright of this software and documentation belongs to Yuuki NINOMIYA. It is released under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. You can redistribute it and/or modify it under the GPL. This software uses shhopt for parsing command line options. Shhopt is released under the Artistic License. You may use it separately under the Artistic License. weex-2.6.1/src/0040777000016100001440000000000007121420630012137 5ustar ludousersweex-2.6.1/src/ftplib.c0100664000016100001440000007273607111641315013601 0ustar ludousers/***************************************************************************/ /* */ /* ftplib.c - callable ftp access routines */ /* Copyright (C) 1996, 1997, 1998 Thomas Pfau, pfau@cnj.digex.net */ /* 73 Catherine Street, South Bound Brook, NJ, 08880 */ /* */ /* This library is free software; you can redistribute it and/or */ /* modify it under the terms of the GNU Library General Public */ /* License as published by the Free Software Foundation; either */ /* version 2 of the License, or (at your option) any later version. */ /* */ /* This library is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU */ /* Library General Public License for more details. */ /* */ /* You should have received a copy of the GNU Library General Public */ /* License along with this progam; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ /* 1999/08/13 implementation of FtpClose2() and FtpChmod() by Masashi Itou 1999/11/04 implementation of a progress information in FtpXfer() by Yuuki NINOMIYA 1999/??/?? commenting out of calling perror() by Yuuki NINOMIYA 2000/01/09 FTP mode is decided by ftp_passive[host_number] instead of FTPLIB_DEFMODE in FtpConnect() by Yuuki NINOMIYA */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include "intl.h" #include "variable.h" #if defined(__unix__) || defined(__VMS) #include #endif #if defined(_WIN32) #include #endif #include #include #include #include #include #if defined(__unix__) #include #include #include #include #include #include #include #elif defined(VMS) #include #include #include #include #include #elif defined(_WIN32) #include #endif #define BUILDING_LIBRARY #include "ftplib.h" #if defined(_WIN32) #define SETSOCKOPT_OPTVAL_TYPE (const char *) #else #define SETSOCKOPT_OPTVAL_TYPE (void *) #endif #define FTPLIB_BUFSIZ 8192 #define ACCEPT_TIMEOUT 30 #define FTPLIB_CONTROL 0 #define FTPLIB_READ 1 #define FTPLIB_WRITE 2 #if 0 #if !defined FTPLIB_DEFMODE #define FTPLIB_DEFMODE FTPLIB_PASSIVE #endif #endif struct NetBuf { char *cput,*cget; int handle; int cavail,cleft; char *buf; int dir; netbuf *ctrl; int cmode; struct timeval idletime; FtpCallback idlecb; void *idlearg; int xfered; int cbbytes; int xfered1; char response[256]; }; /* * I removed specification of `static' to suppress warning. * But the following version and copyright strings live in the binary. * Please type: `% strings weex | grep ftplib' :-) * * 1999/11/06 Yuuki NINOMIYA */ char *version = "ftplib Release 3.1 6/xx/98, copyright 1996, 1997, 1998 Thomas Pfau"; GLOBALDEF int ftplib_debug = 0; #if defined(__unix__) || defined(VMS) #define net_read read #define net_write write #define net_close close #elif defined(_WIN32) #define net_read(x,y,z) recv(x,y,z,0) #define net_write(x,y,z) send(x,y,z,0) #define net_close closesocket #endif #if defined(NEED_MEMCCPY) /* * VAX C does not supply a memccpy routine so I provide my own */ void *memccpy(void *dest, const void *src, int c, size_t n) { int i=0; const unsigned char *ip=src; unsigned char *op=dest; while (i < n) { if ((*op++ = *ip++) == c) break; i++; } if (i == n) return NULL; return op; } #endif #if defined(NEED_STRDUP) /* * strdup - return a malloc'ed copy of a string */ char *strdup(const char *src) { int l = strlen(src) + 1; char *dst = malloc(l); if (dst) strcpy(dst,src); return dst; } #endif /* * socket_wait - wait for socket to receive or flush data * * return 1 if no user callback, otherwise, return value returned by * user callback */ static int socket_wait(netbuf *ctl) { fd_set fd,*rfd = NULL,*wfd = NULL; struct timeval tv; int rv = 0; if ((ctl->dir == FTPLIB_CONTROL) || (ctl->idlecb == NULL)) return 1; if (ctl->dir == FTPLIB_WRITE) wfd = &fd; else rfd = &fd; FD_ZERO(&fd); do { FD_SET(ctl->handle,&fd); tv = ctl->idletime; rv = select(ctl->handle+1, rfd, wfd, NULL, &tv); if (rv == -1) { rv = 0; strncpy(ctl->ctrl->response, strerror(errno), sizeof(ctl->ctrl->response)); break; } else if (rv > 0) { rv = 1; break; } } while ((rv = ctl->idlecb(ctl, ctl->xfered, ctl->idlearg))); return rv; } /* * read a line of text * * return -1 on error or bytecount */ static int readline(char *buf,int max,netbuf *ctl) { int x,retval = 0; char *end,*bp=buf; int eof = 0; if ((ctl->dir != FTPLIB_CONTROL) && (ctl->dir != FTPLIB_READ)) return -1; if (max == 0) return 0; do { if (ctl->cavail > 0) { x = (max >= ctl->cavail) ? ctl->cavail : max-1; end = memccpy(bp,ctl->cget,'\n',x); if (end != NULL) x = end - bp; retval += x; bp += x; *bp = '\0'; max -= x; ctl->cget += x; ctl->cavail -= x; if (end != NULL) { bp -= 2; if (strcmp(bp,"\r\n") == 0) { *bp++ = '\n'; *bp++ = '\0'; --retval; } break; } } if (max == 1) { *buf = '\0'; break; } if (ctl->cput == ctl->cget) { ctl->cput = ctl->cget = ctl->buf; ctl->cavail = 0; ctl->cleft = FTPLIB_BUFSIZ; } if (eof) { if (retval == 0) retval = -1; break; } if (!socket_wait(ctl)) return retval; if ((x = net_read(ctl->handle,ctl->cput,ctl->cleft)) == -1) { /* perror("read"); */ retval = -1; break; } if (x == 0) eof = 1; ctl->cleft -= x; ctl->cavail += x; ctl->cput += x; } while (1); return retval; } /* * write lines of text * * return -1 on error or bytecount */ static int writeline(char *buf, int len, netbuf *nData) { int x, nb=0, w; char *ubp = buf, *nbp; char lc=0; if (nData->dir != FTPLIB_WRITE) return -1; nbp = nData->buf; for (x=0; x < len; x++) { if ((*ubp == '\n') && (lc != '\r')) { if (nb == FTPLIB_BUFSIZ) { if (!socket_wait(nData)) return x; w = net_write(nData->handle, nbp, FTPLIB_BUFSIZ); if (w != FTPLIB_BUFSIZ) { printf("net_write(1) returned %d, errno = %d\n", w, errno); return(-1); } nb = 0; } nbp[nb++] = '\r'; } if (nb == FTPLIB_BUFSIZ) { if (!socket_wait(nData)) return x; w = net_write(nData->handle, nbp, FTPLIB_BUFSIZ); if (w != FTPLIB_BUFSIZ) { printf("net_write(2) returned %d, errno = %d\n", w, errno); return(-1); } nb = 0; } nbp[nb++] = lc = *ubp++; } if (nb) { if (!socket_wait(nData)) return x; w = net_write(nData->handle, nbp, nb); if (w != nb) { printf("net_write(3) returned %d, errno = %d\n", w, errno); return(-1); } } return len; } /* * read a response from the server * * return 0 if first char doesn't match * return 1 if first char matches */ static int readresp(char c, netbuf *nControl) { char match[5]; if (readline(nControl->response,256,nControl) == -1) { /* perror("Control socket read failed"); */ return 0; } if (ftplib_debug > 1) fprintf(stderr,"%s",nControl->response); if (nControl->response[3] == '-') { strncpy(match,nControl->response,3); match[3] = ' '; match[4] = '\0'; do { if (readline(nControl->response,256,nControl) == -1) { /* perror("Control socket read failed"); */ return 0; } if (ftplib_debug > 1) fprintf(stderr,"%s",nControl->response); } while (strncmp(nControl->response,match,4)); } if (nControl->response[0] == c) return 1; return 0; } /* * FtpInit for stupid operating systems that require it (Windows NT) */ GLOBALDEF void FtpInit(void) { #if defined(_WIN32) WORD wVersionRequested; WSADATA wsadata; int err; wVersionRequested = MAKEWORD(1,1); if ((err = WSAStartup(wVersionRequested,&wsadata)) != 0) fprintf(stderr,"Network failed to start: %d\n",err); #endif } /* * FtpLastResponse - return a pointer to the last response received */ GLOBALDEF char *FtpLastResponse(netbuf *nControl) { if ((nControl) && (nControl->dir == FTPLIB_CONTROL)) return nControl->response; return NULL; } /* * FtpConnect - connect to remote server * * return 1 if connected, 0 if not */ GLOBALDEF int FtpConnect(const char *host, netbuf **nControl) { int sControl; struct sockaddr_in sin; struct hostent *phe; struct servent *pse; int on=1; netbuf *ctrl; char *lhost; char *pnum; memset(&sin,0,sizeof(sin)); sin.sin_family = AF_INET; lhost = strdup(host); pnum = strchr(lhost,':'); if (pnum == NULL) { #if defined(VMS) sin.sin_port = htons(21); #else if ((pse = getservbyname("ftp","tcp")) == NULL) { /* perror("getservbyname"); */ return 0; } sin.sin_port = pse->s_port; #endif } else { *pnum++ = '\0'; if (isdigit(*pnum)) sin.sin_port = htons(atoi(pnum)); else { pse = getservbyname(pnum,"tcp"); sin.sin_port = pse->s_port; } } if ((sin.sin_addr.s_addr = inet_addr(lhost)) == -1) { if ((phe = gethostbyname(lhost)) == NULL) { /* perror("gethostbyname"); */ return 0; } memcpy((char *)&sin.sin_addr, phe->h_addr, phe->h_length); } free(lhost); sControl = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); if (sControl == -1) { /* perror("socket"); */ return 0; } if (setsockopt(sControl,SOL_SOCKET,SO_REUSEADDR, SETSOCKOPT_OPTVAL_TYPE &on, sizeof(on)) == -1) { /* perror("setsockopt"); */ net_close(sControl); return 0; } if (connect(sControl, (struct sockaddr *)&sin, sizeof(sin)) == -1) { /* perror("connect"); */ net_close(sControl); return 0; } ctrl = calloc(1,sizeof(netbuf)); if (ctrl == NULL) { /* perror("calloc"); */ net_close(sControl); return 0; } ctrl->buf = malloc(FTPLIB_BUFSIZ); if (ctrl->buf == NULL) { /* perror("calloc"); */ net_close(sControl); free(ctrl); return 0; } ctrl->handle = sControl; ctrl->dir = FTPLIB_CONTROL; ctrl->ctrl = NULL; if(ftp_passive[host_number]){ ctrl->cmode = FTPLIB_PASSIVE; }else{ ctrl->cmode = FTPLIB_PORT; } ctrl->idlecb = NULL; ctrl->idletime.tv_sec = ctrl->idletime.tv_usec = 0; ctrl->idlearg = NULL; ctrl->xfered = 0; ctrl->xfered1 = 0; ctrl->cbbytes = 0; if (readresp('2', ctrl) == 0) { net_close(sControl); free(ctrl->buf); free(ctrl); return 0; } *nControl = ctrl; return 1; } /* * FtpOptions - change connection options * * returns 1 if successful, 0 on error */ GLOBALDEF int FtpOptions(int opt, long val, netbuf *nControl) { int v,rv=0; switch (opt) { case FTPLIB_CONNMODE: v = (int) val; if ((v == FTPLIB_PASSIVE) || (v == FTPLIB_PORT)) { nControl->cmode = v; rv = 1; } break; case FTPLIB_CALLBACK: nControl->idlecb = (FtpCallback) val; rv = 1; break; case FTPLIB_IDLETIME: v = (int) val; rv = 1; nControl->idletime.tv_sec = v / 1000; nControl->idletime.tv_usec = (v % 1000) * 1000; break; case FTPLIB_CALLBACKARG: rv = 1; nControl->idlearg = (void *) val; break; case FTPLIB_CALLBACKBYTES: rv = 1; nControl->cbbytes = (int) val; break; } return rv; } /* * FtpSendCmd - send a command and wait for expected response * * return 1 if proper response received, 0 otherwise */ static int FtpSendCmd(const char *cmd, char expresp, netbuf *nControl) { char buf[256]; if (nControl->dir != FTPLIB_CONTROL) return 0; if (ftplib_debug > 2) fprintf(stderr,"%s\n",cmd); if ((strlen(cmd) + 3) > sizeof(buf)) return 0; sprintf(buf,"%s\r\n",cmd); if (net_write(nControl->handle,buf,strlen(buf)) <= 0) { /* perror("write"); */ return 0; } return readresp(expresp, nControl); } /* * FtpLogin - log in to remote server * * return 1 if logged in, 0 otherwise */ GLOBALDEF int FtpLogin(const char *user, const char *pass, netbuf *nControl) { char tempbuf[64]; if (((strlen(user) + 7) > sizeof(tempbuf)) || ((strlen(pass) + 7) > sizeof(tempbuf))) return 0; sprintf(tempbuf,"USER %s",user); if (!FtpSendCmd(tempbuf,'3',nControl)) { if (nControl->response[0] == '2') return 1; return 0; } sprintf(tempbuf,"PASS %s",pass); return FtpSendCmd(tempbuf,'2',nControl); } /* * FtpOpenPort - set up data connection * * return 1 if successful, 0 otherwise */ static int FtpOpenPort(netbuf *nControl, netbuf **nData, int mode, int dir) { int sData; union { struct sockaddr sa; struct sockaddr_in in; } sin; struct linger lng = { 0, 0 }; unsigned int l; int on=1; netbuf *ctrl; char *cp; unsigned int v[6]; char buf[256]; if (nControl->dir != FTPLIB_CONTROL) return -1; if ((dir != FTPLIB_READ) && (dir != FTPLIB_WRITE)) { sprintf(nControl->response, "Invalid direction %d\n", dir); return -1; } if ((mode != FTPLIB_ASCII) && (mode != FTPLIB_IMAGE)) { sprintf(nControl->response, "Invalid mode %c\n", mode); return -1; } l = sizeof(sin); if (nControl->cmode == FTPLIB_PASSIVE) { memset(&sin, 0, l); sin.in.sin_family = AF_INET; if (!FtpSendCmd("PASV",'2',nControl)) return -1; cp = strchr(nControl->response,'('); if (cp == NULL) return -1; cp++; sscanf(cp,"%u,%u,%u,%u,%u,%u",&v[2],&v[3],&v[4],&v[5],&v[0],&v[1]); sin.sa.sa_data[2] = v[2]; sin.sa.sa_data[3] = v[3]; sin.sa.sa_data[4] = v[4]; sin.sa.sa_data[5] = v[5]; sin.sa.sa_data[0] = v[0]; sin.sa.sa_data[1] = v[1]; } else { if (getsockname(nControl->handle, &sin.sa, &l) < 0) { /* perror("getsockname"); */ return 0; } } sData = socket(PF_INET,SOCK_STREAM,IPPROTO_TCP); if (sData == -1) { /* perror("socket"); */ return -1; } if (setsockopt(sData,SOL_SOCKET,SO_REUSEADDR, SETSOCKOPT_OPTVAL_TYPE &on,sizeof(on)) == -1) { /* perror("setsockopt"); */ net_close(sData); return -1; } if (setsockopt(sData,SOL_SOCKET,SO_LINGER, SETSOCKOPT_OPTVAL_TYPE &lng,sizeof(lng)) == -1) { /* perror("setsockopt"); */ net_close(sData); return -1; } if (nControl->cmode == FTPLIB_PASSIVE) { if (connect(sData, &sin.sa, sizeof(sin.sa)) == -1) { /* perror("connect"); */ net_close(sData); return -1; } } else { sin.in.sin_port = 0; if (bind(sData, &sin.sa, sizeof(sin)) == -1) { /* perror("bind"); */ net_close(sData); return 0; } if (listen(sData, 1) < 0) { /* perror("listen"); */ net_close(sData); return 0; } if (getsockname(sData, &sin.sa, &l) < 0) return 0; sprintf(buf, "PORT %d,%d,%d,%d,%d,%d", (unsigned char) sin.sa.sa_data[2], (unsigned char) sin.sa.sa_data[3], (unsigned char) sin.sa.sa_data[4], (unsigned char) sin.sa.sa_data[5], (unsigned char) sin.sa.sa_data[0], (unsigned char) sin.sa.sa_data[1]); if (!FtpSendCmd(buf,'2',nControl)) { net_close(sData); return 0; } } ctrl = calloc(1,sizeof(netbuf)); if (ctrl == NULL) { /* perror("calloc"); */ net_close(sData); return -1; } if ((mode == 'A') && ((ctrl->buf = malloc(FTPLIB_BUFSIZ)) == NULL)) { /* perror("calloc"); */ net_close(sData); free(ctrl); return -1; } ctrl->handle = sData; ctrl->dir = dir; ctrl->ctrl = (nControl->cmode == FTPLIB_PASSIVE) ? nControl : NULL; ctrl->idletime = nControl->idletime; ctrl->idlearg = nControl->idlearg; ctrl->xfered = 0; ctrl->xfered1 = 0; ctrl->cbbytes = nControl->cbbytes; if (ctrl->idletime.tv_sec | ctrl->idletime.tv_usec) ctrl->idlecb = nControl->idlecb; else ctrl->idlecb = NULL; *nData = ctrl; return 1; } /* * FtpAcceptConnection - accept connection from server * * return 1 if successful, 0 otherwise */ static int FtpAcceptConnection(netbuf *nData, netbuf *nControl) { int sData; struct sockaddr addr; unsigned int l; int i; struct timeval tv; fd_set mask; int rv=0; FD_ZERO(&mask); FD_SET(nControl->handle, &mask); FD_SET(nData->handle, &mask); tv.tv_usec = 0; tv.tv_sec = ACCEPT_TIMEOUT; i = nControl->handle; if (i < nData->handle) i = nData->handle; i = select(i+1, &mask, NULL, NULL, &tv); if (i == -1) { strncpy(nControl->response, strerror(errno), sizeof(nControl->response)); net_close(nData->handle); nData->handle = 0; rv = 0; } else if (i == 0) { strcpy(nControl->response, "timed out waiting for connection"); net_close(nData->handle); nData->handle = 0; rv = 0; } else { if (FD_ISSET(nData->handle, &mask)) { l = sizeof(addr); sData = accept(nData->handle, &addr, &l); i = errno; net_close(nData->handle); if (sData > 0) { rv = 1; nData->handle = sData; nData->ctrl = nControl; } else { strncpy(nControl->response, strerror(i), sizeof(nControl->response)); nData->handle = 0; rv = 0; } } else if (FD_ISSET(nControl->handle, &mask)) { net_close(nData->handle); nData->handle = 0; readresp('2', nControl); rv = 0; } } return rv; } /* * FtpAccess - return a handle for a data stream * * return 1 if successful, 0 otherwise */ GLOBALDEF int FtpAccess(const char *path, int typ, int mode, netbuf *nControl, netbuf **nData) { char buf[256]; int dir; if ((path == NULL) && ((typ == FTPLIB_FILE_WRITE) || (typ == FTPLIB_FILE_READ))) { sprintf(nControl->response, "Missing path argument for file transfer\n"); return 0; } sprintf(buf, "TYPE %c", mode); if (!FtpSendCmd(buf, '2', nControl)) return 0; switch (typ) { case FTPLIB_DIR: strcpy(buf,"NLST"); dir = FTPLIB_READ; break; case FTPLIB_DIR_VERBOSE: strcpy(buf,"LIST"); dir = FTPLIB_READ; break; case FTPLIB_FILE_READ: strcpy(buf,"RETR"); dir = FTPLIB_READ; break; case FTPLIB_FILE_WRITE: strcpy(buf,"STOR"); dir = FTPLIB_WRITE; break; default: sprintf(nControl->response, "Invalid open type %d\n", typ); return 0; } if (path != NULL) { int i = strlen(buf); buf[i++] = ' '; if ((strlen(path) + i) >= sizeof(buf)) return 0; strcpy(&buf[i],path); } if (FtpOpenPort(nControl, nData, mode, dir) == -1) return 0; if (!FtpSendCmd(buf, '1', nControl)) { FtpClose2(*nData); *nData = NULL; return 0; } if (nControl->cmode == FTPLIB_PORT) { if (!FtpAcceptConnection(*nData,nControl)) { FtpClose(*nData); *nData = NULL; return 0; } } return 1; } /* * FtpRead - read from a data connection */ GLOBALDEF int FtpRead(void *buf, int max, netbuf *nData) { int i; if (nData->dir != FTPLIB_READ) return 0; if (nData->buf) i = readline(buf, max, nData); else { socket_wait(nData); i = net_read(nData->handle, buf, max); } nData->xfered += i; if (nData->idlecb && nData->cbbytes) { nData->xfered1 += i; if (nData->xfered1 > nData->cbbytes) { nData->idlecb(nData, nData->xfered, nData->idlearg); nData->xfered1 = 0; } } return i; } /* * FtpWrite - write to a data connection */ GLOBALDEF int FtpWrite(void *buf, int len, netbuf *nData) { int i; if (nData->dir != FTPLIB_WRITE) return 0; if (nData->buf) i = writeline(buf, len, nData); else { socket_wait(nData); i = net_write(nData->handle, buf, len); } nData->xfered += i; if (nData->idlecb && nData->cbbytes) { nData->xfered1 += i; if (nData->xfered1 > nData->cbbytes) { nData->idlecb(nData, nData->xfered, nData->idlearg); nData->xfered1 = 0; } } return i; } /* * FtpClose - close a data connection */ GLOBALDEF int FtpClose(netbuf *nData) { netbuf *ctrl; if (nData->dir == FTPLIB_WRITE) { if (nData->buf != NULL) writeline(NULL, 0, nData); } else if (nData->dir != FTPLIB_READ) return 0; if (nData->buf) free(nData->buf); shutdown(nData->handle,2); net_close(nData->handle); ctrl = nData->ctrl; free(nData); if (ctrl) return(readresp('2', ctrl)); return 1; } /* * FtpClose2 - close a data connection (only logical close) */ GLOBALDEF int FtpClose2(netbuf *nData) { netbuf *ctrl; if (nData->dir == FTPLIB_WRITE) { if (nData->buf != NULL) writeline(NULL, 0, nData); } else if (nData->dir != FTPLIB_READ) return 0; if (nData->buf) free(nData->buf); shutdown(nData->handle,2); net_close(nData->handle); ctrl = nData->ctrl; free(nData); if (ctrl) return(0); return 1; } /* * FtpSite - send a SITE command * * return 1 if command successful, 0 otherwise */ GLOBALDEF int FtpSite(const char *cmd, netbuf *nControl) { char buf[256]; if ((strlen(cmd) + 7) > sizeof(buf)) return 0; sprintf(buf,"SITE %s",cmd); if (!FtpSendCmd(buf,'2',nControl)) return 0; return 1; } /* * FtpSysType - send a SYST command * * Fills in the user buffer with the remote system type. If more * information from the response is required, the user can parse * it out of the response buffer returned by FtpLastResponse(). * * return 1 if command successful, 0 otherwise */ GLOBALDEF int FtpSysType(char *buf, int max, netbuf *nControl) { int l = max; char *b = buf; char *s; if (!FtpSendCmd("SYST",'2',nControl)) return 0; s = &nControl->response[4]; while ((--l) && (*s != ' ')) *b++ = *s++; *b++ = '\0'; return 1; } /* * FtpMkdir - create a directory at server * * return 1 if successful, 0 otherwise */ GLOBALDEF int FtpMkdir(const char *path, netbuf *nControl) { char buf[256]; if ((strlen(path) + 6) > sizeof(buf)) return 0; sprintf(buf,"MKD %s",path); if (!FtpSendCmd(buf,'2', nControl)) return 0; return 1; } /* * FtpChdir - change path at remote * * return 1 if successful, 0 otherwise */ GLOBALDEF int FtpChdir(const char *path, netbuf *nControl) { char buf[256]; if ((strlen(path) + 6) > sizeof(buf)) return 0; sprintf(buf,"CWD %s",path); if (!FtpSendCmd(buf,'2',nControl)) return 0; return 1; } /* * FtpCDUp - move to parent directory at remote * * return 1 if successful, 0 otherwise */ GLOBALDEF int FtpCDUp(netbuf *nControl) { if (!FtpSendCmd("CDUP",'2',nControl)) return 0; return 1; } /* * FtpRmdir - remove directory at remote * * return 1 if successful, 0 otherwise */ GLOBALDEF int FtpRmdir(const char *path, netbuf *nControl) { char buf[256]; if ((strlen(path) + 6) > sizeof(buf)) return 0; sprintf(buf,"RMD %s",path); if (!FtpSendCmd(buf,'2',nControl)) return 0; return 1; } /* * FtpPwd - get working directory at remote * * return 1 if successful, 0 otherwise */ GLOBALDEF int FtpPwd(char *path, int max, netbuf *nControl) { int l = max; char *b = path; char *s; if (!FtpSendCmd("PWD",'2',nControl)) return 0; s = strchr(nControl->response, '"'); if (s == NULL) return 0; s++; while ((--l) && (*s) && (*s != '"')) *b++ = *s++; *b++ = '\0'; return 1; } /* * FtpXfer - issue a command and transfer data * * return 1 if successful, 0 otherwise */ static int FtpXfer(const char *localfile, const char *path, netbuf *nControl, int typ, int mode) { int l,c; char *dbuf; FILE *local = NULL; netbuf *nData; struct stat sbuf; long sent_size; long file_size; int i; long rate; int progress_flag=0; int res; if (localfile != NULL) { local = fopen(localfile, (typ == FTPLIB_FILE_WRITE) ? "r" : "w"); if (local == NULL || stat(localfile,&sbuf)==-1) { strncpy(nControl->response, strerror(errno), sizeof(nControl->response)); return 0; } } if (local == NULL) local = (typ == FTPLIB_FILE_WRITE) ? stdin : stdout; if (!FtpAccess(path, typ, mode, nControl, &nData)) return 0; dbuf = malloc(FTPLIB_BUFSIZ); if (typ == FTPLIB_FILE_WRITE) { sent_size=0; file_size=(long)(sbuf.st_size); while ((l = fread(dbuf, 1, FTPLIB_BUFSIZ, local)) > 0){ if ((c = FtpWrite(dbuf, l, nData)) < l){ printf("short write: passed %d, wrote %d\n", l, c); } if(opt_silent){ continue; } sent_size+=c; if(sent_size>=FTPLIB_BUFSIZ){ progress_flag=1; if(sent_size>20000000){ rate=sent_size/(file_size/100); }else{ rate=sent_size*100/file_size; } printf(_(" : %ld/%ld (%ld%%) [ "),sent_size,file_size,rate); for(i=0;i 0) if (fwrite(dbuf, 1, l, local) <= 0) { /* perror("localfile write"); */ break; } } free(dbuf); fflush(local); if (localfile != NULL) fclose(local); res=FtpClose(nData); if(progress_flag){ printf("\x1b[2K"); fflush(stdout); } return(res); } /* * FtpNlst - issue an NLST command and write response to output * * return 1 if successful, 0 otherwise */ GLOBALDEF int FtpNlst(const char *outputfile, const char *path, netbuf *nControl) { return FtpXfer(outputfile, path, nControl, FTPLIB_DIR, FTPLIB_ASCII); } /* * FtpDir - issue a LIST command and write response to output * * return 1 if successful, 0 otherwise */ GLOBALDEF int FtpDir(const char *outputfile, const char *path, netbuf *nControl) { return FtpXfer(outputfile, path, nControl, FTPLIB_DIR_VERBOSE, FTPLIB_ASCII); } /* * FtpSize - determine the size of a remote file * * return 1 if successful, 0 otherwise */ GLOBALDEF int FtpSize(const char *path, int *size, char mode, netbuf *nControl) { char cmd[256]; int resp,sz,rv=1; if ((strlen(path) + 7) > sizeof(cmd)) return 0; sprintf(cmd, "TYPE %c", mode); if (!FtpSendCmd(cmd, '2', nControl)) return 0; sprintf(cmd,"SIZE %s",path); if (!FtpSendCmd(cmd,'2',nControl)) rv = 0; else { if (sscanf(nControl->response, "%d %d", &resp, &sz) == 2) *size = sz; else rv = 0; } return rv; } /* * FtpModDate - determine the modification date of a remote file * * return 1 if successful, 0 otherwise */ GLOBALDEF int FtpModDate(const char *path, char *dt, int max, netbuf *nControl) { char buf[256]; int rv = 1; if ((strlen(path) + 7) > sizeof(buf)) return 0; sprintf(buf,"MDTM %s",path); if (!FtpSendCmd(buf,'2',nControl)) rv = 0; else strncpy(dt, &nControl->response[4], max); return rv; } /* * FtpGet - issue a GET command and write received data to output * * return 1 if successful, 0 otherwise */ GLOBALDEF int FtpGet(const char *outputfile, const char *path, char mode, netbuf *nControl) { return FtpXfer(outputfile, path, nControl, FTPLIB_FILE_READ, mode); } /* * FtpPut - issue a PUT command and send data from input * * return 1 if successful, 0 otherwise */ GLOBALDEF int FtpPut(const char *inputfile, const char *path, char mode, netbuf *nControl) { return FtpXfer(inputfile, path, nControl, FTPLIB_FILE_WRITE, mode); } /* * FtpRename - rename a file at remote * * return 1 if successful, 0 otherwise */ GLOBALDEF int FtpRename(const char *src, const char *dst, netbuf *nControl) { char cmd[256]; if (((strlen(src) + 7) > sizeof(cmd)) || ((strlen(dst) + 7) > sizeof(cmd))) return 0; sprintf(cmd,"RNFR %s",src); if (!FtpSendCmd(cmd,'3',nControl)) return 0; sprintf(cmd,"RNTO %s",dst); if (!FtpSendCmd(cmd,'2',nControl)) return 0; return 1; } /* * FtpChmod - chmod a file at remote * * return 1 if successful, 0 otherwise */ GLOBALDEF int FtpChmod(const char *file, const char *mode, netbuf *nControl) { char cmd[256]; if ((strlen(file) + 23) > sizeof(cmd)) return 0; if (strlen(mode)!=3 ) return 0; sprintf(cmd,"SITE chmod %s %s",mode,file); if (!FtpSendCmd(cmd,'2',nControl)) return 0; return 1; } /* * FtpDelete - delete a file at remote * * return 1 if successful, 0 otherwise */ GLOBALDEF int FtpDelete(const char *fnm, netbuf *nControl) { char cmd[256]; if ((strlen(fnm) + 7) > sizeof(cmd)) return 0; sprintf(cmd,"DELE %s",fnm); if (!FtpSendCmd(cmd,'2', nControl)) return 0; return 1; } /* * FtpQuit - disconnect from remote * * return 1 if successful, 0 otherwise */ GLOBALDEF void FtpQuit(netbuf *nControl) { if (nControl->dir != FTPLIB_CONTROL) return; FtpSendCmd("QUIT",'2',nControl); net_close(nControl->handle); free(nControl->buf); free(nControl); } weex-2.6.1/src/ftplib.h0100664000016100001440000001162207104035275013575 0ustar ludousers/***************************************************************************/ /* */ /* ftplib.h - header file for callable ftp access routines */ /* Copyright (C) 1996, 1997 Thomas Pfau, pfau@cnj.digex.net */ /* 73 Catherine Street, South Bound Brook, NJ, 08880 */ /* */ /* This library is free software; you can redistribute it and/or */ /* modify it under the terms of the GNU Library General Public */ /* License as published by the Free Software Foundation; either */ /* version 2 of the License, or (at your option) any later version. */ /* */ /* This library is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU */ /* Library General Public License for more details. */ /* */ /* You should have received a copy of the GNU Library General Public */ /* License along with this progam; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ #if !defined(__FTPLIB_H) #define __FTPLIB_H #if defined(__unix__) || defined(VMS) #define GLOBALDEF #define GLOBALREF extern #elif defined(_WIN32) #if defined BUILDING_LIBRARY #define GLOBALDEF __declspec(dllexport) #define GLOBALREF __declspec(dllexport) #else #define GLOBALREF __declspec(dllimport) #endif #endif /* FtpAccess() type codes */ #define FTPLIB_DIR 1 #define FTPLIB_DIR_VERBOSE 2 #define FTPLIB_FILE_READ 3 #define FTPLIB_FILE_WRITE 4 /* FtpAccess() mode codes */ #define FTPLIB_ASCII 'A' #define FTPLIB_IMAGE 'I' #define FTPLIB_TEXT FTPLIB_ASCII #define FTPLIB_BINARY FTPLIB_IMAGE /* connection modes */ #define FTPLIB_PASSIVE 1 #define FTPLIB_PORT 2 /* connection option names */ #define FTPLIB_CONNMODE 1 #define FTPLIB_CALLBACK 2 #define FTPLIB_IDLETIME 3 #define FTPLIB_CALLBACKARG 4 #define FTPLIB_CALLBACKBYTES 5 #ifdef __cplusplus extern "C" { #endif typedef struct NetBuf netbuf; typedef int (*FtpCallback)(netbuf *nControl, int xfered, void *arg); /* v1 compatibility stuff */ #if !defined(_FTPLIB_NO_COMPAT) netbuf *DefaultNetbuf; #define ftplib_lastresp FtpLastResponse(DefaultNetbuf) #define ftpInit FtpInit #define ftpOpen(x) FtpConnect(x, &DefaultNetbuf) #define ftpLogin(x,y) FtpLogin(x, y, DefaultNetbuf) #define ftpSite(x) FtpSite(x, DefaultNetbuf) #define ftpMkdir(x) FtpMkdir(x, DefaultNetbuf) #define ftpChdir(x) FtpChdir(x, DefaultNetbuf) #define ftpRmdir(x) FtpRmdir(x, DefaultNetbuf) #define ftpChmod(x, y) FtpChmod(x, y, DefaultNetbuf) #define ftpNlst(x, y) FtpNlst(x, y, DefaultNetbuf) #define ftpDir(x, y) FtpDir(x, y, DefaultNetbuf) #define ftpGet(x, y, z) FtpGet(x, y, z, DefaultNetbuf) #define ftpPut(x, y, z) FtpPut(x, y, z, DefaultNetbuf) #define ftpRename(x, y) FtpRename(x, y, DefaultNetbuf) #define ftpDelete(x) FtpDelete(x, DefaultNetbuf) #define ftpQuit() FtpQuit(DefaultNetbuf) #endif /* (_FTPLIB_NO_COMPAT) */ /* end v1 compatibility stuff */ GLOBALREF int ftplib_debug; GLOBALREF void FtpInit(void); GLOBALREF char *FtpLastResponse(netbuf *nControl); GLOBALREF int FtpConnect(const char *host, netbuf **nControl); GLOBALREF int FtpOptions(int opt, long val, netbuf *nControl); GLOBALREF int FtpLogin(const char *user, const char *pass, netbuf *nControl); GLOBALREF int FtpAccess(const char *path, int typ, int mode, netbuf *nControl, netbuf **nData); GLOBALREF int FtpRead(void *buf, int max, netbuf *nData); GLOBALREF int FtpWrite(void *buf, int len, netbuf *nData); GLOBALREF int FtpClose(netbuf *nData); GLOBALREF int FtpClose2(netbuf *nData); GLOBALREF int FtpSite(const char *cmd, netbuf *nControl); GLOBALREF int FtpSysType(char *buf, int max, netbuf *nControl); GLOBALREF int FtpMkdir(const char *path, netbuf *nControl); GLOBALREF int FtpChdir(const char *path, netbuf *nControl); GLOBALREF int FtpCDUp(netbuf *nControl); GLOBALREF int FtpRmdir(const char *path, netbuf *nControl); GLOBALREF int FtpPwd(char *path, int max, netbuf *nControl); GLOBALREF int FtpNlst(const char *output, const char *path, netbuf *nControl); GLOBALREF int FtpDir(const char *output, const char *path, netbuf *nControl); GLOBALREF int FtpSize(const char *path, int *size, char mode, netbuf *nControl); GLOBALREF int FtpModDate(const char *path, char *dt, int max, netbuf *nControl); GLOBALREF int FtpGet(const char *output, const char *path, char mode, netbuf *nControl); GLOBALREF int FtpPut(const char *input, const char *path, char mode, netbuf *nControl); GLOBALREF int FtpRename(const char *src, const char *dst, netbuf *nControl); GLOBALDEF int FtpChmod(const char *file, const char *mode, netbuf *nControl); GLOBALREF int FtpDelete(const char *fnm, netbuf *nControl); GLOBALREF void FtpQuit(netbuf *nControl); #ifdef __cplusplus }; #endif #endif /* __FTPLIB_H */ weex-2.6.1/src/shhopt.c0100664000016100001440000003030407104035275013613 0ustar ludousers/* $Id: shhopt.c,v 1.5 1999/09/10 19:19:48 sverrehu Exp $ */ /*------------------------------------------------------------------------ | FILE shhopt.c | | DESCRIPTION Functions for parsing command line arguments. Values | of miscellaneous types may be stored in variables, | or passed to functions as specified. | | REQUIREMENTS Some systems lack the ANSI C -function strtoul. If your | system is one of those, you'll ned to write one yourself, | or get the GNU liberty-library (from prep.ai.mit.edu). | | WRITTEN BY Sverre H. Huseby +----------------------------------------------------------------------*/ /* 1999/09/12 support for gettext by Yuuki NINOMIYA */ #include #include #include #include #include #include #include #include "shhopt.h" #ifdef HAVE_CONFIG_H # include "config.h" #endif #include "intl.h" /*-----------------------------------------------------------------------+ | PRIVATE DATA | +-----------------------------------------------------------------------*/ static void optFatalFunc(const char *, ...); static void (*optFatal)(const char *format, ...) = optFatalFunc; /*-----------------------------------------------------------------------+ | PRIVATE FUNCTIONS | +-----------------------------------------------------------------------*/ /*------------------------------------------------------------------------ | NAME optFatalFunc | | FUNCTION Show given message and abort the program. | | INPUT format, ... | Arguments used as with printf(). | | RETURNS Never returns. The program is aborted. */ void optFatalFunc(const char *format, ...) { va_list ap; fflush(stdout); va_start(ap, format); vfprintf(stderr, format, ap); va_end(ap); exit(99); } /*------------------------------------------------------------------------ | NAME optStructCount | | FUNCTION Get number of options in a optStruct. | | INPUT opt array of possible options. | | RETURNS Number of options in the given array. | | DESCRIPTION Count elements in an optStruct-array. The strcture must | be ended using an element of type OPT_END. */ static int optStructCount(optStruct opt[]) { int ret = 0; while (opt[ret].type != OPT_END) ++ret; return ret; } /*------------------------------------------------------------------------ | NAME optMatch | | FUNCTION Find a matching option. | | INPUT opt array of possible options. | s string to match, without `-' or `--'. | lng match long option, otherwise short. | | RETURNS Index to the option if found, -1 if not found. | | DESCRIPTION Short options are matched from the first character in | the given string. */ static int optMatch(optStruct opt[], const char *s, int lng) { int nopt, q, matchlen = 0; const char *p; nopt = optStructCount(opt); if (lng) { if ((p = strchr(s, '=')) != NULL) matchlen = p - s; else matchlen = strlen(s); } for (q = 0; q < nopt; q++) { if (lng) { if (!opt[q].longName) continue; if (strncmp(s, opt[q].longName, matchlen) == 0) return q; } else { if (!opt[q].shortName) continue; if (*s == opt[q].shortName) return q; } } return -1; } /*------------------------------------------------------------------------ | NAME optString | | FUNCTION Return a (static) string with the option name. | | INPUT opt the option to stringify. | lng is it a long option? | | RETURNS Pointer to static string. */ static char * optString(optStruct *opt, int lng) { static char ret[31]; if (lng) { strcpy(ret, "--"); strncpy(ret + 2, opt->longName, 28); } else { ret[0] = '-'; ret[1] = opt->shortName; ret[2] = '\0'; } return ret; } /*------------------------------------------------------------------------ | NAME optNeedsArgument | | FUNCTION Check if an option requires an argument. | | INPUT opt the option to check. | | RETURNS Boolean value. */ static int optNeedsArgument(optStruct *opt) { return opt->type == OPT_STRING || opt->type == OPT_INT || opt->type == OPT_UINT || opt->type == OPT_LONG || opt->type == OPT_ULONG; } /*------------------------------------------------------------------------ | NAME argvRemove | | FUNCTION Remove an entry from an argv-array. | | INPUT argc pointer to number of options. | argv array of option-/argument-strings. | i index of option to remove. | | OUTPUT argc new argument count. | argv array with given argument removed. */ static void argvRemove(int *argc, char *argv[], int i) { if (i >= *argc) return; while (i++ < *argc) argv[i - 1] = argv[i]; --*argc; } /*------------------------------------------------------------------------ | NAME optExecute | | FUNCTION Perform the action of an option. | | INPUT opt array of possible options. | arg argument to option, if it applies. | lng was the option given as a long option? | | RETURNS Nothing. Aborts in case of error. */ void optExecute(optStruct *opt, char *arg, int lng) { switch (opt->type) { case OPT_FLAG: if (opt->flags & OPT_CALLFUNC) ((void (*)(void)) opt->arg)(); else *((int *) opt->arg) = 1; break; case OPT_STRING: if (opt->flags & OPT_CALLFUNC) ((void (*)(char *)) opt->arg)(arg); else *((char **) opt->arg) = arg; break; case OPT_INT: case OPT_LONG: { long tmp; char *e; tmp = strtol(arg, &e, 10); if (*e) optFatal(_("invalid number `%s'\n"), arg); if (errno == ERANGE || (opt->type == OPT_INT && (tmp > INT_MAX || tmp < INT_MIN))) optFatal(_("number `%s' to `%s' out of range\n"), arg, optString(opt, lng)); if (opt->type == OPT_INT) { if (opt->flags & OPT_CALLFUNC) ((void (*)(int)) opt->arg)((int) tmp); else *((int *) opt->arg) = (int) tmp; } else /* OPT_LONG */ { if (opt->flags & OPT_CALLFUNC) ((void (*)(long)) opt->arg)(tmp); else *((long *) opt->arg) = tmp; } break; } case OPT_UINT: case OPT_ULONG: { unsigned long tmp; char *e; tmp = strtoul(arg, &e, 10); if (*e) optFatal(_("invalid number `%s'\n"), arg); if (errno == ERANGE || (opt->type == OPT_UINT && tmp > UINT_MAX)) optFatal(_("number `%s' to `%s' out of range\n"), arg, optString(opt, lng)); if (opt->type == OPT_UINT) { if (opt->flags & OPT_CALLFUNC) ((void (*)(unsigned)) opt->arg)((unsigned) tmp); else *((unsigned *) opt->arg) = (unsigned) tmp; } else /* OPT_ULONG */ { if (opt->flags & OPT_CALLFUNC) ((void (*)(unsigned long)) opt->arg)(tmp); else *((unsigned long *) opt->arg) = tmp; } break; } default: break; } } /*-----------------------------------------------------------------------+ | PUBLIC FUNCTIONS | +-----------------------------------------------------------------------*/ /*------------------------------------------------------------------------ | NAME optSetFatalFunc | | FUNCTION Set function used to display error message and exit. | | SYNOPSIS #include "shhopt.h" | void optSetFatalFunc(void (*f)(const char *, ...)); | | INPUT f function accepting printf()'like parameters, | that _must_ abort the program. */ void optSetFatalFunc(void (*f)(const char *, ...)) { optFatal = f; } /*------------------------------------------------------------------------ | NAME optParseOptions | | FUNCTION Parse commandline options. | | SYNOPSIS #include "shhopt.h" | void optParseOptions(int *argc, char *argv[], | optStruct opt[], int allowNegNum); | | INPUT argc Pointer to number of options. | argv Array of option-/argument-strings. | opt Array of possible options. | allowNegNum | a negative number is not to be taken as | an option. | | OUTPUT argc new argument count. | argv array with arguments removed. | | RETURNS Nothing. Aborts in case of error. | | DESCRIPTION This function checks each option in the argv-array | against strings in the opt-array, and `executes' any | matching action. Any arguments to the options are | extracted and stored in the variables or passed to | functions pointed to by entries in opt. | | Options and arguments used are removed from the argv- | array, and argc is decreased accordingly. | | Any error leads to program abortion. */ void optParseOptions(int *argc, char *argv[], optStruct opt[], int allowNegNum) { int ai, /* argv index. */ optarg, /* argv index of option argument, or -1 if none. */ mi, /* Match index in opt. */ done; char *arg, /* Pointer to argument to an option. */ *o, /* pointer to an option character */ *p; /* * Loop through all arguments. */ for (ai = 0; ai < *argc; ) { /* * "--" indicates that the rest of the argv-array does not * contain options. */ if (strcmp(argv[ai], "--") == 0) { argvRemove(argc, argv, ai); break; } if (allowNegNum && argv[ai][0] == '-' && isdigit(argv[ai][1])) { ++ai; continue; } else if (strncmp(argv[ai], "--", 2) == 0) { /* long option */ /* find matching option */ if ((mi = optMatch(opt, argv[ai] + 2, 1)) < 0) optFatal(_("unrecognized option `%s'\n"), argv[ai]); /* possibly locate the argument to this option. */ arg = NULL; if ((p = strchr(argv[ai], '=')) != NULL) arg = p + 1; /* does this option take an argument? */ optarg = -1; if (optNeedsArgument(&opt[mi])) { /* option needs an argument. find it. */ if (!arg) { if ((optarg = ai + 1) == *argc) optFatal(_("option `%s' requires an argument\n"), optString(&opt[mi], 1)); arg = argv[optarg]; } } else { if (arg) optFatal(_("option `%s' doesn't allow an argument\n"), optString(&opt[mi], 1)); } /* perform the action of this option. */ optExecute(&opt[mi], arg, 1); /* remove option and any argument from the argv-array. */ if (optarg >= 0) argvRemove(argc, argv, ai); argvRemove(argc, argv, ai); } else if (*argv[ai] == '-') { /* A dash by itself is not considered an option. */ if (argv[ai][1] == '\0') { ++ai; continue; } /* Short option(s) following */ o = argv[ai] + 1; done = 0; optarg = -1; while (*o && !done) { /* find matching option */ if ((mi = optMatch(opt, o, 0)) < 0) optFatal(_("unrecognized option `-%c'\n"), *o); /* does this option take an argument? */ optarg = -1; arg = NULL; if (optNeedsArgument(&opt[mi])) { /* option needs an argument. find it. */ arg = o + 1; if (!*arg) { if ((optarg = ai + 1) == *argc) optFatal(_("option `%s' requires an argument\n"), optString(&opt[mi], 0)); arg = argv[optarg]; } done = 1; } /* perform the action of this option. */ optExecute(&opt[mi], arg, 0); ++o; } /* remove option and any argument from the argv-array. */ if (optarg >= 0) argvRemove(argc, argv, ai); argvRemove(argc, argv, ai); } else { /* a non-option argument */ ++ai; } } } weex-2.6.1/src/shhopt.h0100664000016100001440000000250407104035275013621 0ustar ludousers/* $Id: shhopt.h,v 1.4 1997/05/27 21:14:45 sverrehu Exp $ */ #ifndef SHHOPT_H #define SHHOPT_H #ifdef __cplusplus extern "C" { #endif /* constants for recognized option types. */ typedef enum { OPT_END, /* nothing. used as ending element. */ OPT_FLAG, /* no argument following. sets variable to 1. */ OPT_STRING, /* string argument. */ OPT_INT, /* signed integer argument. */ OPT_UINT, /* unsigned integer argument. */ OPT_LONG, /* signed long integer argument. */ OPT_ULONG, /* unsigned long integer argument. */ } optArgType; /* flags modifying the default way options are handeled. */ #define OPT_CALLFUNC 1 /* pass argument to a function. */ typedef struct { char shortName; /* short option name. */ char *longName; /* long option name, no including '--'. */ optArgType type; /* option type. */ void *arg; /* pointer to variable to fill with argument, * or pointer to function if type == OPT_FUNC. */ int flags; /* modifier flags. */ } optStruct; void optSetFatalFunc(void (*f)(const char *, ...)); void optParseOptions(int *argc, char *argv[], optStruct opt[], int allowNegNum); #ifdef __cplusplus } #endif #endif weex-2.6.1/src/variable.h0100664000016100001440000000671407111633764014115 0ustar ludousers/***************************************************************************/ /* */ /* Fast Webpage Exchanger - an FTP client for updating webpages */ /* Copyright (C) 1999-2000 Yuuki NINOMIYA */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2, or (at your option) */ /* any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ #ifndef VARIABLE_H_INCLUDED #define VARIABLE_H_INCLUDED #ifdef GLOBAL_VALUE_DEFINE # define GLOBAL # define GLOBAL_VAL(v) =(v) #else # define GLOBAL extern # define GLOBAL_VAL(v) /* */ #endif #include "parsecfg.h" #include "ftplib.h" #ifdef DEBUG # define DebugPrint(str) fprintf str #else # define DebugPrint(str) #endif typedef enum{ LOCAL,REMOTE } LocalOrRemote; typedef enum{ CONNECT,DISCONNECT,ENTER,LEAVE,ASCII_SEND,BINARY_SEND,CHMOD,REMOVE,MKDIR,ASCII_LOWER_SEND,BINARY_LOWER_SEND,PROCESS } Message; typedef struct{ char *name; long date; long time; } Cache; typedef struct{ char *name; int max_file; Cache *ptr; } Cache_dir; typedef struct{ char *name; long date; long time; int isdir; } FileData; GLOBAL netbuf *ftp_buf; GLOBAL int host_number; GLOBAL char *current_dir[2]; GLOBAL int is_cache_existent; /* command line options */ GLOBAL int opt_silent; GLOBAL int opt_force; GLOBAL int opt_monochrome; GLOBAL int opt_test; GLOBAL int rebuild_cache; /* configuration file options */ GLOBAL char **host_name; GLOBAL char **login_name; GLOBAL char **password; GLOBAL char **src_dir; GLOBAL char **dest_dir; GLOBAL cfgList **ignore_local_dir; GLOBAL cfgList **ignore_local_file; GLOBAL cfgList **ignore_remote_dir; GLOBAL cfgList **ignore_remote_file; GLOBAL cfgList **keep_remote_dir; GLOBAL cfgList **ascii_file; GLOBAL char **change_permission; GLOBAL cfgList **change_permission_dir; GLOBAL cfgList **preserve_permission_dir; GLOBAL int *conv_to_lower; GLOBAL int *overwrite_ok; GLOBAL int *record_log; GLOBAL int *cfg_silent; GLOBAL int *cfg_force; GLOBAL int *cfg_monochrome; GLOBAL int *ftp_passive; GLOBAL int *nest_spaces; GLOBAL int *log_detail_level; GLOBAL int *max_retry_to_send; GLOBAL int *show_hidden_file; GLOBAL int *follow_symlinks; GLOBAL int *chdir_at_connection; #undef GLOBAL #undef GLOBAL_VAL #endif /* VARIABLE_H_INCLUDED */ weex-2.6.1/src/parsecfg.c0100664000016100001440000007706707104035275014121 0ustar ludousers/***************************************************************************/ /* */ /* parsecfg - a library for parsing a configuration file */ /* Copyright (C) 1999-2000 Yuuki NINOMIYA */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2, or (at your option) */ /* any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include #include #include #include "intl.h" #include "parsecfg.h" /* proto type declaration of private functions */ void cfgFatalFunc(cfgErrorCode,char *,int,char *); void (*cfgFatal)(cfgErrorCode,char *,int,char *) = cfgFatalFunc; /* default error handler */ int parse_simple(char *file,FILE *fp,char *ptr,cfgStruct cfg[],int *line); void parse_values_between_braces(char *file,FILE *fp,char *parameter,cfgStruct cfg[],int *line,cfgFileType type,int section,char *parameter_buf,int parameter_line); char *parse_word(char *ptr,char **word,cfgKeywordValue word_type); int store_value(cfgStruct cfg[],char *parameter,char *value,cfgFileType type,int section); int parse_ini(char *file,FILE *fp,char *ptr,cfgStruct cfg[],int *line,int *section); int alloc_for_new_section(cfgStruct cfg[],int *section); char *get_single_line_without_first_spaces(FILE *fp,char **gotstr,int *line); char *rm_first_spaces(char *ptr); char *dynamic_fgets(FILE *fp); void dump_simple(FILE *fp,cfgStruct cfg[],cfgFileType type); void dump_ini(FILE *fp,cfgStruct cfg[],cfgFileType type,int max); void single_or_double_quote(char *str,char *ret); int fetch_simple(char *file,FILE *fp,char *parameter_name,void *result_value,cfgValueType value_type); int fetch_ini(char *file,FILE *fp,char *parameter_name,void *result_value,cfgValueType value_type,int section_num,char *section_name); /* static variables */ static char **parsecfg_section_name=NULL; static int parsecfg_maximum_section; /*************************************************************/ /* PUBLIC FUCNCTIONS */ /*************************************************************/ /* -------------------------------------------------- NAME cfgSetFatalFunc FUNCTION handle new error handler INPUT f ... pointer to new error handler OUTPUT none -------------------------------------------------- */ void cfgSetFatalFunc(void (*f)(cfgErrorCode,char *,int,char *)) { cfgFatal = f; } /* -------------------------------------------------- NAME cfgParse FUNCTION parse a configuration file (main function) INPUT file ... name of the configuration file cfg .... array of possible variables type ... type of the configuration file + CFG_SIMPLE .. simple 1:1 + CFG_INI ..... Windows INI-like file OUTPUT the maximum number of sections (if type==CFG_INI then always return 0) -------------------------------------------------- */ int cfgParse(char *file,cfgStruct cfg[],cfgFileType type) { char *line_buf; char *ptr; int line=0; FILE *fp; int error_code; int max_cfg=-1; fp=fopen(file,"r"); if(fp==NULL){ cfgFatal(CFG_OPEN_FAIL,file,0,NULL); } while((ptr=get_single_line_without_first_spaces(fp,&line_buf,&line))!=NULL){ switch(type){ case CFG_SIMPLE: if((error_code=parse_simple(file,fp,ptr,cfg,&line))!=CFG_NO_ERROR){ cfgFatal(error_code,file,line,line_buf); } break; case CFG_INI: if((error_code=parse_ini(file,fp,ptr,cfg,&line,&max_cfg))!=CFG_NO_ERROR){ fclose(fp); cfgFatal(error_code,file,line,line_buf); } break; default: fclose(fp); cfgFatal(CFG_INTERNAL_ERROR,file,0,NULL); } free(line_buf); } fclose(fp); parsecfg_maximum_section=max_cfg+1; return(parsecfg_maximum_section); } /* -------------------------------------------------- NAME cfgDump FUNCTION write configuration data to a file INPUT file ... name of the configuration file cfg .... array of possible variables type ... type of the configuration file + CFG_SIMPLE .. simple 1:1 + CFG_INI ..... Windows INI-like file max_section ... the maximum number of sections (if type is CFG_INI, this arg is ignored) OUTPUT none -------------------------------------------------- */ void cfgDump(char *file,cfgStruct cfg[],cfgFileType type,int max_section) { FILE *fp; fp=fopen(file,"w"); if(fp==NULL){ cfgFatal(CFG_CREATE_FAIL,file,0,NULL); } switch(type){ case CFG_SIMPLE: dump_simple(fp,cfg,type); break; case CFG_INI: dump_ini(fp,cfg,type,max_section); break; default: fclose(fp); cfgFatal(CFG_INTERNAL_ERROR,file,0,NULL); } fclose(fp); } /* -------------------------------------------------- NAME fetchVarFromCfgFile FUNCTION fetch specified variable from configuration file INPUT file ... name of the configuration file parameter_name ... parameter name to fetch result_value ... stored result value_type ... type of variable file_type ... type of the configuration file + CFG_SIMPLE .. simple 1:1 + CFG_INI ..... Windows INI-like file section_num ... section number (for file_type==CFG_INI) section_name ... section name (use this if section_num<1) OUTPUT return 0 if successful, -1 otherwise -------------------------------------------------- */ int fetchVarFromCfgFile(char *file,char *parameter_name,void *result_value,cfgValueType value_type,cfgFileType file_type,int section_num,char *section_name) { FILE *fp; fp=fopen(file,"r"); if(fp==NULL){ cfgFatal(CFG_OPEN_FAIL,file,0,NULL); } switch(file_type){ case CFG_SIMPLE: if(fetch_simple(file,fp,parameter_name,result_value,value_type)==0){ fclose(fp); return(0); } break; case CFG_INI: if(fetch_ini(file,fp,parameter_name,result_value,value_type,section_num,section_name)==0){ fclose(fp); return(0); } break; default: fclose(fp); cfgFatal(CFG_INTERNAL_ERROR,file,0,NULL); } fclose(fp); return(-1); } /* -------------------------------------------------- NAME cfgSectionNameToNumber FUNCTION convert section name to number INPUT name ... section name OUTPUT section number (0,1,2,...) if no matching, return -1 -------------------------------------------------- */ int cfgSectionNameToNumber(const char *name) { int i; for(i=0;iparsecfg_maximum_section-1 || num<0){ return(NULL); } return(parsecfg_section_name[num]); } /*************************************************************/ /* PRIVATE FUCNCTIONS */ /*************************************************************/ /* -------------------------------------------------- NAME cfgFatalFunc FUNCTION error handler INPUT error_code ... reason of error file ......... the configuration file line ......... line number causing error str .......... strings at above line OUTPUT never return -------------------------------------------------- */ void cfgFatalFunc(cfgErrorCode error_code,char *file,int line,char *str) { switch(error_code){ case CFG_OPEN_FAIL: fprintf(stderr,_("Configuration file `%s' is not found.\n"),file); break; case CFG_CREATE_FAIL: fprintf(stderr,_("Creating configuration file `%s' fails.\n"),file); break; case CFG_SYNTAX_ERROR: fprintf(stderr,_("%s(%d): %s\nSyntax error\n"),file,line,str); break; case CFG_WRONG_PARAMETER: fprintf(stderr,_("%s(%d): %s\nUnrecognized parameter\n"),file,line,str); break; case CFG_INTERNAL_ERROR: fprintf(stderr,_("%s(%d): %s\nInternal error\n"),file,line,str); break; case CFG_INVALID_NUMBER: fprintf(stderr,_("%s(%d): %s\nInvalid number\n"),file,line,str); break; case CFG_OUT_OF_RANGE: fprintf(stderr,_("%s(%d): %s\nOut of range\n"),file,line,str); break; case CFG_MEM_ALLOC_FAIL: fprintf(stderr,_("%s(%d): %s\nCannot allocate memory.\n"),file,line,str); break; case CFG_BOOL_ERROR: fprintf(stderr,_("%s(%d): %s\nIt must be specified TRUE or FALSE.\n"),file,line,str); break; case CFG_USED_SECTION: fprintf(stderr,_("%s(%d): %s\nThe section name is already used.\n"),file,line,str); break; case CFG_NO_CLOSING_BRACE: fprintf(stderr,_("%s(%d)\nThere is no closing brace.\n"),file,line); break; default: fprintf(stderr,_("%s(%d): %s\nUnexplained error\n"),file,line,str); break; } exit(1); } /* -------------------------------------------------- NAME parse_simple FUNCTION parse as simple 1:1 file INPUT file .. name of the configuration file fp .... file pointer to the configuration file ptr ... pointer of current parsing cfg ... array of possible variables line .. pointer to current working line OUTPUT error code (no error is CFG_NO_ERROR) -------------------------------------------------- */ int parse_simple(char *file,FILE *fp,char *ptr,cfgStruct cfg[],int *line) { char *parameter; char *parameter_buf; int parameter_line; char *value; int error_code; parameter_buf=ptr; parameter_line=*line; if((ptr=parse_word(ptr,¶meter,CFG_PARAMETER))==NULL){ return(CFG_SYNTAX_ERROR); } if(*ptr=='{'){ ptr=rm_first_spaces(ptr+1); if(*ptr!='\0' && *ptr!='#'){ return(CFG_SYNTAX_ERROR); } parse_values_between_braces(file,fp,parameter,cfg,line,CFG_SIMPLE,0,parameter_buf,parameter_line); }else{ if((ptr=parse_word(ptr,&value,CFG_VALUE))==NULL){ return(CFG_SYNTAX_ERROR); } if((error_code=store_value(cfg,parameter,value,CFG_SIMPLE,0))!=CFG_NO_ERROR){ return(error_code); } free(parameter); free(value); } return(CFG_NO_ERROR); } /* -------------------------------------------------- NAME parse_word FUNCTION parse a word INPUT ptr ... pointer of current parsing word .. pointer of pointer for parsed word (dynamic allocating) word_type ... what word type parse as + CFG_PARAMETER ... parameter + CFG_VALUE ....... value + CFG_SECTION ..... section OUTPUT new current pointer (if syntax error, return NULL) -------------------------------------------------- */ char *parse_word(char *ptr,char **word,cfgKeywordValue word_type) { int len=0; cfgQuote quote_flag; switch(*ptr){ case '\"': quote_flag=CFG_DOUBLE_QUOTE; ptr++; break; case '\'': quote_flag=CFG_SINGLE_QUOTE; ptr++; break; default: quote_flag=CFG_NO_QUOTE; break; } for(;;){ if(quote_flag==CFG_NO_QUOTE){ if(*(ptr+len)==' ' || *(ptr+len)=='\t' || *(ptr+len)=='\0' || *(ptr+len)=='#' || (*(ptr+len)=='=' && word_type==CFG_PARAMETER) || (*(ptr+len)==']' && word_type==CFG_SECTION)){ break; } }else if(quote_flag==CFG_DOUBLE_QUOTE){ if(*(ptr+len)=='\"'){ break; } }else if(quote_flag==CFG_SINGLE_QUOTE){ if(*(ptr+len)=='\''){ break; } } if(*(ptr+len)=='\0'){ return(NULL); } len++; } if((*word=malloc(len+1))==NULL){ cfgFatalFunc(CFG_MEM_ALLOC_FAIL,"unknown",0,""); } strncpy(*word,ptr,len); *(*word+len)='\0'; ptr+=(len+(quote_flag==CFG_NO_QUOTE ? 0 : 1)); ptr=rm_first_spaces(ptr); switch(word_type){ case CFG_PARAMETER: if(*ptr!='='){ return(NULL); } ptr++; ptr=rm_first_spaces(ptr); break; case CFG_VALUE: if(*ptr!='\0' && *ptr!='#'){ return(NULL); } break; case CFG_SECTION: if(*ptr!=']'){ return(NULL); } break; default: return(NULL); } return(ptr); } /* -------------------------------------------------- NAME store_value FUNCTION store the value according to cfg INPUT cfg ......... array of possible variables parameter ... parameter value ....... value type ........ type of the configuration file section ..... section number OUTPUT error code -------------------------------------------------- */ int store_value(cfgStruct cfg[],char *parameter,char *value,cfgFileType type,int section) { int num; long tmp; unsigned long utmp; char *endptr; char *strptr; cfgList *listptr; for(num=0;cfg[num].type!=CFG_END;num++){ if(strcasecmp(parameter,cfg[num].parameterName)==0){ errno=0; switch(cfg[num].type){ case CFG_BOOL: if(strcasecmp(value,"TRUE")==0 || strcasecmp(value,"YES")==0 || strcasecmp(value,"T")==0 || strcasecmp(value,"Y")==0 || strcasecmp(value,"1")==0){ if(type==CFG_INI){ *(*(int **)(cfg[num].value)+section)=1; }else{ *(int *)(cfg[num].value)=1; } return(CFG_NO_ERROR); }else if(strcasecmp(value,"FALSE")==0 || strcasecmp(value,"NO")==0 || strcasecmp(value,"F")==0 || strcasecmp(value,"N")==0 || strcasecmp(value,"0")==0){ if(type==CFG_INI){ *(*(int **)(cfg[num].value)+section)=0; }else{ *(int *)(cfg[num].value)=0; } return(CFG_NO_ERROR); } return(CFG_BOOL_ERROR); case CFG_STRING: if((strptr=malloc(strlen(value)+1))==NULL){ return(CFG_MEM_ALLOC_FAIL); } strcpy(strptr,value); if(type==CFG_INI){ *(*(char ***)(cfg[num].value)+section)=strptr; }else{ *(char **)(cfg[num].value)=strptr; } return(CFG_NO_ERROR); case CFG_INT: tmp=strtol(value,&endptr,10); if(*endptr){ return(CFG_INVALID_NUMBER); } if(errno==ERANGE || tmp>INT_MAX || tmpUINT_MAX){ return(CFG_OUT_OF_RANGE); } if(type==CFG_INI){ *(*(unsigned int **)(cfg[num].value)+section)=utmp; }else{ *(unsigned int *)(cfg[num].value)=utmp; } return(CFG_NO_ERROR); case CFG_LONG: tmp=strtol(value,&endptr,10); if(*endptr){ return(CFG_INVALID_NUMBER); } if(errno==ERANGE){ return(CFG_OUT_OF_RANGE); } if(type==CFG_INI){ *(*(long **)(cfg[num].value)+section)=tmp; }else{ *(long *)(cfg[num].value)=tmp; } return(CFG_NO_ERROR); case CFG_ULONG: utmp=strtoul(value,&endptr,10); if(*endptr){ return(CFG_INVALID_NUMBER); } if(errno==ERANGE){ return(CFG_OUT_OF_RANGE); } if(type==CFG_INI){ *(*(unsigned long **)(cfg[num].value)+section)=utmp; }else{ *(unsigned long *)(cfg[num].value)=utmp; } return(CFG_NO_ERROR); case CFG_STRING_LIST: if(type==CFG_INI){ listptr=*(*(cfgList ***)(cfg[num].value)+section); }else{ listptr=*(cfgList **)(cfg[num].value); } if(listptr!=NULL){ while(listptr->next!=NULL){ listptr=listptr->next; } if((listptr=listptr->next=malloc(sizeof(cfgList)))==NULL){ return(CFG_MEM_ALLOC_FAIL); } }else{ if((listptr=malloc(sizeof(cfgList)))==NULL){ return(CFG_MEM_ALLOC_FAIL); } if(type==CFG_INI){ *(*(cfgList ***)(cfg[num].value)+section)=listptr; }else{ *(cfgList **)(cfg[num].value)=listptr; } } if((strptr=malloc(strlen(value)+1))==NULL){ return(CFG_MEM_ALLOC_FAIL); } strcpy(strptr,value); listptr->str=strptr; listptr->next=NULL; return(CFG_NO_ERROR); default: return(CFG_INTERNAL_ERROR); } } } return(CFG_WRONG_PARAMETER); } /* -------------------------------------------------- NAME parse_values_between_braces FUNCTION parse values between braces INPUT file ....... file name fp ......... file pointer to the configuration file parameter .. parameter cfg ........ array of possible variables line ....... pointer to current working line type ....... file type section .... section number parameter_buf ... for error handling parameter_line .. for error handling OUTPUT none -------------------------------------------------- */ void parse_values_between_braces(char *file,FILE *fp,char *parameter,cfgStruct cfg[],int *line,cfgFileType type,int section,char *parameter_buf,int parameter_line) { char *line_buf; char *value; char *ptr; int error_code; while((ptr=get_single_line_without_first_spaces(fp,&line_buf,line))!=NULL){ if(*ptr=='}'){ ptr=rm_first_spaces(ptr+1); if(*ptr!='\0' && *ptr!='#'){ fclose(fp); cfgFatal(CFG_SYNTAX_ERROR,file,*line,line_buf); } free(line_buf); return; } if(parse_word(ptr,&value,CFG_VALUE)==NULL){ fclose(fp); cfgFatal(CFG_SYNTAX_ERROR,file,*line,line_buf); } if((error_code=store_value(cfg,parameter,value,type,section))!=CFG_NO_ERROR){ fclose(fp); if(error_code==CFG_WRONG_PARAMETER){ cfgFatal(error_code,file,parameter_line,parameter_buf); } cfgFatal(error_code,file,*line,line_buf); } free(line_buf); free(value); } fclose(fp); cfgFatal(CFG_NO_CLOSING_BRACE,file,*line,NULL); } /* -------------------------------------------------- NAME parse_ini FUNCTION parse the configuration file as Windows INI-like file INPUT file .. name of the configuration file fp .... file pointer to the configuration file ptr ... pointer of current parsing strings cfg ... array of possible variables line .. pointer to current working line number section ... pointer to current section number OUTPUT error code (no error is CFG_NO_ERROR) -------------------------------------------------- */ int parse_ini(char *file,FILE *fp,char *ptr,cfgStruct cfg[],int *line,int *section) { char *parameter; char *parameter_buf; int parameter_line; char *value; int error_code; int i; if(*ptr=='['){ if((error_code=alloc_for_new_section(cfg,section))!=CFG_NO_ERROR){ return(error_code); } ptr=rm_first_spaces(ptr+1); parsecfg_section_name=realloc(parsecfg_section_name,sizeof(char *)*(*section+1)); if((ptr=parse_word(ptr,&parsecfg_section_name[*section],CFG_SECTION))==NULL){ return(CFG_SYNTAX_ERROR); } for(i=0;i<*section;i++){ if(strcasecmp(parsecfg_section_name[*section],parsecfg_section_name[i])==0){ return(CFG_USED_SECTION); } } ptr=rm_first_spaces(ptr+1); if(*ptr!='\0' && *ptr!='#'){ return(CFG_SYNTAX_ERROR); } return(CFG_NO_ERROR); }else if(*section==-1){ return(CFG_SYNTAX_ERROR); } parameter_buf=ptr; parameter_line=*line; if((ptr=parse_word(ptr,¶meter,CFG_PARAMETER))==NULL){ return(CFG_SYNTAX_ERROR); } if(*ptr=='{'){ ptr=rm_first_spaces(ptr+1); if(*ptr!='\0' && *ptr!='#'){ return(CFG_SYNTAX_ERROR); } parse_values_between_braces(file,fp,parameter,cfg,line,CFG_INI,*section,parameter_buf,parameter_line); }else{ if((ptr=parse_word(ptr,&value,CFG_VALUE))==NULL){ return(CFG_SYNTAX_ERROR); } if((error_code=store_value(cfg,parameter,value,CFG_INI,*section))!=CFG_NO_ERROR){ return(error_code); } free(parameter); free(value); } return(CFG_NO_ERROR); } /* -------------------------------------------------- NAME alloc_for_new_section FUNCTION allocate memory for new section INPUT cfg ....... array of possible variables section ... pointer to current section number OUTPUT error code -------------------------------------------------- */ int alloc_for_new_section(cfgStruct cfg[],int *section) { int num; void *ptr; (*section)++; for(num=0;cfg[num].type!=CFG_END;num++){ switch(cfg[num].type){ case CFG_BOOL: case CFG_INT: case CFG_UINT: if(*section==0){ *(int **)(cfg[num].value)=NULL; } if((ptr=realloc(*(int **)(cfg[num].value),sizeof(int)*(*section+1)))==NULL){ return(CFG_MEM_ALLOC_FAIL); } *(int **)(cfg[num].value)=ptr; if(cfg[num].type==CFG_BOOL){ *(*((int **)(cfg[num].value))+*section)=-1; }else{ *(*((int **)(cfg[num].value))+*section)=0; } break; case CFG_LONG: case CFG_ULONG: if(*section==0){ *(long **)(cfg[num].value)=NULL; } if((ptr=realloc(*(long **)(cfg[num].value),sizeof(long)*(*section+1)))==NULL){ return(CFG_MEM_ALLOC_FAIL); } *(long **)(cfg[num].value)=ptr; *(*((long **)(cfg[num].value))+*section)=0; break; case CFG_STRING: if(*section==0){ *(char ***)(cfg[num].value)=NULL; } if((ptr=realloc(*(char ***)(cfg[num].value),sizeof(char *)*(*section+1)))==NULL){ return(CFG_MEM_ALLOC_FAIL); } *(char ***)(cfg[num].value)=ptr; *(*(char ***)(cfg[num].value)+*section)=NULL; break; case CFG_STRING_LIST: if(*section==0){ *(cfgList ***)(cfg[num].value)=NULL; } if((ptr=realloc(*(cfgList ***)(cfg[num].value),sizeof(cfgList *)*(*section+1)))==NULL){ return(CFG_MEM_ALLOC_FAIL); } *(cfgList ***)(cfg[num].value)=ptr; *(*(cfgList ***)(cfg[num].value)+*section)=NULL; break; default: return(CFG_INTERNAL_ERROR); } } return(CFG_NO_ERROR); } /* -------------------------------------------------- NAME rm_first_spaces FUNCTION remove lead-off spaces and tabs in the string INPUT ptr ... pointer to string OUTPUT new poniter after removing -------------------------------------------------- */ char *rm_first_spaces(char *ptr) { while(*ptr==' ' || *ptr=='\t'){ ptr++; } return(ptr); } /* -------------------------------------------------- NAME get_single_line_without_first_spaces FUNCTION get a single line without lead-off spaces and tabs from file INPUT fp ....... file pointer gotptr ... pointer stored got string line ..... pointer to line number OUTPUT new poniter after removing -------------------------------------------------- */ char *get_single_line_without_first_spaces(FILE *fp,char **gotstr,int *line) { char *ptr; for(;;){ if((*gotstr=dynamic_fgets(fp))==NULL){ return(NULL); } (*line)++; ptr=rm_first_spaces(*gotstr); if(*ptr!='#' && *ptr!='\0'){ return(ptr); } free(*gotstr); } } /* -------------------------------------------------- NAME dynamic_fgets FUNCTION fgets with dynamic allocated memory INPUT fp ... file pointer OUTPUT pointer to got strings -------------------------------------------------- */ char *dynamic_fgets(FILE *fp) { char *ptr; char temp[128]; int i; ptr=malloc(1); if(ptr==NULL){ fclose(fp); cfgFatalFunc(CFG_MEM_ALLOC_FAIL,"unknown",0,""); } *ptr='\0'; for(i=0;;i++){ if(fgets(temp,128,fp)==NULL){ free(ptr); return(NULL); } ptr=realloc(ptr,127*(i+1)+1); if(ptr==NULL){ fclose(fp); cfgFatalFunc(CFG_MEM_ALLOC_FAIL,"unknown",0,""); } strcat(ptr,temp); if(strchr(temp,'\n')!=NULL){ *strchr(ptr,'\n')='\0'; return(ptr); } if(feof(fp)!=0){ return(ptr); } } } void dump_simple(FILE *fp,cfgStruct cfg[],cfgFileType type) { int i; char c[2]; cfgList *l; for(i=0;cfg[i].type!=CFG_END;i++){ switch(cfg[i].type){ case CFG_BOOL: fprintf(fp,"%s\t= %s\n",cfg[i].parameterName,(*(int *)(cfg[i].value)) ? "True" : "False"); break; case CFG_INT: fprintf(fp,"%s\t= %d\n",cfg[i].parameterName,*(int *)(cfg[i].value)); break; case CFG_UINT: fprintf(fp,"%s\t= %u\n",cfg[i].parameterName,*(unsigned int *)(cfg[i].value)); break; case CFG_LONG: fprintf(fp,"%s\t= %ld\n",cfg[i].parameterName,*(long *)(cfg[i].value)); break; case CFG_ULONG: fprintf(fp,"%s\t= %lu\n",cfg[i].parameterName,*(unsigned long *)(cfg[i].value)); break; case CFG_STRING: single_or_double_quote(*(char **)(cfg[i].value),c); fprintf(fp,"%s\t= %s%s%s\n",cfg[i].parameterName,c,*(char **)(cfg[i].value),c); break; case CFG_STRING_LIST: for(l=*(cfgList **)(cfg[i].value);l!=NULL;l=l->next){ single_or_double_quote(l->str,c); fprintf(fp,"%s\t= %s%s%s\n",cfg[i].parameterName,c,l->str,c); } break; case CFG_END: default: fclose(fp); cfgFatal(CFG_INTERNAL_ERROR,"?",0,NULL); } } } void dump_ini(FILE *fp,cfgStruct cfg[],cfgFileType type,int max) { int i,j; char c[2]; cfgList *l; for(j=0;jnext){ single_or_double_quote(l->str,c); fprintf(fp,"%s\t= %s%s%s\n",cfg[i].parameterName,c,l->str,c); } break; case CFG_END: default: fclose(fp); cfgFatal(CFG_INTERNAL_ERROR,"?",0,NULL); } } fprintf(fp,"\n"); } } void single_or_double_quote(char *str,char *ret) { ret[1]='\0'; if(strchr(str,'\"')!=NULL){ ret[0]='\''; }else if(strchr(str,'\'')!=NULL || strchr(str,'#')!=NULL || strchr(str,'\t')!=NULL || strchr(str,' ')!=NULL){ ret[0]='\"'; }else{ ret[0]='\0'; } } int fetch_simple(char *file,FILE *fp,char *parameter_name,void *result_value,cfgValueType value_type) { int store_flag=-1; int error_code; int line; char *line_buf; char *ptr; char *read_parameter; char *read_value; cfgStruct fetch_cfg[]={ {parameter_name,value_type,result_value}, {NULL,CFG_END,NULL} }; while((ptr=get_single_line_without_first_spaces(fp,&line_buf,&line))!=NULL){ if((ptr=parse_word(ptr,&read_parameter,CFG_PARAMETER))==NULL){ fclose(fp); cfgFatal(CFG_SYNTAX_ERROR,file,line,line_buf); } if(strcasecmp(read_parameter,parameter_name)==0){ if(*ptr=='{'){ ptr=rm_first_spaces(ptr+1); if(*ptr!='\0' && *ptr!='#'){ fclose(fp); cfgFatal(CFG_SYNTAX_ERROR,file,line,line_buf); } parse_values_between_braces(file,fp,parameter_name,fetch_cfg,&line,CFG_SIMPLE,0,line_buf,line); }else{ if((ptr=parse_word(ptr,&read_value,CFG_VALUE))==NULL){ fclose(fp); cfgFatal(CFG_SYNTAX_ERROR,file,line,line_buf); } if((error_code=store_value(fetch_cfg,parameter_name,read_value,CFG_SIMPLE,0))!=CFG_NO_ERROR){ fclose(fp); cfgFatal(error_code,file,line,line_buf); } free(read_value); } store_flag=0; }else{ if(*ptr=='{'){ ptr=rm_first_spaces(ptr+1); if(*ptr!='\0' && *ptr!='#'){ fclose(fp); cfgFatal(CFG_SYNTAX_ERROR,file,line,line_buf); } free(line_buf); while((ptr=get_single_line_without_first_spaces(fp,&line_buf,&line))!=NULL){ if(*ptr=='}'){ ptr=rm_first_spaces(ptr+1); if(*ptr!='\0' && *ptr!='#'){ fclose(fp); cfgFatal(CFG_SYNTAX_ERROR,file,line,line_buf); } break; } free(line_buf); } } } free(read_parameter); free(line_buf); } return(store_flag); } int fetch_ini(char *file,FILE *fp,char *parameter_name,void *result_value,cfgValueType value_type,int section_num,char *section_name) { int store_flag=-1; int section_flag=-1; int error_code; int line; char *line_buf; char *ptr; char *read_parameter; char *read_value; char *read_section_name; int current_section_number=0; cfgStruct fetch_cfg[]={ {parameter_name,value_type,result_value}, {NULL,CFG_END,NULL} }; while((ptr=get_single_line_without_first_spaces(fp,&line_buf,&line))!=NULL){ if(*ptr=='['){ if(section_flag==0){ return(store_flag); } ptr=rm_first_spaces(ptr+1); if((ptr=parse_word(ptr,&read_section_name,CFG_SECTION))==NULL){ return(CFG_SYNTAX_ERROR); } ptr=rm_first_spaces(ptr+1); if(*ptr!='\0' && *ptr!='#'){ return(CFG_SYNTAX_ERROR); } current_section_number++; if((section_num>0 && current_section_number==section_num) || (section_num<=0 && strcasecmp(read_section_name,section_name)==0)){ section_flag=0; continue; } } if(section_flag==-1){ continue; } if((ptr=parse_word(ptr,&read_parameter,CFG_PARAMETER))==NULL){ fclose(fp); cfgFatal(CFG_SYNTAX_ERROR,file,line,line_buf); } if(strcasecmp(read_parameter,parameter_name)==0){ if(*ptr=='{'){ ptr=rm_first_spaces(ptr+1); if(*ptr!='\0' && *ptr!='#'){ fclose(fp); cfgFatal(CFG_SYNTAX_ERROR,file,line,line_buf); } parse_values_between_braces(file,fp,parameter_name,fetch_cfg,&line,CFG_SIMPLE,0,line_buf,line); }else{ if((ptr=parse_word(ptr,&read_value,CFG_VALUE))==NULL){ fclose(fp); cfgFatal(CFG_SYNTAX_ERROR,file,line,line_buf); } if((error_code=store_value(fetch_cfg,parameter_name,read_value,CFG_SIMPLE,0))!=CFG_NO_ERROR){ fclose(fp); cfgFatal(error_code,file,line,line_buf); } free(read_value); } store_flag=0; }else{ if(*ptr=='{'){ ptr=rm_first_spaces(ptr+1); if(*ptr!='\0' && *ptr!='#'){ fclose(fp); cfgFatal(CFG_SYNTAX_ERROR,file,line,line_buf); } free(line_buf); while((ptr=get_single_line_without_first_spaces(fp,&line_buf,&line))!=NULL){ if(*ptr=='}'){ ptr=rm_first_spaces(ptr+1); if(*ptr!='\0' && *ptr!='#'){ fclose(fp); cfgFatal(CFG_SYNTAX_ERROR,file,line,line_buf); } break; } free(line_buf); } } } free(read_parameter); free(line_buf); } return(store_flag); } weex-2.6.1/src/parsecfg.h0100664000016100001440000000615507104035275014114 0ustar ludousers/***************************************************************************/ /* */ /* parsecfg - a library for parsing a configuration file */ /* Copyright (C) 1999-2000 Yuuki NINOMIYA */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2, or (at your option) */ /* any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ #ifndef PARSECFG_H_INCLUDED #define PARSECFG_H_INCLUDED #undef PARSECFG_VERSION #define PARSECFG_VERSION "3.2.1" /* error code */ typedef enum{ CFG_NO_ERROR, CFG_OPEN_FAIL, CFG_CREATE_FAIL, CFG_SYNTAX_ERROR, CFG_WRONG_PARAMETER, CFG_INTERNAL_ERROR, CFG_INVALID_NUMBER, CFG_OUT_OF_RANGE, CFG_MEM_ALLOC_FAIL, CFG_BOOL_ERROR, CFG_USED_SECTION, CFG_NO_CLOSING_BRACE, } cfgErrorCode; /* type of the configuration file */ typedef enum{ CFG_SIMPLE, CFG_INI, } cfgFileType; /* constants for recognized value types */ typedef enum{ CFG_END, CFG_BOOL, CFG_STRING, CFG_INT, CFG_UINT, CFG_LONG, CFG_ULONG, CFG_STRING_LIST, } cfgValueType; typedef enum{ CFG_PARAMETER, CFG_VALUE, CFG_SECTION, } cfgKeywordValue; typedef enum{ CFG_NO_QUOTE, CFG_SINGLE_QUOTE, CFG_DOUBLE_QUOTE, } cfgQuote; typedef struct{ char *parameterName; cfgValueType type; void *value; } cfgStruct; typedef struct cfglist *cfgListPtr; typedef struct cfglist{ char *str; cfgListPtr next; } cfgList; /* proto type declaration of public functions */ void cfgSetFatalFunc(void (*f)(cfgErrorCode,char *,int,char *)); int cfgParse(char *file,cfgStruct cfg[],cfgFileType type); void cfgDump(char *file,cfgStruct cfg[],cfgFileType type,int max_section); int fetchVarFromCfgFile(char *file,char *parameter_name,void *result_value,cfgValueType value_type,cfgFileType file_type,int section_num,char *section_name); int cfgSectionNameToNumber(const char *name); char *cfgSectionNumberToName(int num); #endif /* PARSECFG_H_INCLUDED */ weex-2.6.1/src/log.c0100664000016100001440000001171707104035275013076 0ustar ludousers/***************************************************************************/ /* */ /* Fast Webpage Exchanger - an FTP client for updating webpages */ /* Copyright (C) 1999-2000 Yuuki NINOMIYA */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2, or (at your option) */ /* any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include #include #include #include #include "intl.h" #include "strlib.h" #include "variable.h" #include "proto.h" static char **log_str; static int max_log; static char weex_host[64]; static pid_t weex_pid; /* -------------------------------------------------- NAME log_init FUNCTION initialize logging facility INPUT none OUTPUT none -------------------------------------------------- */ void log_init(void) { weex_pid=getpid(); if(gethostname(weex_host,63)==-1){ fprintf(stderr,_("Cannot get a host name. Proceed anyway.\n")); strcpy(weex_host,"unknown"); } log_str=NULL; max_log=0; } /* -------------------------------------------------- NAME log_open FUNCTION create a lock file and open a log file INPUT none OUTPUT file pointer to the log file -------------------------------------------------- */ FILE *log_open(void) { char *log_file; char *lock_file; FILE *fp; int fd; int i=0; log_file=str_concat(getenv("HOME"),"/.weex/weex.log",NULL); lock_file=str_concat(getenv("HOME"),"/.weex/.lock",NULL); while(access(lock_file,F_OK)==0){ i++; if(i>120){ fprintf(stderr,_("Stopped.\n")); exit(1); } if((i%12)==0){ fprintf(stderr,_("Log file `%s' seems to be always locked.\nRemove lock file `%s'.\n"),log_file,lock_file); }else{ fprintf(stderr,_("Another weex is using log file `%s'. Just a moment.\n"),log_file); } sleep(5); } fd=creat(lock_file,S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); if(fd==-1){ fprintf(stderr,"Cannot create lock file `%s'.\n",lock_file); exit(1); } close(fd); fp=fopen(log_file,"a"); if(fp==NULL){ fprintf(stderr,"Cannot open log file `%s'.\n",log_file); remove(lock_file); } free(lock_file); free(log_file); return(fp); } /* -------------------------------------------------- NAME log_close FUNCTION close a log file and remove a lock file INPUT none OUTPUT none -------------------------------------------------- */ void log_close(FILE *fp) { char *lock_file; lock_file=str_concat(getenv("HOME"),"/.weex/.lock",NULL); fclose(fp); remove(lock_file); free(lock_file); } /* -------------------------------------------------- NAME log_write FUNCTION write a log INPUT str ... message to write OUTPUT none -------------------------------------------------- */ void log_write(char *str) { struct tm *nowtime; time_t t; char *month_str[12]={ N_("Jan"), N_("Feb"), N_("Mar"), N_("Apr"), N_("May"), N_("Jun"), N_("Jul"), N_("Aug"), N_("Sep"), N_("Oct"), N_("Nov"), N_("Dec"), }; t=time(NULL); nowtime=localtime(&t); max_log++; log_str=str_realloc(log_str,max_log*sizeof(*log_str)); log_str[max_log-1]=str_dup_printf(_("%s %2d %02d:%02d:%02d %s weex[%d]: %s\n"),_(month_str[nowtime->tm_mon]),nowtime->tm_mday,nowtime->tm_hour,nowtime->tm_min,nowtime->tm_sec,weex_host,weex_pid,str); } /* -------------------------------------------------- NAME log_flush FUNCTION flush a log OUTPUT none -------------------------------------------------- */ void log_flush(void) { FILE *fp; int i; if(!record_log[host_number]){ return; } fp=log_open(); for(i=0;i */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2, or (at your option) */ /* any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #ifdef HAVE_GNUREGEX_H # include #else # include #endif #include "intl.h" #include "strlib.h" #include "variable.h" #include "proto.h" /* -------------------------------------------------- NAME n_atol FUNCTION convert string to long(the maximum bytes is n) INPUT str ... converted string n ... the maximum length of string OUTPUT result value -------------------------------------------------- */ long n_atol(char *str,int n) { char *temp; long result; temp=str_malloc(n+1); strncpy(temp,str,n); temp[n]='\0'; result=atol(temp); free(temp); return(result); } /* -------------------------------------------------- NAME cmp_file_with_wildcard FUNCTION compare raw file name with file name with wild card INPUT read_name ... raw file name wild_name ... file name with wild card OUTPUT return 0 if read_name is equal to wild_name otherwise return -1 -------------------------------------------------- */ int cmp_file_with_wildcard(char *real_name,char *wild_name) { char *temp; regex_t re; int res; temp=cnvregexp(wild_name); if(regcomp(&re,temp,REG_EXTENDED)!=0){ fprintf(stderr,_("Invalid wildcard `%s'.\n"),wild_name); exit(1); } res=regexec(&re,real_name,0,NULL,0); regfree(&re); free(temp); if(res==0){ return(0); }else{ return(-1); } } /* -------------------------------------------------- NAME cnvregexp FUNCTION convert shell wildcards to regular expressions INPUT str ... shell wildcards OUTPUT pointer to converted to regular expressions -------------------------------------------------- */ char *cnvregexp(char *str) { char *cp, *pattern; int i; int flag = 0; pattern = str_malloc(1 + strlen(str) * 2 + 3); i = 0; pattern[i++] = '^'; for (cp = str; *cp; cp++) { if (flag) { if (*cp == ']') flag = 0; pattern[i++] = *cp; continue; } switch (*cp) { case '\\': if (!*(cp + 1)) break; pattern[i++] = *(cp++); pattern[i++] = *cp; break; case '?': pattern[i++] = '.'; break; case '*': pattern[i++] = '.'; pattern[i++] = '*'; break; case '[': flag = 1; pattern[i++] = *cp; break; case '^': case '$': case '.': pattern[i++] = '\\'; default: pattern[i++] = *cp; break; } } pattern[i++] = '$'; pattern[i++] = '\0'; pattern = str_realloc(pattern, i); return(pattern); } weex-2.6.1/src/filedata.c0100664000016100001440000003565707114234275014101 0ustar ludousers/***************************************************************************/ /* */ /* Fast Webpage Exchanger - an FTP client for updating webpages */ /* Copyright (C) 1999-2000 Yuuki NINOMIYA */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2, or (at your option) */ /* any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include #include #include #include #include #include "intl.h" #include "strlib.h" #include "variable.h" #include "proto.h" #ifndef PATH_MAX # define PATH_MAX 512 #endif /* PATH_MAX */ /* -------------------------------------------------- NAME get_local_file_data FUNCTION get the data of local files INPUT local_data ... pointer to stored date OUTPUT the maximum number of local files -------------------------------------------------- */ int get_local_file_data(FileData **local_data) { DIR *dir; struct dirent *ent; struct stat file_stat; struct tm *ftime; char time_temp[10]; char date_temp[10]; int isdir; int file_num=0; int i; dir=opendir("."); while((ent=readdir(dir))!=NULL){ if(strcmp(ent->d_name,".")==0 || strcmp(ent->d_name,"..")==0){ continue; } lstat(ent->d_name,&file_stat); /* follow symlinks */ if (follow_symlinks[host_number] && (file_stat.st_mode & S_IFLNK)==S_IFLNK){ char realfname[PATH_MAX]; DebugPrint((stderr,"Local symlink is detected: %s\n",ent->d_name)); if(realpath(ent->d_name,realfname)==NULL){ char *temp; fprintf(stderr,_("Cannot expand symbolic link `%s'. Ignore this file.\n"),ent->d_name); temp=str_dup_printf(_("Expanding symbolic link failed: %s"),ent->d_name); log_write(temp); free(temp); continue; } stat(realfname,&file_stat); DebugPrint((stderr,"Realfname is %s\n",realfname)); } isdir = ((file_stat.st_mode & S_IFDIR) == S_IFDIR); ftime=gmtime(&file_stat.st_mtime); if(isdir){ if(is_ignore_dir(ent->d_name,LOCAL)){ DebugPrint((stderr,"Ignore local dir: %s\n",ent->d_name)); continue; } }else{ if(is_ignore_file(ent->d_name,LOCAL)){ DebugPrint((stderr,"Ignore local file: %s\n",ent->d_name)); continue; } } sprintf(date_temp,"%04d%02d%02d",1900+ftime->tm_year,ftime->tm_mon+1,ftime->tm_mday); sprintf(time_temp,"%02d%02d%02d",ftime->tm_hour,ftime->tm_min,ftime->tm_sec); *local_data=str_realloc(*local_data,sizeof(**local_data)*(file_num+1)); (*local_data)[file_num].date=atol(date_temp); (*local_data)[file_num].time=atol(time_temp); (*local_data)[file_num].isdir=isdir; (*local_data)[file_num].name=str_dup(ent->d_name); DebugPrint((stderr,"Local: [%08ld] [%06ld] [%08o] [%d] [%s]\n",(*local_data)[file_num].date,(*local_data)[file_num].time,file_stat.st_mode,(*local_data)[file_num].isdir,(*local_data)[file_num].name)); if(conv_to_lower[host_number]){ for(i=0;i")==0) ? 'd' : '-'; }else{ /* Remote system type is UNIX or MACOS */ dir_flag=str[0]; for(i=0;i<7;i++){ if((ptr=strtok(NULL," "))==NULL){ fprintf(stderr,_("Cannot get the remote directory list correctly.\n")); ftp_disconnect(); exit(1); } if((i==0 && strcmp(ptr,"folder")==0) || (i==1 && strcmp(ptr,"0000/0000")==0) || (i==3 && isupper(*ptr) && islower(*(ptr+1)) && islower(*(ptr+2)) && *(ptr+3)=='\0')){ i++; } } } ptr=ptr+strlen(ptr)+1; if((lnktmp=strstr(ptr," -> "))!=NULL){ /* This file is a symbolic link. */ *lnktmp='\0'; } /* Strip leading spaces from the filename which can occur with an FTP server based on Windows NT */ while (*ptr == ' '){ ptr++; } *file=str_dup(ptr); return(dir_flag); } /* -------------------------------------------------- NAME is_ignore_dir FUNCTION whether ???IgnoreDir or not INPUT dir_name ... name of the directory side ....... LOCAL or REMOTE OUTPUT return 1 if match ???IgnoreDir otherwise return 0 -------------------------------------------------- */ int is_ignore_dir(char *dir_name,LocalOrRemote side) { cfgList *l; char *temp; if((side==LOCAL && ignore_local_dir[host_number]==NULL) || (side==REMOTE && ignore_remote_dir[host_number]==NULL)){ return(0); } temp=str_concat(current_dir[side],dir_name,"/",NULL); if(side==LOCAL){ for(l=ignore_local_dir[host_number];l!=NULL;l=l->next){ if(cmp_file_with_wildcard(temp,l->str)==0){ free(temp); return(1); } } }else if(side==REMOTE){ for(l=ignore_remote_dir[host_number];l!=NULL;l=l->next){ if(cmp_file_with_wildcard(temp,l->str)==0){ free(temp); return(1); } } } free(temp); return(0); } /* -------------------------------------------------- NAME is_ignore_file FUNCTION whether ???IgnoreFile or not INPUT file_name ... file name side ........ LOCAL or REMOTE OUTPUT return 1 if match ???IgnoreFile otherwise return 0 -------------------------------------------------- */ int is_ignore_file(char *file_name,LocalOrRemote side) { cfgList *l; char *temp; if((side==LOCAL && ignore_local_file[host_number]==NULL) || (side==REMOTE && ignore_remote_file[host_number]==NULL)){ return(0); } temp=str_concat(current_dir[side],file_name,NULL); if(side==LOCAL){ for(l=ignore_local_file[host_number];l!=NULL;l=l->next){ if(strchr(l->str,'/')==NULL){ if(cmp_file_with_wildcard(file_name,l->str)==0){ free(temp); return(1); } }else{ if(cmp_file_with_wildcard(temp,l->str)==0){ free(temp); return(1); } } } }else if(side==REMOTE){ for(l=ignore_remote_file[host_number];l!=NULL;l=l->next){ if(strchr(l->str,'/')==NULL){ if(cmp_file_with_wildcard(file_name,l->str)==0){ free(temp); return(1); } }else{ if(cmp_file_with_wildcard(temp,l->str)==0){ free(temp); return(1); } } } } free(temp); return(0); } /* -------------------------------------------------- NAME is_ascii_file FUNCTION whether AsciiFile or not INPUT file_name ... file name OUTPUT return 1 if match AsciiFile otherwise return 0 -------------------------------------------------- */ int is_ascii_file(char *file_name) { cfgList *l; char *temp; if(ascii_file[host_number]==NULL){ return(0); } temp=str_concat(current_dir[LOCAL],file_name,NULL); for(l=ascii_file[host_number];l!=NULL;l=l->next){ if(strchr(l->str,'/')==NULL){ if(cmp_file_with_wildcard(file_name,l->str)==0){ free(temp); return(1); } }else{ if(cmp_file_with_wildcard(temp,l->str)==0){ free(temp); return(1); } } } free(temp); return(0); } /* -------------------------------------------------- NAME is_change_permission_dir FUNCTION whether ChangePermissionDir or not OUTPUT return 1 if match ChangePermissionDir otherwise return 0 -------------------------------------------------- */ int is_change_permission_dir(void) { cfgList *l; if(change_permission_dir[host_number]==NULL){ return(0); } for(l=change_permission_dir[host_number];l!=NULL;l=l->next){ if(cmp_file_with_wildcard(current_dir[LOCAL],l->str)==0){ return(1); } } return(0); } /* -------------------------------------------------- NAME is_preserve_permission_dir FUNCTION whether PreservePermissionDir or not OUTPUT return 1 if match PreservePermissionDir otherwise return 0 -------------------------------------------------- */ int is_preserve_permission_dir(void) { cfgList *l; if(preserve_permission_dir[host_number]==NULL){ return(0); } for(l=preserve_permission_dir[host_number];l!=NULL;l=l->next){ if(cmp_file_with_wildcard(current_dir[LOCAL],l->str)==0){ return(1); } } return(0); } /* -------------------------------------------------- NAME is_keep_remote_dir FUNCTION whether KeepRemoteDir or not OUTPUT return 1 if match KeepRemoteDir otherwise return 0 -------------------------------------------------- */ int is_keep_remote_dir(void) { cfgList *l; if(keep_remote_dir[host_number]==NULL){ return(0); } for(l=keep_remote_dir[host_number];l!=NULL;l=l->next){ if(cmp_file_with_wildcard(current_dir[REMOTE],l->str)==0){ return(1); } } return(0); } weex-2.6.1/src/ftpmain.c0100664000016100001440000005132707114752643013762 0ustar ludousers/***************************************************************************/ /* */ /* Fast Webpage Exchanger - an FTP client for updating webpages */ /* Copyright (C) 1999-2000 Yuuki NINOMIYA */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2, or (at your option) */ /* any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include #include #include #include #include "intl.h" #include "ftplib.h" #include "strlib.h" #include "variable.h" #include "proto.h" static int total_sent_file; static int total_removed_file; /* -------------------------------------------------- NAME ftp_main FUNCTION main loop of sending INPUT argc ... argument counter argv ... argument vector max_hosts ... maximum hosts in the configuration file OUTPUT none -------------------------------------------------- */ void ftp_main(int argc,char *argv[],int max_hosts) { int i; char *temp; FtpInit(); for(i=0;i1){ put_mes(PROCESS,0,cfgSectionNumberToName(host_number),NULL); } if(ftp_connect_init()==-1){ log_flush(); continue; } total_sent_file=total_removed_file=0; ftp_recursive_search(); put_mes(LEAVE,0,dest_dir[host_number],NULL); temp=str_dup_printf(_("Complete: sent %d file(s), removed %d file(s)"),total_sent_file,total_removed_file); log_write(temp); free(temp); ftp_disconnect(); if(!opt_test){ save_cache(); } } } /* -------------------------------------------------- NAME argv_to_host_num FUNCTION conver the argument(name or number) to host number INPUT arg ... argument OUTPUT host number -------------------------------------------------- */ int argv_to_host_num(char *arg) { int num; num=atoi(arg)-1; if(num==-1){ num=cfgSectionNameToNumber(arg); if(num==-1){ fprintf(stderr,_("Specified host (section) name `%s' is undefined.\n"),arg); exit(1); } }else{ if(cfgSectionNumberToName(num)==NULL){ fprintf(stderr,_("Specified host (section) number `%s' is undefined.\n"),arg); exit(1); } } if(strcasecmp("default",cfgSectionNumberToName(num))==0){ fprintf(stderr,_("Cannot specify a default configuration.\n")); exit(1); } return(num); } /* -------------------------------------------------- NAME ftp_connect_init FUNCTION connect and login OUTPUT 0 ... success -1 ... fail -------------------------------------------------- */ int ftp_connect_init(void) { char *temp; log_init(); put_mes(CONNECT,0,host_name[host_number],NULL); if(ftp_connect()==-1){ return(-1); } if(ftp_login()==-1){ return(-1); } load_cache(); current_dir[LOCAL]=NULL; if(src_dir[host_number]==NULL){ fprintf(stderr,_("The source directory (SrcDir) is not configured.\n")); exit(1); } change_dir(src_dir[host_number],LOCAL); current_dir[REMOTE]=NULL; if(dest_dir[host_number]==NULL){ fprintf(stderr,_("The destination directory (DestDir) is not configured.\n")); exit(1); } change_dir(dest_dir[host_number],REMOTE); if(chdir_at_connection[host_number]){ if(!is_cache_existent){ temp=str_dup(dest_dir[host_number]); if(strcmp(temp,"/")!=0){ temp[strlen(temp)-1]='\0'; } if(FtpChdir(temp,ftp_buf)==0){ if(FtpMkdir(temp,ftp_buf)==1){ put_mes(MKDIR,0,dest_dir[host_number],NULL); } FtpChdir(temp,ftp_buf); } free(temp); }else{ change_dir_actually(REMOTE); } } put_mes(ENTER,0,dest_dir[host_number],NULL); return(0); } /* -------------------------------------------------- NAME ftp_connect FUNCTION connect the host OUTPUT 0 ... success -1 ... fail -------------------------------------------------- */ int ftp_connect(void) { char *temp; if(host_name[host_number]==NULL){ fprintf(stderr,_("The host name is not configured.\n")); exit(1); } if(!FtpConnect(host_name[host_number],&ftp_buf)){ fprintf(stderr,_("Cannot connect host `%s'.\n\n"),host_name[host_number]); temp=str_dup_printf(_("Connection failed: %s (%s)"),host_name[host_number],cfgSectionNumberToName(host_number)); log_write(temp); free(temp); return(-1); } temp=str_dup_printf(_("Connected: %s (%s)"),host_name[host_number],cfgSectionNumberToName(host_number)); log_write(temp); free(temp); return(0); } /* -------------------------------------------------- NAME ftp_disconnect FUNCTION disconnect the host OUTPUT none -------------------------------------------------- */ void ftp_disconnect(void) { char *temp; put_mes(DISCONNECT,0,host_name[host_number],NULL); if(!cfg_silent[host_number] && !opt_silent){ printf("\n"); } FtpQuit(ftp_buf); free(current_dir[LOCAL]); free(current_dir[REMOTE]); temp=str_dup_printf(_("Disconnected: %s (%s)"),host_name[host_number],cfgSectionNumberToName(host_number)); log_write(temp); free(temp); log_flush(); } /* -------------------------------------------------- NAME ftp_login FUNCTION login to the host OUTPUT 0 ... success -1 ... fail -------------------------------------------------- */ int ftp_login(void) { if(login_name[host_number]==NULL){ fprintf(stderr,_("The login name is not configured.\n")); exit(1); } if(password[host_number]==NULL){ /* Changed by Waleed Kadous to ask for a password if none is given in the weexrc file */ fprintf(stderr,_("No password specified in configuration file for `%s'. Asking ...\n"),host_name[host_number]); password[host_number]=str_dup(getpass(_("Password:"))); } if(!FtpLogin(login_name[host_number],password[host_number],ftp_buf)){ char *temp; fprintf(stderr,_("Login failed. Check your ID and password.\n\n")); temp=str_dup_printf(_("Login failed: %s (%s)"),host_name[host_number],cfgSectionNumberToName(host_number)); log_write(temp); free(temp); return(-1); } return(0); } /* -------------------------------------------------- NAME change_dir FUNCTION change the current working directory INPUT path ... change to path side ... LOCAL or REMOTE OUTPUT none -------------------------------------------------- */ void change_dir(char *path,LocalOrRemote side) { if(current_dir[side]==NULL){ current_dir[side]=str_dup(path); }else{ current_dir[side]=str_realloc(current_dir[side],strlen(current_dir[side])+strlen(path)+2); strcat(current_dir[side],path); strcat(current_dir[side],"/"); } if(side==LOCAL){ change_dir_actually(LOCAL); } } /* -------------------------------------------------- NAME up_dir FUNCTION change the current working directory to the parent one INPUT side ... LOCAL or REMOTE OUTPUT none -------------------------------------------------- */ void up_dir(LocalOrRemote side) { *strrchr(current_dir[side],'/')='\0'; *(strrchr(current_dir[side],'/')+1)='\0'; current_dir[side]=str_realloc(current_dir[side],strlen(current_dir[side])+1); if(side==LOCAL){ change_dir_actually(LOCAL); } } void change_dir_actually(LocalOrRemote side) { char *temp; temp=str_dup(current_dir[side]); if(strcmp(temp,"/")!=0){ temp[strlen(temp)-1]='\0'; } if((side==LOCAL && chdir(temp)==-1) || (side==REMOTE && FtpChdir(temp,ftp_buf)==0)){ free(temp); fprintf(stderr,_("Cannot change %s current working directory to `%s'.\n"),side==LOCAL ? _("local") : _("remote"),current_dir[side]); temp=str_dup_printf(_("Changing %s current working directory failed: %s"),side==LOCAL ? _("local") : _("remote"),current_dir[side]); log_write(temp); free(temp); ftp_disconnect(); exit(1); } free(temp); } /* -------------------------------------------------- NAME ftp_recursive_search FUNCTION search files and directories recursively OUTPUT none -------------------------------------------------- */ void ftp_recursive_search(void) { static int dir_nest=1; FileData *local_data=NULL; FileData *remote_data=NULL; int max_local_file; int max_remote_file; char *file_name; int remote_num; int trans_mode; int i,j; int opt_silent_bak; char *temp; char *put_temp; char *mode_temp=NULL; int dir_sent_file=0; int dir_removed_file=0; max_local_file=get_local_file_data(&local_data); max_remote_file=get_remote_file_data_from_cache(&remote_data); for(i=0;iremote_data[remote_num].date || (local_data[i].date==remote_data[remote_num].date && local_data[i].time>remote_data[remote_num].time)){ if(!overwrite_ok[host_number]){ ftp_remove(file_name,dir_nest,&dir_removed_file); } if(is_ascii_file(file_name)){ trans_mode=FTPLIB_ASCII; if(conv_to_lower[host_number] && strcmp(local_data[i].name,file_name)!=0){ put_mes(ASCII_LOWER_SEND,dir_nest,local_data[i].name,file_name,NULL); }else{ put_mes(ASCII_SEND,dir_nest,file_name,NULL); } }else{ trans_mode=FTPLIB_IMAGE; if(conv_to_lower[host_number] && strcmp(local_data[i].name,file_name)!=0){ put_mes(BINARY_LOWER_SEND,dir_nest,local_data[i].name,file_name,NULL); }else{ put_mes(BINARY_SEND,dir_nest,file_name,NULL); } } if(!opt_test){ opt_silent_bak=opt_silent; if(cfg_silent[host_number]){ opt_silent=1; } put_temp=str_concat(current_dir[REMOTE],file_name,NULL); for(j=0;;j++){ if(FtpPut(local_data[i].name,put_temp,trans_mode,ftp_buf)==1){ if(log_detail_level[host_number]>=3){ temp=str_dup_printf(_("Sent: %s%s"),current_dir[REMOTE],file_name); log_write(temp); free(temp); } dir_sent_file++; update_cache(file_name,local_data[i].date,local_data[i].time); if(is_change_permission_dir()){ mode_temp=str_dup(change_permission[host_number]); }else if(is_preserve_permission_dir()){ struct stat local_file_stat; stat(file_name,&local_file_stat); mode_temp=str_dup_printf("%o",local_file_stat.st_mode & 0777); } if(is_preserve_permission_dir() || is_change_permission_dir()){ put_mes(CHMOD,dir_nest,file_name,NULL); if(FtpChmod(put_temp,mode_temp,ftp_buf)==0){ fprintf(stderr,_("Cannot change the access permissions of `%s%s' to `%s'.\n"),current_dir[REMOTE],file_name,change_permission[host_number]); temp=str_dup_printf(_("Changing the access permissions failed: %s%s"),current_dir[REMOTE],file_name); log_write(temp); free(temp); } free(mode_temp); } break; } if(j>=max_retry_to_send[host_number]){ fprintf(stderr,_("Cannot send file `%s%s'.\n"),current_dir[REMOTE],file_name); temp=str_dup_printf(_("Sending failed: %s%s"),current_dir[REMOTE],file_name); log_write(temp); free(temp); break; } temp=str_dup_printf(_("Retry to send: %s%s"),current_dir[REMOTE],file_name); log_write(temp); free(temp); fprintf(stderr,_("Retrying...\n")); } free(put_temp); opt_silent=opt_silent_bak; } } if(conv_to_lower[host_number]){ free(file_name); } } remove_files_on_remote_only(max_local_file,max_remote_file,local_data,remote_data,dir_nest,&dir_removed_file); free_file_data(local_data,max_local_file); free_file_data(remote_data,max_remote_file); total_sent_file+=dir_sent_file; total_removed_file+=dir_removed_file; if(log_detail_level[host_number]>=2){ temp=str_dup_printf(_("%s : sent %d file(s), removed %d file(s)"),current_dir[REMOTE],dir_sent_file,dir_removed_file); log_write(temp); free(temp); } } /* -------------------------------------------------- NAME remove_files_on_remote_only FUNCTION remove the files on the remote side only INPUT max_local_file .... the maximum number of local files max_remote_file ... the maximum number of remote files local_data .... local file data remote_data ... remote file data dir_nest ...... nest level of directory dir_removed_file ... the number of removed files in the directory OUTPUT none -------------------------------------------------- */ void remove_files_on_remote_only(int max_local_file,int max_remote_file,FileData *local_data,FileData *remote_data,int dir_nest,int *dir_removed_file) { int i; int local_num; char *file_name; for(i=0;i=3){ temp=str_dup_printf(_("Removed: %s%s"),current_dir[REMOTE],file_name); log_write(temp); free(temp); } (*dir_removed_file)++; del_cache(file_name); } free(del_temp); } /* -------------------------------------------------- NAME remove_remote_dir FUNCTION remove the remote directory recursively INPUT dir_name ... name of the remote directory that you want to remove dir_nest ... nest level of directory dir_removed_file ... the number of removed files in the directory OUTPUT none -------------------------------------------------- */ void remove_remote_dir(char *dir_name,int dir_nest,int *dir_removed_file) { FileData *remote_data=NULL; int max_remote_file; char *file_name; int i; char *rm_temp; put_mes(ENTER,dir_nest,current_dir[REMOTE],dir_name,"/",NULL); change_dir(dir_name,REMOTE); if(is_keep_remote_dir()){ put_mes(LEAVE,dir_nest,current_dir[REMOTE],NULL); up_dir(REMOTE); return; } dir_nest++; max_remote_file=get_remote_file_data_from_cache(&remote_data); for(i=0;i */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2, or (at your option) */ /* any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include #include #include #include "intl.h" #include "strlib.h" #include "parsecfg.h" #include "variable.h" #include "proto.h" static cfgStruct weex_config[]={ /* parameter type address of variable */ { "HostName", CFG_STRING, &host_name }, { "LoginName", CFG_STRING, &login_name }, { "Password", CFG_STRING, &password }, { "SrcDir", CFG_STRING, &src_dir }, { "DestDir", CFG_STRING, &dest_dir }, { "IgnoreLocalDir", CFG_STRING_LIST,&ignore_local_dir }, { "IgnoreLocalFile", CFG_STRING_LIST,&ignore_local_file }, { "IgnoreRemoteDir", CFG_STRING_LIST,&ignore_remote_dir }, { "IgnoreRemoteFile", CFG_STRING_LIST,&ignore_remote_file }, { "KeepRemoteDir", CFG_STRING_LIST,&keep_remote_dir }, { "AsciiFile", CFG_STRING_LIST,&ascii_file }, { "ChangePermission", CFG_STRING, &change_permission }, { "ChangePermissionDir",CFG_STRING_LIST,&change_permission_dir }, { "PreservePermissionDir",CFG_STRING_LIST,&preserve_permission_dir}, { "ConvToLower", CFG_BOOL, &conv_to_lower }, { "OverwriteOK", CFG_BOOL, &overwrite_ok }, { "RecordLog", CFG_BOOL, &record_log }, { "Silent", CFG_BOOL, &cfg_silent }, { "Force", CFG_BOOL, &cfg_force }, { "Monochrome", CFG_BOOL, &cfg_monochrome }, { "FtpPassive", CFG_BOOL, &ftp_passive }, { "ShowHiddenFile", CFG_BOOL, &show_hidden_file }, { "FollowSymlinks", CFG_BOOL, &follow_symlinks }, { "ChdirAtConnection", CFG_BOOL, &chdir_at_connection }, { "NestSpaces", CFG_INT, &nest_spaces }, { "LogDetailLevel", CFG_INT, &log_detail_level }, { "MaxRetryToSend", CFG_INT, &max_retry_to_send }, { NULL, CFG_END, NULL }, }; /* -------------------------------------------------- NAME config_location FUNCTION where is the configuration file INPUT none OUTPUT return NULL if the configuration file does not exist otherwise return location -------------------------------------------------- */ char *config_location(void) { char *temp; temp=str_concat(getenv("HOME"),"/.weex/weexrc",NULL); if(access(temp,F_OK)!=0){ free(temp); temp=str_concat(getenv("HOME"),"/.weexrc",NULL); if(access(temp,F_OK)!=0){ free(temp); return(NULL); } } return(temp); } /* -------------------------------------------------- NAME read_config FUNCTION read the configuration file INPUT none OUTPUT the maximum hosts -------------------------------------------------- */ int read_config(void) { char *temp; int max_hosts; temp=config_location(); if(temp==NULL){ fprintf(stderr,_("Configuration file `%s/.weex/weexrc' does not exist.\n"),getenv("HOME")); exit(1); } max_hosts=cfgParse(temp,weex_config,CFG_INI); if(max_hosts==0){ fprintf(stderr,_("There is no section in configuration file.\n")); exit(1); } set_default(max_hosts); check_permission(temp); free(temp); return(max_hosts); } /* -------------------------------------------------- NAME make_weex_directory FUNCTION make the directory at home for weex INPUT none OUTPUT none -------------------------------------------------- */ void make_weex_directory(void) { char *temp; temp=str_concat(getenv("HOME"),"/.weex",NULL); if(access(temp,F_OK)!=0){ if(mkdir(temp,0755)!=0){ fprintf(stderr,_("Cannot make directory `%s'.\n"),temp); exit(1); } fprintf(stderr,_("Created directory `%s'.\n"),temp); } free(temp); } /* -------------------------------------------------- NAME check_permission FUNCTION check permission of file and warn INPUT file ... the name of checked file OUTPUT none -------------------------------------------------- */ void check_permission(char *file) { struct stat s; mode_t mode; if(stat(file,&s)!=0){ fprintf(stderr,_("Cannot get file status: `%s'\n"),file); exit(1); } mode=s.st_mode & 0477; if(mode!=0400){ fprintf(stderr,"Warning! Set `%s' permissions to 600.\n\n",file); } } /* -------------------------------------------------- NAME set_default FUNCTION set the default value INPUT max_hosts ... the maximum number of hosts OUTPUT none -------------------------------------------------- */ void set_default(int max_hosts) { int i; int default_num; default_num=cfgSectionNameToNumber("default"); if(default_num==-1){ fprintf(stderr,_("A `default' section is required.\n")); exit(1); } for(i=0;inext){ if(*(l->str+strlen(l->str)-1)!='/'){ l->str=str_realloc(l->str,strlen(l->str)+2); strcat(l->str,"/"); } } } /* -------------------------------------------------- NAME absolutize_path FUNCTION absolutize a directory INPUT host ... host number base_dir ... base directory list_absolute_path ... pointer to linked-list stored absolute path OUTPUT none -------------------------------------------------- */ void absolutize_path(int host,char *base_dir,cfgList **list_absolute_path) { cfgList *l; char *temp; if(list_absolute_path[host]==NULL){ return; } for(l=list_absolute_path[host];l!=NULL;l=l->next){ if(strcmp(l->str,"./")==0){ temp=l->str; l->str=str_dup(base_dir); free(temp); }else if(*(l->str)!='/'){ temp=l->str; l->str=str_concat(base_dir,temp,NULL); free(temp); } } } /* -------------------------------------------------- NAME absolutize_file FUNCTION absolutize a file with directory INPUT host ... host number base_dir ... base directory list_absolute_file ... pointer to linked-list stored absolute path OUTPUT none -------------------------------------------------- */ void absolutize_file(int host,char *base_dir,cfgList **list_absolute_file) { cfgList *l; char *temp; if(list_absolute_file[host]==NULL){ return; } for(l=list_absolute_file[host];l!=NULL;l=l->next){ if(strchr(l->str,'/')==NULL){ /* just a file (without directory) */ continue; } if(*(l->str)!='/'){ temp=l->str; if(strncmp(temp,"./",2)==0){ l->str=str_concat(base_dir,temp+2,NULL); }else{ l->str=str_concat(base_dir,temp,NULL); } free(temp); } } } weex-2.6.1/src/Makefile.am0100664000016100001440000000047407104035275014203 0ustar ludousersbin_PROGRAMS=weex weex_SOURCES=config.c ftplib.c ftplib.h weex.c intl.h \ parsecfg.c parsecfg.h proto.h shhopt.c shhopt.h strlib.c strlib.h variable.h \ ftpmain.c message.c cache.c sub.c filedata.c log.c LDADD=$(INTLLIBS) CPPFLAGS=-DLOCALEDIR=\""$(localedir)"\" INCLUDES=-I$(top_srcdir)/intl -I$(top_builddir)/intl weex-2.6.1/src/Makefile.in0100664000016100001440000002127407121420630014205 0ustar ludousers# Makefile.in generated automatically by automake 1.4 from Makefile.am # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ DATADIRNAME = @DATADIRNAME@ GENCAT = @GENCAT@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GT_NO = @GT_NO@ GT_YES = @GT_YES@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INSTOBJEXT = @INSTOBJEXT@ INTLDEPS = @INTLDEPS@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ PACKAGE = @PACKAGE@ POFILES = @POFILES@ POSUB = @POSUB@ RANLIB = @RANLIB@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ l = @l@ localedir = @localedir@ bin_PROGRAMS = weex weex_SOURCES = config.c ftplib.c ftplib.h weex.c intl.h parsecfg.c parsecfg.h proto.h shhopt.c shhopt.h strlib.c strlib.h variable.h ftpmain.c message.c cache.c sub.c filedata.c log.c LDADD = $(INTLLIBS) CPPFLAGS = -DLOCALEDIR=\""$(localedir)"\" INCLUDES = -I$(top_srcdir)/intl -I$(top_builddir)/intl mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = PROGRAMS = $(bin_PROGRAMS) DEFS = @DEFS@ -I. -I$(srcdir) -I.. LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ weex_OBJECTS = config.o ftplib.o weex.o parsecfg.o shhopt.o strlib.o \ ftpmain.o message.o cache.o sub.o filedata.o log.o weex_LDADD = $(LDADD) weex_DEPENDENCIES = weex_LDFLAGS = CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ DIST_COMMON = Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best SOURCES = $(weex_SOURCES) OBJECTS = $(weex_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .o .s $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status mostlyclean-binPROGRAMS: clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) distclean-binPROGRAMS: maintainer-clean-binPROGRAMS: install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(bindir) @list='$(bin_PROGRAMS)'; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) list='$(bin_PROGRAMS)'; for p in $$list; do \ rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ done .c.o: $(COMPILE) -c $< .s.o: $(COMPILE) -c $< .S.o: $(COMPILE) -c $< mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: weex: $(weex_OBJECTS) $(weex_DEPENDENCIES) @rm -f weex $(LINK) $(weex_LDFLAGS) $(weex_OBJECTS) $(weex_LDADD) $(LIBS) tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = src distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done cache.o: cache.c ../config.h intl.h strlib.h variable.h parsecfg.h \ ftplib.h proto.h config.o: config.c ../config.h intl.h strlib.h parsecfg.h variable.h \ ftplib.h proto.h filedata.o: filedata.c ../config.h intl.h strlib.h variable.h parsecfg.h \ ftplib.h proto.h ftplib.o: ftplib.c ../config.h intl.h variable.h parsecfg.h ftplib.h ftpmain.o: ftpmain.c ../config.h intl.h ftplib.h strlib.h variable.h \ parsecfg.h proto.h log.o: log.c ../config.h intl.h strlib.h variable.h parsecfg.h ftplib.h \ proto.h message.o: message.c ../config.h intl.h variable.h parsecfg.h ftplib.h \ proto.h parsecfg.o: parsecfg.c ../config.h intl.h parsecfg.h shhopt.o: shhopt.c shhopt.h ../config.h intl.h strlib.o: strlib.c ../config.h intl.h strlib.h sub.o: sub.c ../config.h intl.h strlib.h variable.h parsecfg.h ftplib.h \ proto.h weex.o: weex.c ../config.h intl.h ftplib.h shhopt.h variable.h \ parsecfg.h proto.h info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-binPROGRAMS install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall-binPROGRAMS uninstall: uninstall-am all-am: Makefile $(PROGRAMS) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: $(mkinstalldirs) $(DESTDIR)$(bindir) mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ mostlyclean-tags mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-binPROGRAMS clean-compile clean-tags clean-generic \ mostlyclean-am clean: clean-am distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ distclean-generic clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-binPROGRAMS \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile tags mostlyclean-tags distclean-tags \ clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \ check-am installcheck-am installcheck install-exec-am install-exec \ install-data-am install-data install-am install uninstall-am uninstall \ all-redirect all-am all installdirs mostlyclean-generic \ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: weex-2.6.1/src/intl.h0100664000016100001440000000111707104035275013261 0ustar ludousers#ifndef __INTL_H__ #define __INTL_H__ #ifdef ENABLE_NLS # include # define _(String) dgettext(PACKAGE,String) # ifdef gettext_noop # define N_(String) gettext_noop(String) # else # define N_(String) (String) # endif /* gettext_noop */ #else # define _(String) (String) # define N_(String) (String) # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,String) (String) # define dcgettext(Domain,String,Type) (String) # define bindtextdomain(Domain,Directory) (Domain) #endif /* ENABLE_NLS */ #endif /* __INTL_H__ */ weex-2.6.1/src/weex.c0100664000016100001440000001776007104035275013271 0ustar ludousers/***************************************************************************/ /* */ /* Fast Webpage Exchanger - an FTP client for updating webpages */ /* Copyright (C) 1999-2000 Yuuki NINOMIYA */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2, or (at your option) */ /* any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ #define GLOBAL_VALUE_DEFINE #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #ifdef ENABLE_NLS # include #endif #include "intl.h" #include "ftplib.h" #include "shhopt.h" #include "variable.h" #include "proto.h" int main(int argc,char *argv[]) { int max_hosts; int put_config_flag=0; optStruct opt[]={ /* short long type var/func special */ { 'h', "help", OPT_FLAG, put_usage, OPT_CALLFUNC }, { 'V', "version", OPT_FLAG, put_version, OPT_CALLFUNC }, { 's', "silent", OPT_FLAG, &opt_silent, 0 }, { 'f', "force", OPT_FLAG, &opt_force, 0 }, { 'm', "monochrome", OPT_FLAG, &opt_monochrome, 0 }, { 't', "test", OPT_FLAG, &opt_test, 0 }, { 'r', "rebuild-cache",OPT_FLAG, &rebuild_cache, 0 }, { 'd', "debug-config", OPT_FLAG, &put_config_flag, 0 }, { 'D', "debug-ftplib", OPT_FLAG, &ftplib_debug, 0 }, { 0, 0, OPT_END, 0, 0 } /* no more options */ }; #ifdef ENABLE_NLS setlocale(LC_ALL,""); bindtextdomain(PACKAGE,LOCALEDIR); textdomain(PACKAGE); #endif make_weex_directory(); optParseOptions(&argc,argv,opt,0); ftplib_debug*=3; if(put_config_flag){ max_hosts=read_config(); put_config(max_hosts); exit(0); } if(argc<2){ put_usage(); } max_hosts=read_config(); ftp_main(argc,argv,max_hosts); return(0); } /* -------------------------------------------------- NAME put_usage FUNCTION output usage and exit INPUT none OUTPUT never return -------------------------------------------------- */ void put_usage(void) { char *temp; temp=config_location(); if(temp==NULL){ fprintf(stderr,_("Warning! Configuration file `%s/.weex/weexrc' does not exist.\n\n"),getenv("HOME")); }else{ check_permission(temp); } printf(_("\ Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n\n\ This is free software with ABSOLUTELY NO WARRANTY.\n\ For details please see the file COPYING.\n\n\ usage: weex [OPTIONS] HOST...\n\ \n\ options:\n\ -h | --help display this help and exit\n\ -s | --silent suppress normal non-error messages\n\ -f | --force force sending all files\n\ -m | --monochrome output messages in monochrome\n\ -t | --test not modify remote files\n\ -r | --rebuild-cache rebuild cache file\n\ -d | --debug-config display configuration of each hosts\n\ -D | --debug-ftplib output debugging information for ftplib\n\ -V | --version display version information and exit\n\ \n"),VERSION); exit(0); } /* -------------------------------------------------- NAME put_version FUNCTION output version information and exit INPUT none OUTPUT never return -------------------------------------------------- */ void put_version(void) { char *temp; temp=config_location(); if(temp==NULL){ fprintf(stderr,_("Warning! Configuration file `%s/.weex/weexrc' does not exist.\n\n"),getenv("HOME")); }else{ check_permission(temp); } printf(_("Fast Webpage Exchanger Ver %s Copyright (C) 1999-2000 Yuuki NINOMIYA\n"),VERSION); exit(0); } /* -------------------------------------------------- NAME put_config FUNCTION output the configuration INPUT max_hosts ... the maximum number of hosts OUTPUT none -------------------------------------------------- */ void put_config(int max_hosts) { int i; cfgList *l; for(i=0;inext){ printf("IgnoreLocalDir %s\n",l->str); } }else{ printf("IgnoreLocalDir (NULL)\n"); } if(ignore_local_file[i]!=NULL){ for(l=ignore_local_file[i];l!=NULL;l=l->next){ printf("IgnoreLocalFile %s\n",l->str); } }else{ printf("IgnoreLocalFile (NULL)\n"); } if(ignore_remote_dir[i]!=NULL){ for(l=ignore_remote_dir[i];l!=NULL;l=l->next){ printf("IgnoreRemoteDir %s\n",l->str); } }else{ printf("IgnoreRemoteDir (NULL)\n"); } if(ignore_remote_file[i]!=NULL){ for(l=ignore_remote_file[i];l!=NULL;l=l->next){ printf("IgnoreRemoteFile %s\n",l->str); } }else{ printf("IgnoreRemoteFile (NULL)\n"); } if(ascii_file[i]!=NULL){ for(l=ascii_file[i];l!=NULL;l=l->next){ printf("AsciiFile %s\n",l->str); } }else{ printf("AsciiFile (NULL)\n"); } if(keep_remote_dir[i]!=NULL){ for(l=keep_remote_dir[i];l!=NULL;l=l->next){ printf("KeepRemoteDir %s\n",l->str); } }else{ printf("KeepRemoteDir (NULL)\n"); } if(change_permission_dir[i]!=NULL){ for(l=change_permission_dir[i];l!=NULL;l=l->next){ printf("ChangePermissionDir %s\n",l->str); } }else{ printf("ChangePermissionDir (NULL)\n"); } printf("ChangePermission %s\n",change_permission[i]==NULL ? "(NULL)" : change_permission[i]); if(preserve_permission_dir[i]!=NULL){ for(l=preserve_permission_dir[i];l!=NULL;l=l->next){ printf("PreservePermissionDir %s\n",l->str); } }else{ printf("PreservePermissionDir (NULL)\n"); } printf("ConvToLower %s\n",conv_to_lower[i] ? "True" : "False"); printf("OverwriteOK %s\n",overwrite_ok[i] ? "True" : "False"); printf("RecordLog %s\n",record_log[i] ? "True" : "False"); printf("Silent %s\n",cfg_silent[i] ? "True" : "False"); printf("Force %s\n",cfg_force[i] ? "True" : "False"); printf("Monochrome %s\n",cfg_monochrome[i] ? "True" : "False"); printf("FtpPassive %s\n",ftp_passive[i] ? "True" : "False"); printf("ShowHiddenFile %s\n",show_hidden_file[i] ? "True" : "False"); printf("NestSpaces %d\n",nest_spaces[i]); printf("LogDetailLevel %d\n",log_detail_level[i]); printf("MaxRetryToSend %d\n\n",max_retry_to_send[i]); } } weex-2.6.1/src/message.c0100664000016100001440000000750307104035275013737 0ustar ludousers/***************************************************************************/ /* */ /* Fast Webpage Exchanger - an FTP client for updating webpages */ /* Copyright (C) 1999-2000 Yuuki NINOMIYA */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2, or (at your option) */ /* any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include "intl.h" #include "variable.h" #include "proto.h" static char *mes_color[]={ "\x1b[33m", /* CONNECT : yellow */ "\x1b[33m", /* DISCONNECT : yellow */ "\x1b[36m", /* ENTER : cyan */ "\x1b[36m", /* LEAVE : cyan */ "\x1b[32m", /* ASCII_SEND : green */ "\x1b[35m", /* BINARY_SEND : magenta */ "\x1b[33m", /* CHMOD : yellow */ "\x1b[31m", /* REMOVE : red */ "\x1b[34m", /* MKDIR : blue */ "\x1b[32m", /* ASCII_LOWER_SEND : green */ "\x1b[35m", /* BINARY_LOWER_SEND : magenta */ "\x1b[0m", /* PROCESS : default */ }; static char *process_mes[]={ N_("Connect : "), /* CONNECT */ N_("Disconnect : "), /* DISCONNECT */ N_("Entering : "), /* ENTER */ N_("Leaving : "), /* LEAVE */ N_("Sending : "), /* ASCII_SEND */ N_("Sending : "), /* BINARY_SEND */ N_("Changing : "), /* CHMOD */ N_("Removing : "), /* REMOVE */ N_("Making Dir : "), /* MKDIR */ N_("Sending : "), /* ASCII_LOWER_SEND */ N_("Sending : "), /* BINARY_LOWER_SEND */ N_("Processing : "), /* PROCESS */ }; /* -------------------------------------------------- NAME put_mes FUNCTION output processing message INPUT mes ... type of the message nest ... nest level of directory `...' ... output strings OUTPUT none -------------------------------------------------- */ void put_mes(Message mes,int nest, ...) { int mono_flag; va_list ap; int i,j; char *temp; if(cfg_silent[host_number] || opt_silent){ return; } mono_flag=(cfg_monochrome[host_number] || opt_monochrome); printf("%s%s",_(process_mes[mes]),mono_flag ? "" : mes_color[mes]); for(i=0;i "); printf("%s",mono_flag ? "" : mes_color[mes]); printf(va_arg(ap,char *)); }else{ while((temp=va_arg(ap,char *))!=NULL){ printf("%s",temp); } } va_end(ap); printf("%s\n",mono_flag ? "" : "\x1b[0m"); } weex-2.6.1/src/cache.c0100664000016100001440000002170007104035275013351 0ustar ludousers/***************************************************************************/ /* */ /* Fast Webpage Exchanger - an FTP client for updating webpages */ /* Copyright (C) 1999-2000 Yuuki NINOMIYA */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2, or (at your option) */ /* any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include #include "intl.h" #include "strlib.h" #include "variable.h" #include "proto.h" static Cache_dir *cache_dir; static int max_cache_dir; /* -------------------------------------------------- NAME load_cache FUNCTION load cache of time stamp OUTPUT none -------------------------------------------------- */ void load_cache(void) { char *temp; FILE *fp; char *read_temp; Cache *cache; int max_cache_file; char *date,*time,*name; int i; cache_dir=NULL; max_cache_file=max_cache_dir=0; is_cache_existent=0; temp=str_concat(getenv("HOME"),"/.weex/weex.cache.",cfgSectionNumberToName(host_number),NULL); if(rebuild_cache){ fprintf(stderr,_("Rebuilding cache file `%s'.\n"),temp); free(temp); return; } fp=fopen(temp,"r"); if(fp==NULL){ fprintf(stderr,_("Cache file `%s' does not exist."),temp); if(!opt_test){ fprintf(stderr,_(" Creating a new one.\n")); }else{ fprintf(stderr,"\n"); } free(temp); return; } for(i=0;(read_temp=str_fgets(fp))!=NULL;i++){ date=strtok(read_temp," "); time=strtok(NULL," "); if(date==NULL || time==NULL){ fprintf(stderr,_("Cache file `%s' is broken at line %d.\n"),temp,i+1); exit(1); } name=time+strlen(time)+1; if(name==NULL || (i==0 && strcmp(date,"00000000")!=0)){ fprintf(stderr,_("Cache file `%s' is broken at line %d.\n"),temp,i+1); exit(1); } if(strcmp(date,"00000000")==0){ /* directory */ cache_dir=str_realloc(cache_dir,(max_cache_dir+1)*sizeof(*cache_dir)); cache_dir[max_cache_dir].name=str_dup(name); cache_dir[max_cache_dir].ptr=NULL; if(max_cache_dir>0){ cache_dir[max_cache_dir-1].max_file=max_cache_file; } max_cache_dir++; max_cache_file=0; }else{ /* file */ cache_dir[max_cache_dir-1].ptr=str_realloc(cache_dir[max_cache_dir-1].ptr,(max_cache_file+1)*sizeof(*cache_dir[max_cache_dir-1].ptr)); cache=cache_dir[max_cache_dir-1].ptr; cache[max_cache_file].name=str_dup(name); cache[max_cache_file].date=atol(date); cache[max_cache_file].time=atol(time); max_cache_file++; } free(read_temp); } if(max_cache_dir>0){ cache_dir[max_cache_dir-1].max_file=max_cache_file; } fclose(fp); free(temp); is_cache_existent=1; } /* -------------------------------------------------- NAME find_cache FUNCTION find the file in the cache INPUT cache_dir_num ... the number of directory in a cache file_name ... file name OUTPUT pointer to cached file data return NULL if not found -------------------------------------------------- */ Cache *find_cache(char *file_name) { int i; int cache_dir_num; Cache *cache; cache_dir_num=find_cache_dir(current_dir[REMOTE]); if(cache_dir_num<0){ /* no such a directory */ return(NULL); } cache=cache_dir[cache_dir_num].ptr; if(cache==NULL){ /* no files in the directory */ return(NULL); } for(i=0;i=0){ free(cache_dir[cache_dir_num].name); cache_dir[cache_dir_num].name=NULL; } } void update_cache_directory(char *dir) { if(find_cache_dir(dir)<0){ cache_dir=str_realloc(cache_dir,sizeof(*cache_dir)*(max_cache_dir+1)); cache_dir[max_cache_dir].name=str_dup(dir); cache_dir[max_cache_dir].max_file=0; cache_dir[max_cache_dir].ptr=NULL; max_cache_dir++; } } int find_cache_dir(char *name) { int i; for(i=0;i */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2, or (at your option) */ /* any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ /* strlib Ver 1.0.1 */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include #include #include #include "intl.h" #include "strlib.h" #define FALSE 0 #define TRUE 1 #if !defined (G_VA_COPY) # if defined (__GNUC__) && defined (__PPC__) && (defined (_CALL_SYSV) || defined (_WIN32)) # define G_VA_COPY(ap1, ap2) (*(ap1) = *(ap2)) # elif defined (G_VA_COPY_AS_ARRAY) # define G_VA_COPY(ap1, ap2) g_memmove ((ap1), (ap2), sizeof (va_list)) # else /* va_list is a pointer */ # define G_VA_COPY(ap1, ap2) ((ap1) = (ap2)) # endif /* va_list is a pointer */ #endif /* !G_VA_COPY */ /* -------------------------------------------------- NAME str_malloc FUNCTION allocate memory with checking INPUT size ... allocating size OUTPUT pointer to allocated memory -------------------------------------------------- */ void *str_malloc(size_t size) { void *ptr; ptr=malloc(size); if(ptr==NULL){ fprintf(stderr,_("Cannot allocate memory.\n")); exit(1); } return(ptr); } /* -------------------------------------------------- NAME str_realloc FUNCTION resize allocated memory with checking INPUT ptr ... pointer to allocated memory size ... allocating size OUTPUT pointer to new allocated memory -------------------------------------------------- */ void *str_realloc(void *ptr,size_t size) { void *new_ptr; new_ptr=realloc(ptr,size); if(new_ptr==NULL){ fprintf(stderr,_("Cannot allocate memory.\n")); exit(1); } return(new_ptr); } /* -------------------------------------------------- NAME str_dup FUNCTION duplicate string INPUT str ... source string OUTPUT pointer to duplicated string -------------------------------------------------- */ char *str_dup(const char *str) { char *ptr; if(str!=NULL){ ptr=str_malloc(strlen(str)+1); strcpy(ptr,str); }else{ ptr=NULL; } return(ptr); } /* -------------------------------------------------- NAME str_ndup FUNCTION duplicate string that not more than n bytes are copied INPUT str ... source string OUTPUT pointer to duplicated string -------------------------------------------------- */ char *str_ndup(const char *str, size_t n) { char *ptr; if(str!=NULL){ ptr=str_malloc(n+1); strncpy(ptr,str,n); ptr[n]='\0'; }else{ ptr=NULL; } return(ptr); } /* -------------------------------------------------- NAME str_concat FUNCTION concatnate strings INPUT strings (NULL terminated) OUTPUT pointer to concatnated string -------------------------------------------------- */ char *str_concat(const char *string1, ...) { va_list ap; char *ptr,*temp; int size; if(string1==NULL){ return(NULL); } va_start(ap,string1); size=strlen(string1)+1; ptr=str_malloc(size); strcpy(ptr,string1); while((temp=va_arg(ap,char *))!=NULL){ size+=strlen(temp); ptr=str_realloc(ptr,size); strcat(ptr,temp); } va_end(ap); return(ptr); } /* -------------------------------------------------- NAME str_dup_printf FUNCTION dupricate formated string INPUT same printf OUTPUT pointer to formated string -------------------------------------------------- */ char *str_dup_printf(const char *format, ...) { va_list ap1,ap2; char *ptr; va_start(ap1,format); G_VA_COPY(ap2,ap1); ptr=str_malloc(printf_string_upper_bound(format,ap1)); vsprintf(ptr,format,ap2); va_end(ap2); return(ptr); } /* -------------------------------------------------- NAME printf_string_upper_bound FUNCTION calculate upper bound of string INPUT format ... printf format args ..... variable arguments OUTPUT bytes of upper bound This function is from glib. -------------------------------------------------- */ size_t printf_string_upper_bound (const char* format,va_list args) { unsigned int len = 1; while (*format) { int long_int = FALSE; int extra_long = FALSE; char c; c = *format++; if (c == '%') { int done = FALSE; while (*format && !done) { switch (*format++) { char *string_arg; case '*': len += va_arg (args, int); break; case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': /* add specified format length, since it might exceed the * size we assume it to have. */ format -= 1; len += strtol (format, (char**) &format, 10); break; case 'h': /* ignore short int flag, since all args have at least the * same size as an int */ break; case 'l': if (long_int) extra_long = TRUE; /* linux specific */ else long_int = TRUE; break; case 'q': case 'L': long_int = TRUE; extra_long = TRUE; break; case 's': string_arg = va_arg (args, char *); if (string_arg) len += strlen (string_arg); else { /* add enough padding to hold "(null)" identifier */ len += 16; } done = TRUE; break; case 'd': case 'i': case 'o': case 'u': case 'x': case 'X': #ifdef G_HAVE_GINT64 if (extra_long) (void) va_arg (args, gint64); else #endif /* G_HAVE_GINT64 */ { if (long_int) (void) va_arg (args, long); else (void) va_arg (args, int); } len += extra_long ? 64 : 32; done = TRUE; break; case 'D': case 'O': case 'U': (void) va_arg (args, long); len += 32; done = TRUE; break; case 'e': case 'E': case 'f': case 'g': #ifdef HAVE_LONG_DOUBLE if (extra_long) (void) va_arg (args, long double); else #endif /* HAVE_LONG_DOUBLE */ (void) va_arg (args, double); len += extra_long ? 64 : 32; done = TRUE; break; case 'c': (void) va_arg (args, int); len += 1; done = TRUE; break; case 'p': case 'n': (void) va_arg (args, void*); len += 32; done = TRUE; break; case '%': len += 1; done = TRUE; break; default: /* ignore unknow/invalid flags */ break; } } } else len += 1; } return len; } /* -------------------------------------------------- NAME str_fgets FUNCTION fgets with dynamic allocated memory INPUT fp ... file pointer OUTPUT pointer to got strings -------------------------------------------------- */ char *str_fgets(FILE *fp) { char *ptr; char temp[128]; int i; ptr=str_malloc(1); *ptr='\0'; for(i=0;;i++){ if(fgets(temp,128,fp)==NULL){ free(ptr); return(NULL); } ptr=str_realloc(ptr,127*(i+1)+1); strcat(ptr,temp); if(strchr(temp,'\n')!=NULL){ *strchr(ptr,'\n')='\0'; return(ptr); } } } /* -------------------------------------------------- NAME str_skip_fgets FUNCTION skip a single line INPUT fp ... file pointer OUTPUT return 0 if successful, otherwise -1 -------------------------------------------------- */ int str_skip_fgets(FILE *fp) { char temp[128]; for(;;){ if(fgets(temp,128,fp)==NULL){ return(-1); } if(strchr(temp,'\n')!=NULL){ return(0); } } } /* -------------------------------------------------- NAME str_tolower FUNCTION convert string to lower case INPUT str ... input string OUTPUT lower string -------------------------------------------------- */ char *str_tolower(char *str) { char *temp; int i; temp=str_dup(str); for(i=0;i */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2, or (at your option) */ /* any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ #ifndef STRLIB_H_INCLUDED #define STRLIB_H_INCLUDED #include #include void *str_malloc(size_t size); void *str_realloc(void *ptr,size_t size); char *str_dup(const char *str); char *str_ndup(const char *str, size_t n); char *str_dup_printf(const char *format, ...); char *str_concat(const char *string1, ...); size_t printf_string_upper_bound (const char* format,va_list args); char *str_fgets(FILE *fp); int str_skip_fgets(FILE *fp); char *str_tolower(char *str); #endif /* STRLIB_H_INCLUDED */ weex-2.6.1/src/proto.h0100664000016100001440000001122607114752615013465 0ustar ludousers/***************************************************************************/ /* */ /* Fast Webpage Exchanger - an FTP client for updating webpages */ /* Copyright (C) 1999-2000 Yuuki NINOMIYA */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2, or (at your option) */ /* any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /***************************************************************************/ #ifndef PROTO_H_INCLUDED #define PROTO_H_INCLUDED #include /* weex.c */ void put_usage(void); void put_version(void); void put_config(int max_hosts); /* config.c */ void make_weex_directory(void); char *config_location(void); int read_config(void); void check_permission(char *file); void set_default(int max_hosts); void set_str_default(int host,int default_num,char **str_pointer); void set_list_default(int host,int default_num,cfgList **list_pointer); void set_bool_default(int host,int default_num,int bool_default,int *bool_pointer); void set_int_default(int host,int default_num,int default_val,int *int_pointer); void str_attach_slash_to_trailing(int host,char **str_pointer); void list_attach_slash_to_trailing(int host,cfgList **list_pointer); void absolutize_path(int host,char *base_dir,cfgList **list_absolute_path); void absolutize_file(int host,char *base_dir,cfgList **list_absolute_file); /* ftp_main.c */ void ftp_main(int argc,char *argv[],int max_hosts); int ftp_connect_init(void); int argv_to_host_num(char *arg); int ftp_connect(void); int ftp_login(void); void change_dir(char *path,LocalOrRemote side); void up_dir(LocalOrRemote side); void change_dir_actually(LocalOrRemote side); void ftp_disconnect(void); void ftp_recursive_search(void); void remove_files_on_remote_only(int max_local_file,int max_remote_file,FileData *local_data,FileData *remote_data,int dir_nest,int *dir_removed_file); int get_equivalent_remote_number(char *local_name,int max_remote_file,FileData *remote_data); int get_equivalent_local_number(char *remote_name,int max_local_file,FileData *local_data); void ftp_enter(char *dir_name,int remote_isdir,int dir_nest,int remote_num,int *dir_removed_file); void ftp_remove(char *file_name,int dir_nest,int *dir_removed_file); void remove_remote_dir(char *dir_name,int dir_nest,int *dir_removed_file); void ftp_mkdir(char *dir_name); /* cache.c */ void load_cache(void); int get_cache(char *file_name,long *date,long *time); void update_cache(char *file_name,long date,long time); void del_cache(char *file_name); void del_cache_dir(char *dir_name); void save_cache(void); void update_cache_directory(char *dir); int find_cache_dir(char *name); int get_remote_file_data_from_cache(FileData **remote_data); /* message.c */ void put_mes(Message mes,int nest, ...); /* filedata.c */ int get_local_file_data(FileData **local_data); int get_remote_file_data(FileData **remote_data); void free_file_data(FileData *file_data,int max_file_data); int parse_file_and_filetype(char *str,char **file); int is_ignore_file(char *file_name,LocalOrRemote side); int is_ignore_dir(char *dir_name,LocalOrRemote side); int is_ascii_file(char *file_name); int is_change_permission_dir(void); int is_preserve_permission_dir(void); int is_keep_remote_dir(void); /* sub.c */ long n_atol(char *str,int n); int cmp_file_with_wildcard(char *real_name,char *wild_name); char *cnvregexp(char *str); /* log.c */ void log_init(void); FILE *log_open(void); void log_close(FILE *fp); void log_write(char *str); void log_flush(void); #endif /* PROTO_H_INCLUDED */ weex-2.6.1/intl/0040777000016100001440000000000007121420630012316 5ustar ludousersweex-2.6.1/intl/finddomain.c0100644000016100001440000001333407101056740014574 0ustar ludousers/* Handle list of needed message catalogs Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. Written by Ulrich Drepper , 1995. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include #if defined STDC_HEADERS || defined _LIBC # include #else # ifdef HAVE_MALLOC_H # include # else void free (); # endif #endif #if defined HAVE_STRING_H || defined _LIBC # include #else # include # ifndef memcpy # define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) # endif #endif #if !HAVE_STRCHR && !defined _LIBC # ifndef strchr # define strchr index # endif #endif #if defined HAVE_UNISTD_H || defined _LIBC # include #endif #include "gettext.h" #include "gettextP.h" #ifdef _LIBC # include #else # include "libgettext.h" #endif /* @@ end of prolog @@ */ /* List of already loaded domains. */ static struct loaded_l10nfile *_nl_loaded_domains; /* Return a data structure describing the message catalog described by the DOMAINNAME and CATEGORY parameters with respect to the currently established bindings. */ struct loaded_l10nfile * internal_function _nl_find_domain (dirname, locale, domainname) const char *dirname; char *locale; const char *domainname; { struct loaded_l10nfile *retval; const char *language; const char *modifier; const char *territory; const char *codeset; const char *normalized_codeset; const char *special; const char *sponsor; const char *revision; const char *alias_value; int mask; /* LOCALE can consist of up to four recognized parts for the XPG syntax: language[_territory[.codeset]][@modifier] and six parts for the CEN syntax: language[_territory][+audience][+special][,[sponsor][_revision]] Beside the first part all of them are allowed to be missing. If the full specified locale is not found, the less specific one are looked for. The various parts will be stripped off according to the following order: (1) revision (2) sponsor (3) special (4) codeset (5) normalized codeset (6) territory (7) audience/modifier */ /* If we have already tested for this locale entry there has to be one data set in the list of loaded domains. */ retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname, strlen (dirname) + 1, 0, locale, NULL, NULL, NULL, NULL, NULL, NULL, NULL, domainname, 0); if (retval != NULL) { /* We know something about this locale. */ int cnt; if (retval->decided == 0) _nl_load_domain (retval); if (retval->data != NULL) return retval; for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) { if (retval->successor[cnt]->decided == 0) _nl_load_domain (retval->successor[cnt]); if (retval->successor[cnt]->data != NULL) break; } return cnt >= 0 ? retval : NULL; /* NOTREACHED */ } /* See whether the locale value is an alias. If yes its value *overwrites* the alias name. No test for the original value is done. */ alias_value = _nl_expand_alias (locale); if (alias_value != NULL) { #if defined _LIBC || defined HAVE_STRDUP locale = strdup (alias_value); if (locale == NULL) return NULL; #else size_t len = strlen (alias_value) + 1; locale = (char *) malloc (len); if (locale == NULL) return NULL; memcpy (locale, alias_value, len); #endif } /* Now we determine the single parts of the locale name. First look for the language. Termination symbols are `_' and `@' if we use XPG4 style, and `_', `+', and `,' if we use CEN syntax. */ mask = _nl_explode_name (locale, &language, &modifier, &territory, &codeset, &normalized_codeset, &special, &sponsor, &revision); /* Create all possible locale entries which might be interested in generalization. */ retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname, strlen (dirname) + 1, mask, language, territory, codeset, normalized_codeset, modifier, special, sponsor, revision, domainname, 1); if (retval == NULL) /* This means we are out of core. */ return NULL; if (retval->decided == 0) _nl_load_domain (retval); if (retval->data == NULL) { int cnt; for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) { if (retval->successor[cnt]->decided == 0) _nl_load_domain (retval->successor[cnt]); if (retval->successor[cnt]->data != NULL) break; } } /* The room for an alias was dynamically allocated. Free it now. */ if (alias_value != NULL) free (locale); return retval; } #ifdef _LIBC static void __attribute__ ((unused)) free_mem (void) { struct loaded_l10nfile *runp = _nl_loaded_domains; while (runp != NULL) { struct loaded_l10nfile *here = runp; if (runp->data != NULL) _nl_unload_domain ((struct loaded_domain *) runp->data); runp = runp->next; free (here); } } text_set_element (__libc_subfreeres, free_mem); #endif weex-2.6.1/intl/cat-compat.c0100644000016100001440000001474107101056740014517 0ustar ludousers/* Compatibility code for gettext-using-catgets interface. Copyright (C) 1995, 1997 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include #ifdef STDC_HEADERS # include # include #else char *getenv (); # ifdef HAVE_MALLOC_H # include # endif #endif #ifdef HAVE_NL_TYPES_H # include #endif #include "libgettext.h" /* @@ end of prolog @@ */ /* XPG3 defines the result of `setlocale (category, NULL)' as: ``Directs `setlocale()' to query `category' and return the current setting of `local'.'' However it does not specify the exact format. And even worse: POSIX defines this not at all. So we can use this feature only on selected system (e.g. those using GNU C Library). */ #ifdef _LIBC # define HAVE_LOCALE_NULL #endif /* The catalog descriptor. */ static nl_catd catalog = (nl_catd) -1; /* Name of the default catalog. */ static const char default_catalog_name[] = "messages"; /* Name of currently used catalog. */ static const char *catalog_name = default_catalog_name; /* Get ID for given string. If not found return -1. */ static int msg_to_cat_id PARAMS ((const char *msg)); /* Substitution for systems lacking this function in their C library. */ #if !_LIBC && !HAVE_STPCPY static char *stpcpy PARAMS ((char *dest, const char *src)); #endif /* Set currently used domain/catalog. */ char * textdomain (domainname) const char *domainname; { nl_catd new_catalog; char *new_name; size_t new_name_len; char *lang; #if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES \ && defined HAVE_LOCALE_NULL lang = setlocale (LC_MESSAGES, NULL); #else lang = getenv ("LC_ALL"); if (lang == NULL || lang[0] == '\0') { lang = getenv ("LC_MESSAGES"); if (lang == NULL || lang[0] == '\0') lang = getenv ("LANG"); } #endif if (lang == NULL || lang[0] == '\0') lang = "C"; /* See whether name of currently used domain is asked. */ if (domainname == NULL) return (char *) catalog_name; if (domainname[0] == '\0') domainname = default_catalog_name; /* Compute length of added path element. */ new_name_len = sizeof (LOCALEDIR) - 1 + 1 + strlen (lang) + sizeof ("/LC_MESSAGES/") - 1 + sizeof (PACKAGE) - 1 + sizeof (".cat"); new_name = (char *) malloc (new_name_len); if (new_name == NULL) return NULL; strcpy (new_name, PACKAGE); new_catalog = catopen (new_name, 0); if (new_catalog == (nl_catd) -1) { /* NLSPATH search didn't work, try absolute path */ sprintf (new_name, "%s/%s/LC_MESSAGES/%s.cat", LOCALEDIR, lang, PACKAGE); new_catalog = catopen (new_name, 0); if (new_catalog == (nl_catd) -1) { free (new_name); return (char *) catalog_name; } } /* Close old catalog. */ if (catalog != (nl_catd) -1) catclose (catalog); if (catalog_name != default_catalog_name) free ((char *) catalog_name); catalog = new_catalog; catalog_name = new_name; return (char *) catalog_name; } char * bindtextdomain (domainname, dirname) const char *domainname; const char *dirname; { #if HAVE_SETENV || HAVE_PUTENV char *old_val, *new_val, *cp; size_t new_val_len; /* This does not make much sense here but to be compatible do it. */ if (domainname == NULL) return NULL; /* Compute length of added path element. If we use setenv we don't need the first byts for NLSPATH=, but why complicate the code for this peanuts. */ new_val_len = sizeof ("NLSPATH=") - 1 + strlen (dirname) + sizeof ("/%L/LC_MESSAGES/%N.cat"); old_val = getenv ("NLSPATH"); if (old_val == NULL || old_val[0] == '\0') { old_val = NULL; new_val_len += 1 + sizeof (LOCALEDIR) - 1 + sizeof ("/%L/LC_MESSAGES/%N.cat"); } else new_val_len += strlen (old_val); new_val = (char *) malloc (new_val_len); if (new_val == NULL) return NULL; # if HAVE_SETENV cp = new_val; # else cp = stpcpy (new_val, "NLSPATH="); # endif cp = stpcpy (cp, dirname); cp = stpcpy (cp, "/%L/LC_MESSAGES/%N.cat:"); if (old_val == NULL) { # if __STDC__ stpcpy (cp, LOCALEDIR "/%L/LC_MESSAGES/%N.cat"); # else cp = stpcpy (cp, LOCALEDIR); stpcpy (cp, "/%L/LC_MESSAGES/%N.cat"); # endif } else stpcpy (cp, old_val); # if HAVE_SETENV setenv ("NLSPATH", new_val, 1); free (new_val); # else putenv (new_val); /* Do *not* free the environment entry we just entered. It is used from now on. */ # endif #endif return (char *) domainname; } #undef gettext char * gettext (msg) const char *msg; { int msgid; if (msg == NULL || catalog == (nl_catd) -1) return (char *) msg; /* Get the message from the catalog. We always use set number 1. The message ID is computed by the function `msg_to_cat_id' which works on the table generated by `po-to-tbl'. */ msgid = msg_to_cat_id (msg); if (msgid == -1) return (char *) msg; return catgets (catalog, 1, msgid, (char *) msg); } /* Look through the table `_msg_tbl' which has `_msg_tbl_length' entries for the one equal to msg. If it is found return the ID. In case when the string is not found return -1. */ static int msg_to_cat_id (msg) const char *msg; { int cnt; for (cnt = 0; cnt < _msg_tbl_length; ++cnt) if (strcmp (msg, _msg_tbl[cnt]._msg) == 0) return _msg_tbl[cnt]._msg_number; return -1; } /* @@ begin of epilog @@ */ /* We don't want libintl.a to depend on any other library. So we avoid the non-standard function stpcpy. In GNU C Library this function is available, though. Also allow the symbol HAVE_STPCPY to be defined. */ #if !_LIBC && !HAVE_STPCPY static char * stpcpy (dest, src) char *dest; const char *src; { while ((*dest++ = *src++) != '\0') /* Do nothing. */ ; return dest - 1; } #endif weex-2.6.1/intl/linux-msg.sed0100644000016100001440000000520507101056737014744 0ustar ludousers# po2msg.sed - Convert Uniforum style .po file to Linux style .msg file # Copyright (C) 1995 Free Software Foundation, Inc. # Ulrich Drepper , 1995. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # # The first directive in the .msg should be the definition of the # message set number. We use always set number 1. # 1 { i\ $set 1 # Automatically created by po2msg.sed h s/.*/0/ x } # # Mitch's old catalog format does not allow comments. # # We copy the original message as a comment into the .msg file. # /^msgid/ { s/msgid[ ]*"// # # This does not work now with the new format. # /"$/! { # s/\\$// # s/$/ ... (more lines following)"/ # } x # The following nice solution is by # Bruno td # Increment a decimal number in pattern space. # First hide trailing `9' digits. :d s/9\(_*\)$/_\1/ td # Assure at least one digit is available. s/^\(_*\)$/0\1/ # Increment the last digit. s/8\(_*\)$/9\1/ s/7\(_*\)$/8\1/ s/6\(_*\)$/7\1/ s/5\(_*\)$/6\1/ s/4\(_*\)$/5\1/ s/3\(_*\)$/4\1/ s/2\(_*\)$/3\1/ s/1\(_*\)$/2\1/ s/0\(_*\)$/1\1/ # Convert the hidden `9' digits to `0's. s/_/0/g x G s/\(.*\)"\n\([0-9]*\)/$ #\2 Original Message:(\1)/p } # # The .msg file contains, other then the .po file, only the translations # but each given a unique ID. Starting from 1 and incrementing by 1 for # each message we assign them to the messages. # It is important that the .po file used to generate the cat-id-tbl.c file # (with po-to-tbl) is the same as the one used here. (At least the order # of declarations must not be changed.) # /^msgstr/ { s/msgstr[ ]*"\(.*\)"/# \1/ # Clear substitution flag. tb # Append the next line. :b N # Look whether second part is continuation line. s/\(.*\n\)"\(.*\)"/\1\2/ # Yes, then branch. ta P D # Note that D includes a jump to the start!! # We found a continuation line. But before printing insert '\'. :a s/\(.*\)\(\n.*\)/\1\\\2/ P # We cannot use D here. s/.*\n\(.*\)/\1/ tb } d weex-2.6.1/intl/xopen-msg.sed0100644000016100001440000000537607101056737014747 0ustar ludousers# po2msg.sed - Convert Uniforum style .po file to X/Open style .msg file # Copyright (C) 1995 Free Software Foundation, Inc. # Ulrich Drepper , 1995. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # # The first directive in the .msg should be the definition of the # message set number. We use always set number 1. # 1 { i\ $set 1 # Automatically created by po2msg.sed h s/.*/0/ x } # # We copy all comments into the .msg file. Perhaps they can help. # /^#/ s/^#[ ]*/$ /p # # We copy the original message as a comment into the .msg file. # /^msgid/ { # Does not work now # /"$/! { # s/\\$// # s/$/ ... (more lines following)"/ # } s/^msgid[ ]*"\(.*\)"$/$ Original Message: \1/ p } # # The .msg file contains, other then the .po file, only the translations # but each given a unique ID. Starting from 1 and incrementing by 1 for # each message we assign them to the messages. # It is important that the .po file used to generate the cat-id-tbl.c file # (with po-to-tbl) is the same as the one used here. (At least the order # of declarations must not be changed.) # /^msgstr/ { s/msgstr[ ]*"\(.*\)"/\1/ x # The following nice solution is by # Bruno td # Increment a decimal number in pattern space. # First hide trailing `9' digits. :d s/9\(_*\)$/_\1/ td # Assure at least one digit is available. s/^\(_*\)$/0\1/ # Increment the last digit. s/8\(_*\)$/9\1/ s/7\(_*\)$/8\1/ s/6\(_*\)$/7\1/ s/5\(_*\)$/6\1/ s/4\(_*\)$/5\1/ s/3\(_*\)$/4\1/ s/2\(_*\)$/3\1/ s/1\(_*\)$/2\1/ s/0\(_*\)$/1\1/ # Convert the hidden `9' digits to `0's. s/_/0/g x # Bring the line in the format ` ' G s/^[^\n]*$/& / s/\(.*\)\n\([0-9]*\)/\2 \1/ # Clear flag from last substitution. tb # Append the next line. :b N # Look whether second part is a continuation line. s/\(.*\n\)"\(.*\)"/\1\2/ # Yes, then branch. ta P D # Note that `D' includes a jump to the start!! # We found a continuation line. But before printing insert '\'. :a s/\(.*\)\(\n.*\)/\1\\\2/ P # We cannot use the sed command `D' here s/.*\n\(.*\)/\1/ tb } d weex-2.6.1/intl/gettextP.h0100644000016100001440000000420607101056737014301 0ustar ludousers/* Header describing internals of gettext library Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. Written by Ulrich Drepper , 1995. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef _GETTEXTP_H #define _GETTEXTP_H #include "loadinfo.h" /* @@ end of prolog @@ */ #ifndef PARAMS # if __STDC__ # define PARAMS(args) args # else # define PARAMS(args) () # endif #endif #ifndef internal_function # define internal_function #endif #ifndef W # define W(flag, data) ((flag) ? SWAP (data) : (data)) #endif #ifdef _LIBC # include # define SWAP(i) bswap_32 (i) #else static nls_uint32 SWAP PARAMS ((nls_uint32 i)); static inline nls_uint32 SWAP (i) nls_uint32 i; { return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24); } #endif struct loaded_domain { const char *data; int use_mmap; size_t mmap_size; int must_swap; nls_uint32 nstrings; struct string_desc *orig_tab; struct string_desc *trans_tab; nls_uint32 hash_size; nls_uint32 *hash_tab; }; struct binding { struct binding *next; char *domainname; char *dirname; }; struct loaded_l10nfile *_nl_find_domain PARAMS ((const char *__dirname, char *__locale, const char *__domainname)) internal_function; void _nl_load_domain PARAMS ((struct loaded_l10nfile *__domain)) internal_function; void _nl_unload_domain PARAMS ((struct loaded_domain *__domain)) internal_function; /* @@ begin of epilog @@ */ #endif /* gettextP.h */ weex-2.6.1/intl/explodename.c0100644000016100001440000001122007101056740014755 0ustar ludousers/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. Contributed by Ulrich Drepper , 1995. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H # include #endif #if defined STDC_HEADERS || defined _LIBC # include #endif #if defined HAVE_STRING_H || defined _LIBC # include #else # include #endif #include #include "loadinfo.h" /* On some strange systems still no definition of NULL is found. Sigh! */ #ifndef NULL # if defined __STDC__ && __STDC__ # define NULL ((void *) 0) # else # define NULL 0 # endif #endif /* @@ end of prolog @@ */ char * _nl_find_language (name) const char *name; { while (name[0] != '\0' && name[0] != '_' && name[0] != '@' && name[0] != '+' && name[0] != ',') ++name; return (char *) name; } int _nl_explode_name (name, language, modifier, territory, codeset, normalized_codeset, special, sponsor, revision) char *name; const char **language; const char **modifier; const char **territory; const char **codeset; const char **normalized_codeset; const char **special; const char **sponsor; const char **revision; { enum { undecided, xpg, cen } syntax; char *cp; int mask; *modifier = NULL; *territory = NULL; *codeset = NULL; *normalized_codeset = NULL; *special = NULL; *sponsor = NULL; *revision = NULL; /* Now we determine the single parts of the locale name. First look for the language. Termination symbols are `_' and `@' if we use XPG4 style, and `_', `+', and `,' if we use CEN syntax. */ mask = 0; syntax = undecided; *language = cp = name; cp = _nl_find_language (*language); if (*language == cp) /* This does not make sense: language has to be specified. Use this entry as it is without exploding. Perhaps it is an alias. */ cp = strchr (*language, '\0'); else if (cp[0] == '_') { /* Next is the territory. */ cp[0] = '\0'; *territory = ++cp; while (cp[0] != '\0' && cp[0] != '.' && cp[0] != '@' && cp[0] != '+' && cp[0] != ',' && cp[0] != '_') ++cp; mask |= TERRITORY; if (cp[0] == '.') { /* Next is the codeset. */ syntax = xpg; cp[0] = '\0'; *codeset = ++cp; while (cp[0] != '\0' && cp[0] != '@') ++cp; mask |= XPG_CODESET; if (*codeset != cp && (*codeset)[0] != '\0') { *normalized_codeset = _nl_normalize_codeset (*codeset, cp - *codeset); if (strcmp (*codeset, *normalized_codeset) == 0) free ((char *) *normalized_codeset); else mask |= XPG_NORM_CODESET; } } } if (cp[0] == '@' || (syntax != xpg && cp[0] == '+')) { /* Next is the modifier. */ syntax = cp[0] == '@' ? xpg : cen; cp[0] = '\0'; *modifier = ++cp; while (syntax == cen && cp[0] != '\0' && cp[0] != '+' && cp[0] != ',' && cp[0] != '_') ++cp; mask |= XPG_MODIFIER | CEN_AUDIENCE; } if (syntax != xpg && (cp[0] == '+' || cp[0] == ',' || cp[0] == '_')) { syntax = cen; if (cp[0] == '+') { /* Next is special application (CEN syntax). */ cp[0] = '\0'; *special = ++cp; while (cp[0] != '\0' && cp[0] != ',' && cp[0] != '_') ++cp; mask |= CEN_SPECIAL; } if (cp[0] == ',') { /* Next is sponsor (CEN syntax). */ cp[0] = '\0'; *sponsor = ++cp; while (cp[0] != '\0' && cp[0] != '_') ++cp; mask |= CEN_SPONSOR; } if (cp[0] == '_') { /* Next is revision (CEN syntax). */ cp[0] = '\0'; *revision = ++cp; mask |= CEN_REVISION; } } /* For CEN syntax values it might be important to have the separator character in the file name, not for XPG syntax. */ if (syntax == xpg) { if (*territory != NULL && (*territory)[0] == '\0') mask &= ~TERRITORY; if (*codeset != NULL && (*codeset)[0] == '\0') mask &= ~XPG_CODESET; if (*modifier != NULL && (*modifier)[0] == '\0') mask &= ~XPG_MODIFIER; } return mask; } weex-2.6.1/intl/Makefile.in0100644000016100001440000001457607101056737014404 0ustar ludousers# Makefile for directory with message catalog handling in GNU NLS Utilities. # Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = /bin/sh srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = .. VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ transform = @program_transform_name@ libdir = $(exec_prefix)/lib includedir = $(prefix)/include datadir = $(prefix)/@DATADIRNAME@ localedir = $(datadir)/locale gnulocaledir = $(prefix)/share/locale gettextsrcdir = @datadir@/gettext/intl aliaspath = $(localedir):. subdir = intl INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ MKINSTALLDIRS = @MKINSTALLDIRS@ l = @l@ AR = ar CC = @CC@ LIBTOOL = @LIBTOOL@ RANLIB = @RANLIB@ DEFS = -DLOCALEDIR=\"$(localedir)\" -DGNULOCALEDIR=\"$(gnulocaledir)\" \ -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" @DEFS@ CPPFLAGS = @CPPFLAGS@ CFLAGS = @CFLAGS@ LDFLAGS = @LDFLAGS@ COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) HEADERS = $(COMHDRS) libgettext.h loadinfo.h COMHDRS = gettext.h gettextP.h hash-string.h SOURCES = $(COMSRCS) intl-compat.c cat-compat.c COMSRCS = bindtextdom.c dcgettext.c dgettext.c gettext.c \ finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c \ explodename.c OBJECTS = @INTLOBJS@ bindtextdom.$lo dcgettext.$lo dgettext.$lo gettext.$lo \ finddomain.$lo loadmsgcat.$lo localealias.$lo textdomain.$lo l10nflist.$lo \ explodename.$lo CATOBJS = cat-compat.$lo ../po/cat-id-tbl.$lo GETTOBJS = intl-compat.$lo DISTFILES.common = ChangeLog Makefile.in linux-msg.sed po2tbl.sed.in \ xopen-msg.sed $(HEADERS) $(SOURCES) DISTFILES.normal = VERSION DISTFILES.gettext = libintl.glibc intlh.inst.in .SUFFIXES: .SUFFIXES: .c .o .lo .c.o: $(COMPILE) $< .c.lo: $(LIBTOOL) --mode=compile $(COMPILE) $< INCLUDES = -I.. -I. -I$(top_srcdir)/intl -I$(top_srcdir)/lib all: all-@USE_INCLUDED_LIBINTL@ all-yes: libintl.$la intlh.inst all-no: libintl.a: $(OBJECTS) rm -f $@ $(AR) cru $@ $(OBJECTS) $(RANLIB) $@ libintl.la: $(OBJECTS) $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJECTS) \ -version-info 1:0 -rpath $(libdir) ../po/cat-id-tbl.$lo: ../po/cat-id-tbl.c $(top_srcdir)/po/$(PACKAGE).pot cd ../po && $(MAKE) cat-id-tbl.$lo check: all # This installation goal is only used in GNU gettext. Packages which # only use the library should use install instead. # We must not install the libintl.h/libintl.a files if we are on a # system which has the gettext() function in its C library or in a # separate library or use the catgets interface. A special case is # where configure found a previously installed GNU gettext library. # If you want to use the one which comes with this version of the # package, you have to use `configure --with-included-gettext'. install: install-exec install-data install-exec: all if test "$(PACKAGE)" = "gettext" \ && test '@INTLOBJS@' = '$(GETTOBJS)'; then \ if test -r $(MKINSTALLDIRS); then \ $(MKINSTALLDIRS) $(libdir) $(includedir); \ else \ $(top_srcdir)/mkinstalldirs $(libdir) $(includedir); \ fi; \ $(INSTALL_DATA) intlh.inst $(includedir)/libintl.h; \ $(INSTALL_DATA) libintl.a $(libdir)/libintl.a; \ else \ : ; \ fi install-data: all if test "$(PACKAGE)" = "gettext"; then \ if test -r $(MKINSTALLDIRS); then \ $(MKINSTALLDIRS) $(gettextsrcdir); \ else \ $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \ fi; \ $(INSTALL_DATA) VERSION $(gettextsrcdir)/VERSION; \ dists="$(DISTFILES.common)"; \ for file in $$dists; do \ $(INSTALL_DATA) $(srcdir)/$$file $(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi # Define this as empty until I found a useful application. installcheck: uninstall: if test "$(PACKAGE)" = "gettext"; then \ dists="$(DISTFILES.common)"; \ for file in $$dists; do \ rm -f $(gettextsrcdir)/$$file; \ done else \ : ; \ fi info dvi: $(OBJECTS): ../config.h libgettext.h bindtextdom.$lo finddomain.$lo loadmsgcat.$lo: gettextP.h gettext.h loadinfo.h dcgettext.$lo: gettextP.h gettext.h hash-string.h loadinfo.h tags: TAGS TAGS: $(HEADERS) $(SOURCES) here=`pwd`; cd $(srcdir) && etags -o $$here/TAGS $(HEADERS) $(SOURCES) id: ID ID: $(HEADERS) $(SOURCES) here=`pwd`; cd $(srcdir) && mkid -f$$here/ID $(HEADERS) $(SOURCES) mostlyclean: rm -f *.a *.o *.lo core core.* clean: mostlyclean distclean: clean rm -f Makefile ID TAGS po2msg.sed po2tbl.sed maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." # GNU gettext needs not contain the file `VERSION' but contains some # other files which should not be distributed in other packages. distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: Makefile $(DISTFILES) if test "$(PACKAGE)" = gettext; then \ additional="$(DISTFILES.gettext)"; \ else \ additional="$(DISTFILES.normal)"; \ fi; \ for file in $(DISTFILES.common) $$additional; do \ ln $(srcdir)/$$file $(distdir) 2> /dev/null \ || cp -p $(srcdir)/$$file $(distdir); \ done dist-libc: tar zcvf intl-glibc.tar.gz $(COMSRCS) $(COMHDRS) libintl.h.glibc Makefile: Makefile.in ../config.status cd .. \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status # The dependency for intlh.inst is different in gettext and all other # packages. Because we cannot you GNU make features we have to solve # the problem while rewriting Makefile.in. @GT_YES@intlh.inst: intlh.inst.in ../config.status @GT_YES@ cd .. \ @GT_YES@ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \ @GT_YES@ $(SHELL) ./config.status @GT_NO@.PHONY: intlh.inst @GT_NO@intlh.inst: # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: weex-2.6.1/intl/l10nflist.c0100644000016100001440000002423307101056740014300 0ustar ludousers/* Handle list of needed message catalogs Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. Contributed by Ulrich Drepper , 1995. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H # include #endif #if defined HAVE_STRING_H || defined _LIBC # ifndef _GNU_SOURCE # define _GNU_SOURCE 1 # endif # include #else # include # ifndef memcpy # define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) # endif #endif #if !HAVE_STRCHR && !defined _LIBC # ifndef strchr # define strchr index # endif #endif #if defined _LIBC || defined HAVE_ARGZ_H # include #endif #include #include #if defined STDC_HEADERS || defined _LIBC # include #endif #include "loadinfo.h" /* On some strange systems still no definition of NULL is found. Sigh! */ #ifndef NULL # if defined __STDC__ && __STDC__ # define NULL ((void *) 0) # else # define NULL 0 # endif #endif /* @@ end of prolog @@ */ #ifdef _LIBC /* Rename the non ANSI C functions. This is required by the standard because some ANSI C functions will require linking with this object file and the name space must not be polluted. */ # ifndef stpcpy # define stpcpy(dest, src) __stpcpy(dest, src) # endif #else # ifndef HAVE_STPCPY static char *stpcpy PARAMS ((char *dest, const char *src)); # endif #endif /* Define function which are usually not available. */ #if !defined _LIBC && !defined HAVE___ARGZ_COUNT /* Returns the number of strings in ARGZ. */ static size_t argz_count__ PARAMS ((const char *argz, size_t len)); static size_t argz_count__ (argz, len) const char *argz; size_t len; { size_t count = 0; while (len > 0) { size_t part_len = strlen (argz); argz += part_len + 1; len -= part_len + 1; count++; } return count; } # undef __argz_count # define __argz_count(argz, len) argz_count__ (argz, len) #endif /* !_LIBC && !HAVE___ARGZ_COUNT */ #if !defined _LIBC && !defined HAVE___ARGZ_STRINGIFY /* Make '\0' separated arg vector ARGZ printable by converting all the '\0's except the last into the character SEP. */ static void argz_stringify__ PARAMS ((char *argz, size_t len, int sep)); static void argz_stringify__ (argz, len, sep) char *argz; size_t len; int sep; { while (len > 0) { size_t part_len = strlen (argz); argz += part_len; len -= part_len + 1; if (len > 0) *argz++ = sep; } } # undef __argz_stringify # define __argz_stringify(argz, len, sep) argz_stringify__ (argz, len, sep) #endif /* !_LIBC && !HAVE___ARGZ_STRINGIFY */ #if !defined _LIBC && !defined HAVE___ARGZ_NEXT static char *argz_next__ PARAMS ((char *argz, size_t argz_len, const char *entry)); static char * argz_next__ (argz, argz_len, entry) char *argz; size_t argz_len; const char *entry; { if (entry) { if (entry < argz + argz_len) entry = strchr (entry, '\0') + 1; return entry >= argz + argz_len ? NULL : (char *) entry; } else if (argz_len > 0) return argz; else return 0; } # undef __argz_next # define __argz_next(argz, len, entry) argz_next__ (argz, len, entry) #endif /* !_LIBC && !HAVE___ARGZ_NEXT */ /* Return number of bits set in X. */ static int pop PARAMS ((int x)); static inline int pop (x) int x; { /* We assume that no more than 16 bits are used. */ x = ((x & ~0x5555) >> 1) + (x & 0x5555); x = ((x & ~0x3333) >> 2) + (x & 0x3333); x = ((x >> 4) + x) & 0x0f0f; x = ((x >> 8) + x) & 0xff; return x; } struct loaded_l10nfile * _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, mask, language, territory, codeset, normalized_codeset, modifier, special, sponsor, revision, filename, do_allocate) struct loaded_l10nfile **l10nfile_list; const char *dirlist; size_t dirlist_len; int mask; const char *language; const char *territory; const char *codeset; const char *normalized_codeset; const char *modifier; const char *special; const char *sponsor; const char *revision; const char *filename; int do_allocate; { char *abs_filename; struct loaded_l10nfile *last = NULL; struct loaded_l10nfile *retval; char *cp; size_t entries; int cnt; /* Allocate room for the full file name. */ abs_filename = (char *) malloc (dirlist_len + strlen (language) + ((mask & TERRITORY) != 0 ? strlen (territory) + 1 : 0) + ((mask & XPG_CODESET) != 0 ? strlen (codeset) + 1 : 0) + ((mask & XPG_NORM_CODESET) != 0 ? strlen (normalized_codeset) + 1 : 0) + (((mask & XPG_MODIFIER) != 0 || (mask & CEN_AUDIENCE) != 0) ? strlen (modifier) + 1 : 0) + ((mask & CEN_SPECIAL) != 0 ? strlen (special) + 1 : 0) + (((mask & CEN_SPONSOR) != 0 || (mask & CEN_REVISION) != 0) ? (1 + ((mask & CEN_SPONSOR) != 0 ? strlen (sponsor) + 1 : 0) + ((mask & CEN_REVISION) != 0 ? strlen (revision) + 1 : 0)) : 0) + 1 + strlen (filename) + 1); if (abs_filename == NULL) return NULL; retval = NULL; last = NULL; /* Construct file name. */ memcpy (abs_filename, dirlist, dirlist_len); __argz_stringify (abs_filename, dirlist_len, ':'); cp = abs_filename + (dirlist_len - 1); *cp++ = '/'; cp = stpcpy (cp, language); if ((mask & TERRITORY) != 0) { *cp++ = '_'; cp = stpcpy (cp, territory); } if ((mask & XPG_CODESET) != 0) { *cp++ = '.'; cp = stpcpy (cp, codeset); } if ((mask & XPG_NORM_CODESET) != 0) { *cp++ = '.'; cp = stpcpy (cp, normalized_codeset); } if ((mask & (XPG_MODIFIER | CEN_AUDIENCE)) != 0) { /* This component can be part of both syntaces but has different leading characters. For CEN we use `+', else `@'. */ *cp++ = (mask & CEN_AUDIENCE) != 0 ? '+' : '@'; cp = stpcpy (cp, modifier); } if ((mask & CEN_SPECIAL) != 0) { *cp++ = '+'; cp = stpcpy (cp, special); } if ((mask & (CEN_SPONSOR | CEN_REVISION)) != 0) { *cp++ = ','; if ((mask & CEN_SPONSOR) != 0) cp = stpcpy (cp, sponsor); if ((mask & CEN_REVISION) != 0) { *cp++ = '_'; cp = stpcpy (cp, revision); } } *cp++ = '/'; stpcpy (cp, filename); /* Look in list of already loaded domains whether it is already available. */ last = NULL; for (retval = *l10nfile_list; retval != NULL; retval = retval->next) if (retval->filename != NULL) { int compare = strcmp (retval->filename, abs_filename); if (compare == 0) /* We found it! */ break; if (compare < 0) { /* It's not in the list. */ retval = NULL; break; } last = retval; } if (retval != NULL || do_allocate == 0) { free (abs_filename); return retval; } retval = (struct loaded_l10nfile *) malloc (sizeof (*retval) + (__argz_count (dirlist, dirlist_len) * (1 << pop (mask)) * sizeof (struct loaded_l10nfile *))); if (retval == NULL) return NULL; retval->filename = abs_filename; retval->decided = (__argz_count (dirlist, dirlist_len) != 1 || ((mask & XPG_CODESET) != 0 && (mask & XPG_NORM_CODESET) != 0)); retval->data = NULL; if (last == NULL) { retval->next = *l10nfile_list; *l10nfile_list = retval; } else { retval->next = last->next; last->next = retval; } entries = 0; /* If the DIRLIST is a real list the RETVAL entry corresponds not to a real file. So we have to use the DIRLIST separation mechanism of the inner loop. */ cnt = __argz_count (dirlist, dirlist_len) == 1 ? mask - 1 : mask; for (; cnt >= 0; --cnt) if ((cnt & ~mask) == 0 && ((cnt & CEN_SPECIFIC) == 0 || (cnt & XPG_SPECIFIC) == 0) && ((cnt & XPG_CODESET) == 0 || (cnt & XPG_NORM_CODESET) == 0)) { /* Iterate over all elements of the DIRLIST. */ char *dir = NULL; while ((dir = __argz_next ((char *) dirlist, dirlist_len, dir)) != NULL) retval->successor[entries++] = _nl_make_l10nflist (l10nfile_list, dir, strlen (dir) + 1, cnt, language, territory, codeset, normalized_codeset, modifier, special, sponsor, revision, filename, 1); } retval->successor[entries] = NULL; return retval; } /* Normalize codeset name. There is no standard for the codeset names. Normalization allows the user to use any of the common names. */ const char * _nl_normalize_codeset (codeset, name_len) const char *codeset; size_t name_len; { int len = 0; int only_digit = 1; char *retval; char *wp; size_t cnt; for (cnt = 0; cnt < name_len; ++cnt) if (isalnum (codeset[cnt])) { ++len; if (isalpha (codeset[cnt])) only_digit = 0; } retval = (char *) malloc ((only_digit ? 3 : 0) + len + 1); if (retval != NULL) { if (only_digit) wp = stpcpy (retval, "iso"); else wp = retval; for (cnt = 0; cnt < name_len; ++cnt) if (isalpha (codeset[cnt])) *wp++ = tolower (codeset[cnt]); else if (isdigit (codeset[cnt])) *wp++ = codeset[cnt]; *wp = '\0'; } return (const char *) retval; } /* @@ begin of epilog @@ */ /* We don't want libintl.a to depend on any other library. So we avoid the non-standard function stpcpy. In GNU C Library this function is available, though. Also allow the symbol HAVE_STPCPY to be defined. */ #if !_LIBC && !HAVE_STPCPY static char * stpcpy (dest, src) char *dest; const char *src; { while ((*dest++ = *src++) != '\0') /* Do nothing. */ ; return dest - 1; } #endif weex-2.6.1/intl/VERSION0100644000016100001440000000005107101056737013366 0ustar ludousersGNU gettext library from gettext-0.10.35 weex-2.6.1/intl/gettext.c0100644000016100001440000000362307101056740014150 0ustar ludousers/* Implementation of gettext(3) function. Copyright (C) 1995, 1997 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H # include #endif #ifdef _LIBC # define __need_NULL # include #else # ifdef STDC_HEADERS # include /* Just for NULL. */ # else # ifdef HAVE_STRING_H # include # else # define NULL ((void *) 0) # endif # endif #endif #ifdef _LIBC # include #else # include "libgettext.h" #endif /* @@ end of prolog @@ */ /* Names for the libintl functions are a problem. They must not clash with existing names and they should follow ANSI C. But this source code is also used in GNU C Library where the names have a __ prefix. So we have to make a difference here. */ #ifdef _LIBC # define GETTEXT __gettext # define DGETTEXT __dgettext #else # define GETTEXT gettext__ # define DGETTEXT dgettext__ #endif /* Look up MSGID in the current default message catalog for the current LC_MESSAGES locale. If not found, returns MSGID itself (the default text). */ char * GETTEXT (msgid) const char *msgid; { return DGETTEXT (NULL, msgid); } #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__gettext, gettext); #endif weex-2.6.1/intl/gettext.h0100644000016100001440000000620507101056737014162 0ustar ludousers/* Internal header for GNU gettext internationalization functions. Copyright (C) 1995, 1997 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef _GETTEXT_H #define _GETTEXT_H 1 #include #if HAVE_LIMITS_H || _LIBC # include #endif /* @@ end of prolog @@ */ /* The magic number of the GNU message catalog format. */ #define _MAGIC 0x950412de #define _MAGIC_SWAPPED 0xde120495 /* Revision number of the currently used .mo (binary) file format. */ #define MO_REVISION_NUMBER 0 /* The following contortions are an attempt to use the C preprocessor to determine an unsigned integral type that is 32 bits wide. An alternative approach is to use autoconf's AC_CHECK_SIZEOF macro, but doing that would require that the configure script compile and *run* the resulting executable. Locally running cross-compiled executables is usually not possible. */ #if __STDC__ # define UINT_MAX_32_BITS 4294967295U #else # define UINT_MAX_32_BITS 0xFFFFFFFF #endif /* If UINT_MAX isn't defined, assume it's a 32-bit type. This should be valid for all systems GNU cares about because that doesn't include 16-bit systems, and only modern systems (that certainly have ) have 64+-bit integral types. */ #ifndef UINT_MAX # define UINT_MAX UINT_MAX_32_BITS #endif #if UINT_MAX == UINT_MAX_32_BITS typedef unsigned nls_uint32; #else # if USHRT_MAX == UINT_MAX_32_BITS typedef unsigned short nls_uint32; # else # if ULONG_MAX == UINT_MAX_32_BITS typedef unsigned long nls_uint32; # else /* The following line is intended to throw an error. Using #error is not portable enough. */ "Cannot determine unsigned 32-bit data type." # endif # endif #endif /* Header for binary .mo file format. */ struct mo_file_header { /* The magic number. */ nls_uint32 magic; /* The revision number of the file format. */ nls_uint32 revision; /* The number of strings pairs. */ nls_uint32 nstrings; /* Offset of table with start offsets of original strings. */ nls_uint32 orig_tab_offset; /* Offset of table with start offsets of translation strings. */ nls_uint32 trans_tab_offset; /* Size of hashing table. */ nls_uint32 hash_tab_size; /* Offset of first hashing entry. */ nls_uint32 hash_tab_offset; }; struct string_desc { /* Length of addressed string. */ nls_uint32 length; /* Offset of string in file. */ nls_uint32 offset; }; /* @@ begin of epilog @@ */ #endif /* gettext.h */ weex-2.6.1/intl/dcgettext.c0100644000016100001440000004213507101056740014460 0ustar ludousers/* Implementation of the dcgettext(3) function. Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include #if defined __GNUC__ && !defined C_ALLOCA # define alloca __builtin_alloca # define HAVE_ALLOCA 1 #else # if (defined HAVE_ALLOCA_H || defined _LIBC) && !defined C_ALLOCA # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca char *alloca (); # endif # endif # endif #endif #include #ifndef errno extern int errno; #endif #ifndef __set_errno # define __set_errno(val) errno = (val) #endif #if defined STDC_HEADERS || defined _LIBC # include #else char *getenv (); # ifdef HAVE_MALLOC_H # include # else void free (); # endif #endif #if defined HAVE_STRING_H || defined _LIBC # ifndef _GNU_SOURCE # define _GNU_SOURCE 1 # endif # include #else # include #endif #if !HAVE_STRCHR && !defined _LIBC # ifndef strchr # define strchr index # endif #endif #if defined HAVE_UNISTD_H || defined _LIBC # include #endif #include "gettext.h" #include "gettextP.h" #ifdef _LIBC # include #else # include "libgettext.h" #endif #include "hash-string.h" /* @@ end of prolog @@ */ #ifdef _LIBC /* Rename the non ANSI C functions. This is required by the standard because some ANSI C functions will require linking with this object file and the name space must not be polluted. */ # define getcwd __getcwd # ifndef stpcpy # define stpcpy __stpcpy # endif #else # if !defined HAVE_GETCWD char *getwd (); # define getcwd(buf, max) getwd (buf) # else char *getcwd (); # endif # ifndef HAVE_STPCPY static char *stpcpy PARAMS ((char *dest, const char *src)); # endif #endif /* Amount to increase buffer size by in each try. */ #define PATH_INCR 32 /* The following is from pathmax.h. */ /* Non-POSIX BSD systems might have gcc's limits.h, which doesn't define PATH_MAX but might cause redefinition warnings when sys/param.h is later included (as on MORE/BSD 4.3). */ #if defined(_POSIX_VERSION) || (defined(HAVE_LIMITS_H) && !defined(__GNUC__)) # include #endif #ifndef _POSIX_PATH_MAX # define _POSIX_PATH_MAX 255 #endif #if !defined(PATH_MAX) && defined(_PC_PATH_MAX) # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX)) #endif /* Don't include sys/param.h if it already has been. */ #if defined(HAVE_SYS_PARAM_H) && !defined(PATH_MAX) && !defined(MAXPATHLEN) # include #endif #if !defined(PATH_MAX) && defined(MAXPATHLEN) # define PATH_MAX MAXPATHLEN #endif #ifndef PATH_MAX # define PATH_MAX _POSIX_PATH_MAX #endif /* XPG3 defines the result of `setlocale (category, NULL)' as: ``Directs `setlocale()' to query `category' and return the current setting of `local'.'' However it does not specify the exact format. And even worse: POSIX defines this not at all. So we can use this feature only on selected system (e.g. those using GNU C Library). */ #ifdef _LIBC # define HAVE_LOCALE_NULL #endif /* Name of the default domain used for gettext(3) prior any call to textdomain(3). The default value for this is "messages". */ const char _nl_default_default_domain[] = "messages"; /* Value used as the default domain for gettext(3). */ const char *_nl_current_default_domain = _nl_default_default_domain; /* Contains the default location of the message catalogs. */ const char _nl_default_dirname[] = GNULOCALEDIR; /* List with bindings of specific domains created by bindtextdomain() calls. */ struct binding *_nl_domain_bindings; /* Prototypes for local functions. */ static char *find_msg PARAMS ((struct loaded_l10nfile *domain_file, const char *msgid)) internal_function; static const char *category_to_name PARAMS ((int category)) internal_function; static const char *guess_category_value PARAMS ((int category, const char *categoryname)) internal_function; /* For those loosing systems which don't have `alloca' we have to add some additional code emulating it. */ #ifdef HAVE_ALLOCA /* Nothing has to be done. */ # define ADD_BLOCK(list, address) /* nothing */ # define FREE_BLOCKS(list) /* nothing */ #else struct block_list { void *address; struct block_list *next; }; # define ADD_BLOCK(list, addr) \ do { \ struct block_list *newp = (struct block_list *) malloc (sizeof (*newp)); \ /* If we cannot get a free block we cannot add the new element to \ the list. */ \ if (newp != NULL) { \ newp->address = (addr); \ newp->next = (list); \ (list) = newp; \ } \ } while (0) # define FREE_BLOCKS(list) \ do { \ while (list != NULL) { \ struct block_list *old = list; \ list = list->next; \ free (old); \ } \ } while (0) # undef alloca # define alloca(size) (malloc (size)) #endif /* have alloca */ /* Names for the libintl functions are a problem. They must not clash with existing names and they should follow ANSI C. But this source code is also used in GNU C Library where the names have a __ prefix. So we have to make a difference here. */ #ifdef _LIBC # define DCGETTEXT __dcgettext #else # define DCGETTEXT dcgettext__ #endif /* Checking whether the binaries runs SUID must be done and glibc provides easier methods therefore we make a difference here. */ #ifdef _LIBC # define ENABLE_SECURE __libc_enable_secure # define DETERMINE_SECURE #else static int enable_secure; # define ENABLE_SECURE (enable_secure == 1) # define DETERMINE_SECURE \ if (enable_secure == 0) \ { \ if (getuid () != geteuid () || getgid () != getegid ()) \ enable_secure = 1; \ else \ enable_secure = -1; \ } #endif /* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY locale. */ char * DCGETTEXT (domainname, msgid, category) const char *domainname; const char *msgid; int category; { #ifndef HAVE_ALLOCA struct block_list *block_list = NULL; #endif struct loaded_l10nfile *domain; struct binding *binding; const char *categoryname; const char *categoryvalue; char *dirname, *xdomainname; char *single_locale; char *retval; int saved_errno = errno; /* If no real MSGID is given return NULL. */ if (msgid == NULL) return NULL; /* See whether this is a SUID binary or not. */ DETERMINE_SECURE; /* If DOMAINNAME is NULL, we are interested in the default domain. If CATEGORY is not LC_MESSAGES this might not make much sense but the definition left this undefined. */ if (domainname == NULL) domainname = _nl_current_default_domain; /* First find matching binding. */ for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next) { int compare = strcmp (domainname, binding->domainname); if (compare == 0) /* We found it! */ break; if (compare < 0) { /* It is not in the list. */ binding = NULL; break; } } if (binding == NULL) dirname = (char *) _nl_default_dirname; else if (binding->dirname[0] == '/') dirname = binding->dirname; else { /* We have a relative path. Make it absolute now. */ size_t dirname_len = strlen (binding->dirname) + 1; size_t path_max; char *ret; path_max = (unsigned int) PATH_MAX; path_max += 2; /* The getcwd docs say to do this. */ dirname = (char *) alloca (path_max + dirname_len); ADD_BLOCK (block_list, dirname); __set_errno (0); while ((ret = getcwd (dirname, path_max)) == NULL && errno == ERANGE) { path_max += PATH_INCR; dirname = (char *) alloca (path_max + dirname_len); ADD_BLOCK (block_list, dirname); __set_errno (0); } if (ret == NULL) { /* We cannot get the current working directory. Don't signal an error but simply return the default string. */ FREE_BLOCKS (block_list); __set_errno (saved_errno); return (char *) msgid; } stpcpy (stpcpy (strchr (dirname, '\0'), "/"), binding->dirname); } /* Now determine the symbolic name of CATEGORY and its value. */ categoryname = category_to_name (category); categoryvalue = guess_category_value (category, categoryname); xdomainname = (char *) alloca (strlen (categoryname) + strlen (domainname) + 5); ADD_BLOCK (block_list, xdomainname); stpcpy (stpcpy (stpcpy (stpcpy (xdomainname, categoryname), "/"), domainname), ".mo"); /* Creating working area. */ single_locale = (char *) alloca (strlen (categoryvalue) + 1); ADD_BLOCK (block_list, single_locale); /* Search for the given string. This is a loop because we perhaps got an ordered list of languages to consider for the translation. */ while (1) { /* Make CATEGORYVALUE point to the next element of the list. */ while (categoryvalue[0] != '\0' && categoryvalue[0] == ':') ++categoryvalue; if (categoryvalue[0] == '\0') { /* The whole contents of CATEGORYVALUE has been searched but no valid entry has been found. We solve this situation by implicitly appending a "C" entry, i.e. no translation will take place. */ single_locale[0] = 'C'; single_locale[1] = '\0'; } else { char *cp = single_locale; while (categoryvalue[0] != '\0' && categoryvalue[0] != ':') *cp++ = *categoryvalue++; *cp = '\0'; /* When this is a SUID binary we must not allow accessing files outside the dedicated directories. */ if (ENABLE_SECURE && (memchr (single_locale, '/', _nl_find_language (single_locale) - single_locale) != NULL)) /* Ingore this entry. */ continue; } /* If the current locale value is C (or POSIX) we don't load a domain. Return the MSGID. */ if (strcmp (single_locale, "C") == 0 || strcmp (single_locale, "POSIX") == 0) { FREE_BLOCKS (block_list); __set_errno (saved_errno); return (char *) msgid; } /* Find structure describing the message catalog matching the DOMAINNAME and CATEGORY. */ domain = _nl_find_domain (dirname, single_locale, xdomainname); if (domain != NULL) { retval = find_msg (domain, msgid); if (retval == NULL) { int cnt; for (cnt = 0; domain->successor[cnt] != NULL; ++cnt) { retval = find_msg (domain->successor[cnt], msgid); if (retval != NULL) break; } } if (retval != NULL) { FREE_BLOCKS (block_list); __set_errno (saved_errno); return retval; } } } /* NOTREACHED */ } #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__dcgettext, dcgettext); #endif static char * internal_function find_msg (domain_file, msgid) struct loaded_l10nfile *domain_file; const char *msgid; { size_t act = 0; size_t top, bottom; struct loaded_domain *domain; if (domain_file->decided == 0) _nl_load_domain (domain_file); if (domain_file->data == NULL) return NULL; domain = (struct loaded_domain *) domain_file->data; /* Locate the MSGID and its translation. */ if (domain->hash_size > 2 && domain->hash_tab != NULL) { /* Use the hashing table. */ nls_uint32 len = strlen (msgid); nls_uint32 hash_val = hash_string (msgid); nls_uint32 idx = hash_val % domain->hash_size; nls_uint32 incr = 1 + (hash_val % (domain->hash_size - 2)); nls_uint32 nstr = W (domain->must_swap, domain->hash_tab[idx]); if (nstr == 0) /* Hash table entry is empty. */ return NULL; if (W (domain->must_swap, domain->orig_tab[nstr - 1].length) == len && strcmp (msgid, domain->data + W (domain->must_swap, domain->orig_tab[nstr - 1].offset)) == 0) return (char *) domain->data + W (domain->must_swap, domain->trans_tab[nstr - 1].offset); while (1) { if (idx >= domain->hash_size - incr) idx -= domain->hash_size - incr; else idx += incr; nstr = W (domain->must_swap, domain->hash_tab[idx]); if (nstr == 0) /* Hash table entry is empty. */ return NULL; if (W (domain->must_swap, domain->orig_tab[nstr - 1].length) == len && strcmp (msgid, domain->data + W (domain->must_swap, domain->orig_tab[nstr - 1].offset)) == 0) return (char *) domain->data + W (domain->must_swap, domain->trans_tab[nstr - 1].offset); } /* NOTREACHED */ } /* Now we try the default method: binary search in the sorted array of messages. */ bottom = 0; top = domain->nstrings; while (bottom < top) { int cmp_val; act = (bottom + top) / 2; cmp_val = strcmp (msgid, domain->data + W (domain->must_swap, domain->orig_tab[act].offset)); if (cmp_val < 0) top = act; else if (cmp_val > 0) bottom = act + 1; else break; } /* If an translation is found return this. */ return bottom >= top ? NULL : (char *) domain->data + W (domain->must_swap, domain->trans_tab[act].offset); } /* Return string representation of locale CATEGORY. */ static const char * internal_function category_to_name (category) int category; { const char *retval; switch (category) { #ifdef LC_COLLATE case LC_COLLATE: retval = "LC_COLLATE"; break; #endif #ifdef LC_CTYPE case LC_CTYPE: retval = "LC_CTYPE"; break; #endif #ifdef LC_MONETARY case LC_MONETARY: retval = "LC_MONETARY"; break; #endif #ifdef LC_NUMERIC case LC_NUMERIC: retval = "LC_NUMERIC"; break; #endif #ifdef LC_TIME case LC_TIME: retval = "LC_TIME"; break; #endif #ifdef LC_MESSAGES case LC_MESSAGES: retval = "LC_MESSAGES"; break; #endif #ifdef LC_RESPONSE case LC_RESPONSE: retval = "LC_RESPONSE"; break; #endif #ifdef LC_ALL case LC_ALL: /* This might not make sense but is perhaps better than any other value. */ retval = "LC_ALL"; break; #endif default: /* If you have a better idea for a default value let me know. */ retval = "LC_XXX"; } return retval; } /* Guess value of current locale from value of the environment variables. */ static const char * internal_function guess_category_value (category, categoryname) int category; const char *categoryname; { const char *retval; /* The highest priority value is the `LANGUAGE' environment variable. This is a GNU extension. */ retval = getenv ("LANGUAGE"); if (retval != NULL && retval[0] != '\0') return retval; /* `LANGUAGE' is not set. So we have to proceed with the POSIX methods of looking to `LC_ALL', `LC_xxx', and `LANG'. On some systems this can be done by the `setlocale' function itself. */ #if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL return setlocale (category, NULL); #else /* Setting of LC_ALL overwrites all other. */ retval = getenv ("LC_ALL"); if (retval != NULL && retval[0] != '\0') return retval; /* Next comes the name of the desired category. */ retval = getenv (categoryname); if (retval != NULL && retval[0] != '\0') return retval; /* Last possibility is the LANG environment variable. */ retval = getenv ("LANG"); if (retval != NULL && retval[0] != '\0') return retval; /* We use C as the default domain. POSIX says this is implementation defined. */ return "C"; #endif } /* @@ begin of epilog @@ */ /* We don't want libintl.a to depend on any other library. So we avoid the non-standard function stpcpy. In GNU C Library this function is available, though. Also allow the symbol HAVE_STPCPY to be defined. */ #if !_LIBC && !HAVE_STPCPY static char * stpcpy (dest, src) char *dest; const char *src; { while ((*dest++ = *src++) != '\0') /* Do nothing. */ ; return dest - 1; } #endif #ifdef _LIBC /* If we want to free all resources we have to do some work at program's end. */ static void __attribute__ ((unused)) free_mem (void) { struct binding *runp; for (runp = _nl_domain_bindings; runp != NULL; runp = runp->next) { free (runp->domainname); if (runp->dirname != _nl_default_dirname) /* Yes, this is a pointer comparison. */ free (runp->dirname); } if (_nl_current_default_domain != _nl_default_default_domain) /* Yes, again a pointer comparison. */ free ((char *) _nl_current_default_domain); } text_set_element (__libc_subfreeres, free_mem); #endif weex-2.6.1/intl/loadinfo.h0100644000016100001440000000464107101056740014265 0ustar ludousers/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef PARAMS # if __STDC__ # define PARAMS(args) args # else # define PARAMS(args) () # endif #endif /* Encoding of locale name parts. */ #define CEN_REVISION 1 #define CEN_SPONSOR 2 #define CEN_SPECIAL 4 #define XPG_NORM_CODESET 8 #define XPG_CODESET 16 #define TERRITORY 32 #define CEN_AUDIENCE 64 #define XPG_MODIFIER 128 #define CEN_SPECIFIC (CEN_REVISION|CEN_SPONSOR|CEN_SPECIAL|CEN_AUDIENCE) #define XPG_SPECIFIC (XPG_CODESET|XPG_NORM_CODESET|XPG_MODIFIER) struct loaded_l10nfile { const char *filename; int decided; const void *data; struct loaded_l10nfile *next; struct loaded_l10nfile *successor[1]; }; extern const char *_nl_normalize_codeset PARAMS ((const char *codeset, size_t name_len)); extern struct loaded_l10nfile * _nl_make_l10nflist PARAMS ((struct loaded_l10nfile **l10nfile_list, const char *dirlist, size_t dirlist_len, int mask, const char *language, const char *territory, const char *codeset, const char *normalized_codeset, const char *modifier, const char *special, const char *sponsor, const char *revision, const char *filename, int do_allocate)); extern const char *_nl_expand_alias PARAMS ((const char *name)); extern int _nl_explode_name PARAMS ((char *name, const char **language, const char **modifier, const char **territory, const char **codeset, const char **normalized_codeset, const char **special, const char **sponsor, const char **revision)); extern char *_nl_find_language PARAMS ((const char *name)); weex-2.6.1/intl/bindtextdom.c0100644000016100001440000001232307101056740015002 0ustar ludousers/* Implementation of the bindtextdomain(3) function Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H # include #endif #if defined STDC_HEADERS || defined _LIBC # include #else # ifdef HAVE_MALLOC_H # include # else void free (); # endif #endif #if defined HAVE_STRING_H || defined _LIBC # include #else # include # ifndef memcpy # define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) # endif #endif #ifdef _LIBC # include #else # include "libgettext.h" #endif #include "gettext.h" #include "gettextP.h" /* @@ end of prolog @@ */ /* Contains the default location of the message catalogs. */ extern const char _nl_default_dirname[]; /* List with bindings of specific domains. */ extern struct binding *_nl_domain_bindings; /* Names for the libintl functions are a problem. They must not clash with existing names and they should follow ANSI C. But this source code is also used in GNU C Library where the names have a __ prefix. So we have to make a difference here. */ #ifdef _LIBC # define BINDTEXTDOMAIN __bindtextdomain # ifndef strdup # define strdup(str) __strdup (str) # endif #else # define BINDTEXTDOMAIN bindtextdomain__ #endif /* Specify that the DOMAINNAME message catalog will be found in DIRNAME rather than in the system locale data base. */ char * BINDTEXTDOMAIN (domainname, dirname) const char *domainname; const char *dirname; { struct binding *binding; /* Some sanity checks. */ if (domainname == NULL || domainname[0] == '\0') return NULL; for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next) { int compare = strcmp (domainname, binding->domainname); if (compare == 0) /* We found it! */ break; if (compare < 0) { /* It is not in the list. */ binding = NULL; break; } } if (dirname == NULL) /* The current binding has be to returned. */ return binding == NULL ? (char *) _nl_default_dirname : binding->dirname; if (binding != NULL) { /* The domain is already bound. If the new value and the old one are equal we simply do nothing. Otherwise replace the old binding. */ if (strcmp (dirname, binding->dirname) != 0) { char *new_dirname; if (strcmp (dirname, _nl_default_dirname) == 0) new_dirname = (char *) _nl_default_dirname; else { #if defined _LIBC || defined HAVE_STRDUP new_dirname = strdup (dirname); if (new_dirname == NULL) return NULL; #else size_t len = strlen (dirname) + 1; new_dirname = (char *) malloc (len); if (new_dirname == NULL) return NULL; memcpy (new_dirname, dirname, len); #endif } if (binding->dirname != _nl_default_dirname) free (binding->dirname); binding->dirname = new_dirname; } } else { /* We have to create a new binding. */ #if !defined _LIBC && !defined HAVE_STRDUP size_t len; #endif struct binding *new_binding = (struct binding *) malloc (sizeof (*new_binding)); if (new_binding == NULL) return NULL; #if defined _LIBC || defined HAVE_STRDUP new_binding->domainname = strdup (domainname); if (new_binding->domainname == NULL) return NULL; #else len = strlen (domainname) + 1; new_binding->domainname = (char *) malloc (len); if (new_binding->domainname == NULL) return NULL; memcpy (new_binding->domainname, domainname, len); #endif if (strcmp (dirname, _nl_default_dirname) == 0) new_binding->dirname = (char *) _nl_default_dirname; else { #if defined _LIBC || defined HAVE_STRDUP new_binding->dirname = strdup (dirname); if (new_binding->dirname == NULL) return NULL; #else len = strlen (dirname) + 1; new_binding->dirname = (char *) malloc (len); if (new_binding->dirname == NULL) return NULL; memcpy (new_binding->dirname, dirname, len); #endif } /* Now enqueue it. */ if (_nl_domain_bindings == NULL || strcmp (domainname, _nl_domain_bindings->domainname) < 0) { new_binding->next = _nl_domain_bindings; _nl_domain_bindings = new_binding; } else { binding = _nl_domain_bindings; while (binding->next != NULL && strcmp (domainname, binding->next->domainname) > 0) binding = binding->next; new_binding->next = binding->next; binding->next = new_binding; } binding = new_binding; } return binding->dirname; } #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__bindtextdomain, bindtextdomain); #endif weex-2.6.1/intl/hash-string.h0100644000016100001440000000341307101056737014723 0ustar ludousers/* Implements a string hashing function. Copyright (C) 1995, 1997 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* @@ end of prolog @@ */ #ifndef PARAMS # if __STDC__ # define PARAMS(Args) Args # else # define PARAMS(Args) () # endif #endif /* We assume to have `unsigned long int' value with at least 32 bits. */ #define HASHWORDBITS 32 /* Defines the so called `hashpjw' function by P.J. Weinberger [see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools, 1986, 1987 Bell Telephone Laboratories, Inc.] */ static unsigned long int hash_string PARAMS ((const char *__str_param)); static inline unsigned long int hash_string (str_param) const char *str_param; { unsigned long int hval, g; const char *str = str_param; /* Compute the hash value for the given string. */ hval = 0; while (*str != '\0') { hval <<= 4; hval += (unsigned long int) *str++; g = hval & ((unsigned long int) 0xf << (HASHWORDBITS - 4)); if (g != 0) { hval ^= g >> (HASHWORDBITS - 8); hval ^= g; } } return hval; } weex-2.6.1/intl/intl-compat.c0100644000016100001440000000315607101056740014714 0ustar ludousers/* intl-compat.c - Stub functions to call gettext functions from GNU gettext Library. Copyright (C) 1995 Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include "libgettext.h" /* @@ end of prolog @@ */ #undef gettext #undef dgettext #undef dcgettext #undef textdomain #undef bindtextdomain char * bindtextdomain (domainname, dirname) const char *domainname; const char *dirname; { return bindtextdomain__ (domainname, dirname); } char * dcgettext (domainname, msgid, category) const char *domainname; const char *msgid; int category; { return dcgettext__ (domainname, msgid, category); } char * dgettext (domainname, msgid) const char *domainname; const char *msgid; { return dgettext__ (domainname, msgid); } char * gettext (msgid) const char *msgid; { return gettext__ (msgid); } char * textdomain (domainname) const char *domainname; { return textdomain__ (domainname); } weex-2.6.1/intl/localealias.c0100644000016100001440000002423107101056740014733 0ustar ludousers/* Handle aliases for locale names. Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. Written by Ulrich Drepper , 1995. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include #ifdef __GNUC__ # define alloca __builtin_alloca # define HAVE_ALLOCA 1 #else # if defined HAVE_ALLOCA_H || defined _LIBC # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca char *alloca (); # endif # endif # endif #endif #if defined STDC_HEADERS || defined _LIBC # include #else char *getenv (); # ifdef HAVE_MALLOC_H # include # else void free (); # endif #endif #if defined HAVE_STRING_H || defined _LIBC # ifndef _GNU_SOURCE # define _GNU_SOURCE 1 # endif # include #else # include # ifndef memcpy # define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) # endif #endif #if !HAVE_STRCHR && !defined _LIBC # ifndef strchr # define strchr index # endif #endif #include "gettext.h" #include "gettextP.h" /* @@ end of prolog @@ */ #ifdef _LIBC /* Rename the non ANSI C functions. This is required by the standard because some ANSI C functions will require linking with this object file and the name space must not be polluted. */ # define strcasecmp __strcasecmp # ifndef mempcpy # define mempcpy __mempcpy # endif # define HAVE_MEMPCPY 1 /* We need locking here since we can be called from different places. */ # include __libc_lock_define_initialized (static, lock); #endif #ifndef internal_function # define internal_function #endif /* For those loosing systems which don't have `alloca' we have to add some additional code emulating it. */ #ifdef HAVE_ALLOCA /* Nothing has to be done. */ # define ADD_BLOCK(list, address) /* nothing */ # define FREE_BLOCKS(list) /* nothing */ #else struct block_list { void *address; struct block_list *next; }; # define ADD_BLOCK(list, addr) \ do { \ struct block_list *newp = (struct block_list *) malloc (sizeof (*newp)); \ /* If we cannot get a free block we cannot add the new element to \ the list. */ \ if (newp != NULL) { \ newp->address = (addr); \ newp->next = (list); \ (list) = newp; \ } \ } while (0) # define FREE_BLOCKS(list) \ do { \ while (list != NULL) { \ struct block_list *old = list; \ list = list->next; \ free (old); \ } \ } while (0) # undef alloca # define alloca(size) (malloc (size)) #endif /* have alloca */ #if defined _LIBC_REENTRANT || defined HAVE_FGETS_UNLOCKED # undef fgets # define fgets(buf, len, s) fgets_unlocked (buf, len, s) #endif #if defined _LIBC_REENTRANT || defined HAVE_FEOF_UNLOCKED # undef feof # define feof(s) feof_unlocked (s) #endif struct alias_map { const char *alias; const char *value; }; static char *string_space = NULL; static size_t string_space_act = 0; static size_t string_space_max = 0; static struct alias_map *map; static size_t nmap = 0; static size_t maxmap = 0; /* Prototypes for local functions. */ static size_t read_alias_file PARAMS ((const char *fname, int fname_len)) internal_function; static void extend_alias_table PARAMS ((void)); static int alias_compare PARAMS ((const struct alias_map *map1, const struct alias_map *map2)); const char * _nl_expand_alias (name) const char *name; { static const char *locale_alias_path = LOCALE_ALIAS_PATH; struct alias_map *retval; const char *result = NULL; size_t added; #ifdef _LIBC __libc_lock_lock (lock); #endif do { struct alias_map item; item.alias = name; if (nmap > 0) retval = (struct alias_map *) bsearch (&item, map, nmap, sizeof (struct alias_map), (int (*) PARAMS ((const void *, const void *)) ) alias_compare); else retval = NULL; /* We really found an alias. Return the value. */ if (retval != NULL) { result = retval->value; break; } /* Perhaps we can find another alias file. */ added = 0; while (added == 0 && locale_alias_path[0] != '\0') { const char *start; while (locale_alias_path[0] == ':') ++locale_alias_path; start = locale_alias_path; while (locale_alias_path[0] != '\0' && locale_alias_path[0] != ':') ++locale_alias_path; if (start < locale_alias_path) added = read_alias_file (start, locale_alias_path - start); } } while (added != 0); #ifdef _LIBC __libc_lock_unlock (lock); #endif return result; } static size_t internal_function read_alias_file (fname, fname_len) const char *fname; int fname_len; { #ifndef HAVE_ALLOCA struct block_list *block_list = NULL; #endif FILE *fp; char *full_fname; size_t added; static const char aliasfile[] = "/locale.alias"; full_fname = (char *) alloca (fname_len + sizeof aliasfile); ADD_BLOCK (block_list, full_fname); #ifdef HAVE_MEMPCPY mempcpy (mempcpy (full_fname, fname, fname_len), aliasfile, sizeof aliasfile); #else memcpy (full_fname, fname, fname_len); memcpy (&full_fname[fname_len], aliasfile, sizeof aliasfile); #endif fp = fopen (full_fname, "r"); if (fp == NULL) { FREE_BLOCKS (block_list); return 0; } added = 0; while (!feof (fp)) { /* It is a reasonable approach to use a fix buffer here because a) we are only interested in the first two fields b) these fields must be usable as file names and so must not be that long */ char buf[BUFSIZ]; char *alias; char *value; char *cp; if (fgets (buf, sizeof buf, fp) == NULL) /* EOF reached. */ break; /* Possibly not the whole line fits into the buffer. Ignore the rest of the line. */ if (strchr (buf, '\n') == NULL) { char altbuf[BUFSIZ]; do if (fgets (altbuf, sizeof altbuf, fp) == NULL) /* Make sure the inner loop will be left. The outer loop will exit at the `feof' test. */ break; while (strchr (altbuf, '\n') == NULL); } cp = buf; /* Ignore leading white space. */ while (isspace (cp[0])) ++cp; /* A leading '#' signals a comment line. */ if (cp[0] != '\0' && cp[0] != '#') { alias = cp++; while (cp[0] != '\0' && !isspace (cp[0])) ++cp; /* Terminate alias name. */ if (cp[0] != '\0') *cp++ = '\0'; /* Now look for the beginning of the value. */ while (isspace (cp[0])) ++cp; if (cp[0] != '\0') { size_t alias_len; size_t value_len; value = cp++; while (cp[0] != '\0' && !isspace (cp[0])) ++cp; /* Terminate value. */ if (cp[0] == '\n') { /* This has to be done to make the following test for the end of line possible. We are looking for the terminating '\n' which do not overwrite here. */ *cp++ = '\0'; *cp = '\n'; } else if (cp[0] != '\0') *cp++ = '\0'; if (nmap >= maxmap) extend_alias_table (); alias_len = strlen (alias) + 1; value_len = strlen (value) + 1; if (string_space_act + alias_len + value_len > string_space_max) { /* Increase size of memory pool. */ size_t new_size = (string_space_max + (alias_len + value_len > 1024 ? alias_len + value_len : 1024)); char *new_pool = (char *) realloc (string_space, new_size); if (new_pool == NULL) { FREE_BLOCKS (block_list); return added; } string_space = new_pool; string_space_max = new_size; } map[nmap].alias = memcpy (&string_space[string_space_act], alias, alias_len); string_space_act += alias_len; map[nmap].value = memcpy (&string_space[string_space_act], value, value_len); string_space_act += value_len; ++nmap; ++added; } } } /* Should we test for ferror()? I think we have to silently ignore errors. --drepper */ fclose (fp); if (added > 0) qsort (map, nmap, sizeof (struct alias_map), (int (*) PARAMS ((const void *, const void *))) alias_compare); FREE_BLOCKS (block_list); return added; } static void extend_alias_table () { size_t new_size; struct alias_map *new_map; new_size = maxmap == 0 ? 100 : 2 * maxmap; new_map = (struct alias_map *) realloc (map, (new_size * sizeof (struct alias_map))); if (new_map == NULL) /* Simply don't extend: we don't have any more core. */ return; map = new_map; maxmap = new_size; } #ifdef _LIBC static void __attribute__ ((unused)) free_mem (void) { if (string_space != NULL) free (string_space); if (map != NULL) free (map); } text_set_element (__libc_subfreeres, free_mem); #endif static int alias_compare (map1, map2) const struct alias_map *map1; const struct alias_map *map2; { #if defined _LIBC || defined HAVE_STRCASECMP return strcasecmp (map1->alias, map2->alias); #else const unsigned char *p1 = (const unsigned char *) map1->alias; const unsigned char *p2 = (const unsigned char *) map2->alias; unsigned char c1, c2; if (p1 == p2) return 0; do { /* I know this seems to be odd but the tolower() function in some systems libc cannot handle nonalpha characters. */ c1 = isupper (*p1) ? tolower (*p1) : *p1; c2 = isupper (*p2) ? tolower (*p2) : *p2; if (c1 == '\0') break; ++p1; ++p2; } while (c1 == c2); return c1 - c2; #endif } weex-2.6.1/intl/ChangeLog0100644000016100001440000010461407101056737014102 0ustar ludousers1998-04-29 Ulrich Drepper * intl/localealias.c (read_alias_file): Use unsigned char for local variables. Remove unused variable tp. * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char * for type of codeset. For loosing Solaris systems. * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset. * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable len if not needed. Patches by Jim Meyering. 1998-04-28 Ulrich Drepper * loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if mmap is not supported. * hash-string.h: Don't include . 1998-04-27 Ulrich Drepper * textdomain.c: Use strdup is available. * localealias.c: Define HAVE_MEMPCPY so that we can use this function. Define and use semapahores to protect modfication of global objects when compiling for glibc. Add code to allow freeing alias table. * l10nflist.c: Don't assume stpcpy not being a macro. * gettextP.h: Define internal_function macri if not already done. Use glibc byte-swap macros instead of defining SWAP when compiled for glibc. (struct loaded_domain): Add elements to allow unloading. * Makefile.in (distclean): Don't remove libintl.h here. * bindtextdomain.c: Carry over changes from glibc. Use strdup if available. * dcgettext.c: Don't assume stpcpy not being a macro. Mark internal functions. Add memory freeing code for glibc. * dgettext.c: Update copyright. * explodename.c: Include stdlib.h and string.h only if they exist. Use strings.h eventually. * finddomain.c: Mark internal functions. Use strdup if available. Add memory freeing code for glibc. 1997-10-10 20:00 Ulrich Drepper * libgettext.h: Fix dummy textdomain and bindtextdomain macros. They should return reasonable values. Reported by Tom Tromey . 1997-09-16 03:33 Ulrich Drepper * libgettext.h: Define PARAMS also to `args' if __cplusplus is defined. * intlh.inst.in: Likewise. Reported by Jean-Marc Lasgouttes . * libintl.glibc: Update from current glibc version. 1997-09-06 02:10 Ulrich Drepper * intlh.inst.in: Reformat copyright. 1997-08-19 15:22 Ulrich Drepper * dcgettext.c (DCGETTEXT): Remove wrong comment. 1997-08-16 00:13 Ulrich Drepper * Makefile.in (install-data): Don't change directory to install. 1997-08-01 14:30 Ulrich Drepper * cat-compat.c: Fix copyright. * localealias.c: Don't define strchr unless !HAVE_STRCHR. * loadmsgcat.c: Update copyright. Fix typos. * l10nflist.c: Don't define strchr unless !HAVE_STRCHR. (_nl_make_l10nflist): Handle sponsor and revision correctly. * gettext.c: Update copyright. * gettext.h: Likewise. * hash-string.h: Likewise. * finddomain.c: Remoave dead code. Define strchr only if !HAVE_STRCHR. * explodename.c: Include . * explodename.c: Reformat copyright text. (_nl_explode_name): Fix typo. * dcgettext.c: Define and use __set_errno. (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is not defined. * bindtextdom.c: Pretty printing. 1997-05-01 02:25 Ulrich Drepper * dcgettext.c (guess_category_value): Don't depend on HAVE_LC_MESSAGES. We don't need the macro here. Patch by Bruno Haible . * cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL macro. Instead use HAVE_LOCALE_NULL and define it when using glibc, as in dcgettext.c. Patch by Bruno Haible . * Makefile.in (CPPFLAGS): New variable. Reported by Franc,ois Pinard. Mon Mar 10 06:51:17 1997 Ulrich Drepper * Makefile.in: Implement handling of libtool. * gettextP.h: Change data structures for use of generic lowlevel i18n file handling. Wed Dec 4 20:21:18 1996 Ulrich Drepper * textdomain.c: Put parentheses around arguments of memcpy macro definition. * localealias.c: Likewise. * l10nflist.c: Likewise. * finddomain.c: Likewise. * bindtextdom.c: Likewise. Reported by Thomas Esken. Mon Nov 25 22:57:51 1996 Ulrich Drepper * textdomain.c: Move definition of `memcpy` macro to right position. Fri Nov 22 04:01:58 1996 Ulrich Drepper * finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using bcopy if not already defined. Reported by Thomas Esken. * bindtextdom.c: Likewise. * l10nflist.c: Likewise. * localealias.c: Likewise. * textdomain.c: Likewise. Tue Oct 29 11:10:27 1996 Ulrich Drepper * Makefile.in (libdir): Change to use exec_prefix instead of prefix. Reported by Knut-HåvardAksnes . Sat Aug 31 03:07:09 1996 Ulrich Drepper * l10nflist.c (_nl_normalize_codeset): We convert to lower case, so don't prepend uppercase `ISO' for only numeric arg. Fri Jul 19 00:15:46 1996 Ulrich Drepper * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after definition of _GNU_SOURCE. Patch by Roland McGrath. * Makefile.in (uninstall): Fix another bug with `for' loop and empty arguments. Patch by Jim Meyering. Correct name os uninstalled files: no intl- prefix anymore. * Makefile.in (install-data): Again work around shells which cannot handle mpty for list. Reported by Jim Meyering. Sat Jul 13 18:11:35 1996 Ulrich Drepper * Makefile.in (install): Split goal. Now depend on install-exec and install-data. (install-exec, install-data): New goals. Created from former install goal. Reported by Karl Berry. Sat Jun 22 04:58:14 1996 Ulrich Drepper * Makefile.in (MKINSTALLDIRS): New variable. Path to mkinstalldirs script. (install): use MKINSTALLDIRS variable or if the script is not present try to find it in the $top_scrdir). Wed Jun 19 02:56:56 1996 Ulrich Drepper * l10nflist.c: Linux libc *partly* includes the argz_* functions. Grr. Work around by renaming the static version and use macros for renaming. Tue Jun 18 20:11:17 1996 Ulrich Drepper * l10nflist.c: Correct presence test macros of __argz_* functions. * l10nflist.c: Include based on test of it instead when __argz_* functions are available. Reported by Andreas Schwab. Thu Jun 13 15:17:44 1996 Ulrich Drepper * explodename.c, l10nflist.c: Define NULL for dumb systems. Tue Jun 11 17:05:13 1996 Ulrich Drepper * intlh.inst.in, libgettext.h (dcgettext): Rename local variable result to __result to prevent name clash. * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to get prototype for stpcpy and strcasecmp. * intlh.inst.in, libgettext.h: Move declaration of `_nl_msg_cat_cntr' outside __extension__ block to prevent warning from gcc's -Wnested-extern option. Fri Jun 7 01:58:00 1996 Ulrich Drepper * Makefile.in (install): Remove comment. Thu Jun 6 17:28:17 1996 Ulrich Drepper * Makefile.in (install): Work around for another Buglix stupidity. Always use an `else' close for `if's. Reported by Nelson Beebe. * Makefile.in (intlh.inst): Correct typo in phony rule. Reported by Nelson Beebe. Thu Jun 6 01:49:52 1996 Ulrich Drepper * dcgettext.c (read_alias_file): Rename variable alloca_list to block_list as the macro calls assume. Patch by Eric Backus. * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using malloc. (read_alias_file): Rename varriabe alloca_list to block_list as the macro calls assume. Patch by Eric Backus. * l10nflist.c: Correct conditional for inclusion. Reported by Roland McGrath. * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not all-@USE_NLS@. * Makefile.in (install): intlh.inst comes from local dir, not $(srcdir). * Makefile.in (intlh.inst): Special handling of this goal. If used in gettext, this is really a rul to construct this file. If used in any other package it is defined as a .PHONY rule with empty body. * finddomain.c: Extract locale file information handling into l10nfile.c. Rename local stpcpy__ function to stpcpy. * dcgettext.c (stpcpy): Add local definition. * l10nflist.c: Solve some portability problems. Patches partly by Thomas Esken. Add local definition of stpcpy. Tue Jun 4 02:47:49 1996 Ulrich Drepper * intlh.inst.in: Don't depend including on HAVE_LOCALE_H. Instead configure must rewrite this fiile depending on the result of the configure run. * Makefile.in (install): libintl.inst is now called intlh.inst. Add rules for updating intlh.inst from intlh.inst.in. * libintl.inst: Renamed to intlh.inst.in. * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1 because gcc has __buitlin_alloca. Reported by Roland McGrath. Mon Jun 3 00:32:16 1996 Ulrich Drepper * Makefile.in (installcheck): New goal to fulfill needs of automake's distcheck. * Makefile.in (install): Reorder commands so that VERSION is found. * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in @datadir@/gettext. (COMSRCS): Add l10nfile.c. (OBJECTS): Add l10nfile.o. (DISTFILES): Rename to DISTFILE.normal. Remove $(DISTFILES.common). (DISTFILE.gettext): Remove $(DISTFILES.common). (all-gettext): Remove goal. (install): If $(PACKAGE) = gettext install, otherwose do nothing. No package but gettext itself should install libintl.h + headers. (dist): Extend goal to work for gettext, too. (dist-gettext): Remove goal. * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc. Sun Jun 2 17:33:06 1996 Ulrich Drepper * loadmsgcat.c (_nl_load_domain): Parameter is now comes from find_l10nfile. Sat Jun 1 02:23:03 1996 Ulrich Drepper * l10nflist.c (__argz_next): Add definition. * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca code. Use new l10nfile handling. * localealias.c [!HAVE_ALLOCA]: Add code for handling missing alloca code. * l10nflist.c: Initial revision. Tue Apr 2 18:51:18 1996 Ulrich Drepper * Makefile.in (all-gettext): New goal. Same as all-yes. Thu Mar 28 23:01:22 1996 Karl Eichwalder * Makefile.in (gettextsrcdir): Define using @datadir@. Tue Mar 26 12:39:14 1996 Ulrich Drepper * finddomain.c: Include . Reported by Roland McGrath. Sat Mar 23 02:00:35 1996 Ulrich Drepper * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing with external declaration. Sat Mar 2 00:47:09 1996 Ulrich Drepper * Makefile.in (all-no): Rename from all_no. Sat Feb 17 00:25:59 1996 Ulrich Drepper * gettextP.h [loaded_domain]: Array `successor' must now contain up to 63 elements (because of codeset name normalization). * finddomain.c: Implement codeset name normalization. Thu Feb 15 04:39:09 1996 Ulrich Drepper * Makefile.in (all): Define to `all-@USE_NLS@'. (all-yes, all_no): New goals. `all-no' is noop, `all-yes' is former all. Mon Jan 15 21:46:01 1996 Howard Gayle * localealias.c (alias_compare): Increment string pointers in loop of strcasecmp replacement. Fri Dec 29 21:16:34 1995 Ulrich Drepper * Makefile.in (install-src): Who commented this goal out ? :-) Fri Dec 29 15:08:16 1995 Ulrich Drepper * dcgettext.c (DCGETTEXT): Save `errno'. Failing system calls should not effect it because a missing catalog is no error. Reported by Harald Knig . Tue Dec 19 22:09:13 1995 Ulrich Drepper * Makefile.in (Makefile): Explicitly use $(SHELL) for running shell scripts. Fri Dec 15 17:34:59 1995 Andreas Schwab * Makefile.in (install-src): Only install library and header when we use the own implementation. Don't do it when using the system's gettext or catgets functions. * dcgettext.c (find_msg): Must not swap domain->hash_size here. Sat Dec 9 16:24:37 1995 Ulrich Drepper * localealias.c, libintl.inst, libgettext.h, hash-string.h, gettextP.h, finddomain.c, dcgettext.c, cat-compat.c: Use PARAMS instead of __P. Suggested by Roland McGrath. Tue Dec 5 11:39:14 1995 Larry Schwimmer * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty. Mon Dec 4 15:42:07 1995 Ulrich Drepper * Makefile.in (install-src): Install libintl.inst instead of libintl.h.install. Sat Dec 2 22:51:38 1995 Marcus Daniels * cat-compat.c (textdomain): Reverse order in which files are tried you load. First try local file, when this failed absolute path. Wed Nov 29 02:03:53 1995 Nelson H. F. Beebe * cat-compat.c (bindtextdomain): Add missing { }. Sun Nov 26 18:21:41 1995 Ulrich Drepper * libintl.inst: Add missing __P definition. Reported by Nelson Beebe. * Makefile.in: Add dummy `all' and `dvi' goals. Reported by Tom Tromey. Sat Nov 25 16:12:01 1995 Franc,ois Pinard * hash-string.h: Capitalize arguments of macros. Sat Nov 25 12:01:36 1995 Ulrich Drepper * Makefile.in (DISTFILES): Prevent files names longer than 13 characters. libintl.h.glibc->libintl.glibc, libintl.h.install->libintl.inst. Reported by Joshua R. Poulson. Sat Nov 25 11:31:12 1995 Eric Backus * dcgettext.c: Fix bug in preprocessor conditionals. Sat Nov 25 02:35:27 1995 Nelson H. F. Beebe * libgettext.h: Solaris cc does not understand #if !SYMBOL1 && !SYMBOL2. Sad but true. Thu Nov 23 16:22:14 1995 Ulrich Drepper * hash-string.h (hash_string): Fix for machine with >32 bit `unsigned long's. * dcgettext.c (DCGETTEXT): Fix horrible bug in loop for alternative translation. Thu Nov 23 01:45:29 1995 Ulrich Drepper * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed: Some further simplifications in message number generation. Mon Nov 20 21:08:43 1995 Ulrich Drepper * libintl.h.glibc: Use __const instead of const in prototypes. * Makefile.in (install-src): Install libintl.h.install instead of libintl.h. This is a stripped-down version. Suggested by Peter Miller. * libintl.h.install, libintl.h.glibc: Initial revision. * localealias.c (_nl_expand_alias, read_alias_file): Protect prototypes in type casts by __P. Tue Nov 14 16:43:58 1995 Ulrich Drepper * hash-string.h: Correct prototype for hash_string. Sun Nov 12 12:42:30 1995 Ulrich Drepper * hash-string.h (hash_string): Add prototype. * gettextP.h: Fix copyright. (SWAP): Add prototype. Wed Nov 8 22:56:33 1995 Ulrich Drepper * localealias.c (read_alias_file): Forgot sizeof. Avoid calling *printf function. This introduces a big overhead. Patch by Roland McGrath. Tue Nov 7 14:21:08 1995 Ulrich Drepper * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy. * finddomain.c (stpcpy): Define substitution function local. The macro was to flaky. * cat-compat.c: Fix typo. * xopen-msg.sed, linux-msg.sed: While bringing message number to right place only accept digits. * linux-msg.sed, xopen-msg.sed: Now that the counter does not have leading 0s we don't need to remove them. Reported by Marcus Daniels. * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in dependency. Reported by Marcus Daniels. * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement. Generally cleanup using #if instead of #ifndef. * Makefile.in: Correct typos in comment. By Franc,ois Pinard. Mon Nov 6 00:27:02 1995 Ulrich Drepper * Makefile.in (install-src): Don't install libintl.h and libintl.a if we use an available gettext implementation. Sun Nov 5 22:02:08 1995 Ulrich Drepper * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS. Reported by Franc,ois Pinard. * libgettext.h: Use #if instead of #ifdef/#ifndef. * finddomain.c: Comments describing what has to be done should start with FIXME. Sun Nov 5 19:38:01 1995 Ulrich Drepper * Makefile.in (DISTFILES): Split. Use DISTFILES with normal meaning. DISTFILES.common names the files common to both dist goals. DISTFILES.gettext are the files only distributed in GNU gettext. Sun Nov 5 17:32:54 1995 Ulrich Drepper * dcgettext.c (DCGETTEXT): Correct searching in derived locales. This was necessary since a change in _nl_find_msg several weeks ago. I really don't know this is still not fixed. Sun Nov 5 12:43:12 1995 Ulrich Drepper * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL. This might mark a special condition. * finddomain.c (make_entry_rec): Don't make illegal entry as decided. * Makefile.in (dist): Suppress error message when ln failed. Get files from $(srcdir) explicitly. * libgettext.h (gettext_const): Rename to gettext_noop. Fri Nov 3 07:36:50 1995 Ulrich Drepper * finddomain.c (make_entry_rec): Protect against wrong locale names by testing mask. * libgettext.h (gettext_const): Add macro definition. Capitalize macro arguments. Thu Nov 2 23:15:51 1995 Ulrich Drepper * finddomain.c (_nl_find_domain): Test for pointer != NULL before accessing value. Reported by Tom Tromey. * gettext.c (NULL): Define as (void*)0 instad of 0. Reported by Franc,ois Pinard. Mon Oct 30 21:28:52 1995 Ulrich Drepper * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering. Sat Oct 28 23:20:47 1995 Ulrich Drepper * libgettext.h: Disable dcgettext optimization for Solaris 2.3. * localealias.c (alias_compare): Peter Miller reported that tolower in some systems is even dumber than I thought. Protect call by `isupper'. Fri Oct 27 22:22:51 1995 Ulrich Drepper * Makefile.in (libdir, includedir): New variables. (install-src): Install libintl.a and libintl.h in correct dirs. Fri Oct 27 22:07:29 1995 Ulrich Drepper * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c. * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques. * localealias.c: Fix typo and superflous test. Reported by Christian von Roques. Fri Oct 6 11:52:05 1995 Ulrich Drepper * finddomain.c (_nl_find_domain): Correct some remainder from the pre-CEN syntax. Now we don't have a constant number of successors anymore. Wed Sep 27 21:41:13 1995 Ulrich Drepper * Makefile.in (DISTFILES): Add libintl.h.glibc. * Makefile.in (dist-libc): Add goal for packing sources for glibc. (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc. * loadmsgcat.c: Forget to continue #if line. * localealias.c: [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name space clean. * dcgettext.c, finddomain.c: Better comment to last change. * loadmsgcat.c: [_LIBC]: Rename fstat, open, close, read, mmap, and munmap to __fstat, __open, __close, __read, __mmap, and __munmap resp to keep ANSI C name space clean. * finddomain.c: [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean. * dcgettext.c: [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to keep ANSI C name space clean. * libgettext.h: Include sys/types.h for those old SysV systems out there. Reported by Francesco Potorti`. * loadmsgcat.c (use_mmap): Define if compiled for glibc. * bindtextdom.c: Include all those standard headers unconditionally if _LIBC is defined. * finddomain.c: Fix 2 times defiend -> defined. * textdomain.c: Include libintl.h instead of libgettext.h when compiling for glibc. Include all those standard headers unconditionally if _LIBC is defined. * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc. * gettext.c: Include libintl.h instead of libgettext.h when compiling for glibc. Get NULL from stddef.h if we compile for glibc. * finddomain.c: Include libintl.h instead of libgettext.h when compiling for glibc. Include all those standard headers unconditionally if _LIBC is defined. * dcgettext.c: Include all those standard headers unconditionally if _LIBC is defined. * dgettext.c: If compiled in glibc include libintl.h instead of libgettext.h. (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc. * dcgettext.c: If compiled in glibc include libintl.h instead of libgettext.h. (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc. * bindtextdom.c: If compiled in glibc include libintl.h instead of libgettext.h. Mon Sep 25 22:23:06 1995 Ulrich Drepper * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0. Reported by Marcus Daniels. * cat-compat.c (bindtextdomain): String used in putenv must not be recycled. Reported by Marcus Daniels. * libgettext.h (__USE_GNU_GETTEXT): Additional symbol to signal that we use GNU gettext library. * cat-compat.c (bindtextdomain): Fix bug with the strange stpcpy replacement. Reported by Nelson Beebe. Sat Sep 23 08:23:51 1995 Ulrich Drepper * cat-compat.c: Include for stpcpy prototype. * localealias.c (read_alias_file): While expand strdup code temporary variable `cp' hided higher level variable with same name. Rename to `tp'. * textdomain.c (textdomain): Avoid warning by using temporary variable in strdup code. * finddomain.c (_nl_find_domain): Remove unused variable `application'. Thu Sep 21 15:51:44 1995 Ulrich Drepper * localealias.c (alias_compare): Use strcasecmp() only if available. Else use implementation in place. * intl-compat.c: Wrapper functions now call *__ functions instead of __*. * libgettext.h: Declare prototypes for *__ functions instead for __*. * cat-compat.c, loadmsgcat.c: Don't use xmalloc, xstrdup, and stpcpy. These functions are not part of the standard libc and so prevent libintl.a from being used standalone. * bindtextdom.c: Don't use xmalloc, xstrdup, and stpcpy. These functions are not part of the standard libc and so prevent libintl.a from being used standalone. Rename to bindtextdomain__ if not used in GNU C Library. * dgettext.c: Rename function to dgettext__ if not used in GNU C Library. * gettext.c: Don't use xmalloc, xstrdup, and stpcpy. These functions are not part of the standard libc and so prevent libintl.a from being used standalone. Functions now called gettext__ if not used in GNU C Library. * dcgettext.c, localealias.c, textdomain.c, finddomain.c: Don't use xmalloc, xstrdup, and stpcpy. These functions are not part of the standard libc and so prevent libintl.a from being used standalone. Sun Sep 17 23:14:49 1995 Ulrich Drepper * finddomain.c: Correct some bugs in handling of CEN standard locale definitions. Thu Sep 7 01:49:28 1995 Ulrich Drepper * finddomain.c: Implement CEN syntax. * gettextP.h (loaded_domain): Extend number of successors to 31. Sat Aug 19 19:25:29 1995 Ulrich Drepper * Makefile.in (aliaspath): Remove path to X11 locale dir. * Makefile.in: Make install-src depend on install. This helps gettext to install the sources and other packages can use the install goal. Sat Aug 19 15:19:33 1995 Ulrich Drepper * Makefile.in (uninstall): Remove stuff installed by install-src. Tue Aug 15 13:13:53 1995 Ulrich Drepper * VERSION.in: Initial revision. * Makefile.in (DISTFILES): Add VERSION file. This is not necessary for gettext, but for other packages using this library. Tue Aug 15 06:16:44 1995 Ulrich Drepper * gettextP.h (_nl_find_domain): New prototype after changing search strategy. * finddomain.c (_nl_find_domain): We now try only to find a specified catalog. Fall back to other catalogs listed in the locale list is now done in __dcgettext. * dcgettext.c (__dcgettext): Now we provide message fall back even to different languages. I.e. if a message is not available in one language all the other in the locale list a tried. Formerly fall back was only possible within one language. Implemented by moving one loop from _nl_find_domain to here. Mon Aug 14 23:45:50 1995 Ulrich Drepper * Makefile.in (gettextsrcdir): Directory where source of GNU gettext library are made available. (INSTALL, INSTALL_DATA): Programs used for installing sources. (gettext-src): New. Rule to install GNU gettext sources for use in gettextize shell script. Sun Aug 13 14:40:48 1995 Ulrich Drepper * loadmsgcat.c (_nl_load_domain): Use mmap for loading only when munmap function is also available. * Makefile.in (install): Depend on `all' goal. Wed Aug 9 11:04:33 1995 Ulrich Drepper * localealias.c (read_alias_file): Do not overwrite '\n' when terminating alias value string. * localealias.c (read_alias_file): Handle long lines. Ignore the rest not fitting in the buffer after the initial `fgets' call. Wed Aug 9 00:54:29 1995 Ulrich Drepper * gettextP.h (_nl_load_domain): Add prototype, replacing prototype for _nl_load_msg_cat. * finddomain.c (_nl_find_domain): Remove unneeded variable filename and filename_len. (expand_alias): Remove prototype because functions does not exist anymore. * localealias.c (read_alias_file): Change type of fname_len parameter to int. (xmalloc): Add prototype. * loadmsgcat.c: Better prototypes for xmalloc. Tue Aug 8 22:30:39 1995 Ulrich Drepper * finddomain.c (_nl_find_domain): Allow alias name to be constructed from the four components. * Makefile.in (aliaspath): New variable. Set to preliminary value. (SOURCES): Add localealias.c. (OBJECTS): Add localealias.o. * gettextP.h: Add prototype for _nl_expand_alias. * finddomain.c: Aliasing handled in intl/localealias.c. * localealias.c: Aliasing for locale names. * bindtextdom.c: Better prototypes for xmalloc and xstrdup. Mon Aug 7 23:47:42 1995 Ulrich Drepper * Makefile.in (DISTFILES): gettext.perl is now found in misc/. * cat-compat.c (bindtextdomain): Correct implementation. dirname parameter was not used. Reported by Marcus Daniels. * gettextP.h (loaded_domain): New fields `successor' and `decided' for oo, lazy message handling implementation. * dcgettext.c: Adopt for oo, lazy message handliing. Now we can inherit translations from less specific locales. (find_msg): New function. * loadmsgcat.c, finddomain.c: Complete rewrite. Implement oo, lazy message handling :-). We now have an additional environment variable `LANGUAGE' with a higher priority than LC_ALL for the LC_MESSAGE locale. Here we can set a colon separated list of specifications each of the form `language[_territory[.codeset]][@modifier]'. Sat Aug 5 09:55:42 1995 Ulrich Drepper * finddomain.c (unistd.h): Include to get _PC_PATH_MAX defined on system having it. Fri Aug 4 22:42:00 1995 Ulrich Drepper * finddomain.c (stpcpy): Include prototype. * Makefile.in (dist): Remove `copying instead' message. Wed Aug 2 18:52:03 1995 Ulrich Drepper * Makefile.in (ID, TAGS): Do not use $^. Tue Aug 1 20:07:11 1995 Ulrich Drepper * Makefile.in (TAGS, ID): Use $^ as command argument. (TAGS): Give etags -o option t write to current directory, not $(srcdir). (ID): Use $(srcdir) instead os $(top_srcdir)/src. (distclean): Remove ID. Sun Jul 30 11:51:46 1995 Ulrich Drepper * Makefile.in (gnulocaledir): New variable, always using share/ for data directory. (DEFS): Add GNULOCALEDIR, used in finddomain.c. * finddomain.c (_nl_default_dirname): Set to GNULOCALEDIR, because it always has to point to the directory where GNU gettext Library writes it to. * intl-compat.c (textdomain, bindtextdomain): Undefine macros before function definition. Sat Jul 22 01:10:02 1995 Ulrich Drepper * libgettext.h (_LIBINTL_H): Protect definition in case where this file is included as libgettext.h on Solaris machines. Add comment about this. Wed Jul 19 02:36:42 1995 Ulrich Drepper * intl-compat.c (textdomain): Correct typo. Wed Jul 19 01:51:35 1995 Ulrich Drepper * dcgettext.c (dcgettext): Function now called __dcgettext. * dgettext.c (dgettext): Now called __dgettext and calls __dcgettext. * gettext.c (gettext): Function now called __gettext and calls __dgettext. * textdomain.c (textdomain): Function now called __textdomain. * bindtextdom.c (bindtextdomain): Function now called __bindtextdomain. * intl-compat.c: Initial revision. * Makefile.in (SOURCES): Add intl-compat.c. (OBJECTS): We always compile the GNU gettext library functions. OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o, and intl-compat.o. (GETTOBJS): Contains now only intl-compat.o. * libgettext.h: Re-include protection matches dualistic character of libgettext.h. For all functions in GNU gettext library define __ counter part. * finddomain.c (strchr): Define as index if not found in C library. (_nl_find_domain): For relative paths paste / in between. Tue Jul 18 16:37:45 1995 Ulrich Drepper * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h. * xopen-msg.sed: Fix bug with `msgstr ""' lines. A little bit better comments. Tue Jul 18 01:18:27 1995 Ulrich Drepper * Makefile.in: po-mode.el, makelinks, combine-sh are now found in ../misc. * po-mode.el, makelinks, combine-sh, elisp-comp: Moved to ../misc/. * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__. Sun Jul 16 22:33:02 1995 Ulrich Drepper * Makefile.in (INSTALL, INSTALL_DATA): New variables. (install-data, uninstall): Install/uninstall .elc file. * po-mode.el (Installation comment): Add .pox as possible extension of .po files. Sun Jul 16 13:23:27 1995 Ulrich Drepper * elisp-comp: Complete new version by Franc,ois: This does not fail when not compiling in the source directory. Sun Jul 16 00:12:17 1995 Ulrich Drepper * Makefile.in (../po/cat-id-tbl.o): Use $(MAKE) instead of make for recursive make. * Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh. (install-exec): Add missing dummy goal. (install-data, uninstall): @ in multi-line shell command at beginning, not in front of echo. Reported by Eric Backus. Sat Jul 15 00:21:28 1995 Ulrich Drepper * Makefile.in (DISTFILES): Rename libgettext.perl to gettext.perl to fit in 14 chars file systems. * gettext.perl: Rename to gettext.perl to fit in 14 chars file systems. Thu Jul 13 23:17:20 1995 Ulrich Drepper * cat-compat.c: If !STDC_HEADERS try to include malloc.h. Thu Jul 13 20:55:02 1995 Ulrich Drepper * po2tbl.sed.in: Pretty printing. * linux-msg.sed, xopen-msg.sed: Correct bugs with handling substitute flags in branches. * hash-string.h (hash_string): Old K&R compilers don't under stand `unsigned char'. * gettext.h (nls_uint32): Some old K&R compilers (eg HP) don't understand `unsigned int'. * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes. Thu Jul 13 01:34:33 1995 Ulrich Drepper * Makefile.in (ELCFILES): New variable. (DISTFILES): Add elisp-comp. Add implicit rule for .el -> .elc compilation. (install-data): install $ELCFILES (clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp. * elisp-comp: Initial revision Wed Jul 12 16:14:52 1995 Ulrich Drepper * Makefile.in: cat-id-tbl.c is now found in po/. This enables us to use an identical intl/ directory in all packages. * dcgettext.c (dcgettext): hashing does not work for table size <= 2. * textdomain.c: fix typo (#if def -> #if defined) Tue Jul 11 18:44:43 1995 Ulrich Drepper * Makefile.in (stamp-cat-id): use top_srcdir to address source files (DISTFILES,distclean): move tupdate.perl to src/ * po-to-tbl.sed.in: add additional jump to clear change flag to recognize multiline strings Tue Jul 11 01:32:50 1995 Ulrich Drepper * textdomain.c: Protect inclusion of stdlib.h and string.h. * loadmsgcat.c: Protect inclusion of stdlib.h. * libgettext.h: Protect inclusion of locale.h. Allow use in C++ programs. Define NULL is not happened already. * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of po-to-tbl.sed. (distclean): remove po-to-tbl.sed and tupdate.perl. * tupdate.perl.in: Substitute Perl path even in exec line. Don't include entries without translation from old .po file. Tue Jul 4 00:41:51 1995 Ulrich Drepper * tupdate.perl.in: use "Updated: " in msgid "". * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR). Define getenv if !__STDC__. * bindtextdom.c: Protect stdlib.h and string.h inclusion. Define free if !__STDC__. * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR. Define free if !__STDC__. * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR. Mon Jul 3 23:56:30 1995 Ulrich Drepper * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR. Remove unneeded $(srcdir) from Makefile.in dependency. * makelinks: Add copyright and short description. * po-mode.el: Last version for 0.7. * tupdate.perl.in: Fix die message. * dcgettext.c: Protect include of string.h. * gettext.c: Protect include of stdlib.h and further tries to get NULL. * finddomain.c: Some corrections in includes. * Makefile.in (INCLUDES): Prune list correct path to Makefile.in. * po-to-tbl.sed: Adopt for new .po file format. * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format. Sun Jul 2 23:55:03 1995 Ulrich Drepper * tupdate.perl.in: Complete rewrite for new .po file format. Sun Jul 2 02:06:50 1995 Ulrich Drepper * First official release. This directory contains all the code needed to internationalize own packages. It provides functions which allow to use the X/Open catgets function with an interface like the Uniforum gettext function. For system which does not have neither of those a complete implementation is provided. weex-2.6.1/intl/loadmsgcat.c0100644000016100001440000001334607101056740014605 0ustar ludousers/* Load needed message catalogs. Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include #if defined STDC_HEADERS || defined _LIBC # include #endif #if defined HAVE_UNISTD_H || defined _LIBC # include #endif #if (defined HAVE_MMAP && defined HAVE_MUNMAP && !defined DISALLOW_MMAP) \ || (defined _LIBC && defined _POSIX_MAPPED_FILES) # include # undef HAVE_MMAP # define HAVE_MMAP 1 #else # undef HAVE_MMAP #endif #include "gettext.h" #include "gettextP.h" /* @@ end of prolog @@ */ #ifdef _LIBC /* Rename the non ISO C functions. This is required by the standard because some ISO C functions will require linking with this object file and the name space must not be polluted. */ # define open __open # define close __close # define read __read # define mmap __mmap # define munmap __munmap #endif /* We need a sign, whether a new catalog was loaded, which can be associated with all translations. This is important if the translations are cached by one of GCC's features. */ int _nl_msg_cat_cntr = 0; /* Load the message catalogs specified by FILENAME. If it is no valid message catalog do nothing. */ void internal_function _nl_load_domain (domain_file) struct loaded_l10nfile *domain_file; { int fd; size_t size; struct stat st; struct mo_file_header *data = (struct mo_file_header *) -1; int use_mmap = 0; struct loaded_domain *domain; domain_file->decided = 1; domain_file->data = NULL; /* If the record does not represent a valid locale the FILENAME might be NULL. This can happen when according to the given specification the locale file name is different for XPG and CEN syntax. */ if (domain_file->filename == NULL) return; /* Try to open the addressed file. */ fd = open (domain_file->filename, O_RDONLY); if (fd == -1) return; /* We must know about the size of the file. */ if (fstat (fd, &st) != 0 || (size = (size_t) st.st_size) != st.st_size || size < sizeof (struct mo_file_header)) { /* Something went wrong. */ close (fd); return; } #ifdef HAVE_MMAP /* Now we are ready to load the file. If mmap() is available we try this first. If not available or it failed we try to load it. */ data = (struct mo_file_header *) mmap (NULL, size, PROT_READ, MAP_PRIVATE, fd, 0); if (data != (struct mo_file_header *) -1) { /* mmap() call was successful. */ close (fd); use_mmap = 1; } #endif /* If the data is not yet available (i.e. mmap'ed) we try to load it manually. */ if (data == (struct mo_file_header *) -1) { size_t to_read; char *read_ptr; data = (struct mo_file_header *) malloc (size); if (data == NULL) return; to_read = size; read_ptr = (char *) data; do { long int nb = (long int) read (fd, read_ptr, to_read); if (nb == -1) { close (fd); return; } read_ptr += nb; to_read -= nb; } while (to_read > 0); close (fd); } /* Using the magic number we can test whether it really is a message catalog file. */ if (data->magic != _MAGIC && data->magic != _MAGIC_SWAPPED) { /* The magic number is wrong: not a message catalog file. */ #ifdef HAVE_MMAP if (use_mmap) munmap ((caddr_t) data, size); else #endif free (data); return; } domain_file->data = (struct loaded_domain *) malloc (sizeof (struct loaded_domain)); if (domain_file->data == NULL) return; domain = (struct loaded_domain *) domain_file->data; domain->data = (char *) data; domain->use_mmap = use_mmap; domain->mmap_size = size; domain->must_swap = data->magic != _MAGIC; /* Fill in the information about the available tables. */ switch (W (domain->must_swap, data->revision)) { case 0: domain->nstrings = W (domain->must_swap, data->nstrings); domain->orig_tab = (struct string_desc *) ((char *) data + W (domain->must_swap, data->orig_tab_offset)); domain->trans_tab = (struct string_desc *) ((char *) data + W (domain->must_swap, data->trans_tab_offset)); domain->hash_size = W (domain->must_swap, data->hash_tab_size); domain->hash_tab = (nls_uint32 *) ((char *) data + W (domain->must_swap, data->hash_tab_offset)); break; default: /* This is an invalid revision. */ #ifdef HAVE_MMAP if (use_mmap) munmap ((caddr_t) data, size); else #endif free (data); free (domain); domain_file->data = NULL; return; } /* Show that one domain is changed. This might make some cached translations invalid. */ ++_nl_msg_cat_cntr; } #ifdef _LIBC void internal_function _nl_unload_domain (domain) struct loaded_domain *domain; { #ifdef _POSIX_MAPPED_FILES if (domain->use_mmap) munmap ((caddr_t) domain->data, domain->mmap_size); else #endif /* _POSIX_MAPPED_FILES */ free ((void *) domain->data); free (domain); } #endif weex-2.6.1/intl/dgettext.c0100644000016100001440000000337207101056740014315 0ustar ludousers/* Implementation of the dgettext(3) function Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H # include #endif #if defined HAVE_LOCALE_H || defined _LIBC # include #endif #ifdef _LIBC # include #else # include "libgettext.h" #endif /* @@ end of prolog @@ */ /* Names for the libintl functions are a problem. They must not clash with existing names and they should follow ANSI C. But this source code is also used in GNU C Library where the names have a __ prefix. So we have to make a difference here. */ #ifdef _LIBC # define DGETTEXT __dgettext # define DCGETTEXT __dcgettext #else # define DGETTEXT dgettext__ # define DCGETTEXT dcgettext__ #endif /* Look up MSGID in the DOMAINNAME message catalog of the current LC_MESSAGES locale. */ char * DGETTEXT (domainname, msgid) const char *domainname; const char *msgid; { return DCGETTEXT (domainname, msgid, LC_MESSAGES); } #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__dgettext, dgettext); #endif weex-2.6.1/intl/libgettext.h0100644000016100001440000001314507101056740014644 0ustar ludousers/* Message catalogs for internationalization. Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Because on some systems (e.g. Solaris) we sometimes have to include the systems libintl.h as well as this file we have more complex include protection above. But the systems header might perhaps also define _LIBINTL_H and therefore we have to protect the definition here. */ #if !defined _LIBINTL_H || !defined _LIBGETTEXT_H #ifndef _LIBINTL_H # define _LIBINTL_H 1 #endif #define _LIBGETTEXT_H 1 /* We define an additional symbol to signal that we use the GNU implementation of gettext. */ #define __USE_GNU_GETTEXT 1 #include #if HAVE_LOCALE_H # include #endif #ifdef __cplusplus extern "C" { #endif /* @@ end of prolog @@ */ #ifndef PARAMS # if __STDC__ || defined __cplusplus # define PARAMS(args) args # else # define PARAMS(args) () # endif #endif #ifndef NULL # if !defined __cplusplus || defined __GNUC__ # define NULL ((void *) 0) # else # define NULL (0) # endif #endif #if !HAVE_LC_MESSAGES /* This value determines the behaviour of the gettext() and dgettext() function. But some system does not have this defined. Define it to a default value. */ # define LC_MESSAGES (-1) #endif /* Declarations for gettext-using-catgets interface. Derived from Jim Meyering's libintl.h. */ struct _msg_ent { const char *_msg; int _msg_number; }; #if HAVE_CATGETS /* These two variables are defined in the automatically by po-to-tbl.sed generated file `cat-id-tbl.c'. */ extern const struct _msg_ent _msg_tbl[]; extern int _msg_tbl_length; #endif /* For automatical extraction of messages sometimes no real translation is needed. Instead the string itself is the result. */ #define gettext_noop(Str) (Str) /* Look up MSGID in the current default message catalog for the current LC_MESSAGES locale. If not found, returns MSGID itself (the default text). */ extern char *gettext PARAMS ((const char *__msgid)); extern char *gettext__ PARAMS ((const char *__msgid)); /* Look up MSGID in the DOMAINNAME message catalog for the current LC_MESSAGES locale. */ extern char *dgettext PARAMS ((const char *__domainname, const char *__msgid)); extern char *dgettext__ PARAMS ((const char *__domainname, const char *__msgid)); /* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY locale. */ extern char *dcgettext PARAMS ((const char *__domainname, const char *__msgid, int __category)); extern char *dcgettext__ PARAMS ((const char *__domainname, const char *__msgid, int __category)); /* Set the current default message catalog to DOMAINNAME. If DOMAINNAME is null, return the current default. If DOMAINNAME is "", reset to the default of "messages". */ extern char *textdomain PARAMS ((const char *__domainname)); extern char *textdomain__ PARAMS ((const char *__domainname)); /* Specify that the DOMAINNAME message catalog will be found in DIRNAME rather than in the system locale data base. */ extern char *bindtextdomain PARAMS ((const char *__domainname, const char *__dirname)); extern char *bindtextdomain__ PARAMS ((const char *__domainname, const char *__dirname)); #if ENABLE_NLS /* Solaris 2.3 has the gettext function but dcgettext is missing. So we omit this optimization for Solaris 2.3. BTW, Solaris 2.4 has dcgettext. */ # if !HAVE_CATGETS && (!HAVE_GETTEXT || HAVE_DCGETTEXT) # define gettext(Msgid) \ dgettext (NULL, Msgid) # define dgettext(Domainname, Msgid) \ dcgettext (Domainname, Msgid, LC_MESSAGES) # if defined __GNUC__ && __GNUC__ == 2 && __GNUC_MINOR__ >= 7 /* This global variable is defined in loadmsgcat.c. We need a sign, whether a new catalog was loaded, which can be associated with all translations. */ extern int _nl_msg_cat_cntr; # define dcgettext(Domainname, Msgid, Category) \ (__extension__ \ ({ \ char *__result; \ if (__builtin_constant_p (Msgid)) \ { \ static char *__translation__; \ static int __catalog_counter__; \ if (! __translation__ || __catalog_counter__ != _nl_msg_cat_cntr) \ { \ __translation__ = \ dcgettext__ (Domainname, Msgid, Category); \ __catalog_counter__ = _nl_msg_cat_cntr; \ } \ __result = __translation__; \ } \ else \ __result = dcgettext__ (Domainname, Msgid, Category); \ __result; \ })) # endif # endif #else # define gettext(Msgid) (Msgid) # define dgettext(Domainname, Msgid) (Msgid) # define dcgettext(Domainname, Msgid, Category) (Msgid) # define textdomain(Domainname) ((char *) Domainname) # define bindtextdomain(Domainname, Dirname) ((char *) Dirname) #endif /* @@ begin of epilog @@ */ #ifdef __cplusplus } #endif #endif weex-2.6.1/intl/textdomain.c0100644000016100001440000000630107101056740014634 0ustar ludousers/* Implementation of the textdomain(3) function. Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. Written by Ulrich Drepper , 1995. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H # include #endif #if defined STDC_HEADERS || defined _LIBC # include #endif #if defined STDC_HEADERS || defined HAVE_STRING_H || defined _LIBC # include #else # include # ifndef memcpy # define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) # endif #endif #ifdef _LIBC # include #else # include "libgettext.h" #endif /* @@ end of prolog @@ */ /* Name of the default text domain. */ extern const char _nl_default_default_domain[]; /* Default text domain in which entries for gettext(3) are to be found. */ extern const char *_nl_current_default_domain; /* Names for the libintl functions are a problem. They must not clash with existing names and they should follow ANSI C. But this source code is also used in GNU C Library where the names have a __ prefix. So we have to make a difference here. */ #ifdef _LIBC # define TEXTDOMAIN __textdomain # ifndef strdup # define strdup(str) __strdup (str) # endif #else # define TEXTDOMAIN textdomain__ #endif /* Set the current default message catalog to DOMAINNAME. If DOMAINNAME is null, return the current default. If DOMAINNAME is "", reset to the default of "messages". */ char * TEXTDOMAIN (domainname) const char *domainname; { char *old; /* A NULL pointer requests the current setting. */ if (domainname == NULL) return (char *) _nl_current_default_domain; old = (char *) _nl_current_default_domain; /* If domain name is the null string set to default domain "messages". */ if (domainname[0] == '\0' || strcmp (domainname, _nl_default_default_domain) == 0) _nl_current_default_domain = _nl_default_default_domain; else { /* If the following malloc fails `_nl_current_default_domain' will be NULL. This value will be returned and so signals we are out of core. */ #if defined _LIBC || defined HAVE_STRDUP _nl_current_default_domain = strdup (domainname); #else size_t len = strlen (domainname) + 1; char *cp = (char *) malloc (len); if (cp != NULL) memcpy (cp, domainname, len); _nl_current_default_domain = cp; #endif } if (old != _nl_default_default_domain) free (old); return (char *) _nl_current_default_domain; } #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__textdomain, textdomain); #endif weex-2.6.1/intl/po2tbl.sed.in0100644000016100001440000000456507101056737014640 0ustar ludousers# po2tbl.sed - Convert Uniforum style .po file to lookup table for catgets # Copyright (C) 1995 Free Software Foundation, Inc. # Ulrich Drepper , 1995. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # 1 { i\ /* Automatically generated by po2tbl.sed from @PACKAGE NAME@.pot. */\ \ #if HAVE_CONFIG_H\ # include \ #endif\ \ #include "libgettext.h"\ \ const struct _msg_ent _msg_tbl[] = { h s/.*/0/ x } # # Write msgid entries in C array form. # /^msgid/ { s/msgid[ ]*\(".*"\)/ {\1/ tb # Append the next line :b N # Look whether second part is continuation line. s/\(.*\)"\(\n\)"\(.*"\)/\1\2\3/ # Yes, then branch. ta # Because we assume that the input file correctly formed the line # just read cannot be again be a msgid line. So it's safe to ignore # it. s/\(.*\)\n.*/\1/ bc # We found a continuation line. But before printing insert '\'. :a s/\(.*\)\(\n.*\)/\1\\\2/ P # We cannot use D here. s/.*\n\(.*\)/\1/ # Some buggy seds do not clear the `successful substitution since last ``t''' # flag on `N', so we do a `t' here to clear it. tb # Not reached :c x # The following nice solution is by # Bruno td # Increment a decimal number in pattern space. # First hide trailing `9' digits. :d s/9\(_*\)$/_\1/ td # Assure at least one digit is available. s/^\(_*\)$/0\1/ # Increment the last digit. s/8\(_*\)$/9\1/ s/7\(_*\)$/8\1/ s/6\(_*\)$/7\1/ s/5\(_*\)$/6\1/ s/4\(_*\)$/5\1/ s/3\(_*\)$/4\1/ s/2\(_*\)$/3\1/ s/1\(_*\)$/2\1/ s/0\(_*\)$/1\1/ # Convert the hidden `9' digits to `0's. s/_/0/g x G s/\(.*\)\n\([0-9]*\)/\1, \2},/ s/\(.*\)"$/\1/ p } # # Last line. # $ { i\ };\ g s/0*\(.*\)/int _msg_tbl_length = \1;/p } d weex-2.6.1/aclocal.m40100644000016100001440000004076207121420611013211 0ustar ludousersdnl aclocal.m4 generated automatically by aclocal 1.4 dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A dnl PARTICULAR PURPOSE. # Do all the work for Automake. This macro actually does too much -- # some checks are only needed if your package does certain things. # But this isn't really a big deal. # serial 1 dnl Usage: dnl AM_INIT_AUTOMAKE(package,version, [no-define]) AC_DEFUN(AM_INIT_AUTOMAKE, [AC_REQUIRE([AC_PROG_INSTALL]) PACKAGE=[$1] AC_SUBST(PACKAGE) VERSION=[$2] AC_SUBST(VERSION) dnl test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi ifelse([$3],, AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) AC_REQUIRE([AM_SANITY_CHECK]) AC_REQUIRE([AC_ARG_PROGRAM]) dnl FIXME This is truly gross. missing_dir=`cd $ac_aux_dir && pwd` AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) AC_REQUIRE([AC_PROG_MAKE_SET])]) # # Check to make sure that the build environment is sane. # AC_DEFUN(AM_SANITY_CHECK, [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftestfile # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` if test "[$]*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "[$]*" != "X $srcdir/configure conftestfile" \ && test "[$]*" != "X conftestfile $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "[$]2" = conftestfile ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi rm -f conftest* AC_MSG_RESULT(yes)]) dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) dnl The program must properly implement --version. AC_DEFUN(AM_MISSING_PROG, [AC_MSG_CHECKING(for working $2) # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if ($2 --version) < /dev/null > /dev/null 2>&1; then $1=$2 AC_MSG_RESULT(found) else $1="$3/missing $2" AC_MSG_RESULT(missing) fi AC_SUBST($1)]) # Like AC_CONFIG_HEADER, but automatically create stamp file. AC_DEFUN(AM_CONFIG_HEADER, [AC_PREREQ([2.12]) AC_CONFIG_HEADER([$1]) dnl When config.status generates a header, we must update the stamp-h file. dnl This file resides in the same directory as the config header dnl that is generated. We must strip everything past the first ":", dnl and everything past the last "/". AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>, <>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>, <>; do case " <<$>>CONFIG_HEADERS " in *" <<$>>am_file "*<<)>> echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx ;; esac am_indx=`expr "<<$>>am_indx" + 1` done<<>>dnl>>) changequote([,]))]) # Macro to add for using GNU gettext. # Ulrich Drepper , 1995. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. # serial 5 AC_DEFUN(AM_WITH_NLS, [AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE(nls, [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT($USE_NLS) AC_SUBST(USE_NLS) USE_INCLUDED_LIBINTL=no dnl If we use NLS figure out what method if test "$USE_NLS" = "yes"; then AC_DEFINE(ENABLE_NLS) AC_MSG_CHECKING([whether included gettext is requested]) AC_ARG_WITH(included-gettext, [ --with-included-gettext use the GNU gettext library included here], nls_cv_force_use_gnu_gettext=$withval, nls_cv_force_use_gnu_gettext=no) AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then dnl User does not insist on using GNU NLS library. Figure out what dnl to use. If gettext or catgets are available (in this order) we dnl use this. Else we have to fall back to GNU NLS library. dnl catgets is only used if permitted by option --with-catgets. nls_cv_header_intl= nls_cv_header_libgt= CATOBJEXT=NONE AC_CHECK_HEADER(libintl.h, [AC_CACHE_CHECK([for gettext in libc], gt_cv_func_gettext_libc, [AC_TRY_LINK([#include ], [return (int) gettext ("")], gt_cv_func_gettext_libc=yes, gt_cv_func_gettext_libc=no)]) if test "$gt_cv_func_gettext_libc" != "yes"; then AC_CHECK_LIB(intl, bindtextdomain, [AC_CACHE_CHECK([for gettext in libintl], gt_cv_func_gettext_libintl, [AC_CHECK_LIB(intl, gettext, gt_cv_func_gettext_libintl=yes, gt_cv_func_gettext_libintl=no)], gt_cv_func_gettext_libintl=no)]) fi if test "$gt_cv_func_gettext_libc" = "yes" \ || test "$gt_cv_func_gettext_libintl" = "yes"; then AC_DEFINE(HAVE_GETTEXT) AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl if test "$MSGFMT" != "no"; then AC_CHECK_FUNCS(dcgettext) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr], [CATOBJEXT=.gmo DATADIRNAME=share], [CATOBJEXT=.mo DATADIRNAME=lib]) INSTOBJEXT=.mo fi fi ]) if test "$CATOBJEXT" = "NONE"; then AC_MSG_CHECKING([whether catgets can be used]) AC_ARG_WITH(catgets, [ --with-catgets use catgets functions if available], nls_cv_use_catgets=$withval, nls_cv_use_catgets=no) AC_MSG_RESULT($nls_cv_use_catgets) if test "$nls_cv_use_catgets" = "yes"; then dnl No gettext in C library. Try catgets next. AC_CHECK_LIB(i, main) AC_CHECK_FUNC(catgets, [AC_DEFINE(HAVE_CATGETS) INTLOBJS="\$(CATOBJS)" AC_PATH_PROG(GENCAT, gencat, no)dnl if test "$GENCAT" != "no"; then AC_PATH_PROG(GMSGFMT, gmsgfmt, no) if test "$GMSGFMT" = "no"; then AM_PATH_PROG_WITH_TEST(GMSGFMT, msgfmt, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no) fi AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) USE_INCLUDED_LIBINTL=yes CATOBJEXT=.cat INSTOBJEXT=.cat DATADIRNAME=lib INTLDEPS='$(top_builddir)/intl/libintl.a' INTLLIBS=$INTLDEPS LIBS=`echo $LIBS | sed -e 's/-lintl//'` nls_cv_header_intl=intl/libintl.h nls_cv_header_libgt=intl/libgettext.h fi]) fi fi if test "$CATOBJEXT" = "NONE"; then dnl Neither gettext nor catgets in included in the C library. dnl Fall back on GNU gettext library. nls_cv_use_gnu_gettext=yes fi fi if test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions used to generate GNU NLS library. INTLOBJS="\$(GETTOBJS)" AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) AC_SUBST(MSGFMT) USE_INCLUDED_LIBINTL=yes CATOBJEXT=.gmo INSTOBJEXT=.mo DATADIRNAME=share INTLDEPS='$(top_builddir)/intl/libintl.a' INTLLIBS=$INTLDEPS LIBS=`echo $LIBS | sed -e 's/-lintl//'` nls_cv_header_intl=intl/libintl.h nls_cv_header_libgt=intl/libgettext.h fi dnl Test whether we really found GNU xgettext. if test "$XGETTEXT" != ":"; then dnl If it is no GNU xgettext we define it as : so that the dnl Makefiles still can work. if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else AC_MSG_RESULT( [found xgettext program is not GNU xgettext; ignore it]) XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po else DATADIRNAME=share nls_cv_header_intl=intl/libintl.h nls_cv_header_libgt=intl/libgettext.h fi AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl) AC_OUTPUT_COMMANDS( [case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac]) # If this is used in GNU gettext we have to set USE_NLS to `yes' # because some of the sources are only built for this goal. if test "$PACKAGE" = gettext; then USE_NLS=yes USE_INCLUDED_LIBINTL=yes fi dnl These rules are solely for the distribution goal. While doing this dnl we only have to keep exactly one list of the available catalogs dnl in configure.in. for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done dnl Make all variables we use known to autoconf. AC_SUBST(USE_INCLUDED_LIBINTL) AC_SUBST(CATALOGS) AC_SUBST(CATOBJEXT) AC_SUBST(DATADIRNAME) AC_SUBST(GMOFILES) AC_SUBST(INSTOBJEXT) AC_SUBST(INTLDEPS) AC_SUBST(INTLLIBS) AC_SUBST(INTLOBJS) AC_SUBST(POFILES) AC_SUBST(POSUB) ]) AC_DEFUN(AM_GNU_GETTEXT, [AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_RANLIB])dnl AC_REQUIRE([AC_ISC_POSIX])dnl AC_REQUIRE([AC_HEADER_STDC])dnl AC_REQUIRE([AC_C_CONST])dnl AC_REQUIRE([AC_C_INLINE])dnl AC_REQUIRE([AC_TYPE_OFF_T])dnl AC_REQUIRE([AC_TYPE_SIZE_T])dnl AC_REQUIRE([AC_FUNC_ALLOCA])dnl AC_REQUIRE([AC_FUNC_MMAP])dnl AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h string.h \ unistd.h sys/param.h]) AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \ strdup __argz_count __argz_stringify __argz_next]) if test "${ac_cv_func_stpcpy+set}" != "set"; then AC_CHECK_FUNCS(stpcpy) fi if test "${ac_cv_func_stpcpy}" = "yes"; then AC_DEFINE(HAVE_STPCPY) fi AM_LC_MESSAGES AM_WITH_NLS if test "x$CATOBJEXT" != "x"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else AC_MSG_CHECKING(for catalogs to be installed) NEW_LINGUAS= for lang in ${LINGUAS=$ALL_LINGUAS}; do case "$ALL_LINGUAS" in *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; esac done LINGUAS=$NEW_LINGUAS AC_MSG_RESULT($LINGUAS) fi dnl Construct list of names of catalog files to be constructed. if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi dnl The reference to in the installed file dnl must be resolved because we cannot expect the users of this dnl to define HAVE_LOCALE_H. if test $ac_cv_header_locale_h = yes; then INCLUDE_LOCALE_H="#include " else INCLUDE_LOCALE_H="\ /* The system does not provide the header . Take care yourself. */" fi AC_SUBST(INCLUDE_LOCALE_H) dnl Determine which catalog format we have (if any is needed) dnl For now we know about two different formats: dnl Linux libc-5 and the normal X/Open format test -d intl || mkdir intl if test "$CATOBJEXT" = ".cat"; then AC_CHECK_HEADER(linux/version.h, msgformat=linux, msgformat=xopen) dnl Transform the SED scripts while copying because some dumb SEDs dnl cannot handle comments. sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed fi dnl po2tbl.sed is always needed. sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed dnl In the intl/Makefile.in we have a special dependency which makes dnl only sense for gettext. We comment this out for non-gettext dnl packages. if test "$PACKAGE" = "gettext"; then GT_NO="#NO#" GT_YES= else GT_NO= GT_YES="#YES#" fi AC_SUBST(GT_NO) AC_SUBST(GT_YES) dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but ($top_srcdir). dnl Try to locate is. MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi AC_SUBST(MKINSTALLDIRS) dnl *** For now the libtool support in intl/Makefile is not for real. l= AC_SUBST(l) dnl Generate list of files to be processed by xgettext which will dnl be included in po/Makefile. test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES ]) # Search path for a program which passes the given test. # Ulrich Drepper , 1996. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. # serial 1 dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN(AM_PATH_PROG_WITH_TEST, [# Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in /*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in ifelse([$5], , $PATH, [$5]); do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test -n "[$]$1"; then AC_MSG_RESULT([$]$1) else AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) # Check whether LC_MESSAGES is available in . # Ulrich Drepper , 1995. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. # serial 1 AC_DEFUN(AM_LC_MESSAGES, [if test $ac_cv_header_locale_h = yes; then AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, [AC_TRY_LINK([#include ], [return LC_MESSAGES], am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) if test $am_cv_val_LC_MESSAGES = yes; then AC_DEFINE(HAVE_LC_MESSAGES) fi fi]) weex-2.6.1/weex-2.6.1.spec0100664000016100001440000000741407121420610013635 0ustar ludousers%define version 2.6.1 %define release 1 Summary: a non-interactive FTP client for updating web pages Name: weex Version: %version Release: %release Source: http://www.enjoy.ne.jp/~gm/program/weex/arc/weex-%{version}.tar.gz Copyright: GPL Group: Applications/Networking Packager: Yuuki NINOMIYA URL: http://www.enjoy.ne.jp/~gm/ Buildroot: /tmp/rpm-weex Summary(ja): web ¥Ú¡¼¥¸¹¹¿·ÍÑÈóÂÐÏ÷¿ FTP ¥¯¥é¥¤¥¢¥ó¥È %description Weex is a utility designed to automate the task of remotely maintaining a web page or other FTP archive. With weex, the maintainer of a web site or archive that must be administered through FTP interaction can largely ignore that process. The archive administrator simply creates a local directory that serves as an exact model for the offsite data. All modifications and direct interaction is done locally to this directory structure. When the administrator wishes to coordinate the data on the remote site with that of the local model directory, simply executing weex accomplishes this in the most bandwidth-efficient fashion by only transferring files that need updating. The program will create or remove (!) files or directories as necessary to accurately establish the local model on the remote server. %description -l ja weex ¤Ï web ¥Ú¡¼¥¸¤¢¤ë¤¤¤Ï¤½¤Î¾¤Î¥¢¡¼¥«¥¤¥Ö¤ò±ó³Ö¥á¥ó¥Æ¥Ê¥ó¥¹¤¹¤ëºî¶È¤ò ¼«Æ°²½¤¹¤ë¤¿¤á¤ËºîÀ®¤µ¤ì¤¿ÈóÂÐÏ÷¿ FTP ¥¯¥é¥¤¥¢¥ó¥È¤Ç¤¹¡£weex ¤ò»È¤¨¤Ð web ¥Ú¡¼¥¸¤ò FTP ¤Ç¥µ¡¼¥Ð¤ËžÁ÷¤¹¤ëºî¶È¤òÂçÉý¤Ë´Êά²½¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£ ¥¦¥§¥Ö¥Þ¥¹¥¿¤ÏžÁ÷¤·¤¿¤¤¥Õ¥¡¥¤¥ë¤È¥Ç¥£¥ì¥¯¥È¥ê¤ò¥í¡¼¥«¥ë¤ËÍѰդ· ñ¤Ë weex ¤ò¼Â¹Ô¤¹¤ë¤À¤±¤Ç¡¢¹¹¿·¤¹¤ëɬÍפ¬¤¢¤ë¥Õ¥¡¥¤¥ë¤Î¤ß¤¬¥ê¥â¡¼¥È¤Ë žÁ÷¤µ¤ì¤Þ¤¹¡£ ¥ê¥â¡¼¥È¥µ¡¼¥Ð¤Ë¥í¡¼¥«¥ë¤ÈƱ¤¸¹½À®¤òºî¤ë¤¿¤á¤Ë¡¢¤³¤Î¥×¥í¥°¥é¥à¤Ï ¥Õ¥¡¥¤¥ë/¥Ç¥£¥ì¥¯¥È¥ê¤ò¼«Æ°Åª¤ËºîÀ®/ºï½ü¤·¤Þ¤¹¡£ %changelog * Tue Jun 13 2000 Yuuki NINOMIYA - New version. * Tue May 23 2000 Yuuki NINOMIYA - New version. * Wed May 03 2000 Yuuki NINOMIYA - New version. * Sun Apr 16 2000 Yuuki NINOMIYA - New version. * Fri Mar 24 2000 Yuuki NINOMIYA - New version. * Tue Feb 29 2000 Yuuki NINOMIYA - New version. * Fri Feb 25 2000 Yuuki NINOMIYA - New version. * Sun Jan 09 2000 Yuuki NINOMIYA - New version. * Mon Dec 20 1999 Yuuki NINOMIYA - New version. * Sat Dec 11 1999 Yuuki NINOMIYA - New version. * Fri Dec 10 1999 Yuuki NINOMIYA - New version. * Thu Dec 09 1999 Yuuki NINOMIYA - New version. * Mon Nov 29 1999 Yuuki NINOMIYA - New version. * Thu Nov 25 1999 Yuuki NINOMIYA - New version. * Sat Nov 13 1999 Yuuki NINOMIYA - New version. * Wed Nov 10 1999 Yuuki NINOMIYA - New version. * Mon Nov 08 1999 Yuuki NINOMIYA - New version. * Sun Nov 07 1999 Yuuki NINOMIYA - New version. * Sun Nov 07 1999 Yuuki NINOMIYA - New version. * Sat Nov 06 1999 Yuuki NINOMIYA - New version. * Sat Nov 06 1999 Yuuki NINOMIYA - New version. * Thu Nov 04 1999 Yuuki NINOMIYA - Initial release. %prep %setup %build ./configure --prefix=/usr make %install make prefix=$RPM_BUILD_ROOT/usr install-strip %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc doc/README %doc doc/ChangeLog %doc doc/ChangeLog.ja %doc doc/BUGS.ja %doc doc/TODO.ja %doc doc/BUGS %doc doc/README.ja %doc doc/FAQ.ja %doc doc/sample.weexrc %doc doc/THANKS %doc doc/TODO %doc doc/FAQ %doc doc/AUTHORS %doc doc/weex.cat /usr/share/locale/ja/LC_MESSAGES/weex.mo /usr/share/locale/de/LC_MESSAGES/weex.mo /usr/share/locale/es/LC_MESSAGES/weex.mo /usr/share/locale/nl/LC_MESSAGES/weex.mo /usr/man/man1/weex.1 /usr/bin/weex weex-2.6.1/configure0100755000016100001440000040044307121420613013256 0ustar ludousers#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. # Defaults: ac_help= ac_default_prefix=/usr/local # Any additions from configure.in: ac_help="$ac_help --disable-nls do not use Native Language Support" ac_help="$ac_help --with-included-gettext use the GNU gettext library included here" ac_help="$ac_help --with-catgets use catgets functions if available" ac_help="$ac_help --enable-debug enable debug messages [default no]" # Initialize some variables set by options. # The variables have the same names as the options, with # dashes changed to underlines. build=NONE cache_file=./config.cache exec_prefix=NONE host=NONE no_create= nonopt=NONE no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= target=NONE verbose= x_includes=NONE x_libraries=NONE bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' # Initialize some other variables. subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. ac_max_here_lines=12 ac_prev= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" ac_prev= continue fi case "$ac_option" in -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) ac_optarg= ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case "$ac_option" in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir="$ac_optarg" ;; -build | --build | --buil | --bui | --bu) ac_prev=build ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build="$ac_optarg" ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file="$ac_optarg" ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir="$ac_optarg" ;; -disable-* | --disable-*) ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } fi ac_feature=`echo $ac_feature| sed 's/-/_/g'` eval "enable_${ac_feature}=no" ;; -enable-* | --enable-*) ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } fi ac_feature=`echo $ac_feature| sed 's/-/_/g'` case "$ac_option" in *=*) ;; *) ac_optarg=yes ;; esac eval "enable_${ac_feature}='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix="$ac_optarg" ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he) # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat << EOF Usage: configure [options] [host] Options: [defaults in brackets after descriptions] Configuration: --cache-file=FILE cache test results in FILE --help print this message --no-create do not create output files --quiet, --silent do not print \`checking...' messages --version print the version of autoconf that created configure Directory and file names: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [same as prefix] --bindir=DIR user executables in DIR [EPREFIX/bin] --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] --libexecdir=DIR program executables in DIR [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data in DIR [PREFIX/share] --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data in DIR [PREFIX/com] --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] --libdir=DIR object code libraries in DIR [EPREFIX/lib] --includedir=DIR C header files in DIR [PREFIX/include] --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] --infodir=DIR info documentation in DIR [PREFIX/info] --mandir=DIR man documentation in DIR [PREFIX/man] --srcdir=DIR find the sources in DIR [configure dir or ..] --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names EOF cat << EOF Host type: --build=BUILD configure for building on BUILD [BUILD=HOST] --host=HOST configure for HOST [guessed] --target=TARGET configure for TARGET [TARGET=HOST] Features and packages: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIR EOF if test -n "$ac_help"; then echo "--enable and --with options recognized:$ac_help" fi exit 0 ;; -host | --host | --hos | --ho) ac_prev=host ;; -host=* | --host=* | --hos=* | --ho=*) host="$ac_optarg" ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir="$ac_optarg" ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir="$ac_optarg" ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir="$ac_optarg" ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir="$ac_optarg" ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) localstatedir="$ac_optarg" ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir="$ac_optarg" ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir="$ac_optarg" ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix="$ac_optarg" ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix="$ac_optarg" ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix="$ac_optarg" ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name="$ac_optarg" ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir="$ac_optarg" ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir="$ac_optarg" ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site="$ac_optarg" ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir="$ac_optarg" ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir="$ac_optarg" ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target="$ac_optarg" ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers) echo "configure generated by autoconf version 2.13" exit 0 ;; -with-* | --with-*) ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } fi ac_package=`echo $ac_package| sed 's/-/_/g'` case "$ac_option" in *=*) ;; *) ac_optarg=yes ;; esac eval "with_${ac_package}='$ac_optarg'" ;; -without-* | --without-*) ac_package=`echo $ac_option|sed -e 's/-*without-//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } fi ac_package=`echo $ac_package| sed 's/-/_/g'` eval "with_${ac_package}=no" ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes="$ac_optarg" ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries="$ac_optarg" ;; -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } ;; *) if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then echo "configure: warning: $ac_option: invalid host type" 1>&2 fi if test "x$nonopt" != xNONE; then { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } fi nonopt="$ac_option" ;; esac done if test -n "$ac_prev"; then { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } fi trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 # File descriptor usage: # 0 standard input # 1 file creation # 2 errors and warnings # 3 some systems may open it to /dev/tty # 4 used on the Kubota Titan # 6 checking for... messages and results # 5 compiler messages saved in config.log if test "$silent" = yes; then exec 6>/dev/null else exec 6>&1 fi exec 5>./config.log echo "\ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. " 1>&5 # Strip out --no-create and --no-recursion so they do not pile up. # Also quote any args containing shell metacharacters. ac_configure_args= for ac_arg do case "$ac_arg" in -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c) ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; *) ac_configure_args="$ac_configure_args $ac_arg" ;; esac done # NLS nuisances. # Only set these to C if already set. These must not be set unconditionally # because not all systems understand e.g. LANG=C (notably SCO). # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! # Non-C LC_CTYPE values break the ctype check. if test "${LANG+set}" = set; then LANG=C; export LANG; fi if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo > confdefs.h # A filename unique to this package, relative to the directory that # configure is in, which we can look for to find out if srcdir is correct. ac_unique_file=src/weex.c # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_prog=$0 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } else { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } fi fi srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then echo "loading site script $ac_site_file" . "$ac_site_file" fi done if test -r "$cache_file"; then echo "loading cache $cache_file" . $cache_file else echo "creating cache $cache_file" > $cache_file fi ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross ac_exeext= ac_objext=o if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then ac_n= ac_c=' ' ac_t=' ' else ac_n=-n ac_c= ac_t= fi else ac_n= ac_c='\c' ac_t= fi PACKAGE=weex VERSION=2.6.1 ALL_LINGUAS="ja de es nl fr" ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f $ac_dir/install.sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break fi done if test -z "$ac_aux_dir"; then { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } fi ac_config_guess=$ac_aux_dir/config.guess ac_config_sub=$ac_aux_dir/config.sub ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 echo "configure:569: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" for ac_dir in $PATH; do # Account for people who put trailing slashes in PATH elements. case "$ac_dir/" in /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do if test -f $ac_dir/$ac_prog; then if test $ac_prog = install && grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : else ac_cv_path_install="$ac_dir/$ac_prog -c" break 2 fi fi done ;; esac done IFS="$ac_save_IFS" fi if test "${ac_cv_path_install+set}" = set; then INSTALL="$ac_cv_path_install" else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL="$ac_install_sh" fi fi echo "$ac_t""$INSTALL" 1>&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 echo "configure:622: checking whether build environment is sane" >&5 # Just in case sleep 1 echo timestamp > conftestfile # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "$*" != "X $srcdir/configure conftestfile" \ && test "$*" != "X conftestfile $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { echo "configure: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" 1>&2; exit 1; } fi test "$2" = conftestfile ) then # Ok. : else { echo "configure: error: newly created file is older than distributed files! Check your system clock" 1>&2; exit 1; } fi rm -f conftest* echo "$ac_t""yes" 1>&6 if test "$program_transform_name" = s,x,x,; then program_transform_name= else # Double any \ or $. echo might interpret backslashes. cat <<\EOF_SED > conftestsed s,\\,\\\\,g; s,\$,$$,g EOF_SED program_transform_name="`echo $program_transform_name|sed -f conftestsed`" rm -f conftestsed fi test "$program_prefix" != NONE && program_transform_name="s,^,${program_prefix},; $program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" # sed with no file args requires a program. test "$program_transform_name" = "" && program_transform_name="s,x,x," echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 echo "configure:679: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftestmake <<\EOF all: @echo 'ac_maketemp="${MAKE}"' EOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftestmake fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$ac_t""yes" 1>&6 SET_MAKE= else echo "$ac_t""no" 1>&6 SET_MAKE="MAKE=${MAKE-make}" fi PACKAGE=$PACKAGE VERSION=$VERSION if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } fi missing_dir=`cd $ac_aux_dir && pwd` echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 echo "configure:718: checking for working aclocal" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (aclocal --version) < /dev/null > /dev/null 2>&1; then ACLOCAL=aclocal echo "$ac_t""found" 1>&6 else ACLOCAL="$missing_dir/missing aclocal" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 echo "configure:731: checking for working autoconf" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoconf --version) < /dev/null > /dev/null 2>&1; then AUTOCONF=autoconf echo "$ac_t""found" 1>&6 else AUTOCONF="$missing_dir/missing autoconf" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working automake""... $ac_c" 1>&6 echo "configure:744: checking for working automake" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (automake --version) < /dev/null > /dev/null 2>&1; then AUTOMAKE=automake echo "$ac_t""found" 1>&6 else AUTOMAKE="$missing_dir/missing automake" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 echo "configure:757: checking for working autoheader" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoheader --version) < /dev/null > /dev/null 2>&1; then AUTOHEADER=autoheader echo "$ac_t""found" 1>&6 else AUTOHEADER="$missing_dir/missing autoheader" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 echo "configure:770: checking for working makeinfo" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then MAKEINFO=makeinfo echo "$ac_t""found" 1>&6 else MAKEINFO="$missing_dir/missing makeinfo" echo "$ac_t""missing" 1>&6 fi cat >> confdefs.h <> confdefs.h <&6 echo "configure:800: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_CC="gcc" break fi done IFS="$ac_save_ifs" fi fi CC="$ac_cv_prog_CC" if test -n "$CC"; then echo "$ac_t""$CC" 1>&6 else echo "$ac_t""no" 1>&6 fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:830: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_prog_rejected=no ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" break fi done IFS="$ac_save_ifs" if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# -gt 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift set dummy "$ac_dir/$ac_word" "$@" shift ac_cv_prog_CC="$@" fi fi fi fi CC="$ac_cv_prog_CC" if test -n "$CC"; then echo "$ac_t""$CC" 1>&6 else echo "$ac_t""no" 1>&6 fi if test -z "$CC"; then case "`uname -s`" in *win32* | *WIN32*) # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:881: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_CC="cl" break fi done IFS="$ac_save_ifs" fi fi CC="$ac_cv_prog_CC" if test -n "$CC"; then echo "$ac_t""$CC" 1>&6 else echo "$ac_t""no" 1>&6 fi ;; esac fi test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 echo "configure:913: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF #line 924 "configure" #include "confdefs.h" main(){return(0);} EOF if { (eval echo configure:929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then ac_cv_prog_cc_cross=no else ac_cv_prog_cc_cross=yes fi else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_prog_cc_works=no fi rm -fr conftest* ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 echo "configure:955: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 echo "configure:960: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no fi fi echo "$ac_t""$ac_cv_prog_gcc" 1>&6 if test $ac_cv_prog_gcc = yes; then GCC=yes else GCC= fi ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 echo "configure:988: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else echo 'void f(){}' > conftest.c if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then ac_cv_prog_cc_g=yes else ac_cv_prog_cc_g=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 if test "$ac_test_CFLAGS" = set; then CFLAGS="$ac_save_CFLAGS" elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 echo "configure:1031: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" for ac_dir in $PATH; do # Account for people who put trailing slashes in PATH elements. case "$ac_dir/" in /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do if test -f $ac_dir/$ac_prog; then if test $ac_prog = install && grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : else ac_cv_path_install="$ac_dir/$ac_prog -c" break 2 fi fi done ;; esac done IFS="$ac_save_IFS" fi if test "${ac_cv_path_install+set}" = set; then INSTALL="$ac_cv_path_install" else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL="$ac_install_sh" fi fi echo "$ac_t""$INSTALL" 1>&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 echo "configure:1086: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else # This must be in double quotes, not single quotes, because CPP may get # substituted into the Makefile and "${CC-cc}" will confuse make. CPP="${CC-cc} -E" # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CPP=/lib/cpp fi rm -f conftest* fi rm -f conftest* fi rm -f conftest* ac_cv_prog_CPP="$CPP" fi CPP="$ac_cv_prog_CPP" else ac_cv_prog_CPP="$CPP" fi echo "$ac_t""$CPP" 1>&6 # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1168: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_RANLIB="ranlib" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" fi fi RANLIB="$ac_cv_prog_RANLIB" if test -n "$RANLIB"; then echo "$ac_t""$RANLIB" 1>&6 else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 echo "configure:1196: checking for POSIXized ISC" >&5 if test -d /etc/conf/kconfig.d && grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 then echo "$ac_t""yes" 1>&6 ISC=yes # If later tests want to check for ISC. cat >> confdefs.h <<\EOF #define _POSIX_SOURCE 1 EOF if test "$GCC" = yes; then CC="$CC -posix" else CC="$CC -Xp" fi else echo "$ac_t""no" 1>&6 ISC= fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo "configure:1217: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include #include #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* ac_cv_header_stdc=yes else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "memchr" >/dev/null 2>&1; then : else rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "free" >/dev/null 2>&1; then : else rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF if { (eval echo configure:1297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_header_stdc=no fi rm -fr conftest* fi fi fi echo "$ac_t""$ac_cv_header_stdc" 1>&6 if test $ac_cv_header_stdc = yes; then cat >> confdefs.h <<\EOF #define STDC_HEADERS 1 EOF fi echo $ac_n "checking for working const""... $ac_c" 1>&6 echo "configure:1321: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; } ; return 0; } EOF if { (eval echo configure:1375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_c_const=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_c_const" 1>&6 if test $ac_cv_c_const = no; then cat >> confdefs.h <<\EOF #define const EOF fi echo $ac_n "checking for inline""... $ac_c" 1>&6 echo "configure:1396: checking for inline" >&5 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_inline=$ac_kw; break else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* done fi echo "$ac_t""$ac_cv_c_inline" 1>&6 case "$ac_cv_c_inline" in inline | yes) ;; no) cat >> confdefs.h <<\EOF #define inline EOF ;; *) cat >> confdefs.h <&6 echo "configure:1436: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS #include #include #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_off_t=yes else rm -rf conftest* ac_cv_type_off_t=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_type_off_t" 1>&6 if test $ac_cv_type_off_t = no; then cat >> confdefs.h <<\EOF #define off_t long EOF fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 echo "configure:1469: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS #include #include #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_size_t=yes else rm -rf conftest* ac_cv_type_size_t=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_type_size_t" 1>&6 if test $ac_cv_type_size_t = no; then cat >> confdefs.h <<\EOF #define size_t unsigned EOF fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 echo "configure:1504: checking for working alloca.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { void *p = alloca(2 * sizeof(int)); ; return 0; } EOF if { (eval echo configure:1516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_header_alloca_h=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_alloca_h=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 if test $ac_cv_header_alloca_h = yes; then cat >> confdefs.h <<\EOF #define HAVE_ALLOCA_H 1 EOF fi echo $ac_n "checking for alloca""... $ac_c" 1>&6 echo "configure:1537: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < # define alloca _alloca # else # if HAVE_ALLOCA_H # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ char *alloca (); # endif # endif # endif # endif #endif int main() { char *p = (char *) alloca(1); ; return 0; } EOF if { (eval echo configure:1570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_func_alloca_works=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_func_alloca_works=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 if test $ac_cv_func_alloca_works = yes; then cat >> confdefs.h <<\EOF #define HAVE_ALLOCA 1 EOF fi if test $ac_cv_func_alloca_works = no; then # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=alloca.${ac_objext} cat >> confdefs.h <<\EOF #define C_ALLOCA 1 EOF echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 echo "configure:1602: checking whether alloca needs Cray hooks" >&5 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5 | egrep "webecray" >/dev/null 2>&1; then rm -rf conftest* ac_cv_os_cray=yes else rm -rf conftest* ac_cv_os_cray=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_os_cray" 1>&6 if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:1632: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else $ac_func(); #endif ; return 0; } EOF if { (eval echo configure:1660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_$ac_func=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <&6 fi done fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 echo "configure:1687: checking stack direction for C alloca" >&5 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext < addr) ? 1 : -1; } main () { exit (find_stack_direction() < 0); } EOF if { (eval echo configure:1714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_stack_direction=1 else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_c_stack_direction=-1 fi rm -fr conftest* fi fi echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 cat >> confdefs.h <&6 echo "configure:1739: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:1778: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else $ac_func(); #endif ; return 0; } EOF if { (eval echo configure:1806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_$ac_func=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cat >> confdefs.h <&6 fi done echo $ac_n "checking for working mmap""... $ac_c" 1>&6 echo "configure:1831: checking for working mmap" >&5 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then ac_cv_func_mmap_fixed_mapped=no else cat > conftest.$ac_ext < #include #include #include #include #ifdef HAVE_UNISTD_H # include #endif /* This mess was copied from the GNU getpagesize.h. */ #ifndef HAVE_GETPAGESIZE /* Assume that all systems that can run configure have sys/param.h. */ # ifndef HAVE_SYS_PARAM_H # define HAVE_SYS_PARAM_H 1 # endif # ifdef _SC_PAGESIZE # define getpagesize() sysconf(_SC_PAGESIZE) # else /* no _SC_PAGESIZE */ # ifdef HAVE_SYS_PARAM_H # include # ifdef EXEC_PAGESIZE # define getpagesize() EXEC_PAGESIZE # else /* no EXEC_PAGESIZE */ # ifdef NBPG # define getpagesize() NBPG * CLSIZE # ifndef CLSIZE # define CLSIZE 1 # endif /* no CLSIZE */ # else /* no NBPG */ # ifdef NBPC # define getpagesize() NBPC # else /* no NBPC */ # ifdef PAGESIZE # define getpagesize() PAGESIZE # endif /* PAGESIZE */ # endif /* no NBPC */ # endif /* no NBPG */ # endif /* no EXEC_PAGESIZE */ # else /* no HAVE_SYS_PARAM_H */ # define getpagesize() 8192 /* punt totally */ # endif /* no HAVE_SYS_PARAM_H */ # endif /* no _SC_PAGESIZE */ #endif /* no HAVE_GETPAGESIZE */ #ifdef __cplusplus extern "C" { void *malloc(unsigned); } #else char *malloc(); #endif int main() { char *data, *data2, *data3; int i, pagesize; int fd; pagesize = getpagesize(); /* * First, make a file with some known garbage in it. */ data = (char*)malloc(pagesize); if (!data) exit(1); for (i = 0; i < pagesize; ++i) *(data + i) = rand(); umask(0); fd = creat("conftestmmap", 0600); if (fd < 0) exit(1); if (write(fd, data, pagesize) != pagesize) exit(1); close(fd); /* * Next, try to mmap the file at a fixed address which * already has something else allocated at it. If we can, * also make sure that we see the same garbage. */ fd = open("conftestmmap", O_RDWR); if (fd < 0) exit(1); data2 = (char*)malloc(2 * pagesize); if (!data2) exit(1); data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, 0L)) exit(1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data2 + i)) exit(1); /* * Finally, make sure that changes to the mapped area * do not percolate back to the file as seen by read(). * (This is a bug on some variants of i386 svr4.0.) */ for (i = 0; i < pagesize; ++i) *(data2 + i) = *(data2 + i) + 1; data3 = (char*)malloc(pagesize); if (!data3) exit(1); if (read(fd, data3, pagesize) != pagesize) exit(1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data3 + i)) exit(1); close(fd); unlink("conftestmmap"); exit(0); } EOF if { (eval echo configure:1982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_mmap_fixed_mapped=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_func_mmap_fixed_mapped=no fi rm -fr conftest* fi fi echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 if test $ac_cv_func_mmap_fixed_mapped = yes; then cat >> confdefs.h <<\EOF #define HAVE_MMAP 1 EOF fi for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \ unistd.h sys/param.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:2010: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:2020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ strdup __argz_count __argz_stringify __argz_next do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:2050: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else $ac_func(); #endif ; return 0; } EOF if { (eval echo configure:2078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_$ac_func=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cat >> confdefs.h <&6 fi done if test "${ac_cv_func_stpcpy+set}" != "set"; then for ac_func in stpcpy do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:2107: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else $ac_func(); #endif ; return 0; } EOF if { (eval echo configure:2135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_$ac_func=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cat >> confdefs.h <&6 fi done fi if test "${ac_cv_func_stpcpy}" = "yes"; then cat >> confdefs.h <<\EOF #define HAVE_STPCPY 1 EOF fi if test $ac_cv_header_locale_h = yes; then echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 echo "configure:2169: checking for LC_MESSAGES" >&5 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { return LC_MESSAGES ; return 0; } EOF if { (eval echo configure:2181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* am_cv_val_LC_MESSAGES=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* am_cv_val_LC_MESSAGES=no fi rm -f conftest* fi echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6 if test $am_cv_val_LC_MESSAGES = yes; then cat >> confdefs.h <<\EOF #define HAVE_LC_MESSAGES 1 EOF fi fi echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 echo "configure:2202: checking whether NLS is requested" >&5 # Check whether --enable-nls or --disable-nls was given. if test "${enable_nls+set}" = set; then enableval="$enable_nls" USE_NLS=$enableval else USE_NLS=yes fi echo "$ac_t""$USE_NLS" 1>&6 USE_INCLUDED_LIBINTL=no if test "$USE_NLS" = "yes"; then cat >> confdefs.h <<\EOF #define ENABLE_NLS 1 EOF echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 echo "configure:2222: checking whether included gettext is requested" >&5 # Check whether --with-included-gettext or --without-included-gettext was given. if test "${with_included_gettext+set}" = set; then withval="$with_included_gettext" nls_cv_force_use_gnu_gettext=$withval else nls_cv_force_use_gnu_gettext=no fi echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then nls_cv_header_intl= nls_cv_header_libgt= CATOBJEXT=NONE ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 echo "configure:2241: checking for libintl.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:2251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 echo "configure:2268: checking for gettext in libc" >&5 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { return (int) gettext ("") ; return 0; } EOF if { (eval echo configure:2280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gt_cv_func_gettext_libc=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* gt_cv_func_gettext_libc=no fi rm -f conftest* fi echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 if test "$gt_cv_func_gettext_libc" != "yes"; then echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 echo "configure:2296: checking for bindtextdomain in -lintl" >&5 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lintl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 echo "configure:2331: checking for gettext in libintl" >&5 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6 echo "configure:2336: checking for gettext in -lintl" >&5 ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lintl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 gt_cv_func_gettext_libintl=yes else echo "$ac_t""no" 1>&6 gt_cv_func_gettext_libintl=no fi fi echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6 else echo "$ac_t""no" 1>&6 fi fi if test "$gt_cv_func_gettext_libc" = "yes" \ || test "$gt_cv_func_gettext_libintl" = "yes"; then cat >> confdefs.h <<\EOF #define HAVE_GETTEXT 1 EOF # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2394: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test -n "$MSGFMT"; then echo "$ac_t""$MSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi if test "$MSGFMT" != "no"; then for ac_func in dcgettext do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:2428: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else $ac_func(); #endif ; return 0; } EOF if { (eval echo configure:2456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_$ac_func=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cat >> confdefs.h <&6 fi done # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2483: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$GMSGFMT" in /*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_GMSGFMT="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then echo "$ac_t""$GMSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2519: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test -n "$XGETTEXT"; then echo "$ac_t""$XGETTEXT" 1>&6 else echo "$ac_t""no" 1>&6 fi cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* CATOBJEXT=.gmo DATADIRNAME=share else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CATOBJEXT=.mo DATADIRNAME=lib fi rm -f conftest* INSTOBJEXT=.mo fi fi else echo "$ac_t""no" 1>&6 fi if test "$CATOBJEXT" = "NONE"; then echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6 echo "configure:2582: checking whether catgets can be used" >&5 # Check whether --with-catgets or --without-catgets was given. if test "${with_catgets+set}" = set; then withval="$with_catgets" nls_cv_use_catgets=$withval else nls_cv_use_catgets=no fi echo "$ac_t""$nls_cv_use_catgets" 1>&6 if test "$nls_cv_use_catgets" = "yes"; then echo $ac_n "checking for main in -li""... $ac_c" 1>&6 echo "configure:2595: checking for main in -li" >&5 ac_lib_var=`echo i'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-li $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_lib=HAVE_LIB`echo i | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&6 fi echo $ac_n "checking for catgets""... $ac_c" 1>&6 echo "configure:2638: checking for catgets" >&5 if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char catgets(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_catgets) || defined (__stub___catgets) choke me #else catgets(); #endif ; return 0; } EOF if { (eval echo configure:2666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_catgets=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_catgets=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_CATGETS 1 EOF INTLOBJS="\$(CATOBJS)" # Extract the first word of "gencat", so it can be a program name with args. set dummy gencat; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2688: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$GENCAT" in /*) ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_GENCAT="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GENCAT" && ac_cv_path_GENCAT="no" ;; esac fi GENCAT="$ac_cv_path_GENCAT" if test -n "$GENCAT"; then echo "$ac_t""$GENCAT" 1>&6 else echo "$ac_t""no" 1>&6 fi if test "$GENCAT" != "no"; then # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2724: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$GMSGFMT" in /*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_GMSGFMT="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="no" ;; esac fi GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then echo "$ac_t""$GMSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi if test "$GMSGFMT" = "no"; then # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2761: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$GMSGFMT" in /*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_GMSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="no" ;; esac fi GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then echo "$ac_t""$GMSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2796: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test -n "$XGETTEXT"; then echo "$ac_t""$XGETTEXT" 1>&6 else echo "$ac_t""no" 1>&6 fi USE_INCLUDED_LIBINTL=yes CATOBJEXT=.cat INSTOBJEXT=.cat DATADIRNAME=lib INTLDEPS='$(top_builddir)/intl/libintl.a' INTLLIBS=$INTLDEPS LIBS=`echo $LIBS | sed -e 's/-lintl//'` nls_cv_header_intl=intl/libintl.h nls_cv_header_libgt=intl/libgettext.h fi else echo "$ac_t""no" 1>&6 fi fi fi if test "$CATOBJEXT" = "NONE"; then nls_cv_use_gnu_gettext=yes fi fi if test "$nls_cv_use_gnu_gettext" = "yes"; then INTLOBJS="\$(GETTOBJS)" # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2854: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test -n "$MSGFMT"; then echo "$ac_t""$MSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2888: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$GMSGFMT" in /*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_GMSGFMT="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then echo "$ac_t""$GMSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2924: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test -n "$XGETTEXT"; then echo "$ac_t""$XGETTEXT" 1>&6 else echo "$ac_t""no" 1>&6 fi USE_INCLUDED_LIBINTL=yes CATOBJEXT=.gmo INSTOBJEXT=.mo DATADIRNAME=share INTLDEPS='$(top_builddir)/intl/libintl.a' INTLLIBS=$INTLDEPS LIBS=`echo $LIBS | sed -e 's/-lintl//'` nls_cv_header_intl=intl/libintl.h nls_cv_header_libgt=intl/libgettext.h fi if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else echo "$ac_t""found xgettext program is not GNU xgettext; ignore it" 1>&6 XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po else DATADIRNAME=share nls_cv_header_intl=intl/libintl.h nls_cv_header_libgt=intl/libgettext.h fi # If this is used in GNU gettext we have to set USE_NLS to `yes' # because some of the sources are only built for this goal. if test "$PACKAGE" = gettext; then USE_NLS=yes USE_INCLUDED_LIBINTL=yes fi for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done if test "x$CATOBJEXT" != "x"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 echo "configure:3017: checking for catalogs to be installed" >&5 NEW_LINGUAS= for lang in ${LINGUAS=$ALL_LINGUAS}; do case "$ALL_LINGUAS" in *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; esac done LINGUAS=$NEW_LINGUAS echo "$ac_t""$LINGUAS" 1>&6 fi if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi if test $ac_cv_header_locale_h = yes; then INCLUDE_LOCALE_H="#include " else INCLUDE_LOCALE_H="\ /* The system does not provide the header . Take care yourself. */" fi test -d intl || mkdir intl if test "$CATOBJEXT" = ".cat"; then ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 echo "configure:3045: checking for linux/version.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:3055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 msgformat=linux else echo "$ac_t""no" 1>&6 msgformat=xopen fi sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed fi sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed if test "$PACKAGE" = "gettext"; then GT_NO="#NO#" GT_YES= else GT_NO= GT_YES="#YES#" fi MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi l= test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES echo $ac_n "checking for gettext""... $ac_c" 1>&6 echo "configure:3120: checking for gettext" >&5 if eval "test \"`echo '$''{'ac_cv_func_gettext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gettext(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_gettext) || defined (__stub___gettext) choke me #else gettext(); #endif ; return 0; } EOF if { (eval echo configure:3148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_gettext=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_gettext=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'gettext`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6 echo "configure:3166: checking for gettext in -lintl" >&5 ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lintl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_lib=HAVE_LIB`echo intl | sed -e 's/^a-zA-Z0-9_/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&6 fi fi localedir='${prefix}/share/locale' echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 echo "configure:3219: checking for socket in -lsocket" >&5 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&6 fi echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 echo "configure:3266: checking for gethostbyname in -lnsl" >&5 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&6 fi ac_header_dirent=no for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 echo "configure:3319: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_hdr> int main() { DIR *dirp = 0; ; return 0; } EOF if { (eval echo configure:3332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 echo "configure:3357: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-ldir $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -ldir" else echo "$ac_t""no" 1>&6 fi else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 echo "configure:3398: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lx $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lx" else echo "$ac_t""no" 1>&6 fi fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo "configure:3440: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include #include #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:3453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* ac_cv_header_stdc=yes else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "memchr" >/dev/null 2>&1; then : else rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "free" >/dev/null 2>&1; then : else rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF if { (eval echo configure:3520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_header_stdc=no fi rm -fr conftest* fi fi fi echo "$ac_t""$ac_cv_header_stdc" 1>&6 if test $ac_cv_header_stdc = yes; then cat >> confdefs.h <<\EOF #define STDC_HEADERS 1 EOF fi for ac_hdr in limits.h sys/time.h unistd.h gnuregex.h regex.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:3547: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:3557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done ac_safe=`echo "gnuregex.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for gnuregex.h""... $ac_c" 1>&6 echo "configure:3585: checking for gnuregex.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:3595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 gnuregex_ok=yes else echo "$ac_t""no" 1>&6 gnuregex_ok=no fi if test "$gnuregex_ok" = no; then ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for regex.h""... $ac_c" 1>&6 echo "configure:3620: checking for regex.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:3630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 { echo "configure: error: GNU regex library is not installed." 1>&2; exit 1; } fi fi echo $ac_n "checking for working const""... $ac_c" 1>&6 echo "configure:3656: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; } ; return 0; } EOF if { (eval echo configure:3710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_c_const=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_c_const" 1>&6 if test $ac_cv_c_const = no; then cat >> confdefs.h <<\EOF #define const EOF fi echo $ac_n "checking for mode_t""... $ac_c" 1>&6 echo "configure:3731: checking for mode_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS #include #include #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_mode_t=yes else rm -rf conftest* ac_cv_type_mode_t=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_type_mode_t" 1>&6 if test $ac_cv_type_mode_t = no; then cat >> confdefs.h <<\EOF #define mode_t int EOF fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 echo "configure:3764: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS #include #include #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_off_t=yes else rm -rf conftest* ac_cv_type_off_t=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_type_off_t" 1>&6 if test $ac_cv_type_off_t = no; then cat >> confdefs.h <<\EOF #define off_t long EOF fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 echo "configure:3797: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS #include #include #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_size_t=yes else rm -rf conftest* ac_cv_type_size_t=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_type_size_t" 1>&6 if test $ac_cv_type_size_t = no; then cat >> confdefs.h <<\EOF #define size_t unsigned EOF fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 echo "configure:3830: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include #include int main() { struct tm *tp; ; return 0; } EOF if { (eval echo configure:3844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_time=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_header_time" 1>&6 if test $ac_cv_header_time = yes; then cat >> confdefs.h <<\EOF #define TIME_WITH_SYS_TIME 1 EOF fi echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 echo "configure:3865: checking whether struct tm is in sys/time.h or time.h" >&5 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include int main() { struct tm *tp; tp->tm_sec; ; return 0; } EOF if { (eval echo configure:3878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm=time.h else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_struct_tm=sys/time.h fi rm -f conftest* fi echo "$ac_t""$ac_cv_struct_tm" 1>&6 if test $ac_cv_struct_tm = sys/time.h; then cat >> confdefs.h <<\EOF #define TM_IN_SYS_TIME 1 EOF fi echo $ac_n "checking for vprintf""... $ac_c" 1>&6 echo "configure:3901: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vprintf(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_vprintf) || defined (__stub___vprintf) choke me #else vprintf(); #endif ; return 0; } EOF if { (eval echo configure:3929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_vprintf=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_vprintf=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_VPRINTF 1 EOF else echo "$ac_t""no" 1>&6 fi if test "$ac_cv_func_vprintf" != yes; then echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 echo "configure:3953: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _doprnt(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__doprnt) || defined (__stub____doprnt) choke me #else _doprnt(); #endif ; return 0; } EOF if { (eval echo configure:3981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func__doprnt=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func__doprnt=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_DOPRNT 1 EOF else echo "$ac_t""no" 1>&6 fi fi for ac_func in mkdir regcomp select socket strdup strerror strtol strtoul do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:4008: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else $ac_func(); #endif ; return 0; } EOF if { (eval echo configure:4036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_$ac_func=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cat >> confdefs.h <&6 fi done # Check whether --enable-debug or --disable-debug was given. if test "${enable_debug+set}" = set; then enableval="$enable_debug" : else enable_debug=no fi echo $ac_n "checking whether to enable debug""... $ac_c" 1>&6 echo "configure:4071: checking whether to enable debug" >&5 if test x$enable_debug = xyes; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define DEBUG 1 EOF else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for inline""... $ac_c" 1>&6 echo "configure:4084: checking for inline" >&5 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_inline=$ac_kw; break else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* done fi echo "$ac_t""$ac_cv_c_inline" 1>&6 case "$ac_cv_c_inline" in inline | yes) ;; no) cat >> confdefs.h <<\EOF #define inline EOF ;; *) cat >> confdefs.h < confcache <<\EOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs. It is not useful on other systems. # If it contains results you don't want to keep, you may remove or edit it. # # By default, configure uses ./config.cache as the cache file, # creating it if it does not exist already. You can give configure # the --cache-file=FILE option to use a different cache file; that is # what configure does when it calls configure scripts in # subdirectories, so they share the cache. # Giving --cache-file=/dev/null disables caching, for debugging configure. # config.status only pays attention to the cache file if you give it the # --recheck option to rerun configure. # EOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution # turns \\\\ into \\, and sed turns \\ into \). sed -n \ -e "s/'/'\\\\''/g" \ -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' ;; esac >> confcache if cmp -s $cache_file confcache; then : else if test -w $cache_file; then echo "updating cache $cache_file" cat confcache > $cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # Any assignment to VPATH causes Sun make to only execute # the first set of double-colon rules, so remove it if not needed. # If there is a colon in the path, we need to keep it. if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' fi trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 DEFS=-DHAVE_CONFIG_H # Without the "./", some shells look in PATH for config.status. : ${CONFIG_STATUS=./config.status} echo creating $CONFIG_STATUS rm -f $CONFIG_STATUS cat > $CONFIG_STATUS </dev/null | sed 1q`: # # $0 $ac_configure_args # # Compiler output produced by configure, useful for debugging # configure, is in ./config.log if it exists. ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" for ac_option do case "\$ac_option" in -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) echo "$CONFIG_STATUS generated by autoconf version 2.13" exit 0 ;; -help | --help | --hel | --he | --h) echo "\$ac_cs_usage"; exit 0 ;; *) echo "\$ac_cs_usage"; exit 1 ;; esac done ac_given_srcdir=$srcdir ac_given_INSTALL="$INSTALL" trap 'rm -fr `echo "Makefile intl/Makefile src/Makefile po/Makefile.in \ debian/Makefile doc/Makefile man/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF $ac_vpsub $extrasub s%@SHELL@%$SHELL%g s%@CFLAGS@%$CFLAGS%g s%@CPPFLAGS@%$CPPFLAGS%g s%@CXXFLAGS@%$CXXFLAGS%g s%@FFLAGS@%$FFLAGS%g s%@DEFS@%$DEFS%g s%@LDFLAGS@%$LDFLAGS%g s%@LIBS@%$LIBS%g s%@exec_prefix@%$exec_prefix%g s%@prefix@%$prefix%g s%@program_transform_name@%$program_transform_name%g s%@bindir@%$bindir%g s%@sbindir@%$sbindir%g s%@libexecdir@%$libexecdir%g s%@datadir@%$datadir%g s%@sysconfdir@%$sysconfdir%g s%@sharedstatedir@%$sharedstatedir%g s%@localstatedir@%$localstatedir%g s%@libdir@%$libdir%g s%@includedir@%$includedir%g s%@oldincludedir@%$oldincludedir%g s%@infodir@%$infodir%g s%@mandir@%$mandir%g s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g s%@INSTALL_DATA@%$INSTALL_DATA%g s%@PACKAGE@%$PACKAGE%g s%@VERSION@%$VERSION%g s%@ACLOCAL@%$ACLOCAL%g s%@AUTOCONF@%$AUTOCONF%g s%@AUTOMAKE@%$AUTOMAKE%g s%@AUTOHEADER@%$AUTOHEADER%g s%@MAKEINFO@%$MAKEINFO%g s%@SET_MAKE@%$SET_MAKE%g s%@CC@%$CC%g s%@RANLIB@%$RANLIB%g s%@CPP@%$CPP%g s%@ALLOCA@%$ALLOCA%g s%@USE_NLS@%$USE_NLS%g s%@MSGFMT@%$MSGFMT%g s%@GMSGFMT@%$GMSGFMT%g s%@XGETTEXT@%$XGETTEXT%g s%@GENCAT@%$GENCAT%g s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g s%@CATALOGS@%$CATALOGS%g s%@CATOBJEXT@%$CATOBJEXT%g s%@DATADIRNAME@%$DATADIRNAME%g s%@GMOFILES@%$GMOFILES%g s%@INSTOBJEXT@%$INSTOBJEXT%g s%@INTLDEPS@%$INTLDEPS%g s%@INTLLIBS@%$INTLLIBS%g s%@INTLOBJS@%$INTLOBJS%g s%@POFILES@%$POFILES%g s%@POSUB@%$POSUB%g s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g s%@GT_NO@%$GT_NO%g s%@GT_YES@%$GT_YES%g s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g s%@l@%$l%g s%@localedir@%$localedir%g CEOF EOF cat >> $CONFIG_STATUS <<\EOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. ac_file=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_cmds # Line after last line for current file. ac_more_lines=: ac_sed_cmds="" while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file else sed "${ac_end}q" conftest.subs > conftest.s$ac_file fi if test ! -s conftest.s$ac_file; then ac_more_lines=false rm -f conftest.s$ac_file else if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f conftest.s$ac_file" else ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" fi ac_file=`expr $ac_file + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_cmds` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dir_suffix. ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` else ac_dir_suffix= ac_dots= fi case "$ac_given_srcdir" in .) srcdir=. if test -z "$ac_dots"; then top_srcdir=. else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; *) # Relative path. srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" top_srcdir="$ac_dots$ac_given_srcdir" ;; esac case "$ac_given_INSTALL" in [/$]*) INSTALL="$ac_given_INSTALL" ;; *) INSTALL="$ac_dots$ac_given_INSTALL" ;; esac echo creating "$ac_file" rm -f "$ac_file" configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." case "$ac_file" in *Makefile*) ac_comsub="1i\\ # $configure_input" ;; *) ac_comsub= ;; esac ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` sed -e "$ac_comsub s%@configure_input@%$configure_input%g s%@srcdir@%$srcdir%g s%@top_srcdir@%$top_srcdir%g s%@INSTALL@%$INSTALL%g " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file fi; done rm -f conftest.s* # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' ac_dC='\3' ac_dD='%g' # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='\([ ]\)%\1#\2define\3' ac_uC=' ' ac_uD='\4%g' # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_eB='$%\1#\2define\3' ac_eC=' ' ac_eD='%g' if test "${CONFIG_HEADERS+set}" != set; then EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF fi for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac echo creating $ac_file rm -f conftest.frag conftest.in conftest.out ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` cat $ac_file_inputs > conftest.in EOF # Transform confdefs.h into a sed script conftest.vals that substitutes # the proper values into config.h.in to produce config.h. And first: # Protect against being on the right side of a sed subst in config.status. # Protect against being in an unquoted here document in config.status. rm -f conftest.vals cat > conftest.hdr <<\EOF s/[\\&%]/\\&/g s%[\\$`]%\\&%g s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp s%ac_d%ac_u%gp s%ac_u%ac_e%gp EOF sed -n -f conftest.hdr confdefs.h > conftest.vals rm -f conftest.hdr # This sed command replaces #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. cat >> conftest.vals <<\EOF s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% EOF # Break up conftest.vals because some shells have a limit on # the size of here documents, and old seds have small limits too. rm -f conftest.tail while : do ac_lines=`grep -c . conftest.vals` # grep -c gives empty output for an empty file on some AIX systems. if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi # Write a limited-size here document to conftest.frag. echo ' cat > conftest.frag <> $CONFIG_STATUS sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS echo 'CEOF sed -f conftest.frag conftest.in > conftest.out rm -f conftest.in mv conftest.out conftest.in ' >> $CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail rm -f conftest.vals mv conftest.tail conftest.vals done rm -f conftest.vals cat >> $CONFIG_STATUS <<\EOF rm -f conftest.frag conftest.h echo "/* $ac_file. Generated automatically by configure. */" > conftest.h cat conftest.in >> conftest.h rm -f conftest.in if cmp -s $ac_file conftest.h 2>/dev/null; then echo "$ac_file is unchanged" rm -f conftest.h else # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" fi rm -f $ac_file mv conftest.h $ac_file fi fi; done EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF srcdir=$ac_given_srcdir while test -n "$ac_sources"; do set $ac_dests; ac_dest=$1; shift; ac_dests=$* set $ac_sources; ac_source=$1; shift; ac_sources=$* echo "linking $srcdir/$ac_source to $ac_dest" if test ! -r $srcdir/$ac_source; then { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; } fi rm -f $ac_dest # Make relative symlinks. # Remove last slash and all that follows it. Not all systems have dirname. ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'` if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then # The dest file is in a subdirectory. test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir" ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dest_dir_suffix. ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'` else ac_dest_dir_suffix= ac_dots= fi case "$srcdir" in [/$]*) ac_rel_source="$srcdir/$ac_source" ;; *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;; esac # Make a symlink if possible; otherwise try a hard link. if ln -s $ac_rel_source $ac_dest 2>/dev/null || ln $srcdir/$ac_source $ac_dest; then : else { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; } fi done EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac exit 0 EOF chmod +x $CONFIG_STATUS rm -fr confdefs* $ac_clean_files test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 weex-2.6.1/configure.in0100664000016100001440000000314107121420610013651 0ustar ludousersdnl Process this file with autoconf to produce a configure script. AC_INIT(src/weex.c) PACKAGE=weex VERSION=2.6.1 ALL_LINGUAS="ja de es nl fr" AM_INIT_AUTOMAKE($PACKAGE,$VERSION,no-define) AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") AC_DEFINE_UNQUOTED(VERSION, "$VERSION") AM_CONFIG_HEADER(config.h) dnl Checks for programs. AC_PROG_CC AC_PROG_INSTALL dnl for gettext AM_GNU_GETTEXT AC_CHECK_FUNC(gettext,,AC_CHECK_LIB(intl, gettext)) localedir='${prefix}/share/locale' AC_SUBST(localedir) dnl Checks for libraries. AC_CHECK_LIB(socket,socket) AC_CHECK_LIB(nsl,gethostbyname) dnl Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC AC_CHECK_HEADERS(limits.h sys/time.h unistd.h gnuregex.h regex.h) AC_CHECK_HEADER(gnuregex.h,gnuregex_ok=yes,gnuregex_ok=no) if test "$gnuregex_ok" = no; then AC_CHECK_HEADER(regex.h,,AC_MSG_ERROR(GNU regex library is not installed.)) fi dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_MODE_T AC_TYPE_OFF_T AC_TYPE_SIZE_T AC_HEADER_TIME AC_STRUCT_TM dnl Checks for library functions. AC_FUNC_VPRINTF AC_CHECK_FUNCS(mkdir regcomp select socket strdup strerror strtol strtoul) dnl this is for debug AC_ARG_ENABLE(debug, [ --enable-debug enable debug messages [default no]],,enable_debug=no) AC_MSG_CHECKING(whether to enable debug) if test x$enable_debug = xyes; then AC_MSG_RESULT(yes) AC_DEFINE(DEBUG) else AC_MSG_RESULT(no) fi dnl AC_C_INLINE if test x$CC = xgcc; then CFLAGS="$CFLAGS -Wall" fi AC_OUTPUT(Makefile intl/Makefile src/Makefile po/Makefile.in \ debian/Makefile doc/Makefile man/Makefile) weex-2.6.1/install-sh0100755000016100001440000001272006721010476013357 0ustar ludousers#!/bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that # copyright notice and this permission notice appear in supporting # documentation, and that the name of M.I.T. not be used in advertising or # publicity pertaining to distribution of the software without specific, # written prior permission. M.I.T. makes no representations about the # suitability of this software for any purpose. It is provided "as is" # without express or implied warranty. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" transformbasename="" transform_arg="" instcmd="$mvprog" chmodcmd="$chmodprog 0755" chowncmd="" chgrpcmd="" stripcmd="" rmcmd="$rmprog -f" mvcmd="$mvprog" src="" dst="" dir_arg="" while [ x"$1" != x ]; do case $1 in -c) instcmd="$cpprog" shift continue;; -d) dir_arg=true shift continue;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; -s) stripcmd="$stripprog" shift continue;; -t=*) transformarg=`echo $1 | sed 's/-t=//'` shift continue;; -b=*) transformbasename=`echo $1 | sed 's/-b=//'` shift continue;; *) if [ x"$src" = x ] then src=$1 else # this colon is to work around a 386BSD /bin/sh bug : dst=$1 fi shift continue;; esac done if [ x"$src" = x ] then echo "install: no input file specified" exit 1 else true fi if [ x"$dir_arg" != x ]; then dst=$src src="" if [ -d $dst ]; then instcmd=: else instcmd=mkdir fi else # Waiting for this to be detected by the "$instcmd $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if [ -f $src -o -d $src ] then true else echo "install: $src does not exist" exit 1 fi if [ x"$dst" = x ] then echo "install: no destination specified" exit 1 else true fi # If destination is a directory, append the input filename; if your system # does not like double slashes in filenames, you may need to add some logic if [ -d $dst ] then dst="$dst"/`basename $src` else true fi fi ## this sed command emulates the dirname command dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` # Make sure that the destination directory exists. # this part is taken from Noah Friedman's mkinstalldirs script # Skip lots of stat calls in the usual case. if [ ! -d "$dstdir" ]; then defaultIFS=' ' IFS="${IFS-${defaultIFS}}" oIFS="${IFS}" # Some sh's can't handle IFS=/ for some reason. IFS='%' set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` IFS="${oIFS}" pathcomp='' while [ $# -ne 0 ] ; do pathcomp="${pathcomp}${1}" shift if [ ! -d "${pathcomp}" ] ; then $mkdirprog "${pathcomp}" else true fi pathcomp="${pathcomp}/" done fi if [ x"$dir_arg" != x ] then $doit $instcmd $dst && if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi else # If we're going to rename the final executable, determine the name now. if [ x"$transformarg" = x ] then dstfile=`basename $dst` else dstfile=`basename $dst $transformbasename | sed $transformarg`$transformbasename fi # don't allow the sed command to completely eliminate the filename if [ x"$dstfile" = x ] then dstfile=`basename $dst` else true fi # Make a temp file name in the proper directory. dsttmp=$dstdir/#inst.$$# # Move or copy the file name to the temp name $doit $instcmd $src $dsttmp && trap "rm -f ${dsttmp}" 0 && # and set any options; do chmod last to preserve setuid bits # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $instcmd $src $dsttmp" command. if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && # Now rename the file to the real destination. $doit $rmcmd -f $dstdir/$dstfile && $doit $mvcmd $dsttmp $dstdir/$dstfile fi && exit 0 weex-2.6.1/missing0100755000016100001440000001420206721010476012747 0ustar ludousers#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997 Free Software Foundation, Inc. # Franc,ois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi case "$1" in -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file yacc create \`y.tab.[ch]', if possible, from existing .[ch]" ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing - GNU libit 0.0" ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; aclocal) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acinclude.m4' or \`configure.in'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`configure.in'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acconfig.h' or \`configure.in'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER([^):]*:\([^)]*\)).*/\1/p' configure.in` if test -z "$files"; then files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^):]*\)).*/\1/p' configure.in` test -z "$files" || files="$files.in" else files=`echo "$files" | sed -e 's/:/ /g'` fi test -z "$files" && files="config.h.in" touch $files ;; automake) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`configure.in'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print \ | sed 's/^\(.*\).am$/touch \1.in/' \ | sh ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` fi touch $file ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequirements for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 weex-2.6.1/debian/0040777000016100001440000000000007454261660012611 5ustar ludousersweex-2.6.1/debian/docs0100644000016100001440000000025307076260707013456 0ustar ludousersdoc/README doc/ChangeLog doc/ChangeLog.ja doc/BUGS.ja doc/TODO.ja doc/BUGS doc/README.ja doc/FAQ.ja doc/sample.weexrc doc/THANKS doc/TODO doc/FAQ doc/AUTHORS doc/weex.cat weex-2.6.1/debian/control0100644000016100001440000000204707104032356014176 0ustar ludousersSource: weex Section: net Priority: optional Maintainer: Yuuki NINOMIYA Standards-Version: 3.0.1 Package: weex Architecture: any Depends: ${shlibs:Depends} Description: a non-interactive FTP client for updating webpages Weex is a utility designed to automate the task of remotely maintaining a web page or other FTP archive. With weex, the maintainer of a web site or archive that must be administered through FTP interaction can largely ignore that process. The archive administrator simply creates a local directory that serves as an exact model for the offsite data. All modifications and direct interaction is done locally to this directory structure. When the administrator wishes to coordinate the data on the remote site with that of the local model directory, simply executing weex accomplishes this in the most bandwidth-efficient fashion by only transferring files that need updating. The program will create or remove (!) files or directories as necessary to accurately establish the local model on the remote server. weex-2.6.1/debian/rules0100755000016100001440000000276607104032732013661 0ustar ludousers#!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This is the debhelper compatability version to use. export DH_COMPAT=1 build: build-stamp build-stamp: dh_testdir ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info # Add here commands to compile the package. #$(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. -$(MAKE) distclean dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/tmp. $(MAKE) install prefix=`pwd`/debian/tmp/usr # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install # dh_testversion dh_testdir dh_testroot # dh_installdebconf dh_installdocs # dh_installexamples # dh_installmenu # dh_installemacsen # dh_installpam # dh_installinit # dh_installcron # dh_installmanpages # dh_installinfo # dh_undocumented dh_installchangelogs dh_link dh_strip dh_compress dh_fixperms # You may want to make some executables suid here. # dh_suidregister # dh_makeshlibs dh_installdeb # dh_perl dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install weex-2.6.1/debian/changelog0100664000016100001440000000571107121420610014441 0ustar ludousersweex (2.6.1-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Tue, 13 Jun 2000 20:56:56 +0900 weex (2.6.0-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Tue, 23 May 2000 00:06:28 +0900 weex (2.5.4-1) unstable; urgency=low * New version. * Replace RSA key to DSA key. -- Yuuki NINOMIYA Wed, 3 May 2000 22:48:23 +0900 weex (2.5.3-2) unstable; urgency=low * Replace PGPi to GnuPG. -- Yuuki NINOMIYA Mon, 17 Apr 2000 01:23:46 +0900 weex (2.5.3-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Sun, 16 Apr 2000 12:44:31 +0900 weex (2.5.2-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Fri, 24 Mar 2000 22:43:44 +0900 weex (2.5.1-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Tue, 29 Feb 2000 17:40:45 +0900 weex (2.5.0-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Fri, 25 Feb 2000 05:30:37 +0900 weex (2.3.0-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Sun, 9 Jan 2000 17:45:45 +0900 weex (2.2.0-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Mon, 20 Dec 1999 11:16:56 +0900 weex (2.1.2-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Sat, 11 Dec 1999 23:40:51 +0900 weex (2.1.1-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Sat, 11 Dec 1999 23:40:51 +0900 weex (2.1.0-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Thu, 9 Dec 1999 15:05:04 +0900 weex (2.0.7-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Mon, 29 Nov 1999 22:56:40 +0900 weex (2.0.6-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Thu, 25 Nov 1999 15:18:57 +0900 weex (2.0.5-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Sat, 13 Nov 1999 19:20:22 +0900 weex (2.0.4-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Wed, 10 Nov 1999 04:21:10 +0900 weex (2.0.3a-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Mon, 08 Nov 1999 01:07:12 +0900 weex (2.0.3-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Sun, 07 Nov 1999 23:16:46 +0900 weex (2.0.2-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Sun, 07 Nov 1999 16:26:32 +0900 weex (2.0.1a-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Sat, 06 Nov 1999 20:00:00 +0900 weex (2.0.1-1) unstable; urgency=low * New version. -- Yuuki NINOMIYA Sat, 06 Nov 1999 11:51:31 +0900 weex (2.0.0-1) unstable; urgency=low * Initial release. -- Yuuki NINOMIYA Thu, 04 Nov 1999 15:55:04 +0900 Local variables: mode: debian-changelog End: weex-2.6.1/debian/Makefile.am0100644000016100001440000000007007036045247014630 0ustar ludousersEXTRA_DIST=changelog control copyright docs files rules weex-2.6.1/debian/Makefile.in0100664000016100001440000001113407121420632014634 0ustar ludousers# Makefile.in generated automatically by automake 1.4 from Makefile.am # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ DATADIRNAME = @DATADIRNAME@ GENCAT = @GENCAT@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GT_NO = @GT_NO@ GT_YES = @GT_YES@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INSTOBJEXT = @INSTOBJEXT@ INTLDEPS = @INTLDEPS@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ PACKAGE = @PACKAGE@ POFILES = @POFILES@ POSUB = @POSUB@ RANLIB = @RANLIB@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ l = @l@ localedir = @localedir@ EXTRA_DIST = changelog control copyright docs files rules mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = DIST_COMMON = Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps debian/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status tags: TAGS TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = debian distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall: uninstall-am all-am: Makefile all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-generic clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: tags distdir info-am info dvi-am dvi check check-am \ installcheck-am installcheck install-exec-am install-exec \ install-data-am install-data install-am install uninstall-am uninstall \ all-redirect all-am all installdirs mostlyclean-generic \ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: weex-2.6.1/debian/copyright0100664000016100001440000000076707121420610014530 0ustar ludousersThis package was debianized by Yuuki NINOMIYA on Tue, 13 Jun 2000 20:56:56 +0900. It was downloaded from http://www.enjoy.ne.jp/~gm/program/weex/ Upstream Author(s): Yuuki NINOMIYA Copyright (C) 1999-2000 Yuuki NINOMIYA This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. weex-2.6.1/mkinstalldirs0100755000016100001440000000133406721010553014154 0ustar ludousers#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # Created: 1993-05-16 # Public domain # $Id: mkinstalldirs,v 1.10 1996/05/03 07:37:52 friedman Exp $ errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" case "$pathcomp" in -* ) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" 1>&2 mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr fi fi pathcomp="$pathcomp/" done done exit $errstatus # mkinstalldirs ends here weex-2.6.1/Makefile.am0100664000016100001440000000013007121420610013367 0ustar ludousersAUTOMAKE_OPTIONS=foreign SUBDIRS=po intl src doc man debian EXTRA_DIST=weex-2.6.1.spec weex-2.6.1/Makefile.in0100664000016100001440000002573707121420627013434 0ustar ludousers# Makefile.in generated automatically by automake 1.4 from Makefile.am # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ DATADIRNAME = @DATADIRNAME@ GENCAT = @GENCAT@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GT_NO = @GT_NO@ GT_YES = @GT_YES@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INSTOBJEXT = @INSTOBJEXT@ INTLDEPS = @INTLDEPS@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ PACKAGE = @PACKAGE@ POFILES = @POFILES@ POSUB = @POSUB@ RANLIB = @RANLIB@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ l = @l@ localedir = @localedir@ AUTOMAKE_OPTIONS = foreign SUBDIRS = po intl src doc man debian EXTRA_DIST = weex-2.6.1.spec ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = DIST_COMMON = ./stamp-h.in ABOUT-NLS Makefile.am Makefile.in acconfig.h \ aclocal.m4 config.h.in configure configure.in install-sh missing \ mkinstalldirs DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status $(ACLOCAL_M4): configure.in cd $(srcdir) && $(ACLOCAL) config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) config.h: stamp-h @if test ! -f $@; then \ rm -f stamp-h; \ $(MAKE) stamp-h; \ else :; fi stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ $(SHELL) ./config.status @echo timestamp > stamp-h 2> /dev/null $(srcdir)/config.h.in: $(srcdir)/stamp-h.in @if test ! -f $@; then \ rm -f $(srcdir)/stamp-h.in; \ $(MAKE) $(srcdir)/stamp-h.in; \ else :; fi $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h cd $(top_srcdir) && $(AUTOHEADER) @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null mostlyclean-hdr: clean-hdr: distclean-hdr: -rm -f config.h maintainer-clean-hdr: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. @SET_MAKE@ all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive info-recursive dvi-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ dot_seen=no; \ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ rev="$$subdir $$rev"; \ test "$$subdir" = "." && dot_seen=yes; \ done; \ test "$$dot_seen" = "no" && rev=". $$rev"; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist -rm -rf $(distdir) GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz mkdir $(distdir)/=build mkdir $(distdir)/=inst dc_install_base=`cd $(distdir)/=inst && pwd`; \ cd $(distdir)/=build \ && ../configure --with-included-gettext --srcdir=.. --prefix=$$dc_install_base \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) dist -rm -rf $(distdir) @banner="$(distdir).tar.gz is ready for distribution"; \ dashes=`echo "$$banner" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ echo "$$dashes" dist: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) dist-all: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) distdir: $(DISTFILES) -rm -rf $(distdir) mkdir $(distdir) -chmod 777 $(distdir) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done for subdir in $(SUBDIRS); do \ if test "$$subdir" = .; then :; else \ test -d $(distdir)/$$subdir \ || mkdir $(distdir)/$$subdir \ || exit 1; \ chmod 777 $(distdir)/$$subdir; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ || exit 1; \ fi; \ done info-am: info: info-recursive dvi-am: dvi: dvi-recursive check-am: all-am check: check-recursive installcheck-am: installcheck: installcheck-recursive all-recursive-am: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive install-exec-am: install-exec: install-exec-recursive install-data-am: install-data: install-data-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-recursive uninstall-am: uninstall: uninstall-recursive all-am: Makefile config.h all-redirect: all-recursive-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: installdirs-recursive installdirs-am: mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic mostlyclean: mostlyclean-recursive clean-am: clean-hdr clean-tags clean-generic mostlyclean-am clean: clean-recursive distclean-am: distclean-hdr distclean-tags distclean-generic clean-am distclean: distclean-recursive -rm -f config.status maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \ maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-recursive -rm -f config.status .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ install-data-recursive uninstall-data-recursive install-exec-recursive \ uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ all-recursive check-recursive installcheck-recursive info-recursive \ dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \ install-exec-am install-exec install-data-am install-data install-am \ install uninstall-am uninstall all-redirect all-am all installdirs-am \ installdirs mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: weex-2.6.1/config.h.in0100644000016100001440000001136607021472216013401 0ustar ludousers/* config.h.in. Generated automatically from configure.in by autoheader. */ /* Define if using alloca.c. */ #undef C_ALLOCA /* Define to empty if the keyword does not work. */ #undef const /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. This function is required for alloca.c support on those systems. */ #undef CRAY_STACKSEG_END /* Define if you have alloca, as a function or macro. */ #undef HAVE_ALLOCA /* Define if you have and it should be used (not on Ultrix). */ #undef HAVE_ALLOCA_H /* Define if you don't have vprintf but do have _doprnt. */ #undef HAVE_DOPRNT /* Define if you have a working `mmap' system call. */ #undef HAVE_MMAP /* Define if you have the vprintf function. */ #undef HAVE_VPRINTF /* Define as __inline if that's what the C compiler calls it. */ #undef inline /* Define to `int' if doesn't define. */ #undef mode_t /* Define to `long' if doesn't define. */ #undef off_t /* Define if you need to in order for stat and other things to work. */ #undef _POSIX_SOURCE /* Define to `unsigned' if doesn't define. */ #undef size_t /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at run-time. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses STACK_DIRECTION = 0 => direction of growth unknown */ #undef STACK_DIRECTION /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define if you can safely include both and . */ #undef TIME_WITH_SYS_TIME /* Define if your declares struct tm. */ #undef TM_IN_SYS_TIME #undef ENABLE_NLS #undef HAVE_CATGETS #undef HAVE_GETTEXT #undef HAVE_LC_MESSAGES #undef HAVE_STPCPY #undef PACKAGE #undef VERSION #undef DEBUG /* Define if you have the __argz_count function. */ #undef HAVE___ARGZ_COUNT /* Define if you have the __argz_next function. */ #undef HAVE___ARGZ_NEXT /* Define if you have the __argz_stringify function. */ #undef HAVE___ARGZ_STRINGIFY /* Define if you have the dcgettext function. */ #undef HAVE_DCGETTEXT /* Define if you have the getcwd function. */ #undef HAVE_GETCWD /* Define if you have the getpagesize function. */ #undef HAVE_GETPAGESIZE /* Define if you have the mkdir function. */ #undef HAVE_MKDIR /* Define if you have the munmap function. */ #undef HAVE_MUNMAP /* Define if you have the putenv function. */ #undef HAVE_PUTENV /* Define if you have the regcomp function. */ #undef HAVE_REGCOMP /* Define if you have the select function. */ #undef HAVE_SELECT /* Define if you have the setenv function. */ #undef HAVE_SETENV /* Define if you have the setlocale function. */ #undef HAVE_SETLOCALE /* Define if you have the socket function. */ #undef HAVE_SOCKET /* Define if you have the stpcpy function. */ #undef HAVE_STPCPY /* Define if you have the strcasecmp function. */ #undef HAVE_STRCASECMP /* Define if you have the strchr function. */ #undef HAVE_STRCHR /* Define if you have the strdup function. */ #undef HAVE_STRDUP /* Define if you have the strerror function. */ #undef HAVE_STRERROR /* Define if you have the strtol function. */ #undef HAVE_STRTOL /* Define if you have the strtoul function. */ #undef HAVE_STRTOUL /* Define if you have the header file. */ #undef HAVE_ARGZ_H /* Define if you have the header file. */ #undef HAVE_DIRENT_H /* Define if you have the header file. */ #undef HAVE_GNUREGEX_H /* Define if you have the header file. */ #undef HAVE_LIMITS_H /* Define if you have the header file. */ #undef HAVE_LOCALE_H /* Define if you have the header file. */ #undef HAVE_MALLOC_H /* Define if you have the header file. */ #undef HAVE_NDIR_H /* Define if you have the header file. */ #undef HAVE_NL_TYPES_H /* Define if you have the header file. */ #undef HAVE_REGEX_H /* Define if you have the header file. */ #undef HAVE_STRING_H /* Define if you have the header file. */ #undef HAVE_SYS_DIR_H /* Define if you have the header file. */ #undef HAVE_SYS_NDIR_H /* Define if you have the header file. */ #undef HAVE_SYS_PARAM_H /* Define if you have the header file. */ #undef HAVE_SYS_TIME_H /* Define if you have the header file. */ #undef HAVE_UNISTD_H /* Define if you have the i library (-li). */ #undef HAVE_LIBI /* Define if you have the intl library (-lintl). */ #undef HAVE_LIBINTL /* Define if you have the nsl library (-lnsl). */ #undef HAVE_LIBNSL /* Define if you have the socket library (-lsocket). */ #undef HAVE_LIBSOCKET weex-2.6.1/stamp-h.in0100644000016100001440000000001207121420626013240 0ustar ludouserstimestamp weex-2.6.1/ABOUT-NLS0100644000016100001440000002660307101056745012611 0ustar ludousersNotes on the Free Translation Project ************************************* Free software is going international! The Free Translation Project is a way to get maintainers of free software, translators, and users all together, so that will gradually become able to speak many languages. A few packages already provide translations for their messages. If you found this `ABOUT-NLS' file inside a distribution, you may assume that the distributed package does use GNU `gettext' internally, itself available at your nearest GNU archive site. But you do *not* need to install GNU `gettext' prior to configuring, installing or using this package with messages translated. Installers will find here some useful hints. These notes also explain how users should proceed for getting the programs to use the available translations. They tell how people wanting to contribute and work at translations should contact the appropriate team. When reporting bugs in the `intl/' directory or bugs which may be related to internationalization, you should tell about the version of `gettext' which is used. The information can be found in the `intl/VERSION' file, in internationalized packages. One advise in advance ===================== If you want to exploit the full power of internationalization, you should configure it using ./configure --with-included-gettext to force usage of internationalizing routines provided within this package, despite the existence of internationalizing capabilities in the operating system where this package is being installed. So far, only the `gettext' implementation in the GNU C library version 2 provides as many features (such as locale alias or message inheritance) as the implementation here. It is also not possible to offer this additional functionality on top of a `catgets' implementation. Future versions of GNU `gettext' will very likely convey even more functionality. So it might be a good idea to change to GNU `gettext' as soon as possible. So you need not provide this option if you are using GNU libc 2 or you have installed a recent copy of the GNU gettext package with the included `libintl'. INSTALL Matters =============== Some packages are "localizable" when properly installed; the programs they contain can be made to speak your own native language. Most such packages use GNU `gettext'. Other packages have their own ways to internationalization, predating GNU `gettext'. By default, this package will be installed to allow translation of messages. It will automatically detect whether the system provides usable `catgets' (if using this is selected by the installer) or `gettext' functions. If neither is available, the GNU `gettext' own library will be used. This library is wholly contained within this package, usually in the `intl/' subdirectory, so prior installation of the GNU `gettext' package is *not* required. Installers may use special options at configuration time for changing the default behaviour. The commands: ./configure --with-included-gettext ./configure --with-catgets ./configure --disable-nls will respectively bypass any pre-existing `catgets' or `gettext' to use the internationalizing routines provided within this package, enable the use of the `catgets' functions (if found on the locale system), or else, *totally* disable translation of messages. When you already have GNU `gettext' installed on your system and run configure without an option for your new package, `configure' will probably detect the previously built and installed `libintl.a' file and will decide to use this. This might be not what is desirable. You should use the more recent version of the GNU `gettext' library. I.e. if the file `intl/VERSION' shows that the library which comes with this package is more recent, you should use ./configure --with-included-gettext to prevent auto-detection. By default the configuration process will not test for the `catgets' function and therefore they will not be used. The reasons are already given above: the emulation on top of `catgets' cannot provide all the extensions provided by the GNU `gettext' library. If you nevertheless want to use the `catgets' functions use ./configure --with-catgets to enable the test for `catgets' (this causes no harm if `catgets' is not available on your system). If you really select this option we would like to hear about the reasons because we cannot think of any good one ourself. Internationalized packages have usually many `po/LL.po' files, where LL gives an ISO 639 two-letter code identifying the language. Unless translations have been forbidden at `configure' time by using the `--disable-nls' switch, all available translations are installed together with the package. However, the environment variable `LINGUAS' may be set, prior to configuration, to limit the installed set. `LINGUAS' should then contain a space separated list of two-letter codes, stating which languages are allowed. Using This Package ================== As a user, if your language has been installed for this package, you only have to set the `LANG' environment variable to the appropriate ISO 639 `LL' two-letter code prior to using the programs in the package. For example, let's suppose that you speak German. At the shell prompt, merely execute `setenv LANG de' (in `csh'), `export LANG; LANG=de' (in `sh') or `export LANG=de' (in `bash'). This can be done from your `.login' or `.profile' file, once and for all. An operating system might already offer message localization for many of its programs, while other programs have been installed locally with the full capabilities of GNU `gettext'. Just using `gettext' extended syntax for `LANG' would break proper localization of already available operating system programs. In this case, users should set both `LANGUAGE' and `LANG' variables in their environment, as programs using GNU `gettext' give preference to `LANGUAGE'. For example, some Swedish users would rather read translations in German than English for when Swedish is not available. This is easily accomplished by setting `LANGUAGE' to `sv:de' while leaving `LANG' to `sv'. Translating Teams ================= For the Free Translation Project to be a success, we need interested people who like their own language and write it well, and who are also able to synergize with other translators speaking the same language. Each translation team has its own mailing list, courtesy of Linux International. You may reach your translation team at the address `LL@li.org', replacing LL by the two-letter ISO 639 code for your language. Language codes are *not* the same as the country codes given in ISO 3166. The following translation teams exist, as of December 1997: Chinese `zh', Czech `cs', Danish `da', Dutch `nl', English `en', Esperanto `eo', Finnish `fi', French `fr', German `de', Hungarian `hu', Irish `ga', Italian `it', Indonesian `id', Japanese `ja', Korean `ko', Latin `la', Norwegian `no', Persian `fa', Polish `pl', Portuguese `pt', Russian `ru', Slovenian `sl', Spanish `es', Swedish `sv', and Turkish `tr'. For example, you may reach the Chinese translation team by writing to `zh@li.org'. If you'd like to volunteer to *work* at translating messages, you should become a member of the translating team for your own language. The subscribing address is *not* the same as the list itself, it has `-request' appended. For example, speakers of Swedish can send a message to `sv-request@li.org', having this message body: subscribe Keep in mind that team members are expected to participate *actively* in translations, or at solving translational difficulties, rather than merely lurking around. If your team does not exist yet and you want to start one, or if you are unsure about what to do or how to get started, please write to `translation@iro.umontreal.ca' to reach the coordinator for all translator teams. The English team is special. It works at improving and uniformizing the terminology in use. Proven linguistic skill are praised more than programming skill, here. Available Packages ================== Languages are not equally supported in all packages. The following matrix shows the current state of internationalization, as of December 1997. The matrix shows, in regard of each package, for which languages PO files have been submitted to translation coordination. Ready PO files cs da de en es fi fr it ja ko nl no pl pt ru sl sv .----------------------------------------------------. bash | [] [] [] | 3 bison | [] [] [] | 3 clisp | [] [] [] [] | 4 cpio | [] [] [] [] [] [] | 6 diffutils | [] [] [] [] [] | 5 enscript | [] [] [] [] [] [] | 6 fileutils | [] [] [] [] [] [] [] [] [] [] | 10 findutils | [] [] [] [] [] [] [] [] [] | 9 flex | [] [] [] [] | 4 gcal | [] [] [] [] [] | 5 gettext | [] [] [] [] [] [] [] [] [] [] [] | 12 grep | [] [] [] [] [] [] [] [] [] [] | 10 hello | [] [] [] [] [] [] [] [] [] [] [] | 11 id-utils | [] [] [] | 3 indent | [] [] [] [] [] | 5 libc | [] [] [] [] [] [] [] | 7 m4 | [] [] [] [] [] [] | 6 make | [] [] [] [] [] [] | 6 music | [] [] | 2 ptx | [] [] [] [] [] [] [] [] | 8 recode | [] [] [] [] [] [] [] [] [] | 9 sh-utils | [] [] [] [] [] [] [] [] | 8 sharutils | [] [] [] [] [] [] | 6 tar | [] [] [] [] [] [] [] [] [] [] [] | 11 texinfo | [] [] [] | 3 textutils | [] [] [] [] [] [] [] [] [] | 9 wdiff | [] [] [] [] [] [] [] [] | 8 `----------------------------------------------------' 17 languages cs da de en es fi fr it ja ko nl no pl pt ru sl sv 27 packages 6 4 25 1 18 1 26 2 1 12 20 9 19 7 4 7 17 179 Some counters in the preceding matrix are higher than the number of visible blocks let us expect. This is because a few extra PO files are used for implementing regional variants of languages, or language dialects. For a PO file in the matrix above to be effective, the package to which it applies should also have been internationalized and distributed as such by its maintainer. There might be an observable lag between the mere existence a PO file and its wide availability in a distribution. If December 1997 seems to be old, you may fetch a more recent copy of this `ABOUT-NLS' file on most GNU archive sites. weex-2.6.1/acconfig.h0100644000016100001440000000022707013223776013300 0ustar ludousers#undef ENABLE_NLS #undef HAVE_CATGETS #undef HAVE_GETTEXT #undef HAVE_LC_MESSAGES #undef HAVE_STPCPY #undef PACKAGE #undef VERSION #undef DEBUG