debian/0000755000000000000000000000000011672015457007176 5ustar debian/po/0000755000000000000000000000000011672015255007610 5ustar debian/po/sv.po0000644000000000000000000000540711377602534010612 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: jazip 0.34-9\n" "Report-Msgid-Bugs-To: jazip@packages.debian.org\n" "POT-Creation-Date: 2008-05-14 18:11+0200\n" "PO-Revision-Date: 2005-10-21 23:33+0100\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: swed\n" "X-Poedit-Country: swed\n" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Notice for jazip packages users" msgstr "Information fr anvndare av jazip-paketet" #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "This message is displayed because the configuration file /etc/jazip.conf was " "not on your system prior to package installation." msgstr "" "Detta meddelande visas fr att konfigurationsfilen /etc/jazip.conf inte " "hittades p ditt system fre paketinstallation startades." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt " "to create a working /etc/jazip.conf configuration file. If this was " "unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-" "interactive switch, or consult jazip.conf(5) to create it yourself." msgstr "" "Skriptet '/usr/sbin/jazipconfig --non-interactive' krdes fr att skapa en " "fungerande /etc/jazip.conf konfigurationsfil. Om detta inte lyckades, kr /" "usr/sbin/jazipconfig igen som root utan flaggan --non-interactive eller " "konsulter manualsidan jazip.conf(5) fr att skapa den p egen hand." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "Users must be added to the 'floppy' group to allow access to the jazip " "program and the devices it manages. For example, to add user 'joe':" msgstr "" "Anvndare mste lggas in i gruppen 'floppy' fr att f tillgng till " "programmet jazip och enheterna den hanterar. Till exempel, fr att lgga " "till anvndaren 'bosse':" #. Type: note #. Description #: ../jazip.templates:1001 msgid "# adduser joe floppy" msgstr "# adduser bosse floppy" #. Type: note #. Description #: ../jazip.templates:1001 msgid "See /usr/share/doc/jazip/README.Debian for details." msgstr "Se /usr/share/doc/jazip/README.Debian fr detaljer." debian/po/POTFILES.in0000644000000000000000000000005211377602534011366 0ustar [type: gettext/rfc822deb] jazip.templates debian/po/pt.po0000644000000000000000000000472411377602534010606 0ustar # Portuguese translation of jazip's debconf messages. # Copyright (C) 2007 # This file is distributed under the same license as the jazip package. # Luísa Lourenço , 2007. # msgid "" msgstr "" "Project-Id-Version: jazip 0.34-11\n" "Report-Msgid-Bugs-To: jazip@packages.debian.org\n" "POT-Creation-Date: 2008-05-14 18:11+0200\n" "PO-Revision-Date: 2007-03-28 11:30+0100\n" "Last-Translator: Luísa Lourenço \n" "Language-Team: Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Notice for jazip packages users" msgstr "Nota para os utilizadores dos pacotes jazip" #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "This message is displayed because the configuration file /etc/jazip.conf was " "not on your system prior to package installation." msgstr "" "Esta mensagem é mostrada porque o ficheiro de configuração /etc/jazip.conf " "não estava no seu sistema antes da instalação do pacote." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt " "to create a working /etc/jazip.conf configuration file. If this was " "unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-" "interactive switch, or consult jazip.conf(5) to create it yourself." msgstr "" "o script `/usr/sbin/jazipconfig --non-interactive` foi executado na " "tentativa de criar um ficheiro de configuração /etc/jazip.conf que funcione. " "Caso isto não tenha tido sucesso, execute o /usr/sbin/jazipconfig outra vez, " "como root, sem o --non-interactive switch, ou consulte o jazip.conf(5) para " "o criar você mesmo." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "Users must be added to the 'floppy' group to allow access to the jazip " "program and the devices it manages. For example, to add user 'joe':" msgstr "" "Os utilizadores têm de ser adicionados ao grupo 'floppy' para terem acesso " "ao programa jazip e aos dispositivos que gere. Por exemplo, para adicionar o " "utilizador 'joe':" #. Type: note #. Description #: ../jazip.templates:1001 msgid "# adduser joe floppy" msgstr "# adduser joe floppy" #. Type: note #. Description #: ../jazip.templates:1001 msgid "See /usr/share/doc/jazip/README.Debian for details." msgstr "Para mais detalhes veja /usr/share/doc/jazip/README.Debian." debian/po/gl.po0000644000000000000000000000463411377602534010565 0ustar # Galician translation of jazip's debconf templates # This file is distributed under the same license as the jazip package. # Jacobo Tarrio , 2008. # msgid "" msgstr "" "Project-Id-Version: jazip\n" "Report-Msgid-Bugs-To: jazip@packages.debian.org\n" "POT-Creation-Date: 2008-05-14 18:11+0200\n" "PO-Revision-Date: 2008-05-15 00:29+0100\n" "Last-Translator: Jacobo Tarrio \n" "Language-Team: Galician \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Notice for jazip packages users" msgstr "Aviso para os usuarios dos paquetes de jazip" #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "This message is displayed because the configuration file /etc/jazip.conf was " "not on your system prior to package installation." msgstr "" "Amósase esta mensaxe porque o ficheiro de configuración /etc/jazip.conf non " "existía no sistema antes da instalación do paquete." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt " "to create a working /etc/jazip.conf configuration file. If this was " "unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-" "interactive switch, or consult jazip.conf(5) to create it yourself." msgstr "" "Executouse o script \"/usr/sbin/jazipconfig --non-interactive\" para tentar " "crear un ficheiro de configuración /etc/jazip.conf. Se isto non tivo éxito, " "execute /usr/sbin/jazipconfig de novo coma administrador sen o argumento --" "non-interactive, ou consulte jazip.conf(5) para crealo vostede mesmo." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "Users must be added to the 'floppy' group to allow access to the jazip " "program and the devices it manages. For example, to add user 'joe':" msgstr "" "Os usuarios deben estar engadidos ao grupo \"floppy\" para lles permitir o " "acceso ao programa jazip e aos dispositivos que xestiona. Por exemplo, para " "engadir o usuario \"pepe\":" #. Type: note #. Description #: ../jazip.templates:1001 msgid "# adduser joe floppy" msgstr "# adduser pepe floppy" #. Type: note #. Description #: ../jazip.templates:1001 msgid "See /usr/share/doc/jazip/README.Debian for details." msgstr "Consulte /usr/share/doc/jazip/README.Debian para máis detalles." debian/po/es.po0000644000000000000000000000702411377602534010566 0ustar # jazip po-debconf translation to Spanish # Copyright (C) 2005 Software in the Public Interest # Copyright © 2009 Noel Torres # This file is distributed under the same license as the jazip package. # # Changes: # - Initial translation # César Gómez Martín # - Revision # Rudy Godoy Guillén , 2008 # - Update # Noel David Torres Taño , 2009 # # Traductores, si no conocen el formato PO, merece la pena leer la # documentación de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # Equipo de traducción al español, por favor, lean antes de traducir # los siguientes documentos: # # - El proyecto de traducción de Debian al español # http://www.debian.org/intl/spanish/ # especialmente las notas de traducción en # http://www.debian.org/intl/spanish/notas # # - La guía de traducción de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # msgid "" msgstr "" "Project-Id-Version: jazip 0.34-12\n" "Report-Msgid-Bugs-To: jazip@packages.debian.org\n" "POT-Creation-Date: 2008-05-14 18:11+0200\n" "PO-Revision-Date: 2009-03-26 09:55+0100\n" "Last-Translator: Noel David Torres Taño \n" "Language-Team: Debian l10n spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Spanish\n" "X-Poedit-Country: SPAIN\n" "X-Poedit-SourceCharset: utf-8\n" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Notice for jazip packages users" msgstr "Aviso para los usuarios del paquete jazip" #. Type: note #. Description #: ../jazip.templates:1001 msgid "This message is displayed because the configuration file /etc/jazip.conf was not on your system prior to package installation." msgstr "Este mensaje se muestra debido a que el fichero de configuración «/etc/jazip.conf» no estaba en su sistema antes de la instalación del paquete." #. Type: note #. Description #: ../jazip.templates:1001 msgid "The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt to create a working /etc/jazip.conf configuration file. If this was unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-interactive switch, or consult jazip.conf(5) to create it yourself." msgstr "Se ejecutó el script «/usr/sbin/jazipconfig --non-interactive» en un intento de crear un fichero de configuración «/etc/jazip.conf» funcional. Si el script no tuvo éxito, ejecute de nuevo, como administrador (root), «/usr/sbin/jazipconfig» sin la opción «--non-interactive», o consulte «jazip.conf(5)» para crearlo usted mismo." #. Type: note #. Description #: ../jazip.templates:1001 msgid "Users must be added to the 'floppy' group to allow access to the jazip program and the devices it manages. For example, to add user 'joe':" msgstr "Se deben añadir los usuarios al grupo «floppy» para permitirles el acceso al programa jazip y a los dispositivos que éste gestiona. Por ejemplo, para añadir el usuario «alicia»:" #. Type: note #. Description #: ../jazip.templates:1001 msgid "# adduser joe floppy" msgstr "# adduser alicia floppy" #. Type: note #. Description #: ../jazip.templates:1001 msgid "See /usr/share/doc/jazip/README.Debian for details." msgstr "Consulte «/usr/share/doc/jazip/README.Debian» para más detalles." debian/po/ja.po0000644000000000000000000000514311672015223010540 0ustar # Copyright (C) Nobuhiro Iwamatsu , 2010. # This file is distributed under the same license as the jazip package. # Nobuhiro Iwamatsu , 2010. # msgid "" msgstr "" "Project-Id-Version: jazip_0.34-15\n" "Report-Msgid-Bugs-To: jazip@packages.debian.org\n" "POT-Creation-Date: 2008-05-14 18:11+0200\n" "PO-Revision-Date: 2010-11-29 09:36+0900\n" "Last-Translator: Nobuhiro Iwamatsu \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Notice for jazip packages users" msgstr "jazip パッケージユーザへの通知" #. Type: note #. Description #: ../jazip.templates:1001 msgid "This message is displayed because the configuration file /etc/jazip.conf was not on your system prior to package installation." msgstr "パッケージインストール前に /etc/jazip.conf 設定ファイルがシステム上になかったので、このメッセージが表示されています。" #. Type: note #. Description #: ../jazip.templates:1001 msgid "The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt to create a working /etc/jazip.conf configuration file. If this was unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-interactive switch, or consult jazip.conf(5) to create it yourself." msgstr "/etc/jazip.conf 設定ファイルの作成を試みるために、'/usr/sbin/jazipconfig --non-interactive' スクリプトが動作しました。失敗したのなら、再度 root ユーザで /usr/sbin/jazipconfig を --non-interactive オプションを外して実行するか、あなた自身でこの設定ファイルを作成するために、jazip.conf(5) を参照してください。" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Users must be added to the 'floppy' group to allow access to the jazip program and the devices it manages. For example, to add user 'joe':" msgstr "ユーザは、jazip プログラムと管理するデバイスへのアクセスを可能にする 'floppy' グループに加えられる必要があります。例えば、ユーザ 'joe' を加えるには次のように実行します:" #. Type: note #. Description #: ../jazip.templates:1001 msgid "# adduser joe floppy" msgstr "# adduser joe floppy" #. Type: note #. Description #: ../jazip.templates:1001 msgid "See /usr/share/doc/jazip/README.Debian for details." msgstr "詳細は /usr/share/doc/jazip/README.Debian を確認してください。" debian/po/ru.po0000644000000000000000000000542611377602534010611 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: jazip@packages.debian.org\n" "POT-Creation-Date: 2008-05-14 18:11+0200\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=KOI8-R\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Notice for jazip packages users" msgstr " jazip" #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "This message is displayed because the configuration file /etc/jazip.conf was " "not on your system prior to package installation." msgstr "" " , /etc/" "jazip.conf ." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt " "to create a working /etc/jazip.conf configuration file. If this was " "unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-" "interactive switch, or consult jazip.conf(5) to create it yourself." msgstr "" " `/usr/sbin/jazipconfig --non-interactive` " " /etc/jazip.conf. " ", /usr/sbin/jazipconfig root " " --non-interactive " "jazip.conf(5), ." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "Users must be added to the 'floppy' group to allow access to the jazip " "program and the devices it manages. For example, to add user 'joe':" msgstr "" " 'floppy', " " jazip , . , " " 'joe':" #. Type: note #. Description #: ../jazip.templates:1001 msgid "# adduser joe floppy" msgstr "# adduser joe floppy" #. Type: note #. Description #: ../jazip.templates:1001 msgid "See /usr/share/doc/jazip/README.Debian for details." msgstr ". /usr/share/doc/jazip/README.Debian." debian/po/de.po0000644000000000000000000000537411377602534010555 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: jazip@packages.debian.org\n" "POT-Creation-Date: 2008-05-14 18:11+0200\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=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Notice for jazip packages users" msgstr "Hinweise fr jazip-Benutzer" #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "This message is displayed because the configuration file /etc/jazip.conf was " "not on your system prior to package installation." msgstr "" "Diese Meldung erscheint, da die Konfigurationsdatei /etc/jazip.conf vor der " "Paketinstallation nicht vorhanden war." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt " "to create a working /etc/jazip.conf configuration file. If this was " "unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-" "interactive switch, or consult jazip.conf(5) to create it yourself." msgstr "" "Das Script 'usr/sbin/jazipconfig --non-interactive' wurde ausgefhrt, um " "eine lauffhige Version der Datei /etc/jazip.conf zu erstellen. Wenn dies " "fehlschlug, dann starten Sie als root /usr/sbin/jazipconfig erneut, jedoch " "ohne den Schalter --non-interactive. Weiterhin finden Sie in der Manpage " "jazip.conf(5) Hinweise zum manuellen Erstellen der Datei." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "Users must be added to the 'floppy' group to allow access to the jazip " "program and the devices it manages. For example, to add user 'joe':" msgstr "" "Benutzer mssen der Gruppe 'floppy' angehren, um mit jazip arbeiten zu " "knnen. Zum Bespiel fgen Sie den Benutzer 'joe' zur Gruppe mit folgendem " "Befehl hinzu:" #. Type: note #. Description #: ../jazip.templates:1001 msgid "# adduser joe floppy" msgstr "# adduser joe floppy" #. Type: note #. Description #: ../jazip.templates:1001 msgid "See /usr/share/doc/jazip/README.Debian for details." msgstr "In der Datei /usr/share/doc/jazip/README.Debian finden weitere Infos." debian/po/templates.pot0000644000000000000000000000327111377602534012341 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: jazip@packages.debian.org\n" "POT-Creation-Date: 2008-05-14 18:11+0200\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: 8bit\n" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Notice for jazip packages users" msgstr "" #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "This message is displayed because the configuration file /etc/jazip.conf was " "not on your system prior to package installation." msgstr "" #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt " "to create a working /etc/jazip.conf configuration file. If this was " "unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-" "interactive switch, or consult jazip.conf(5) to create it yourself." msgstr "" #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "Users must be added to the 'floppy' group to allow access to the jazip " "program and the devices it manages. For example, to add user 'joe':" msgstr "" #. Type: note #. Description #: ../jazip.templates:1001 msgid "# adduser joe floppy" msgstr "" #. Type: note #. Description #: ../jazip.templates:1001 msgid "See /usr/share/doc/jazip/README.Debian for details." msgstr "" debian/po/fr.po0000644000000000000000000000606111377602534010566 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # # Original translator was Peter S. Galbraith. Translator mentioned below # did the po file proofreading, with the help of the contributors # from the debian-l10n-french mailing list # msgid "" msgstr "" "Project-Id-Version: jazip 0.34-5\n" "Report-Msgid-Bugs-To: jazip@packages.debian.org\n" "POT-Creation-Date: 2008-05-14 18:11+0200\n" "PO-Revision-Date: 2003-07-12 14:43+0100\n" "Last-Translator: Christian Perrier \n" "Language-Team: French \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Notice for jazip packages users" msgstr "Note aux utilisateurs du paquet jazip" #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "This message is displayed because the configuration file /etc/jazip.conf was " "not on your system prior to package installation." msgstr "" "Ce message vous est prsent car le fichier de configuration /etc/jazip.conf " "n'existait pas avant l'installation du paquet." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt " "to create a working /etc/jazip.conf configuration file. If this was " "unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-" "interactive switch, or consult jazip.conf(5) to create it yourself." msgstr "" "Le script /usr/sbin/jazipconfig --non-interactive a t excut pour " "tenter de crer automatiquement le fichier de configuration /etc/jazip." "conf. Si cela a chou, veuillez excuter de nouveau /usr/sbin/jazipconfig " "avec les privilges du super-utilisateur (root), mais sans l'option --non-" "interactive, ou consultez jazip.conf(5) pour le crer vous-mme." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "Users must be added to the 'floppy' group to allow access to the jazip " "program and the devices it manages. For example, to add user 'joe':" msgstr "" "Les utilisateurs doivent tre ajouts au groupe floppy pour pouvoir se " "servir du programme jazip et des priphriques qu'il gre. La commande " "suivante permet de faire cette opration pour l'utilisateur joe:" #. Type: note #. Description #: ../jazip.templates:1001 msgid "# adduser joe floppy" msgstr " adduser joe floppy" #. Type: note #. Description #: ../jazip.templates:1001 msgid "See /usr/share/doc/jazip/README.Debian for details." msgstr "" "Veuillez consulter /usr/share/doc/jazip/README.Debian pour plus " "d'informations." debian/po/fi.po0000644000000000000000000000455411377602534010562 0ustar msgid "" msgstr "" "Project-Id-Version: jazip\n" "Report-Msgid-Bugs-To: jazip@packages.debian.org\n" "POT-Creation-Date: 2008-05-14 18:11+0200\n" "PO-Revision-Date: 2008-05-14 17:18+0200\n" "Last-Translator: Esko Arajärvi \n" "Language-Team: Finnish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Finnish\n" "X-Poedit-Country: FINLAND\n" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Notice for jazip packages users" msgstr "Huomatus jazip-pakettien käyttäjille" #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "This message is displayed because the configuration file /etc/jazip.conf was " "not on your system prior to package installation." msgstr "" "Tämä viesti näytetään, koska järjestelmässä ei ollut asetustiedostoa /etc/" "jazip.conf ennen paketin asennusta." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt " "to create a working /etc/jazip.conf configuration file. If this was " "unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-" "interactive switch, or consult jazip.conf(5) to create it yourself." msgstr "" "Komentosarja ”/usr/sbin/jazipconfig --non-interactive” ajettiin " "tarkoituksena luoda toimiva asetustiedosto /etc/jazip.conf. Tämä " "epäonnistui, joten komento /usr/sbin/jazipconfig tulisi ajaa uudelleen " "pääkäyttäjänä ilman valitsinta --non-interactive tiedoston luomiseksi, tai " "vaihtoehtoisesti luoda se käsin man-ohjesivun jazip-conf(5) avulla." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "Users must be added to the 'floppy' group to allow access to the jazip " "program and the devices it manages. For example, to add user 'joe':" msgstr "" "Käyttäjät tulee lisätä ryhmään ”floppy” käyttöoikeuksien antamiseksi jazip-" "ohjelmaan ja sen hallinnoimiin laitteisiin. Esimerkiksi käyttäjän ”matti” " "lisäämiseksi:" #. Type: note #. Description #: ../jazip.templates:1001 msgid "# adduser joe floppy" msgstr "# adduser matti floppy" #. Type: note #. Description #: ../jazip.templates:1001 msgid "See /usr/share/doc/jazip/README.Debian for details." msgstr "Lisätietoja löytyy tiedostosta /usr/share/doc/jazip/README.Debian." debian/po/eu.po0000644000000000000000000000464211377602534010573 0ustar # translation of jazip-eu.po to Euskara # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Piarres Beobide , 2008. msgid "" msgstr "" "Project-Id-Version: jazip-eu\n" "Report-Msgid-Bugs-To: jazip@packages.debian.org\n" "POT-Creation-Date: 2008-05-14 18:11+0200\n" "PO-Revision-Date: 2008-05-15 12:35+0200\n" "Last-Translator: Piarres Beobide \n" "Language-Team: Euskara \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Notice for jazip packages users" msgstr "Jazip paketeen erabiltzaileentzat oharra" #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "This message is displayed because the configuration file /etc/jazip.conf was " "not on your system prior to package installation." msgstr "" "Mezu hau zure ordenagailuan pakete instalazioa aurretik /etc/jazip.conf " "konfigurazio fitxategirik ez zegoelako bistaratzen da." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt " "to create a working /etc/jazip.conf configuration file. If this was " "unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-" "interactive switch, or consult jazip.conf(5) to create it yourself." msgstr "" "`/usr/sbin/jazipconfig --non-interactive` exekutatu da /etc/jazip.conf " "konfigurazio berria sortzeko. Honek funtzionatuko ez balu, exekutatu /usr/" "sbin/jazipconfig root gisa --non-interactive aldagaia gabe, edo jazip.conf" "(5) begiratu zure kabuz sortzeko." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "Users must be added to the 'floppy' group to allow access to the jazip " "program and the devices it manages. For example, to add user 'joe':" msgstr "" "Erabiltzaileak 'floppy' taldera gehitu behar dira jazip programa eta " "kudeatzen dituen gailuak erabiltzea gaitzeko. Adibidez 'patxi' " "erabiltzailea gehitzeko:" #. Type: note #. Description #: ../jazip.templates:1001 msgid "# adduser joe floppy" msgstr "# adduser patxi floppy" #. Type: note #. Description #: ../jazip.templates:1001 msgid "See /usr/share/doc/jazip/README.Debian for details." msgstr "Ikusi /usr/share/doc/jazip/README.Debian xehetasunetarako." debian/po/vi.po0000644000000000000000000000514011377602534010572 0ustar # Vietnamese Translation for jazip. # Copyright © 2005 Free Software Foundation, Inc. # Clytie Siddall , 2005. # msgid "" msgstr "" "Project-Id-Version: jazip 0.34-8\n" "Report-Msgid-Bugs-To: jazip@packages.debian.org\n" "POT-Creation-Date: 2008-05-14 18:11+0200\n" "PO-Revision-Date: 2005-06-05 23:08+0930\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0\n" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Notice for jazip packages users" msgstr "Thông báo cho mọi người dùng gói tin jazip" #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "This message is displayed because the configuration file /etc/jazip.conf was " "not on your system prior to package installation." msgstr "" "Hiển thị thông điệp này vì không có tập tin cấu hình «/etc/jazip.conf» trong " "hệ thống bạn trước khi cài đặt gói tin." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt " "to create a working /etc/jazip.conf configuration file. If this was " "unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-" "interactive switch, or consult jazip.conf(5) to create it yourself." msgstr "" "Đã chạy tập lệnh «/usr/sbin/jazipconfig --non-interactive» để cố tạo một tập " "tin cấu hình «/etc/jazip.conf» hoạt động. Nếu nó không thành công, hãy chạy " "lại «/usr/sbin/jazipconfig» với tư cách người chủ (root) không có đối số «--" "non-interactive», hãy xem trang hướng dẫn (man) «jazip.conf(5)» để tìm thông " "tin về tự tạo nó." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "Users must be added to the 'floppy' group to allow access to the jazip " "program and the devices it manages. For example, to add user 'joe':" msgstr "" "Phải thêm các người dùng vào nhóm «floppy» để cho phép truy cập trình jazip " "và các thiết bị mà nó quản lý. Lấy thí dụ, để thêm người dùng «Hoa»:" #. Type: note #. Description #: ../jazip.templates:1001 msgid "# adduser joe floppy" msgstr "# adduser Hoa floppy" #. Type: note #. Description #: ../jazip.templates:1001 msgid "See /usr/share/doc/jazip/README.Debian for details." msgstr "Hãy xem tập tin «/usr/share/doc/jazip/README.Debian» để tìm chi tiết." debian/po/da.po0000644000000000000000000000463511455053375010550 0ustar # Danish translation jazip. # Copyright (C) 2010 jazip & nedenstående oversættere. # This file is distributed under the same license as the jazip package. # Joe Hansen , 2010. # msgid "" msgstr "" "Project-Id-Version: jazip\n" "Report-Msgid-Bugs-To: jazip@packages.debian.org\n" "POT-Creation-Date: 2008-05-14 18:11+0200\n" "PO-Revision-Date: 2010-09-07 17:34+0000\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Notice for jazip packages users" msgstr "Bemærkning til brugere af jazippakker" #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "This message is displayed because the configuration file /etc/jazip.conf was " "not on your system prior to package installation." msgstr "" "Denne besked vises da konfigurationsfilen /etc/jazip.conf ikke blev fundet " "på dit system før pakkeinstallation." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt " "to create a working /etc/jazip.conf configuration file. If this was " "unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-" "interactive switch, or consult jazip.conf(5) to create it yourself." msgstr "" "Skriptet »/usr/sbin/jazipconfig --non-interactive« blev kørt i et forsøg " "på at oprette en fungerende konfigurationsfil i /etc/jazip.conf. Hvis dette " "ikke lykkes, kør /usr/sbin/jazip.conf igen som administrator (root) uden " "tilvalget --non-interactive, eller konsulter jazip.conf(5) for hjælp til " "selv at oprette den." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "Users must be added to the 'floppy' group to allow access to the jazip " "program and the devices it manages. For example, to add user 'joe':" msgstr "" "Brugere skal tilføjes til gruppen »floppy« for at få adgang til " "jazipprogrammet og de enheder den håndterer. For eksempel, for at tilføje " "bruger »joe«:" #. Type: note #. Description #: ../jazip.templates:1001 msgid "# adduser joe floppy" msgstr "# adduser joe floppy" #. Type: note #. Description #: ../jazip.templates:1001 msgid "See /usr/share/doc/jazip/README.Debian for details." msgstr "Se /usr/share/doc/jazip/README.Debian for detaljer." debian/po/nl.po0000644000000000000000000000544411377602534010574 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: jazip 0.34-6\n" "Report-Msgid-Bugs-To: jazip@packages.debian.org\n" "POT-Creation-Date: 2008-05-14 18:11+0200\n" "PO-Revision-Date: 2003-09-14 16:26+0100\n" "Last-Translator: Tim Vandermeersch \n" "Language-Team: dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Notice for jazip packages users" msgstr "Opmerking voor jazip gebruikers" #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "This message is displayed because the configuration file /etc/jazip.conf was " "not on your system prior to package installation." msgstr "" "Dit bericht wordt weergegeven omdat het configuratie bestand /etc/jazip.conf " "niet aanwezig was op uw systeem alvorens dit pakket te installeren." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt " "to create a working /etc/jazip.conf configuration file. If this was " "unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-" "interactive switch, or consult jazip.conf(5) to create it yourself." msgstr "" "Het script `/usr/sbin/jazipconfig --non-interactive` werd uitgevoerd om te " "proberen een werkend /etc/jazip.conf configuratie bestand aan te maken. Als " "dit niet succesvol was, voer /usr/sbin/jazipconfig dan opnieuw uit als root " "zonder de --non-interactive parameter, of raadpleeg jazip.conf(5) om het " "zelf aan te maken." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "Users must be added to the 'floppy' group to allow access to the jazip " "program and the devices it manages. For example, to add user 'joe':" msgstr "" "Gebruikers dienen toegevoegd te worden aan de 'floppy' groep om toegang te " "hebben tot het jazip programma en het apparaat dat het beheert. Voorbeeld: " "om gebruiker 'joe' toe te voegen:" #. Type: note #. Description #: ../jazip.templates:1001 msgid "# adduser joe floppy" msgstr "# adduser joe floppy" #. Type: note #. Description #: ../jazip.templates:1001 msgid "See /usr/share/doc/jazip/README.Debian for details." msgstr "Zie /usr/share/doc/jazip/README.Debian voor details." debian/po/cs.po0000644000000000000000000000526611377602534010572 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: jazip\n" "Report-Msgid-Bugs-To: jazip@packages.debian.org\n" "POT-Creation-Date: 2008-05-14 18:11+0200\n" "PO-Revision-Date: 2005-02-05 18:00+0100\n" "Last-Translator: Miroslav Kure \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../jazip.templates:1001 msgid "Notice for jazip packages users" msgstr "Poznmka pro uivatele balku jazip" #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "This message is displayed because the configuration file /etc/jazip.conf was " "not on your system prior to package installation." msgstr "" "Tato zprva se zobrazila, protoe do instalace balku na vaem systmu " "neexistoval konfiguran soubor /etc/jazip.conf." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt " "to create a working /etc/jazip.conf configuration file. If this was " "unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-" "interactive switch, or consult jazip.conf(5) to create it yourself." msgstr "" "Pro vytvoen funknho konfiguranho souboru byl sputn skript `/usr/sbin/" "jazipconfig --non-interactive`. Jestlie skript selhal, spuste jej run " "jako uivatel root, tentokrte bez pepnae --non-interactive, nebo podle " "manulov strnky jazip.conf(5) vytvote konfiguran soubor sami." #. Type: note #. Description #: ../jazip.templates:1001 msgid "" "Users must be added to the 'floppy' group to allow access to the jazip " "program and the devices it manages. For example, to add user 'joe':" msgstr "" "Aby mohli uivatel pouvat program jazip a zazen jm spravovan, mus " "bt soust skupiny 'floppy'. Napklad uivatele 'novak' pidte takto:" #. Type: note #. Description #: ../jazip.templates:1001 msgid "# adduser joe floppy" msgstr "# adduser novak floppy" #. Type: note #. Description #: ../jazip.templates:1001 msgid "See /usr/share/doc/jazip/README.Debian for details." msgstr "Podrobnosti naleznete v /usr/share/doc/jazip/README.Debian." debian/copyright0000644000000000000000000000134311377602534011132 0ustar This package was debianized by Peter S Galbraith on Fri, 13 Nov 1998 09:22:59 -0500. It was downloaded from http://www.scripps.edu/~jsmith/jazip/jaZip-0.34.src.tar.gz Its web page is http://www.scripps.edu/~jsmith/jazip/ jaZip for Linux Copyright © 1996 Jarrod A. Smith Permission to use, copy, modify, and distribute 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. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. debian/jazipconfig0000644000000000000000000003152711377602534011434 0ustar #!/usr/bin/perl # Copyright 1999-2000, Peter S. Galbraith # This script was made for Debian GNU/Linux but may be used by others. # Licensed under the GNU Public License Version 2. #-- # Quick hack that needs lots of cleaning-up. #-- # - jazipconfig # -> interactive use if ran without without an option. # # - make a list of all devices/mount points already listed in # /etc/jazip.conf # - add devices in proc/scsi/scsi and mount points in /etc/fstab # - assign each a number # - prompt to add any of the above or create one from scratch # - if no corresponding mount points are listed in /etc/fstab, # prompt for them. # - upon exiting this menu, check all mount point and prompt to # create them if they don't exist. # # - jazipconfig --non-interactive # # - exit if /etc/jazip.conf already exists. # - exit if no detected devices are listed in /proc/scsi/scsi # - create /etc/jazip.conf if any of the above devices are listed # in /etc/fstab else output a warning to run jazipconfig # interactively. #-- # ChangeLog: # V1.01 Apr 04 2000 Aaron Dewell # Tweak sub jazip_list_proc_scsi's regexp to be case-insensitive to catch # 2GB Jaz drive ID'ed in lowercase in /proc/scsi/scsi # V1.00 May 16 1999 Peter S. Galbraith # Initial release. #-- # Random notes: # @ConfDevice : list to write to /etc/jazip.conf # initialized once by /etc/jazip.conf content # @DetectedDevice : list of potential addons from /proc/scsi/scsi # - first put all such devices into @zip and @jaz # and then insert them into @DetectedDevice if not # already listed in @ConfDevice #use strict; my (@zip, @jaz, $device, $mount, @jazipconf, $c, $Confcount, @ConfDevice, @ConfMount, @ConfList, $reply, $Potcount, $PotDevice, $PotMount); if ($#ARGV >= 0) { if ($ARGV[0] eq "--non-interactive") { # non-interactive script # exit if /etc/jazip.conf exists at all exit 0 if (-e "/etc/jazip.conf"); # exit if no devices in /proc/scsi/scsi &jazip_list_proc_scsi(@zip, @jaz); # &jazip_add_atapi(@zip); exit 0 if ((! @zip)&&(! @jaz)); print " jazip automatic configuration ----------------------------- "; &listPotentialConf; foreach ($c = 1; $c <= $Potcount; $c++) { if (defined($PotMount[$c])&&($PotMount[$c] ne "")) { $Confcount++; $ConfDevice[$Confcount] = $PotDevice[$c]; $ConfMount[$Confcount] = $PotMount[$c]; } } if (defined($Confcount)&&($Confcount > 0)) { print "\nGot jazip device from /proc/scsi/scsi and mount point from /etc/fstab\n"; &jazip_write_conf; } else { print "\nCould not get all required jazip info automatically (the device from /proc/scsi/scsi and the mount point from /etc/fstab). Please run /usr/sbin/jazipconfig to configure jazip interactively "; } exit 0; } } &initializeConf; &listPotentialConf; while ($reply eq "") { print "\nAvailable commands:\n"; if ($Confcount != 0) { print " (d)elete an entry from /etc/jazip.conf\n" } if ($Potcount != 0) { print " (a)dd an entry listed from detected devices.\n"; } print " (c)reate an entry from scratch. (q)uit without saving. (e)xit and save changes. ? "; $reply=; chop($reply); if (! ((($Confcount != 0)&&($reply eq "d"))|| (($Potcount != 0)&&($reply eq "a"))|| ($reply eq "c")||($reply eq "q")||($reply eq "e"))) { $reply = ""; } if ($reply eq "q") { exit 0; } elsif ($reply eq "e") { # check all mount points, prompt to create if they don't exist. foreach ($c = 1; $c <= $Confcount; $c++) { if (! -d $ConfMount[$c]) { $reply = &yninput("\nMount point $ConfMount[$c] does not exist. Create it","y"); if ($reply = "y") { mkdir("$ConfMount[$c]", 755) or die "can't write directory $ConfMount[$c].\nQuiting.\n"; system("chown root.floppy $ConfMount[$c]"); system("chmod 1771 $ConfMount[$c]"); } } } # Write new /etc/jazip.conf file &jazip_write_conf; exit 0; } elsif ($reply eq "c") { print "\nNote: Do not specify partition number in device. What device do you want to add? (e.g. /dev/sda) "; $device=; chop($device); if (! -b $device) { print "There is no such device. Please try again.\n"; } else { $Confcount++; $ConfDevice[$Confcount] = $device; $mount = jazip_list_etc_fstab($device); if ($mount != 0) { $reply = &yninput("$device has mount point $mount in /etc/fstab. Use it", "y"); if ($reply eq "n") { $mount = "" } } $mount = ""; while ($mount eq "") { print "\nWhat mount point? (e.g. /zip) "; $mount=; chop($mount); } $ConfMount[$Confcount] = $mount; } $reply = ""; } elsif ($reply eq "a") { if ($Potcount == 1) { $reply = 1; } else { # ask which to enter $reply = ""; while ($reply eq "") { print "\nWhich one do you add to add? (1 to $Potcount) "; $reply=; chop($reply); $reply = "" if (! defined($PotDevice[$reply])); } } $Confcount++; $ConfDevice[$Confcount] = $PotDevice[$reply]; if (defined($PotMount[$reply])&&($PotMount[$reply] ne "")) { $ConfMount[$Confcount] = $PotMount[$reply]; } else { $mount = ""; while ($mount eq "") { print "\nWhat mount point? (e.g. /zip) "; $mount=; chop($mount); } $ConfMount[$Confcount] = $mount; } @ConfList{$PotDevice[$reply]} = $mount; undef($PotDevice); undef($PotMount); $reply = ""; } elsif ($reply eq "d") { # handle which to delete if ($Confcount == 1) { $Confcount = 0; undef($ConfList{$ConfDevice[1]}); undef($ConfMount[1]); undef($ConfDevice[1]); } else { # ask which to delete $reply = ""; while ($reply eq "") { print "\nWhich entry do you add to delete? (1 to $Confcount) "; $reply=; chop($reply); $reply = "" if (! defined($ConfDevice[$reply])); } undef($ConfList{$ConfDevice[$reply]}); foreach ($c = $reply; $c < $Confcount; $c++) { $ConfDevice[$c] = $ConfDevice[$c+1]; $ConfMount[$c] = $ConfMount[$c+1]; } undef($ConfDevice[$Confcount]); undef($ConfMount[$Confcount]); $Confcount--; } $reply = ""; } &listCurrentConf; &listPotentialConf; } sub initializeConf { # Populate @jazipconf associative array from /etc/jazip.conf entries &jazip_list_etc_jazipconf(); $Confcount = 0; # Show list of all devices/mount points already listed in /etc/jazip.conf foreach $device ( keys %jazipconf ) { if ($Confcount == 0) { print "These are entries already in /etc/jazip.conf:\n\n"; } $Confcount++; print " $Confcount: Device $device Mount point $jazipconf{$device}\n"; $ConfDevice[$Confcount] = $device; $ConfMount[$Confcount] = $jazipconf{$device}; $ConfList{$device} = $jazipconf{$device}; } if ($Confcount == 0) { print "There are currently no entries in /etc/jazip.conf.\n"; } } sub listCurrentConf { # Show list of all devices/mount points gathered so far. print "--------------------------------------------\n"; if ($Confcount == 0) { print "There are currently no entries selected for /etc/jazip.conf.\n"; } else { print "These are the entries currently selected for /etc/jazip.conf:\n\n"; for ($c = 1; $c <= $Confcount; $c++) { print " $c: Device $ConfDevice[$c] Mount point $ConfMount[$c]\n"; } } } sub listPotentialConf { undef(@zip); undef(@jaz); undef(@PotDevice); undef($PotMount); $Potcount = 0; # See if any other devices in /proc/scsi/scsi # - First get all detected devices from /proc/scsi/scsi &jazip_list_proc_scsi(@zip, @jaz); # &jazip_add_atapi(@zip); # - Then look at all Zip devices... my ($add) = 0; if (! @zip) { print "\nThere are no Zip devices detected on the system.\n"; } else { while ($#zip >= 0) { my $entry = shift(@zip); # See if not already listed if (! defined($ConfList{$entry})) { if ($add == 0) { print "\nZip devices detected on the system:\n\n"; } $add++; # See if in /etc/fstab $Potcount++; print " $Potcount: Device $entry"; $PotDevice[$Potcount] = $entry; $mount = jazip_list_etc_fstab($entry); if ($mount) { print " Mount point $mount\n"; $PotMount[$Potcount] = $mount; } else { print "\n"; } } } if ($add == 0) { print "\nThere are no other Zip devices detected on the system.\n"; } } # - Then look at all Jaz devices... $add = 0; if (! @jaz) { print "\nThere are no Jaz devices detected on the system.\n"; } else { while ($#jaz >= 0) { my $entry = shift(@jaz); # See if not already listed if (! defined($ConfList{$entry})) { if ($add == 0) { print "\nJaz devices detected on the system:\n\n"; } $add++; # See if in /etc/fstab $Potcount++; print " $Potcount: Device $entry"; $PotDevice[$Potcount] = $entry; $mount = jazip_list_etc_fstab($entry); if ($mount) { print " Mount point $mount\n"; $PotMount[$Potcount] = $mount; } else { print "\n"; } } } if ($add == 0) { print "\nThere are no other Jaz devices detected on the system.\n"; } } } sub jazip_list_etc_fstab { my $entry = shift(@_); # this should only be used to hunt for mount points to /proc/scsi # devices not yet listed in /etc/jazipconf, or for devices input by # user. open(CONF, ") { if ($entry =~ /.+[0-9]$/) { if (/^[ \t]*$entry[ \t]+([^ \t]+)/) { return($1); } } else { if (/^[ \t]*$entry[0-9]+[ \t]+([^ \t]+)/) { return($1); } } } return; } sub jazip_list_etc_jazipconf { open(CONF, ") { # Parse strings like: # /dev/sda /zip if (/(\/dev\/[^ \t]+)[ \t]+([^ \t]+)/) { @jazipconf{$1} = $2; } } } sub jazip_add_atapi { if (&jazip_add_atapi_from("dmesg |")) { if (&jazip_add_atapi_from("< /var/log/messages")) { &jazip_add_atapi_from("< /var/log/messages.0"); } } } sub jazip_add_atapi_from { my $file = shift @_; open (LOG, $file); my $counter = 1; my $c = 0; my $returnCode = 1; while () { $data[$counter] = $_; $counter ++; } for ($c = $counter; $c >= 1; $c--) { if ($data[$c] =~ /(...): IOMEGA ZIP .* ATAPI/) { $zip[$#zip + 1] = "/dev/$1"; $returnCode = 0; } if ($data[$c] =~ /.*Linux version /) { $c = 0; } } return($returnCode); } sub jazip_list_proc_scsi { my @devices = ("", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"); my $zipcount = 0; my $jazcount = 0; my $count = 0; open(PROC, ") { # Parse strings like: # Host: scsi0 Channel: 00 Id: 06 Lun: 00 # Vendor: IOMEGA Model: ZIP 100 Rev: D.09 # Type: Direct-Access ANSI SCSI revision: 02 $count++ if (/^Host:/); if (/Vendor: IOMEGA Model: ZIP/i) { $zip[$zipcount] = "/dev/sd$devices[$count]"; $zipcount++; } if (/Vendor: IOMEGA Model: JAZ/i) { $jaz[$jazcount] = "/dev/sd$devices[$count]"; $jazcount++; } $count-- if (/^ +Type/ && !/Direct-Access/ && !/Optical Device/); } # print "Got $zipcount\n"; # for ($i = 0; $i < $zipcount; $i++) { # print " $zip[$i]\n"; # } } sub jazip_write_conf { if ($Confcount == 0) { print "No configured devides to write to /etc/jazip.conf. Exiting.\n"; } else { if (-f "/etc/jazip.conf") { print "\nRenaming /etc/jazip.conf to /etc/jazip.conf-previous and creating new /etc/jazip.conf.\n"; rename("/etc/jazip.conf", "/etc/jazip.conf-previous") or die "Can't rename /etc/jazip.conf to /etc/jazip.conf-previous Quiting.\n"; } else { print "Creating /etc/jazip.conf\n"; } open(CONF, ">/etc/jazip.conf") or die "Cant create /etc/jazip.conf.\nQuiting.\n"; print CONF "# Configuration file for jaZip # # Raw Device Mount Point Read but ignored "; foreach ($c = 1; $c <= $Confcount; $c++) { print CONF " $ConfDevice[$c] $ConfMount[$c] auto auto 0 0\n"; } close(CONF); } } sub input { my($message)=$_[0]; my($defanswer)=$_[1]; my($reply); printf "%-45s [%-15s]: ",$message,$defanswer; $reply=; chop($reply); if ($reply eq "") { $reply=$defanswer; } return $reply; } sub yninput { my($message)=$_[0]; my($defanswer)=$_[1]; my($reply); while ($reply eq "") { printf "%s? (y/n) [%s]: ",$message,$defanswer; $reply=; chop($reply); if ($reply eq "") { $reply=$defanswer; } if (($reply ne "y")&&($reply ne "n")) { $reply = "" } } return $reply; } debian/source/0000755000000000000000000000000011377602765010504 5ustar debian/source/format0000644000000000000000000000001411377602765011712 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211377602534010374 0ustar 7 debian/jazip.config0000644000000000000000000000023611377602534011503 0ustar #!/bin/sh -e action=$1 version=$2 # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 db_input high jazip/setup || true db_go exit 0 debian/jazip.conf.50000644000000000000000000000323611377602534011331 0ustar .TH JAZIP.CONF 5 .SH NAME jazip.conf \- jazip(1) configuration file. .SH "DESCRIPTION" The .BR /etc/jazip.conf file lists the Jaz and Zip devices that users are allowed to mount and unmount using jazip, along with the mount points used by jazip for each device. If you have more than one drive on your system, you can create a separate entry in the configuration file for each one, and then specify the raw device name of the drive you want to use on the command line when you invoke jazip. If no device name is given on the command line, jazip will use the settings in the .I first entry of /etc/jazip.conf by default. .SH FILE FORMAT The format of the jazip.conf file should be mostly self-explanatory. Each line looks like: .B /dev/sda /zip auto auto 0 0 The first entry is the raw SCSI device name of your drive (e.g. .I /dev/sda .B without a partition number ). The second entry is the mount point you wish to use (e.g. .I /zip ). The additional entries: .B auto auto 0 0 are required but are not user-changeable. They are required because jazip uses standard system call to do mounting and they expect this format. The type of filesystem (e.g. .I vfat or .I ext2 ) will be automatically detected by jazip and is not listed in /etc/jazip.conf. .SH CONFIGURATION SCRIPT See the .IR jazipconfig (8) man page for specifics on the .B jazipconfig command that you can use to create /etc/jazip. .SH "SEE ALSO" .IR jazip (1), .IR jazipconfig (8) .SH AUTHOR jazip Copyright (c) 1996 Jarrod A. Smith This manual page by Peter S Galbraith for the Debian GNU/Linux system (but may be used by others). debian/postrm0000644000000000000000000000046611377602534010453 0ustar #!/bin/sh -e case "$1" in remove) ;; purge) rm -f /etc/jazip.conf ;; upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) exit 0 ;; *) echo "ERROR: jazip postrm called with unknown argument \"$1\"." echo "Aborting removal of jazip package." exit 1 ;; esac #DEBHELPER# debian/dirs0000644000000000000000000000005111377602534010056 0ustar usr/bin usr/sbin usr/share/jazip/pixmaps debian/control0000644000000000000000000000174511455053557010612 0ustar Source: jazip Section: utils Priority: extra Maintainer: Peter S Galbraith Build-Depends: debhelper (>= 7), libforms-dev Standards-Version: 3.9.1 Package: jazip Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, debconf | debconf-2.0 Description: Mount and unmount Iomega Zip and/or Jaz drives It combines Grant Guenther's original command line utility, ziptool, with Jaz drive support, a nice X interface and additional utilities to allow users to easily mount and unmount disks formatted in either ext2 or fat. . It supports the Iomega Zip drive with USB, parallel, SCSI or ATAPI interfaces, but ATAPI Zip drives are supported only when using kernel SCSI emulation. I don't know about the Zip-plus version (someone please tell me). The SCSI Jaz drive is supported in both the 1G and 2G capacities. It does not support the much older IDE (non-ATAPI) interface drives, nor Syquest drives. . The package also includes jazipconfig, a configuration tool. debian/changelog0000644000000000000000000002072411672015457011055 0ustar jazip (0.34-15.1) unstable; urgency=low * Non-maintainer upload. * Debconf translations: "[INTL:ja] Japanese translation of the debconf templates". (Closes: #605342) -- Nobuhiro Iwamatsu Wed, 14 Dec 2011 12:41:06 +0900 jazip (0.34-15) unstable; urgency=low * Debconf translations: "[INTL:da] Danish translation of the debconf templates jazip", thanks to Joe Dalton (Closes: #596137). * Standards-Version: 3.9.1 -- Peter S Galbraith Tue, 12 Oct 2010 08:41:41 -0400 jazip (0.34-14) unstable; urgency=low * Standards-Version: 3.8.4 * Rebuild for libforms2. * Switch to dpkg-source 3.0 (quilt) format. -- Peter S Galbraith Thu, 27 May 2010 19:55:41 -0400 jazip (0.34-13) unstable; urgency=low * Debconf translations: "[INTL:es] Spanish po-debconf translation", thanks to Noel David Torres Taño (Closes: #525126). * Bug fix: "FTBFS: main.c:13:23: error: X11/forms.h: No such file or directory", thanks to Lucas Nussbaum (Closes: #551249). Adapt to new libforms1 library. * debhelper 7 compatibility. -- Peter S Galbraith Fri, 16 Oct 2009 15:30:39 -0400 jazip (0.34-12) unstable; urgency=low [ Christian Perrier ] * Debconf translations: - Portuguese (Closes: #416777). - Spanish (Closes: #465160). - Finnish (Closes: #481205). - Galician (Closes: #481273). - Basque (Closes: #481329). * [Lintian] Use correct menu section: Applications/System/Administration * [Lintian] Use correct copyright line in debian/copyright * [Lintian] Remove old debmake cruft in README.Debian * [Lintian] Set debhelper compatibility level in debian/compat * [Lintian] Upgrade debhelper compatibility level to 4 * [Lintian] No longer ignore errors from "make clean" [ Peter S Galbraith ] * Standards-Version: 3.7.3 * Big thanks to Christian Perrier for preparing this upload. -- Peter S Galbraith Tue, 27 May 2008 19:27:57 -0400 jazip (0.34-11) unstable; urgency=low * Bug fix: "jazip: FTBFS: build-depends on removed xlibs-dev", thanks to Adeodato Simó for reporting it and to Justin Pryzby for the patch (Closes: #346729). -- Peter S Galbraith Tue, 17 Jan 2006 20:18:45 -0500 jazip (0.34-10) unstable; urgency=low * Added Swedish debconf templates translation, thanks to Daniel Nylander (Closes: #335097). * Moved pixmaps from /usr/X11R6/include/X11/pixmaps to /usr/share/jazip/pixmaps -- Peter S Galbraith Mon, 24 Oct 2005 19:48:56 -0400 jazip (0.34-9) unstable; urgency=low * Added Vietnamese translation (vi.po), thanks to Clytie Siddall (Closes: #312094). * Added Czech translation (cs.po), thanks to Miroslav Kure (Closes: #293779). * Standards-Version: 3.6.2 (without changes) * Depend alternatively on debconf-2.0 -- Peter S Galbraith Tue, 20 Sep 2005 19:14:38 -0400 jazip (0.34-8) unstable; urgency=low * Bug fix: Copy the definition of struct partition from the kernel header instead of including kernel header linux/genhd.h. Thanks to Daniel Schepler (Closes: #225418). * Bug fix: Define getenv properly. Thanks to lamont@debian.org for reporting it. (Closes: #226537) -- Peter S Galbraith Sun, 11 Jan 2004 14:36:05 -0500 jazip (0.34-7) unstable; urgency=low * Bug fix: "dutch po-debconf translation", thanks to Tim Vandermeersch (Closes: #210888). * Standards-Version: 3.6.1 without changes. -- Peter S Galbraith Fri, 10 Oct 2003 08:24:14 -0400 jazip (0.34-6) unstable; urgency=low * mount_z.c: include sys/mount.h and sys/vfs.h instead of linux/fs.h (closes: #200167) * Applied patch from Christian Perrier for the "new" gettext format for debconf templates (closes: #201247) -- Peter S Galbraith Wed, 23 Jul 2003 21:31:38 -0400 jazip (0.34-5) unstable; urgency=low * Standards-Version: 3.5.10 * Correctly check bounds on command line arguments, avoiding crashes and possible exploitation. Patch from Steve Kemp . Thanks! (closes: #194577) * Build-depend on version 3.0.0 of debhelper. -- Peter S Galbraith Mon, 2 Jun 2003 19:29:27 -0400 jazip (0.34-4) unstable; urgency=low * Move to main from contrib! * Standards version 3.5.8. * Small tweaks to rules file for DH_COMPAT=3 -- Peter S Galbraith Tue, 10 Dec 2002 20:53:14 -0500 jazip (0.34-3) unstable; urgency=low * Added Russian debconf template translation (closes: #137660). -- Peter S Galbraith Thu, 21 Mar 2002 14:46:39 -0500 jazip (0.34-2) unstable; urgency=low * Added german debconf template translation (closes: #113369) * Added my own french debconf template translation. * debian/control: added Depends on debconf (oups!) -- Peter S Galbraith Mon, 24 Sep 2001 13:30:15 -0400 jazip (0.34-1) unstable; urgency=high * Permissions on jazip binary were wrong in 0.33-3 and allowed any user access to jazip (and it's devices)! (Version 0.33-3 is only one affected.) * New upstream release to fix important bug. The umount system call was used with a block device as argument, and this is no longer supported in kernel 2.4. The call was simply changed to have the mounted directory as argument. (closes: #106988). * Added debconf support to display the notice at installation rather than using an echo in the postinst script. * debian/rules: implemented DEB_BUILD_OPTIONS support for building with or without debugging info. * debian/control: Changed priority to extra (to match override file). * debian/control: Standards-Version increased from 3.1.1 to 3.5.6. -- Peter S Galbraith Fri, 21 Sep 2001 11:08:28 -0400 jazip (0.33-3) unstable; urgency=low * main.c: add check for undefined DISPLAY variable to prevent a seg fault (closes: #96852). * Remove suidregister and chown/chmod calls from postinst and set them in the package itself (to comply with new policy). * Use proper debhelper templates in postinst and postrm scripts. -- Peter S Galbraith Wed, 9 May 2001 15:49:41 -0400 jazip (0.33-2) unstable; urgency=high * mount_z.c: Changed order of #include statement such that it may build on woody. We were getting glibc's string headers, which define strcpy etc., before linux/string.h. Thanks to Daniel Jacobowitz ! * mount_z.c: Removed `#include ` from Debian diff. * changed Build-Depends from xlib6g-dev to xlibs-dev for XF4.X -- Peter S Galbraith Sun, 25 Mar 2001 14:06:20 -0500 jazip (0.33-1) stable; urgency=high * Close root exploit that can give root shell to members of floppy group. First, the interface doesn't run as root anymore. Upstream did this by partitioning off all the parts of the code that need root access between 'seteuid(0)' and 'seteuid(getuid())' calls. So now, even though the binary is suid root, the program runs as the normal user except at very specific times (when the device is being opened, mounted, etc.). This had the effect of removing the root exploit, but not the buffer overflow. As you might expect, the exploit still caused the prog to crash and run the shell, but the shell didn't run as root anymore. Second, upstream added a few lines at the beginning of main.c which does a sanity check on the DISPLAY environment. Basically it truncates it to 256 chars if it's bigger than that. This "fixed" the buffer overflow problem. (closes: #82586) -- Peter S Galbraith Sun, 21 Jan 2001 23:02:21 -0500 jazip (0.32-2) frozen unstable; urgency=low * Tweak regexp in /usr/sbin/jazipconfig to match Jaz 2GB devices. Otherwise, the jazip configuration tool doesn't detect Jaz 2GB devices. * Added build-depends: There is no potato powerpc build of jazip because its autobuilder doesn't know it needs non-free XForms installed. -- Peter S Galbraith Thu, 6 Apr 2000 11:02:38 -0400 jazip (0.32-1) unstable; urgency=low * New upstream version. * Update to policy 3.0.1 (/usr/share/) -- Peter S Galbraith Wed, 29 Sep 1999 18:49:26 -0400 jazip (0.31-1) unstable; urgency=low * Initial Release. * Created jazipconfig configuration script. * Created man pages: jazip.1, jazip.conf.5, jazipconfig.8 -- Peter S Galbraith Fri, 13 Nov 1998 09:22:59 -0500 debian/postinst0000644000000000000000000000240111377602534011001 0ustar #!/bin/sh # # postinst script for the jazip package set -e case "$1" in configure) # De-installation in prerm is created by dh_installdocs # if [ -d /usr/doc -a ! -e /usr/doc/jazip -a -d /usr/share/doc/jazip ]; then # ln -sf ../share/doc/jazip /usr/doc/jazip # fi # if ! grep -q \^jazip: /etc/group; then # adduser --group jazip # fi # This block commented-out at version 0.33-3 # if [ -x /usr/sbin/suidregister ]; then # suidregister -s jazip /usr/bin/jazip root floppy 4754 # else # chown root.floppy /usr/bin/jazip # chmod 4754 /usr/bin/jazip # fi # if [ -x /usr/bin/update-menus ] ; then update-menus ; fi if [ ! -f /etc/jazip.conf ]; then jazipconfig --non-interactive . /usr/share/debconf/confmodule # echo "*** Important notice for package jazip ***" # echo "Users must be added to the 'floppy' group to allow access" # echo "to the jazip program." # echo "See /usr/doc/jazip/README.Debian and adduser(1)." fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 ;; esac #DEBHELPER# debian/jazipconfig.80000644000000000000000000000313111377602534011570 0ustar .TH JAZIPCONFIG 8 .SH NAME jazipconfig \- jazip(1) configuration tool. .SH SYNOPSIS .B jazipconfig .I [--non-interactive] .SH "DESCRIPTION" The .BR jazipconfig script is a tool to easily build the .B /etc/jazip.conf file for the configuration of .IR jazip (1) .PP .SH OPTIONS The optional .I --non-interactive command line parameter instructs .B jazipconfig to do what it can to build a /etc/jazip.conf file without prompting the user. On Debian systems, the command is invoked this way by the jazip package post-installation script. In this non-interactive mode, the script looks through .B /proc/scsi/scsi for detected .I Zip or .I Jaz devices. If it find any, it looks up .B /etc/fstab to see if it can find already specified mount points for them. If (and only if) it finds mount points, it writes the device and mount point to .B /etc/jazip.conf .SH INTERACTIVE USE If no command line options are provided, .BR jazipconfig runs interactively. In this case, it also looks through .B /proc/scsi/scsi for detected .I Zip or .I Jaz devices. If it find any, it looks up .B /etc/fstab to see if it can find already specified mount points for them. Then it creates a user menu which you can use to create the .B /etc/jazip.conf file. .SH NOTES The first entry listed in .B /etc/jazip.conf is the .I default device used when .BR jazip is called without an argument. .SH "SEE ALSO" .IR jazip (1), .IR jazip.conf (5) .SH AUTHOR Copyright (c) 1999 Peter S Galbraith This manual page by Peter S Galbraith for the Debian GNU/Linux system (but may be used by others). debian/rules0000755000000000000000000000502011377602534010253 0ustar #!/usr/bin/make -f ############################ -*- Mode: Makefile -*- ########################### # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 package=jazip prefix=usr/share/doc/${package} iconsprefix=${prefix}/icons sampleprefix=${prefix}/sample-config CFLAGS = -O2 -Wall ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g endif # `nostrip' handled by dh_strip... build: dh_testdir make shared CFLAGS="$(CFLAGS)" touch build clean: dh_testdir -rm -f build [ ! -f Makefile ] || make clean dh_clean binary-indep: # There are no architecture-independent files generated by this package. binary-arch: build dh_testdir dh_testroot -rm -rf debian/jazip install -d debian/jazip dh_installdirs install -m 4754 -g floppy jazip debian/jazip/usr/bin install -m 755 debian/jazipconfig debian/jazip/usr/sbin install -m 644 docs/*.help debian/jazip/usr/share/jazip install -d debian/jazip/${iconsprefix} install -d debian/jazip/${sampleprefix} install -m 644 icons/* debian/jazip/${iconsprefix} install -m 644 jazip.conf debian/jazip/${sampleprefix} (cd debian/jazip/${iconsprefix}; mv iomega* jazdisk* jazdrive* jazicon.xpm jazip*.xpm zipdisk* zipdrive* zipicon* ../../../jazip/pixmaps) (cd debian/jazip/${iconsprefix}; ln -s ../../../jazip/pixmaps/iomega.16x16.xpm) (cd debian/jazip/${iconsprefix}; ln -s ../../../jazip/pixmaps/iomega.32x32.xpm) (cd debian/jazip/${iconsprefix}; ln -s ../../../jazip/pixmaps/jazdisk.32x32.xpm) (cd debian/jazip/${iconsprefix}; ln -s ../../../jazip/pixmaps/jazdisk.48x48.xpm) (cd debian/jazip/${iconsprefix}; ln -s ../../../jazip/pixmaps/jazdrive.32x32.xpm) (cd debian/jazip/${iconsprefix}; ln -s ../../../jazip/pixmaps/jazicon.xpm) (cd debian/jazip/${iconsprefix}; ln -s ../../../jazip/pixmaps/jazip1.xpm) (cd debian/jazip/${iconsprefix}; ln -s ../../../jazip/pixmaps/jazip2.xpm) (cd debian/jazip/${iconsprefix}; ln -s ../../../jazip/pixmaps/zipdisk.32x32.xpm) (cd debian/jazip/${iconsprefix}; ln -s ../../../jazip/pixmaps/zipdisk.48x48.xpm) (cd debian/jazip/${iconsprefix}; ln -s ../../../jazip/pixmaps/zipdrive.32x32.xpm) (cd debian/jazip/${iconsprefix}; ln -s ../../../jazip/pixmaps/zipicon.xpm) dh_installdebconf dh_installdocs README dh_installchangelogs dh_installmenu dh_installman debian/jazip.1 debian/jazip.conf.5 debian/jazipconfig.8 dh_strip dh_compress dh_fixperms -Xusr/bin/jazip dh_shlibdeps dh_gencontrol --dpkg-gencontrol-params=-isp dh_installdeb dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: binary binary-arch binary-indep clean debian/README.debian0000644000000000000000000000511711377602534011303 0ustar jazip for DEBIAN ---------------- jaZip supports the Iomega Zip drive with parallel, SCSI or ATAPI (see below) interfaces. I don't know about the Zip-plus version (someone please tell me!). If you have an ATAPI drive, and you've compiled in IDE->SCSI translation (also known as SCSI emulation or CONFIG_BLK_DEV_IDESCSI), then jaZip works. The SCSI Jaz drive is supported in both the 1G and 2G capacities. It does not support the much older IDE (non-ATAPI) interface drives. It does not support Syquest drives. jazip is suid-root and sgid-floppy. Once this package is installed, all users who are in group `floppy' will be able to mount and umount Zip and Jaz disks (Disks are mounted with the nosuid flag to increase security). See more about this below. I have created a configuration script called jazipconfig which is run non-interactively during package installation. It should create a working /etc/jazip.conf file if the Zip or Jaz device is connected to the SCSI bus (or emulation SCSI) and if it is listed in /etc/fstab. If not, please run jazipconfig again (in its default interactive mode) to create the /etc/jazip.conf file, which is required to run jazip. jazip comes bundled with some icons which can be used for customized window manager setups. I have included those that looked useful for that purpose in /usr/X11R6/include/X11/pixmaps/ and have left the others in /usr/share/doc/jazip/icons/ Known bug: jazip will display an error message if there is no disk in the drive. However, the X interface does not appear, and this error message will therefore be lost if jazip is invoked from a window manager menu or button. JaZip needs a flag such that this error message appears in an X pop-up window. Why is jazip suid-root? jazip uses SCSI_IOCTL_SEND_COMMAND ioctl to send commands out to the SCSI host. The kernel requires root privileges in order to do this (see /usr/src/linux/drivers/scsi/scsi_ioctl.c). jaZip was designed with suid in mind. Jarrod Smith has basically completely re-implemented the mount() command within jaZip. The first thing jaZip does when it starts is read the hardware vendor string to make sure that the device it's operating on is an Iomega drive (so that someone couldn't try to use jaZip to mount some other device on the system without root). How can I control users access to jazip? Then only members of group floppy can access the suid-root jazip binary. To add user `joe' to the floppy group, do the following as root: # adduser joe floppy Peter S Galbraith , Fri, 13 Nov 1998 09:22:59 -0500 debian/jazip.templates0000644000000000000000000000132411377602534012233 0ustar Template: jazip/setup Type: note _Description: Notice for jazip packages users This message is displayed because the configuration file /etc/jazip.conf was not on your system prior to package installation. . The script `/usr/sbin/jazipconfig --non-interactive` was run in an attempt to create a working /etc/jazip.conf configuration file. If this was unsuccessful, run /usr/sbin/jazipconfig again as root without the --non-interactive switch, or consult jazip.conf(5) to create it yourself. . Users must be added to the 'floppy' group to allow access to the jazip program and the devices it manages. For example, to add user 'joe': . # adduser joe floppy . See /usr/share/doc/jazip/README.Debian for details. debian/menu0000644000000000000000000000025311377602534010065 0ustar ?package(jazip):needs="X11" \ icon="/usr/share/jazip/pixmaps/iomega.16x16.xpm"\ section="Applications/System/Administration"\ title="jazip" command="/usr/bin/jazip" debian/jazip.10000644000000000000000000001240111377602534010373 0ustar .TH JAZIP 1 .SH NAME jazip \- X tool to easily mount and unmount Iomega Zip and/or Jaz drives. .SH SYNOPSIS .B jazip .I [SCSI device] [-display host:dpy] [-visual visual] [-depth depth] [-private] .SH "DESCRIPTION" .BR jazip is a program for maintaing your Iomega Zip and/or Jaz drive(s) and disks under Linux. This program combines Grant Guenther's original command line utility, ziptool, with Jaz drive support, a nice X interface and additional utilities to allow users to easily mount and unmount disks. The interface is based on version 0.88 of the XForms library. .PP .SH OPTIONS The optional .I SCSI device command line parameter specifies the raw scsi device name of one of the drives with an entry in .B /etc/jazip.conf. If no .I SCSI device is specified on the command line, jazip will use the .B first entry of /etc/jazip.conf by default. This allows you to add a different line in the configuration file for each drive you own, and then invoke jazip with the name of the device for the drive you want jazip to use. .I Note that the .B SCSI device .I argument does not contain a partition number. jazip auto-detects partitions and mounts the first one it encounters. jazip is built with the XForms Graphical User Interface Toolkit for X, and hence supports a number of flags which are interpreted by XForms: .TP .B \-display host:dpy defines the X display. .TP .B \-visual class TrueColor, PseudoColor etc... .TP .B \-depth d visual depth in bits .TP .B \-private forces a private colormap. .TP .B \-shared forces a shared colormap. .TP .B \-stdcmap forces a standard colormap. .SH FEATURES .SS Mounting/Unmounting of Disks: The program allows non-root users to securely mount/unmount disks. Disks are mounted with the nosuid flag to increase security. The type of disk should be detected automagically by reading its partition table. Only the first disk partition encountered will be mounted by jaZip. .SS Write Protection/De-Write Protection: The program allows non-root users to control the disk's software write protection feature. Password protection is not currently supported. .SS Ejection of Media: Any questions? .SS Disk Information: Keeps you informed about the current disk's protection and mount status. .SS Other information: Once the program is running, see the online help (under the help menu) for further information and instructions. .SH USER ACCESS TO JAZIP On Debian systems, jazip is installed suid to root, and sgid to floppy. Access to jazip is limited to users in the floppy group. To add user .I joe to group .I floppy , run the following command as root .B # adduser joe floppy .SS What about non-Debian systems? You may change permission and group ownership of the jazip executable like so: .B # chown root:floppy /usr/bin/jazip .B # chmod 4754 /usr/bin/jazip to yield .B # ls -l /usr/bin/jazip .I -rwsr-xr-- 1 root jazip 147340 May 18 15:04 /usr/bin/jazip .SH OWNERSHIP AND PERMISSIONS OF MOUNT POINTS This is what is suggested .B # chmod 1771 /zip to yield .I drwxrwx--t 3 root floppy 1024 May 21 10:58 /zip Only members of the floppy group can read it, all floppy group members can write to it at any time, but can't overwrite other user's files. This only matters for ext2 formatted disks because jazip's mount changes ownwership of the mount for vfat formatted disks: whoever uses jazip to mount the disk owns the files. No other user can write to the disk. .SH KNOWN LIMITATIONS .SS Starting the program: There needs to be a disk in the drive in order to start the program. If you start jazip from a window manager menu without a disk in the drive, .I it will fail silently because you will never see the text error message. .SS Partitioning your disks: Since Zip and Jaz are removable media technologies, it is assumed that each disk will contain just one partition. This is less likely to be desireable if you are a Jaz user with 1G or 2G disks. In order to easily support autodetection of disk types, I don't see a way around this restriction. .SS Unmounting disks to access some features: Currently, to use the lock and unlock features, the disk must be unmounted. .SH CONFIGURATION FILE jazip uses the file .B /etc/jazip.conf to map the raw SCSI device name of the drive you wish to use onto its mount point. If you have more than one drive on your system, you can create a separate entry in the configuration file for each one, and then specify the raw device name of the drive you want to use on the command line when you invoke jazip. If no device name is given on the command line, jazip will use the settings in the .I first entry of /etc/jazip.conf by default. The format of the jazip.conf file should be mostly self-explanatory. The first entry of the configuration file is the raw SCSI device name of your drive (e.g. /dev/sda). The second entry is the mount point you wish to use (e.g. /zip). The additional entries are required, but are not user-changeable. See the .IR jazipconfig (8) man page for specifics. .B See the .I jazipconfig .B command to create the /etc/jazip.conf configuration file. .SH "SEE ALSO" .IR jazip.conf (5), .IR jazipconfig (8) .SH AUTHOR jazip Copyright (c) 1996 Jarrod A. Smith This manual page by Peter S Galbraith for the Debian GNU/Linux system (but may be used by others). debian/patches/0000755000000000000000000000000011400027350010605 5ustar debian/patches/series0000644000000000000000000000002711400027350012021 0ustar all_patches_to_0.34-14 debian/patches/all_patches_to_0.34-140000644000000000000000000001021111400027413014372 0ustar Description: jazip patches up to 0.34-14 This patch includes all patches to jazip, abandonned upstream, since the last official version. It contains the following fixes: * Correctly check bounds on command line arguments, avoiding crashes and possible exploitation. Patch from Steve Kemp . Thanks! (closes: #194577) * mount_z.c: include sys/mount.h and sys/vfs.h instead of linux/fs.h (closes: #200167) * Bug fix: Copy the definition of struct partition from the kernel header instead of including kernel header linux/genhd.h. Thanks to Daniel Schepler (Closes: #225418). * Bug fix: Define getenv properly. Thanks to lamont@debian.org for reporting it. (Closes: #226537) * Bug fix: "FTBFS: main.c:13:23: error: X11/forms.h: No such file or directory", thanks to Lucas Nussbaum (Closes: #551249). Adapt to new libforms1 library. --- jazip-0.34.orig/jazip.conf +++ jazip-0.34/jazip.conf @@ -1,4 +1,4 @@ -# Configuration file for jaZip +# /etc/jazip.conf - Configuration file for jaZip # # Raw Device Mount Point Read but ignored /dev/sda /zip auto auto 0 0 --- jazip-0.34.orig/main.c +++ jazip-0.34/main.c @@ -11,8 +11,10 @@ */ #include -#include +#include #include +#include /* Define getenv properly. Thanks to lamont@debian.org + for reporting it. -Peter S Galbraith */ #include "pixmaps.h" #include "jazip.h" @@ -37,11 +39,10 @@ int main(int argc, char *argv[]) /* Attempt to dodge possible buffer overflow in xforms */ display = getenv("DISPLAY"); - if (strlen(display) > 256){ + if ((display != NULL)&&(strlen(display) > 256)){ display[256] = '\0'; setenv("DISPLAY", display,1); } - fl_initialize (&argc, argv, 0, 0, 0); fl_set_goodies_font(FL_NORMAL_STYLE, FL_NORMAL_SIZE); fd_jazip = create_form_jazip(); @@ -54,7 +55,9 @@ int main(int argc, char *argv[]) } if (argv[1] && (strncmp (argv[1], "-", 1))) { - strcpy (dev, argv[1]); + /* Use strncpy instead of strcpy, avoiding crash and exploit + vulnarability. Steve Kemp */ + strncpy (dev, argv[1], sizeof(dev)-1); while( mp = getmntent (jazipconf) ){ if( !strcmp( mp->mnt_fsname, dev ) ) { found = 1; @@ -69,7 +72,9 @@ int main(int argc, char *argv[]) } } else { mp = getmntent (jazipconf); - strcpy (dev, mp->mnt_fsname); + /* Use strncpy instead of strcpy, avoiding crash and exploit + vulnarability. Steve Kemp */ + strncpy (dev, mp->mnt_fsname,sizeof(dev)-1); endmntent (jazipconf); } --- jazip-0.34.orig/mount_z.c +++ jazip-0.34/mount_z.c @@ -11,16 +11,34 @@ */ #include +/* Use sys/mount.h instead of now deprecated method of using kernel header + linux/fs.h - Matthew Wilcox */ +#include +#include #include #include #include #include -#include -#include #include #include #include "jazip.h" +/* Copy the definition of struct partition from the kernel header instead + of including kernel header linux/genhd.h + Daniel Schepler */ +struct partition { + unsigned char boot_ind; + unsigned char head; + unsigned char sector; + unsigned char cyl; + unsigned char sys_ind; + unsigned char end_head; + unsigned char end_sector; + unsigned char end_cyl; + unsigned int start_sect; + unsigned int nr_sects; +} __attribute__((packed)); + #define MAXIMUM_PARTS 60 #define SECTOR_SIZE 512 #define offset(b, n) ((struct partition *)((b) + 0x1be + \ --- jazip-0.34.orig/jazip.h +++ jazip-0.34/jazip.h @@ -19,7 +19,7 @@ #define IOMEGA_FSTAB "/etc/jazip.conf" #define LOCK_FILE "/etc/mtab~" -#define DOCDIR "/usr/doc/jaZip-0.34" /* this should match the makefile */ +#define DOCDIR "/usr/share/jazip" /* this should match the makefile */ /* define a few things to help with deciphering menu selections */ #define FILE_EXIT 1