--- gnats-4.1.0.orig/debian/control +++ gnats-4.1.0/debian/control @@ -0,0 +1,52 @@ +Source: gnats +Section: devel +Priority: extra +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Chad Walstrom +Build-Depends: debhelper (>= 4.1.16), cdbs(>= 0.4.21), m4, texinfo, bison-1.35, flex +Standards-Version: 3.6.1 + +Package: gnats-user +Architecture: any +Depends: exim4 | mail-transport-agent, debianutils (>= 1.6), ${misc:Depends}, ${shlibs:Depends}, adduser +Suggests: gnatsweb +Description: The GNU problem report management system (client tools) + GNATS is a bug-tracking tool designed for use at a central "Support + Site". Users who experience problems use electronic mail to + communicate these problems to "maintainers" at that Support Site. + . + GNATS offers many of the same features offered by more generalized + databases, including editing, querying, and basic reporting. You can + access the submitting, editing, and querying functions of GNATS + through provided utilities or from within GNU Emacs. + . + The "gnats-user" package has just the user tools for client machines. + For the full installation and the central database server use the + "gnats" package. + . + If you prefer not to use either an nfs-mounted database or the client/server + model, it is possible to make a distribution that works entirely over e-mail. + For more information, see gnats-info and type 'g' (for goto) followed by + 'mkdist'. This package is not necessary for email-only setups. + . + Homepage: http://www.gnu.org/software/gnats + +Package: gnats +Architecture: any +Depends: gnats-user (>=4.0-4), exim4 | mail-transport-agent, debianutils (>= 1.6), ${misc:Depends}, ${shlibs:Depends}, adduser, netbase, update-inetd +Suggests: gnatsweb +Description: The GNU problem report management system (central database) + GNATS is a bug-tracking tool designed for use at a central "Support + Site". Users who experience problems use electronic mail to + communicate these problems to "maintainers" at that Support Site. + . + GNATS offers many of the same features offered by more generalized + databases, including editing, querying, and basic reporting. You can + access the submitting, editing, and querying functions of GNATS + through provided utilities or from within GNU Emacs. + . + The "gnats" package has the full installation for the central database + server. For client systems, use the "gnats-user" package which has just + the user tools. + . + Homepage: http://www.gnu.org/software/gnats --- gnats-4.1.0.orig/debian/gnats.docs +++ gnats-4.1.0/debian/gnats.docs @@ -0,0 +1,2 @@ +doc/gnats +doc/gnats-faq --- gnats-4.1.0.orig/debian/po/vi.po +++ gnats-4.1.0/debian/po/vi.po @@ -0,0 +1,178 @@ +# Vietnamese Translation for gnats. +# Copyright © 2006 Free Software Foundation, Inc. +# Clytie Siddall , 2005-2006. +# +msgid "" +"" +msgstr "Project-Id-Version: gnats 4.1.0-0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-11-01 20:11+0100\n" +"PO-Revision-Date: 2006-11-09 23:00+1030\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "What is the name of the GNATS site?" +msgstr "Vad är namnet på GNATS-systemet?" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "This name should be a single word, it is used as a part of the e-mail alias for delivering problem reports." +msgstr "Det här namnet ska vara ett enstaka ord, det används som en del av det e-postalias som används för att levereras problemrapporter." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "Database moved to ${GNATSDBDIR}." +msgstr "Databasen flyttad till ${GNATSDBDIR}." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "A previous package version put the GNATS database under ${BADDIR}. It has now been moved to the right location." +msgstr "En tidigare paketversion placerade GNATS-databasen under ${BADDIR}. Den har nu flyttats till den korrekta platsen." + +#. Type: note +#. Description +#: ../templates:3001 +msgid "You must move the database to ${GNATSDBDIR}." +msgstr "Du måste flytta databasen till ${GNATSDBDIR}." + +#. Type: note +#. Description +#: ../templates:3001 +msgid "A previous package version put the GNATS database under ${BADDIR}. I could not move it to the right location, so you have to do so manually." +msgstr "En tidigare paketversion placerade GNATS-databasen under ${BADDIR}. Jag kunde inte flytta den till den korrekta platsen, så du måste göra det här manuellt." + +#. Type: note +#. Description +#. Type: note +#. Description +#: ../templates:4001 +#: ../templates:5001 +msgid "You should enable scripts in the Exim configuration." +msgstr "Du bör aktivera skript i Exim-konfigurationen." + +#. Type: note +#. Description +#: ../templates:4001 +msgid "It seems you have installed Exim, with script handling disabled in its configuration. If this is so, GNATS will not be able to receive bug reports via e-mail. I would suggest you to uncomment one of the lines" +msgstr "Det verkar som du har Exim installerat, med skripthantering inaktiverat i dess konfiguration. Om det stämmer, kommer GNATS inte att kunna ta emot felrapporter via e-post. Jag föreslår att du avkommenterar en av raderna " + +#. Type: note +#. Description +#: ../templates:4001 +msgid "in your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "i din fil ${EXIMCONF}, i sektionen \"system_aliases\"." + +#. Type: note +#. Description +#: ../templates:5001 +msgid "It seems you have installed Exim, with no script handling enabled in its configuration. If this is so, GNATS will not be able to receive bug reports via e-mail. I would suggest you to add the line" +msgstr "Det verkar som du har installerat Exim, utan skripthantering aktiverat i dess konfiguration. Om detta stämmer, kommer GNATS inte att kunna ta emot felrapporter via e-mail. Jag föreslår att du lägger till raden" + +#. Type: note +#. Description +#: ../templates:5001 +msgid "to your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "till din fil ${EXIMCONF}, i sektionen \"system_aliases\"." + +#. Type: note +#. Description +#: ../templates:6001 +msgid "You should set up qmail aliases for GNATS." +msgstr "Du bör konfigurera qmail-alias för GNATS." + +#. Type: note +#. Description +#: ../templates:6001 +msgid "It seems you use qmail as your mail transfer program. It is recommended to add the following lines into your qmail users/assign file:" +msgstr "Det verkar som om du använder qmail som ditt posttransporteringsprogram. Det rekommenderas att du lägger till följande rader i din qmail-fil, users/assign:" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "You should set up GNATS mail aliases." +msgstr "Du bör konfigurera GNATS e-postalias." + +#. Type: note +#. Description +#: ../templates:7001 +msgid "GNATS can be set to receive bug reports and database queries through mail. However, it seems you are using a mailer I am not able to setup myself, so you must do it by hand. The following addresses on localhost and appropriate actions for them should be set up:" +msgstr "GNATs kan ställas in att ta emot felrapporter och databasfrågor genom e-post. Dock verkar det som du använder ett e-postprogram som jag inte kan konfigurera själv, så du måste göra det för hand. Följande adresser på localhost och lämpliga åtgärder för dem måste konfigureras:" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "gnats: redirect this to GNATS administrator\"s address gnats-admin: alias for \"gnats\" bugs: pipe it to the command \"| /usr/lib/gnats/queue-pr -q\" query-pr: pipe it to the command \"| /usr/lib/gnats/mail-query\" ${SITE}-gnats: alias for \"bugs\"" +msgstr "gnats: omdirigera det här till GNATS-administratörens adress gnats-admin: alias för \"gnats\"-fel: kör det genom ett rör till kommandot \"| /usr/lib/gnats/queue-pr -q\" query-pr: kör det genom ett rör till kommandot \"| /usr/lib/gnats/mail-query\" ${SITE}-gnats: alias för \"bugs\"" + +#. Type: note +#. Description +#: ../templates:8001 +msgid "Multiple listings of the \"gnats\" userid were found in ${PASSWDFILE}." +msgstr "Flera listningar av användar-id:t \"gnats\" hittades i ${PASSWDFILE}." + +#. Type: note +#. Description +#: ../templates:8001 +msgid "You should have only one \"gnats\" userid in your password file." +msgstr "Du bör endast ha ett användar-id som heter \"gnats\" i din lösenordsfil." + +#. Type: note +#. Description +#: ../templates:9001 +msgid "GNATS configuration needs change." +msgstr "Konfigurationen av GNATS behöver ändras." + +#. Type: note +#. Description +#: ../templates:9001 +msgid "Please note that some GNATS configuration files have changed in version 4. You can find examples of the new configuration files in the directory \"/etc/gnats/defaults\"." +msgstr "Observera att vissa konfigurationsfiler för GNATS har ändrats i version 4. Du kan hitta exempel på de nya konfigurationsfilerna i katalogen \"/etc/gnats/defaults\"." + --- gnats-4.1.0.orig/debian/po/ja.po +++ gnats-4.1.0/debian/po/ja.po @@ -0,0 +1,217 @@ +# +# 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: gnats 4.0-7\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-11-01 20:11+0100\n" +"PO-Revision-Date: 2004-11-28 03:53+0900\n" +"Last-Translator: Hideki Yamane \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=EUC-JP\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "What is the name of the GNATS site?" +msgstr "GNATS ư륵Ȥ̾ϲǤ?" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "" +"This name should be a single word, it is used as a part of the e-mail alias " +"for delivering problem reports." +msgstr "" +"̾ñҤȤĤǹɬפꡢѤΥ᡼륨ꥢΰ" +"ȤƻȤޤ" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "Database moved to ${GNATSDBDIR}." +msgstr "ǡ١ ${GNATSDBDIR} ˰ưޤ" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. It has " +"now been moved to the right location." +msgstr "" +"ΥСΥѥåǤ GNATS ǡ١ ${BADDIR} ֤" +"ޤ֤˰ưޤ" + +#. Type: note +#. Description +#: ../templates:3001 +msgid "You must move the database to ${GNATSDBDIR}." +msgstr "ǡ١ ${GNATSDBDIR} ˰ܤɬפޤ" + +#. Type: note +#. Description +#: ../templates:3001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. I could " +"not move it to the right location, so you have to do so manually." +msgstr "" +"ΥСΥѥåǤ GNATS ǡ١ ${BADDIR} ֤" +"ޤ֤˰ưǤʤäΤǡưǼ¹Ԥɬפޤ" + +#. Type: note +#. Description +#. Type: note +#. Description +#: ../templates:4001 ../templates:5001 +msgid "You should enable scripts in the Exim configuration." +msgstr "Exim ǥץȤͭˤɬפޤ" + +#. Type: note +#. Description +#: ../templates:4001 +msgid "" +"It seems you have installed Exim, with script handling disabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to uncomment one of the lines" +msgstr "" +"ץȤμ갷ǽ̵ˤ Exim 󥹥ȡ뤵Ƥ褦" +"Ǥξ硢GNATS ϥ᡼ͳǥХޤ󡣰ʲιԤΥ" +"ȤϤΤ򤪴ᤷޤ:" + +#. Type: note +#. Description +#: ../templates:4001 +msgid "in your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "ե ${EXIMCONF} \"system_aliases\" Ǥ" + +#. Type: note +#. Description +#: ../templates:5001 +msgid "" +"It seems you have installed Exim, with no script handling enabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to add the line" +msgstr "" +"ץȤμ갷̵꤬ˤ줿֤ǡExim 󥹥ȡ뤵Ƥ" +"Ǥξ硢GNATS ϥ᡼ͳǤΥХʤʤäƤޤ" +"ʲιԤɲäΤ򤪴ᤷޤ" + +#. Type: note +#. Description +#: ../templates:5001 +msgid "to your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "" +"ɲäΤϡե ${EXIMCONF} \"system_aliases\" Ǥ" + +#. Type: note +#. Description +#: ../templates:6001 +msgid "You should set up qmail aliases for GNATS." +msgstr "GNATS Ѥ qmail ꥢꤹɬפޤ" + +#. Type: note +#. Description +#: ../templates:6001 +msgid "" +"It seems you use qmail as your mail transfer program. It is recommended to " +"add the following lines into your qmail users/assign file:" +msgstr "" +"᡼ץȤ qmail ѤƤ褦ǤʲιԤ qmail " +"users/assign եɲäΤ򤪴ᤷޤ:" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "You should set up GNATS mail aliases." +msgstr "GNATS Υ᡼륨ꥢꤹɬפޤ" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"GNATS can be set to receive bug reports and database queries through mail. " +"However, it seems you are using a mailer I am not able to setup myself, so " +"you must do it by hand. The following addresses on localhost and appropriate " +"actions for them should be set up:" +msgstr "" +"GNATS 򡢥᡼ͳǥХꡢǡ١θǤ褦" +"ǤޤʤȤäƤ᡼륽եȤϤκǤʤ" +"ΤǡȤꤹɬפޤۥȾΰʲΥɥ쥹ȡ" +"ФŬڤԤäƤ:" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"gnats: redirect this to GNATS administrator\"s address gnats-admin: alias " +"for \"gnats\" bugs: pipe it to the command \"| /usr/lib/gnats/queue-pr -q\" " +"query-pr: pipe it to the command \"| /usr/lib/gnats/mail-query\" ${SITE}-" +"gnats: alias for \"bugs\"" +msgstr "" +"gnats: GNATS δԥɥ쥹ž gnats-admin: \"gnats\" Υꥢ " +"bugs: \"| /usr/lib/gnats/queue-pr -q\" ޥɤ˥ѥפϤ query-pr: pipe " +"it to the command \"| /usr/lib/gnats/mail-query\" ޥɤ˥ѥפϤ " +"${SITE}-gnats: \"bugs\" Υꥢ" + +#. Type: note +#. Description +#: ../templates:8001 +msgid "Multiple listings of the \"gnats\" userid were found in ${PASSWDFILE}." +msgstr "" +"${PASSWDFILE} \"gnats\" userid ʣ¸ߤƤΤĤޤ" + +#. Type: note +#. Description +#: ../templates:8001 +msgid "You should have only one \"gnats\" userid in your password file." +msgstr "" +"ѥɥե \"gnats\" userid 1 ĤǤʤФʤޤ " + +#. Type: note +#. Description +#: ../templates:9001 +msgid "GNATS configuration needs change." +msgstr "GNATS ѹɬפǤ" + +#. Type: note +#. Description +#: ../templates:9001 +msgid "" +"Please note that some GNATS configuration files have changed in version 4. " +"You can find examples of the new configuration files in the directory \"/etc/" +"gnats/defaults\"." +msgstr "" +"С 4 GNATS ե¿ѹä줿ȤդƤ" +"եλͤ \"/etc/gnats/defaults\" ǥ쥯ȥˤ" +"" + +#~ msgid "${LINES}" +#~ msgstr "${LINES}" + +#~ msgid "user = gnats" +#~ msgstr "user = gnats" + +#~ msgid "" +#~ "=gnats:gnats:41:41:/var/lib/gnats/gnats-adm::: =gnats-admin:gnats:41:41:/" +#~ "var/lib/gnats/gnats-adm::: =bugs:gnats:41:41:/var/lib/gnats/gnats-adm:-:" +#~ "bugs: =query-pr:gnats:41:41:/var/lib/gnats/gnats-adm:-:query: =${SITE}-" +#~ "gnats:gnats:41:41:/var/lib/gnats/gnats-adm:-:bugs:" +#~ msgstr "" +#~ "=gnats:gnats:41:41:/var/lib/gnats/gnats-adm::: =gnats-admin:gnats:41:41:/" +#~ "var/lib/gnats/gnats-adm::: =bugs:gnats:41:41:/var/lib/gnats/gnats-adm:-:" +#~ "bugs: =query-pr:gnats:41:41:/var/lib/gnats/gnats-adm:-:query: =${SITE}-" +#~ "gnats:gnats:41:41:/var/lib/gnats/gnats-adm:-:bugs:" --- gnats-4.1.0.orig/debian/po/fr.po +++ gnats-4.1.0/debian/po/fr.po @@ -0,0 +1,208 @@ +# translation of fr.po to French +# +# 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. +# +# Christian Perrier , 2006. +msgid "" +msgstr "" +"Project-Id-Version: fr\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-11-01 20:11+0100\n" +"PO-Revision-Date: 2006-11-01 20:12+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" +"X-Generator: KBabel 1.11.4\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "What is the name of the GNATS site?" +msgstr "Nom du site GNATS:" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "" +"This name should be a single word, it is used as a part of the e-mail alias " +"for delivering problem reports." +msgstr "" +"Le nom de site GNATS devrait tre un mot simple; il est utilis comme un " +"alias d'adresse pour les rapports sur les incidents de livraison de courrier." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "Database moved to ${GNATSDBDIR}." +msgstr "Base de donnes dplace vers ${GNATSDBDIR}" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. It has " +"now been moved to the right location." +msgstr "" +"Une ancienne version du paquet avait plac la base de donnes sous " +"${BADDIR}. Elle vient d'tre dplace vers l'emplacement correct." + +#. Type: note +#. Description +#: ../templates:3001 +msgid "You must move the database to ${GNATSDBDIR}." +msgstr "Dplacement ncessaire de la base de donnes vers ${GNATSDBDIR}" + +#. Type: note +#. Description +#: ../templates:3001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. I could " +"not move it to the right location, so you have to do so manually." +msgstr "" +"Une ancienne version du paquet avait plac la base de donnes GNATS sous " +"${BADDIR}. Il n'est pas possible de la dplacer vers son emplacement correct " +"de faon automatique: vous devez le faire vous-mme." + +#. Type: note +#. Description +#. Type: note +#. Description +#: ../templates:4001 ../templates:5001 +msgid "You should enable scripts in the Exim configuration." +msgstr "" +"Activation ncessaire du traitement des scripts dans la configuration d'Exim" + +#. Type: note +#. Description +#: ../templates:4001 +msgid "" +"It seems you have installed Exim, with script handling disabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to uncomment one of the lines" +msgstr "" +"Exim semble tre install mais le traitement des scripts semble dsactiv " +"dans sa configuration. Si c'est bien le cas, GNATS ne sera pas capable de " +"recevoir les rapports de bogues par messagerie. Il est conseill de " +"dcommenter l'une des lignes suivantes :" + +#. Type: note +#. Description +#: ../templates:4001 +msgid "in your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "" +"Cette modification doit se faire dans le fichier ${EXIMCONF}, la section " +"\"system_aliases\"." + +#. Type: note +#. Description +#: ../templates:5001 +msgid "" +"It seems you have installed Exim, with no script handling enabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to add the line" +msgstr "" +"Exim semble install mais le traitement des scripts est dsactiv dans sa " +"configuration. Si c'est bien le cas, GNATS ne sera pas capable de recevoir " +"les rapports de bogues par messagerie. Il est conseill d'ajouter la ligne " +"suivante :" + +#. Type: note +#. Description +#: ../templates:5001 +msgid "to your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "" +"Ce changement doit se faire dans le fichier ${EXIMCONF}, la section " +"\"system_aliases\"." + +#. Type: note +#. Description +#: ../templates:6001 +msgid "You should set up qmail aliases for GNATS." +msgstr "Dfinition des alias qmail pour GNATS" + +#. Type: note +#. Description +#: ../templates:6001 +msgid "" +"It seems you use qmail as your mail transfer program. It is recommended to " +"add the following lines into your qmail users/assign file:" +msgstr "" +"Vous semblez utiliser qmail comme agent de transport de courrier. Il est " +"recommand d'ajouter les lignes suivantes votre fichier users/assign de " +"qmail :" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "You should set up GNATS mail aliases." +msgstr "Dfinition des alias d'adresse GNATS" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"GNATS can be set to receive bug reports and database queries through mail. " +"However, it seems you are using a mailer I am not able to setup myself, so " +"you must do it by hand. The following addresses on localhost and appropriate " +"actions for them should be set up:" +msgstr "" +"GNATS peut tre paramtr pour recevoir des rapports de bogues et des " +"requtes de base de donnes travers la messagerie. Cependant, vous semblez " +"utiliser un client de courrier dont le paramtrage automatique est " +"impossible. Vous devez donc le faire vous-mme. L'adresse suivante sur " +"l'hte local et les actions appropries pour le faire doivent tre dfinis." + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"gnats: redirect this to GNATS administrator\"s address gnats-admin: alias " +"for \"gnats\" bugs: pipe it to the command \"| /usr/lib/gnats/queue-pr -q\" " +"query-pr: pipe it to the command \"| /usr/lib/gnats/mail-query\" ${SITE}-" +"gnats: alias for \"bugs\"" +msgstr "" +"gnats: redirige ceci vers l'administrateur GNATS \"s adresse gnats-admin: " +"alias pour les bogues \"gnats\": il faut le lier \"| /usr/lib/gnats/mail-" +"query\" ${SITE}-gnats: alias pour \"bugs\"" + +#. Type: note +#. Description +#: ../templates:8001 +msgid "Multiple listings of the \"gnats\" userid were found in ${PASSWDFILE}." +msgstr "Dfinitions multiples de l'identifiant gnats dans ${PASSWDFILE}" + +#. Type: note +#. Description +#: ../templates:8001 +msgid "You should have only one \"gnats\" userid in your password file." +msgstr "" +"Vous ne devriez possder qu'un seul identifiant gnats dans votre fichier " +"de mots de passe." + +#. Type: note +#. Description +#: ../templates:9001 +msgid "GNATS configuration needs change." +msgstr "Modifications ncessaires de la configuration de GNATS" + +#. Type: note +#. Description +#: ../templates:9001 +msgid "" +"Please note that some GNATS configuration files have changed in version 4. " +"You can find examples of the new configuration files in the directory \"/etc/" +"gnats/defaults\"." +msgstr "" +"Veuillez noter que certains fichiers de configuration de GNATS ont chang " +"dans la version 4. Vous trouverez des exemples de nouveaux fichiers de " +"configuration dans le rpertoire /etc/gnats/defaults." --- gnats-4.1.0.orig/debian/po/ru.po +++ gnats-4.1.0/debian/po/ru.po @@ -0,0 +1,206 @@ +# translation of gnats_debconf_ru.po to Russian +# +# 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. +# +# Yuri Kozlov , 2006. +msgid "" +msgstr "" +"Project-Id-Version: 4.1.0-0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-11-01 20:11+0100\n" +"PO-Revision-Date: 2006-11-09 21:51+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.2\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "What is the name of the GNATS site?" +msgstr "Имя сайта GNATS?" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "" +"This name should be a single word, it is used as a part of the e-mail alias " +"for delivering problem reports." +msgstr "" +"Это имя состоит из одного слова, оно используется как часть почтового " +"псевдонима для доставки сообщений о проблемах." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "Database moved to ${GNATSDBDIR}." +msgstr "База данных перемещена в каталог ${GNATSDBDIR}." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. It has " +"now been moved to the right location." +msgstr "" +"В предыдущей версии пакета база данных GNATS хранилась в каталоге ${BADDIR}. " +"Теперь она перемещена в правильное место." + +#. Type: note +#. Description +#: ../templates:3001 +msgid "You must move the database to ${GNATSDBDIR}." +msgstr "Вы должны перенести базу данных в каталог ${GNATSDBDIR}." + +#. Type: note +#. Description +#: ../templates:3001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. I could " +"not move it to the right location, so you have to do so manually." +msgstr "" +"В предыдущей версии пакета база данных GNATS хранилась в каталоге ${BADDIR}. " +"Невозможно переместить её в правильное место, сделайте это самостоятельно." + +#. Type: note +#. Description +#. Type: note +#. Description +#: ../templates:4001 ../templates:5001 +msgid "You should enable scripts in the Exim configuration." +msgstr "Вам нужно разрешить выполнение сценариев в конфигурации Exim." + +#. Type: note +#. Description +#: ../templates:4001 +msgid "" +"It seems you have installed Exim, with script handling disabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to uncomment one of the lines" +msgstr "" +"У вас установлен Exim, но выполнение сценариев в его конфигурации " +"выключено. При такой настройке GNATS не может получать сообщения об " +"ошибках по почте. Вам нужно раскомментировать одну из строк" + +#. Type: note +#. Description +#: ../templates:4001 +msgid "in your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "в файле ${EXIMCONF} в секции \"system_aliases\"." + +#. Type: note +#. Description +#: ../templates:5001 +msgid "" +"It seems you have installed Exim, with no script handling enabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to add the line" +msgstr "" +"У вас установлен Exim, но выполнение сценариев в его конфигурации " +"выключено. При такой настройке GNATS не может получать сообщения об " +"ошибках по почте. Вам нужно добавить строку" + +#. Type: note +#. Description +#: ../templates:5001 +msgid "to your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "в файл ${EXIMCONF} в секцию \"system_aliases\"." + +#. Type: note +#. Description +#: ../templates:6001 +msgid "You should set up qmail aliases for GNATS." +msgstr "Нужно настроить псевдонимы в qmail для GNATS." + +#. Type: note +#. Description +#: ../templates:6001 +msgid "" +"It seems you use qmail as your mail transfer program. It is recommended to " +"add the following lines into your qmail users/assign file:" +msgstr "" +"В качестве программы пересылки почты у вас используется qmail. " +"Рекомендуется добавить следующие строки в файл users/assign для qmail:" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "You should set up GNATS mail aliases." +msgstr "Нужно настроить псевдонимы для GNATS." + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"GNATS can be set to receive bug reports and database queries through mail. " +"However, it seems you are using a mailer I am not able to setup myself, so " +"you must do it by hand. The following addresses on localhost and appropriate " +"actions for them should be set up:" +msgstr "" +"GNATS можно настроить для получения сообщений об ошибках и запросах к " +"базе данных по почте. Однако, в системе установлена программа пересылки " +"почты, для которой нет готовых настроек, поэтому вы должны сделать их " +"самостоятельно. Нужно настроить следующие адреса на localhost и " +"соответствующие действия к ним:" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"gnats: redirect this to GNATS administrator\"s address gnats-admin: alias " +"for \"gnats\" bugs: pipe it to the command \"| /usr/lib/gnats/queue-pr -q\" " +"query-pr: pipe it to the command \"| /usr/lib/gnats/mail-query\" ${SITE}-" +"gnats: alias for \"bugs\"" +msgstr "" +" * gnats: переслать на адреса администратора GNATS\n" +" * gnats-admin: псевдоним для \"gnats\"\n" +" * bugs: обработать командой \"| /usr/lib/gnats/queue-pr -q\"\n" +" * query-pr: обработать командой \"| /usr/lib/gnats/mail-query\"\n" +" * ${SITE}-gnats: псевдоним для \"bugs\"" + +#. Type: note +#. Description +#: ../templates:8001 +msgid "Multiple listings of the \"gnats\" userid were found in ${PASSWDFILE}." +msgstr "" +"В файле ${PASSWDFILE} найдено несколько идентификаторов " +"пользователя \"gnats\"." + +#. Type: note +#. Description +#: ../templates:8001 +msgid "You should have only one \"gnats\" userid in your password file." +msgstr "" +"Должен быть только один идентификатор пользователя \"gnats\" в файле " +"паролей." + +#. Type: note +#. Description +#: ../templates:9001 +msgid "GNATS configuration needs change." +msgstr "Требуется изменить конфигурацию GNATS." + +#. Type: note +#. Description +#: ../templates:9001 +msgid "" +"Please note that some GNATS configuration files have changed in version 4. " +"You can find examples of the new configuration files in the directory \"/etc/" +"gnats/defaults\"." +msgstr "" +"Обратите внимание, что некоторые конфигурационные файлы GNATS " +"в версии 4 были изменены. " +"Примеры новых конфигурационных файлов можно найти в каталоге \"/etc/" +"gnats/defaults\"." + --- gnats-4.1.0.orig/debian/po/pt.po +++ gnats-4.1.0/debian/po/pt.po @@ -0,0 +1,190 @@ +# Portuguese translation for gnats's debconf messages +# Rui Branco , 2006 +# 2006-11-11 - Rui Branco - Initial translation +# +msgid "" +msgstr "" +"Project-Id-Version: gnats\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-11-01 20:11+0100\n" +"PO-Revision-Date: 2006-11-11 14:52+0000\n" +"Last-Translator: Rui Branco \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "What is the name of the GNATS site?" +msgstr "Qual o nome to site GNATS?" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "" +"This name should be a single word, it is used as a part of the e-mail alias " +"for delivering problem reports." +msgstr "" +"Este nome deverá ser apenas uma única palavra, é utilizado como parte de um " +"endereço email para entregar relatórios de problemas." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "Database moved to ${GNATSDBDIR}." +msgstr "A base de dados foi movida para ${GNATSDBDIR}." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. It has " +"now been moved to the right location." +msgstr "" +"Uma versão anterior do pacote colocou a base de dados do GNATS em ${BADDIR}. " +"Foi agora movida para o local correcto." + +#. Type: note +#. Description +#: ../templates:3001 +msgid "You must move the database to ${GNATSDBDIR}." +msgstr "Tem que mover a base de dados para ${GNATSDBDIR}." + +#. Type: note +#. Description +#: ../templates:3001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. I could " +"not move it to the right location, so you have to do so manually." +msgstr "" +"Uma versão anterior do pacote colocou a base de dados do GNATS em ${BADDIR}. " +"Não a posso mover para o local correcto, terá que o fazer manualmente." + +#. Type: note +#. Description +#. Type: note +#. Description +#: ../templates:4001 ../templates:5001 +msgid "You should enable scripts in the Exim configuration." +msgstr "Deverá activar 'scripts' na configuração do Exim." + +#. Type: note +#. Description +#: ../templates:4001 +msgid "" +"It seems you have installed Exim, with script handling disabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to uncomment one of the lines" +msgstr "" +"Parece que instalou o Exim com o suporte a 'scripts' desactivado na sua " +"configuração. Se assim for, o GNATS não será capaz de receber relatórios " +"de 'bugs' via e-mail. Sugiro que retire o # a uma das linhas" + +#. Type: note +#. Description +#: ../templates:4001 +msgid "in your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "no seu ficheiro ${EXIMCONF}, na secção \"system_aliases\"." + +#. Type: note +#. Description +#: ../templates:5001 +msgid "" +"It seems you have installed Exim, with no script handling enabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to add the line" +msgstr "" +"Parece que instalou o Exim com o suporte a 'scripts' activado na sua " +"configuração. Se assim for, o GNATS não será capaz de receber relatórios " +"de 'bugs' via e-mail. Sugiro que adicione a linha" + + +#. Type: note +#. Description +#: ../templates:5001 +msgid "to your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "ao ficheiro ${EXIMCONF}, na secção \"system_aliases\"." + +#. Type: note +#. Description +#: ../templates:6001 +msgid "You should set up qmail aliases for GNATS." +msgstr "Deverá definir 'gmail aliases' para o GNATS" + +#. Type: note +#. Description +#: ../templates:6001 +msgid "" +"It seems you use qmail as your mail transfer program. It is recommended to " +"add the following lines into your qmail users/assign file:" +msgstr "" +"Parece que utiliza o gmail como o seu programa de transferência de mail. É " +"recomendado que adicione as seguintes linhas ao seu ficheiro " +"gmail users/assign:" +#. Type: note +#. Description +#: ../templates:7001 +msgid "You should set up GNATS mail aliases." +msgstr "Deverá definir 'gmail aliases'." + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"GNATS can be set to receive bug reports and database queries through mail. " +"However, it seems you are using a mailer I am not able to setup myself, so " +"you must do it by hand. The following addresses on localhost and appropriate " +"actions for them should be set up:" +msgstr "" +"O GNATS pode ser configurado para receber relatórios de erro e consultas a " +"bases de dados através de mail. No entanto parece que está a usar um 'mailer', " +"que não consigo configurar, deste modo terá que o configurar manualmente. Os " +"seguintes endereços em localhost e as acções apropriadas deverão ser definidas:" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"gnats: redirect this to GNATS administrator\"s address gnats-admin: alias " +"for \"gnats\" bugs: pipe it to the command \"| /usr/lib/gnats/queue-pr -q\" " +"query-pr: pipe it to the command \"| /usr/lib/gnats/mail-query\" ${SITE}-" +"gnats: alias for \"bugs\"" +msgstr "" +"gnats: redireccionar para o endereço do administrador do GNATS\"s gnats-admin: " +"alias para \"gnats\" 'bugs': 'pipe' para o comando \"| /usr/lib/gnats/" +"queue-pr -q\" query-pr: 'pipe' para o comando \"| /usr/lib/gnats/" +"mail-query\" ${SITE}- gnats: alias para \"bugs\"" + +#. Type: note +#. Description +#: ../templates:8001 +msgid "Multiple listings of the \"gnats\" userid were found in ${PASSWDFILE}." +msgstr "Listas múltiplas do id de utilizador \"gnats\" foram encontradas em " +"${PASSWDFILE}." + +#. Type: note +#. Description +#: ../templates:8001 +msgid "You should have only one \"gnats\" userid in your password file." +msgstr "Deverá apenas ter um id de utilizador \"gnats\" np seu ficheiro de " +"palavra-chave" + +#. Type: note +#. Description +#: ../templates:9001 +msgid "GNATS configuration needs change." +msgstr "A configuração do GNATS precisa de ser alterada." + +#. Type: note +#. Description +#: ../templates:9001 +msgid "" +"Please note that some GNATS configuration files have changed in version 4. " +"You can find examples of the new configuration files in the directory \"/etc/" +"gnats/defaults\"." +msgstr "" +"Por favor note que alguns ficheiros de configuração do GNATS foram alterados " +"na versão 4. Pode encontrar exemplos da novos ficheiros de configuração no " +"directório \"/etc/gnats/defaults\"." --- gnats-4.1.0.orig/debian/po/de.po +++ gnats-4.1.0/debian/po/de.po @@ -0,0 +1,207 @@ +# +# 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. +# +# Holger Wansing , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: gnats 4.1.0-0\n" +"Report-Msgid-Bugs-To: gnats@packages.debian.org\n" +"POT-Creation-Date: 2006-11-01 20:11+0100\n" +"PO-Revision-Date: 2006-11-10 16:27+0100\n" +"Last-Translator: Holger Wansing \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "What is the name of the GNATS site?" +msgstr "Wie lautet der Name der GNATS-Site?" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "" +"This name should be a single word, it is used as a part of the e-mail alias " +"for delivering problem reports." +msgstr "" +"Dieser Name sollte ein einzelnes Wort sein; er wird als Teil vom " +"E-Mail-Alias genutzt, an den Fehlerberichte eingesandt werden." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "Database moved to ${GNATSDBDIR}." +msgstr "Datenbank nach ${GNATSDBDIR} verschoben" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. It has " +"now been moved to the right location." +msgstr "" +"Eine ältere Paketversion hat die GNATS-Datenbank unter ${BADDIR} abgelegt. " +"Diese wurde nun an den richtigen Ort verschoben." + +#. Type: note +#. Description +#: ../templates:3001 +msgid "You must move the database to ${GNATSDBDIR}." +msgstr "Sie müssen die Datenbank nach ${GNATSDBDIR} verschieben." + +#. Type: note +#. Description +#: ../templates:3001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. I could " +"not move it to the right location, so you have to do so manually." +msgstr "" +"Eine ältere Paketversion hat die GNATS-Datenbank unter ${BADDIR} abgelegt. " +"Diese konnte nicht an den richtigen Ort verschoben werden, deshalb muss das " +"von Ihnen manuell erledigt werden." + +#. Type: note +#. Description +#. Type: note +#. Description +#: ../templates:4001 ../templates:5001 +msgid "You should enable scripts in the Exim configuration." +msgstr "Sie sollten Skripte in der Exim-Konfiguration aktivieren." + +#. Type: note +#. Description +#: ../templates:4001 +msgid "" +"It seems you have installed Exim, with script handling disabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to uncomment one of the lines" +msgstr "" +"Scheinbar ist Exim installiert und die Verarbeitung von Skripten in der " +"Konfiguration ist deaktiviert. Wenn das so ist, wird es GNATS nicht möglich " +"sein, Fehlerberichte per E-Mail zu empfangen. Es wird empfohlen, dass " +"Sie bei einer dieser Zeilen" + +#. Type: note +#. Description +#: ../templates:4001 +msgid "in your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "" +"in Ihrer Datei ${EXIMCONF} (Abschnitt »system_aliases«) das " +"Kommentarzeichen entfernen." + +#. Type: note +#. Description +#: ../templates:5001 +msgid "" +"It seems you have installed Exim, with no script handling enabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to add the line" +msgstr "" +"Scheinbar ist Exim installiert und die Verarbeitung von Skripten in der " +"Konfiguration ist nicht aktiviert. Wenn das so ist, wird es GNATS nicht möglich " +"sein, Fehlerberichte per E-Mail zu empfangen. Es wird empfohlen, dass Sie " +"die Zeile" + +#. Type: note +#. Description +#: ../templates:5001 +msgid "to your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "zu Ihrer Datei ${EXIMCONF} (Abschnitt »system_aliases«) hinzufügen." + +#. Type: note +#. Description +#: ../templates:6001 +msgid "You should set up qmail aliases for GNATS." +msgstr "Sie sollten in qmail Aliase für GNATS einrichten." + +#. Type: note +#. Description +#: ../templates:6001 +msgid "" +"It seems you use qmail as your mail transfer program. It is recommended to " +"add the following lines into your qmail users/assign file:" +msgstr "" +"Scheinbar wird qmail als Mail-Transfer-Programm verwendet. Es wird " +"empfohlen, dass Sie die folgenden Zeilen zu Ihrer users/assign-Datei " +"für qmail hinzuzufügen:" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "You should set up GNATS mail aliases." +msgstr "Sie sollten Mail-Aliase für GNATS einrichten." + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"GNATS can be set to receive bug reports and database queries through mail. " +"However, it seems you are using a mailer I am not able to setup myself, so " +"you must do it by hand. The following addresses on localhost and appropriate " +"actions for them should be set up:" +msgstr "" +"GNATS kann so eingerichtet werden, dass es Fehlerberichte und Datenbankanfragen " +"per E-Mail empfangen kann. Allerdings verwenden Sie scheinbar ein Mail-Programm, " +"das nicht automatisch passend eingerichtet werden kann, so dass Sie dies manuell " +"erledigen müssen. Die folgenden Adressen auf localhost sowie entsprechende " +"Aktionen für diese Adressen sollten eingerichtet werden:" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"gnats: redirect this to GNATS administrator\"s address gnats-admin: alias " +"for \"gnats\" bugs: pipe it to the command \"| /usr/lib/gnats/queue-pr -q\" " +"query-pr: pipe it to the command \"| /usr/lib/gnats/mail-query\" ${SITE}-" +"gnats: alias for \"bugs\"" +msgstr "" +"gnats: an die Adresse des GNATS-Administrators weiterleiten. " +"gnats-admin: Alias für »gnats«. " +"bugs: Weiterleitung (pipe) an das Kommando »| /usr/lib/gnats/queue-pr -q«. " +"query-pr: Weiterleitung (pipe) an das Kommando »| /usr/lib/gnats/mail-query«. " +"${SITE}-gnats: Alias für »bugs«." + +#. Type: note +#. Description +#: ../templates:8001 +msgid "Multiple listings of the \"gnats\" userid were found in ${PASSWDFILE}." +msgstr "Mehrere Vorkommen der »gnats«-User-ID in ${PASSWDFILE} gefunden" + +#. Type: note +#. Description +#: ../templates:8001 +msgid "You should have only one \"gnats\" userid in your password file." +msgstr "Die »gnats«-User-ID sollte in ${PASSWDFILE} nur einmal vorkommen." + +#. Type: note +#. Description +#: ../templates:9001 +msgid "GNATS configuration needs change." +msgstr "GNATS-Konfiguration muss geändert werden." + +#. Type: note +#. Description +#: ../templates:9001 +msgid "" +"Please note that some GNATS configuration files have changed in version 4. " +"You can find examples of the new configuration files in the directory \"/etc/" +"gnats/defaults\"." +msgstr "" +"Bitte beachten Sie, dass sich einige GNATS-Konfigurationsdateien in Version 4 " +"geändert haben. Sie finden Beispiele der neuen Konfigurationsdateien im " +"Verzeichnis »/etc/gnats/defaults«." + --- gnats-4.1.0.orig/debian/po/templates.pot +++ gnats-4.1.0/debian/po/templates.pot @@ -0,0 +1,172 @@ +# +# 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: \n" +"POT-Creation-Date: 2006-11-01 20:11+0100\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: string +#. Description +#: ../templates:1001 +msgid "What is the name of the GNATS site?" +msgstr "" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "" +"This name should be a single word, it is used as a part of the e-mail alias " +"for delivering problem reports." +msgstr "" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "Database moved to ${GNATSDBDIR}." +msgstr "" + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. It has " +"now been moved to the right location." +msgstr "" + +#. Type: note +#. Description +#: ../templates:3001 +msgid "You must move the database to ${GNATSDBDIR}." +msgstr "" + +#. Type: note +#. Description +#: ../templates:3001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. I could " +"not move it to the right location, so you have to do so manually." +msgstr "" + +#. Type: note +#. Description +#. Type: note +#. Description +#: ../templates:4001 ../templates:5001 +msgid "You should enable scripts in the Exim configuration." +msgstr "" + +#. Type: note +#. Description +#: ../templates:4001 +msgid "" +"It seems you have installed Exim, with script handling disabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to uncomment one of the lines" +msgstr "" + +#. Type: note +#. Description +#: ../templates:4001 +msgid "in your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "" + +#. Type: note +#. Description +#: ../templates:5001 +msgid "" +"It seems you have installed Exim, with no script handling enabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to add the line" +msgstr "" + +#. Type: note +#. Description +#: ../templates:5001 +msgid "to your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "" + +#. Type: note +#. Description +#: ../templates:6001 +msgid "You should set up qmail aliases for GNATS." +msgstr "" + +#. Type: note +#. Description +#: ../templates:6001 +msgid "" +"It seems you use qmail as your mail transfer program. It is recommended to " +"add the following lines into your qmail users/assign file:" +msgstr "" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "You should set up GNATS mail aliases." +msgstr "" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"GNATS can be set to receive bug reports and database queries through mail. " +"However, it seems you are using a mailer I am not able to setup myself, so " +"you must do it by hand. The following addresses on localhost and appropriate " +"actions for them should be set up:" +msgstr "" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"gnats: redirect this to GNATS administrator\"s address gnats-admin: alias " +"for \"gnats\" bugs: pipe it to the command \"| /usr/lib/gnats/queue-pr -q\" " +"query-pr: pipe it to the command \"| /usr/lib/gnats/mail-query\" ${SITE}-" +"gnats: alias for \"bugs\"" +msgstr "" + +#. Type: note +#. Description +#: ../templates:8001 +msgid "Multiple listings of the \"gnats\" userid were found in ${PASSWDFILE}." +msgstr "" + +#. Type: note +#. Description +#: ../templates:8001 +msgid "You should have only one \"gnats\" userid in your password file." +msgstr "" + +#. Type: note +#. Description +#: ../templates:9001 +msgid "GNATS configuration needs change." +msgstr "" + +#. Type: note +#. Description +#: ../templates:9001 +msgid "" +"Please note that some GNATS configuration files have changed in version 4. " +"You can find examples of the new configuration files in the directory \"/etc/" +"gnats/defaults\"." +msgstr "" --- gnats-4.1.0.orig/debian/po/cs.po +++ gnats-4.1.0/debian/po/cs.po @@ -0,0 +1,216 @@ +# +# 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: gnats 4.1.0-0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-11-01 20:11+0100\n" +"PO-Revision-Date: 2005-07-25 18:38+0200\n" +"Last-Translator: Martin Sin \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "What is the name of the GNATS site?" +msgstr "Jaké je jméno webu GNATS?" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "" +"This name should be a single word, it is used as a part of the e-mail alias " +"for delivering problem reports." +msgstr "" +"Tímto jménem by mělo být jediné slovo, neboť je součástí emailové adresy " +"sloužící pro doručování zpráv o problémech." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "Database moved to ${GNATSDBDIR}." +msgstr "Databáze byla přesunuta do ${GNATSDBDIR}." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. It has " +"now been moved to the right location." +msgstr "" +"Předchozí verze tohoto balíčku ukládala databázi GNATS do ${BADDIR}. Nyní je " +"přesunuta na to 'správné' místo." + +#. Type: note +#. Description +#: ../templates:3001 +msgid "You must move the database to ${GNATSDBDIR}." +msgstr "Musíte přesunout databázi do ${GNATSDBDIR}." + +#. Type: note +#. Description +#: ../templates:3001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. I could " +"not move it to the right location, so you have to do so manually." +msgstr "" +"Předchozí verze balíčku ukládala databázi GNATS do ${BADDIR}. Tuto databázi " +"nemohu přesunout na správné místo, tak to musíte udělat ručně." + +#. Type: note +#. Description +#. Type: note +#. Description +#: ../templates:4001 ../templates:5001 +msgid "You should enable scripts in the Exim configuration." +msgstr "V konfiguraci Eximu byste měli povolit skripty." + +#. Type: note +#. Description +#: ../templates:4001 +msgid "" +"It seems you have installed Exim, with script handling disabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to uncomment one of the lines" +msgstr "" +"Zdá se, že máte nainstalován Exim s vypnutou manipulací se skripty " +"(nastavení naleznete v konfiguraci Eximu). Je-li tomu tak, GNATS nebude " +"schopen přijmout zprávy o chybách skrz email. Doporučuji odkomentovat " +"některý z těchto řádků" + +#. Type: note +#. Description +#: ../templates:4001 +msgid "in your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "ve vašem souboru ${EXIMCONF}, v sekci \"system_aliases\"." + +#. Type: note +#. Description +#: ../templates:5001 +msgid "" +"It seems you have installed Exim, with no script handling enabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to add the line" +msgstr "" +"Zdá se, že máte nainstalován Exim s vypnutou manipulací se skripty " +"(nastavení naleznete v konfiguraci Eximu). Je-li tomu tak, GNATS nebude " +"schopen přijmout zprávy o chybách skrz email. Doporučuji přidat řádek" + +#. Type: note +#. Description +#: ../templates:5001 +msgid "to your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "do vašeho souboru ${EXIMCONF}, do sekce \"system_aliases\"." + +#. Type: note +#. Description +#: ../templates:6001 +msgid "You should set up qmail aliases for GNATS." +msgstr "Měli byste nastavit aliasy qmailu pro GNATS." + +#. Type: note +#. Description +#: ../templates:6001 +msgid "" +"It seems you use qmail as your mail transfer program. It is recommended to " +"add the following lines into your qmail users/assign file:" +msgstr "" +"Zdá se, že pro přenos mailů používáte program qmail. Doporučujeme přidat do " +"qmailového souboru uživatelů/přiřazení následující řádky:" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "You should set up GNATS mail aliases." +msgstr "Měli byste nastavit mailové aliasy GNATS." + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"GNATS can be set to receive bug reports and database queries through mail. " +"However, it seems you are using a mailer I am not able to setup myself, so " +"you must do it by hand. The following addresses on localhost and appropriate " +"actions for them should be set up:" +msgstr "" +"GNATS může být nastaven pro přijímání zpráv o chybách a databázových " +"dotazech skrze email. Bohužel to vypadá, že používáte poštovní server, který " +"neumím nastavit sám, takže to budete muset udělat ručně. Měli byste nastavit " +"následující adresy na localhostu a k nim odpovídající akce:" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"gnats: redirect this to GNATS administrator\"s address gnats-admin: alias " +"for \"gnats\" bugs: pipe it to the command \"| /usr/lib/gnats/queue-pr -q\" " +"query-pr: pipe it to the command \"| /usr/lib/gnats/mail-query\" ${SITE}-" +"gnats: alias for \"bugs\"" +msgstr "" +"gnats: přesměrování na adresu administrátora GNATS gnats-admin: alias pro " +"\"gnats\" bugs: přesměrování do příkazu \"| /usr/lib/gnats/queue-pr -q\" " +"query-pr: přesměrování do příkazu \"| /usr/lib/gnats/mail-query\" ${SITE}-" +"gnats: alias pro \"bugs\"" + +#. Type: note +#. Description +#: ../templates:8001 +msgid "Multiple listings of the \"gnats\" userid were found in ${PASSWDFILE}." +msgstr "" +"V souboru ${PASSWDFILE} byly nalezeny vícenásobné záznamy uživatele \"gnats" +"\"." + +#. Type: note +#. Description +#: ../templates:8001 +msgid "You should have only one \"gnats\" userid in your password file." +msgstr "Soubor s heslem by měl obsahovat pouze jednoho uživatele \"gnats\"." + +#. Type: note +#. Description +#: ../templates:9001 +msgid "GNATS configuration needs change." +msgstr "Potřebujete změnit konfiguraci GNATS." + +#. Type: note +#. Description +#: ../templates:9001 +msgid "" +"Please note that some GNATS configuration files have changed in version 4. " +"You can find examples of the new configuration files in the directory \"/etc/" +"gnats/defaults\"." +msgstr "" +"Pamatujte prosím, že ve verzi 4 byly změněny některé konfigurační soubory " +"GNATS. Příklady nových konfiguračních souborů můžete nalézt v adresáři \"/" +"etc/gnats/defaults\"." + +#~ msgid "${LINES}" +#~ msgstr "${LINES}" + +#~ msgid "user = gnats" +#~ msgstr "user = gnats" + +#~ msgid "" +#~ "=gnats:gnats:41:41:/var/lib/gnats/gnats-adm::: =gnats-admin:gnats:41:41:/" +#~ "var/lib/gnats/gnats-adm::: =bugs:gnats:41:41:/var/lib/gnats/gnats-adm:-:" +#~ "bugs: =query-pr:gnats:41:41:/var/lib/gnats/gnats-adm:-:query: =${SITE}-" +#~ "gnats:gnats:41:41:/var/lib/gnats/gnats-adm:-:bugs:" +#~ msgstr "" +#~ "=gnats:gnats:41:41:/var/lib/gnats/gnats-adm::: =gnats-admin:gnats:41:41:/" +#~ "var/lib/gnats/gnats-adm::: =bugs:gnats:41:41:/var/lib/gnats/gnats-adm:-:" +#~ "bugs: =query-pr:gnats:41:41:/var/lib/gnats/gnats-adm:-:query: =${SITE}-" +#~ "gnats:gnats:41:41:/var/lib/gnats/gnats-adm:-:bugs:" --- gnats-4.1.0.orig/debian/po/pt_BR.po +++ gnats-4.1.0/debian/po/pt_BR.po @@ -0,0 +1,207 @@ +# +# 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. +# +# Felipe Augusto van de Wiel (faw) , 2006. +# Licensed under the same terms of the totd package. +# +msgid "" +msgstr "pt_BR utf-8\n" +"Project-Id-Version: gnats (20061108)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-11-01 20:11+0100\n" +"PO-Revision-Date: 2006-11-08 23:23-0200\n" +"Last-Translator: Felipe Augusto van de Wiel (faw) \n" +"Language-Team: l10n portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "What is the name of the GNATS site?" +msgstr "Qual é o nome do site GNATS?" + +#. Type: string +#. Description +#: ../templates:1001 +msgid "" +"This name should be a single word, it is used as a part of the e-mail alias " +"for delivering problem reports." +msgstr "" +"Este nome deve ser uma única palavra, é usado como parte do \"alias\" de " +"e-mail para a entrega de relatórios de problemas." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "Database moved to ${GNATSDBDIR}." +msgstr "Base de dados movida para ${GNATSDBDIR}." + +#. Type: note +#. Description +#: ../templates:2001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. It has " +"now been moved to the right location." +msgstr "" +"Uma versão anterior do pacote colocou a base de dados GNATS em ${BADDIR}. " +"Ela foi agora movida para o local correto." + +#. Type: note +#. Description +#: ../templates:3001 +msgid "You must move the database to ${GNATSDBDIR}." +msgstr "Você deve mover a base de dados para ${GNATSDBDIR}" + +#. Type: note +#. Description +#: ../templates:3001 +msgid "" +"A previous package version put the GNATS database under ${BADDIR}. I could " +"not move it to the right location, so you have to do so manually." +msgstr "" +"Uma versão anterior do pacote colocou a base de dados GNATS em ${BADDIR}. Eu " +"não pude movê-la para o local correto, portanto você precisará fazer isso " +"manualmente." + +#. Type: note +#. Description +#. Type: note +#. Description +#: ../templates:4001 ../templates:5001 +msgid "You should enable scripts in the Exim configuration." +msgstr "Você deveria habilitar scripts na configuração do Exim." + +#. Type: note +#. Description +#: ../templates:4001 +msgid "" +"It seems you have installed Exim, with script handling disabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to uncomment one of the lines" +msgstr "" +"Parece que você tem instalado Exim, com tratamento de script desabilitado em " +"sua configuração. Dessa maneira, GNATS não será capaz de receber relatórios " +"de problemas via e-mail. Eu sugiro que você remova o comentário de uma das " +"linhas" + +#. Type: note +#. Description +#: ../templates:4001 +msgid "in your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "no seu arquivo ${EXIMCONF}, na seção \"system_aliases\"." + +#. Type: note +#. Description +#: ../templates:5001 +msgid "" +"It seems you have installed Exim, with no script handling enabled in its " +"configuration. If this is so, GNATS will not be able to receive bug reports " +"via e-mail. I would suggest you to add the line" +msgstr "" +"Parece que você tem instalado Exim, sem o tratamento de script habilitado em " +"sua configuração. Dessa maneira, GNATS não será capaz de receber relatórios " +"de problemas via e-mail. Eu sugiro que você adicione a linha" + +#. Type: note +#. Description +#: ../templates:5001 +msgid "to your file ${EXIMCONF}, in the section \"system_aliases\"." +msgstr "ao seu arquivo ${EXIMCONF}, na seção \"system_aliases\"." + +#. Type: note +#. Description +#: ../templates:6001 +msgid "You should set up qmail aliases for GNATS." +msgstr "" +"Você precisa configurar os apelidos (\"aliases\") do qmail para o GNATS." + +#. Type: note +#. Description +#: ../templates:6001 +msgid "" +"It seems you use qmail as your mail transfer program. It is recommended to " +"add the following lines into your qmail users/assign file:" +msgstr "" +"Parece que você usa qmail como seu programa de transferência de e-mail. É " +"recomendado adicionar as seguintes linhas no seu arquivo qmail users/assign:" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "You should set up GNATS mail aliases." +msgstr "" +"Você precisa configurar os apelidos (\"aliases\") de e-mail para o GNATS" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"GNATS can be set to receive bug reports and database queries through mail. " +"However, it seems you are using a mailer I am not able to setup myself, so " +"you must do it by hand. The following addresses on localhost and appropriate " +"actions for them should be set up:" +msgstr "" +"GNATS pode ser configurado para receber relatórios de problemas e consultas " +"à base de dados por e-mail. No entanto, parece que você está utilizando um " +"sistema de e-mails que eu não posso configurar por conta própria, portanto " +"você deve fazê-lo manualmente. Os seguintes endereços em localhost com as " +"ações apropriadas para eles precisam ser configurados:" + +#. Type: note +#. Description +#: ../templates:7001 +msgid "" +"gnats: redirect this to GNATS administrator\"s address gnats-admin: alias " +"for \"gnats\" bugs: pipe it to the command \"| /usr/lib/gnats/queue-pr -q\" " +"query-pr: pipe it to the command \"| /usr/lib/gnats/mail-query\" ${SITE}-" +"gnats: alias for \"bugs\"" +msgstr "" +"gnats: redirecionar para o endereço do administrador GNATS gnats-admin: " +"apelido (\"alias\") para \"gnats\" bugs: enviar (\"pipe\") para o comando " +"\"| /usr/lib/gnats/queue-pr -q\" query-pr: enviar (\"pipe\") para o comando " +"\"| /usr/lib/gnats/mail-query\" ${SITE}-gnats: apelido (\"alias\") para " +"\"bugs\"" + +#. Type: note +#. Description +#: ../templates:8001 +msgid "Multiple listings of the \"gnats\" userid were found in ${PASSWDFILE}." +msgstr "" +"Múltiplas entradas do usuário \"gnats\" foram encontradas em ${PASSWDFILE}." + +#. Type: note +#. Description +#: ../templates:8001 +msgid "You should have only one \"gnats\" userid in your password file." +msgstr "" +"Você deveria ter somente um usuário \"gnats\" no seu arquivo de senhas." + +#. Type: note +#. Description +#: ../templates:9001 +msgid "GNATS configuration needs change." +msgstr "A configuração do GNATS precisa de modificações." + +#. Type: note +#. Description +#: ../templates:9001 +msgid "" +"Please note that some GNATS configuration files have changed in version 4. " +"You can find examples of the new configuration files in the directory \"/etc/" +"gnats/defaults\"." +msgstr "" +"Por favor, note que alguns arquivos de configuração GNATS mudaram na versão " +"4. Você pode encontrar exemplos dos novos arquivos de configuração no " +"diretório \"/etc/gnats/defaults\"." --- gnats-4.1.0.orig/debian/po/POTFILES.in +++ gnats-4.1.0/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates --- gnats-4.1.0.orig/debian/gnats-user.emacsen-remove +++ gnats-4.1.0/debian/gnats-user.emacsen-remove @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/gnats-user + +FLAVOR=$1 +PACKAGE=gnats + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi --- gnats-4.1.0.orig/debian/templates +++ gnats-4.1.0/debian/templates @@ -0,0 +1,79 @@ +Template: gnats/site +Type: string +_Description: What is the name of the GNATS site? + This name should be a single word, it is used as a part of the e-mail + alias for delivering problem reports. + +Template: gnats/baddir_moved +Type: note +_Description: Database moved to ${GNATSDBDIR}. + A previous package version put the GNATS database under ${BADDIR}. It has + now been moved to the right location. + +Template: gnats/baddir_to_move +Type: note +_Description: You must move the database to ${GNATSDBDIR}. + A previous package version put the GNATS database under ${BADDIR}. I could + not move it to the right location, so you have to do so manually. + +Template: gnats/exim_user_uncomment +Type: note +#flag:translate!:3 +_Description: You should enable scripts in the Exim configuration. + It seems you have installed Exim, with script handling disabled in its + configuration. If this is so, GNATS will not be able to receive bug + reports via e-mail. I would suggest you to uncomment one of the lines + . + ${LINES} + . + in your file ${EXIMCONF}, in the section "system_aliases". + +Template: gnats/exim_user_add +Type: note +#flag:translate!:3 +_Description: You should enable scripts in the Exim configuration. + It seems you have installed Exim, with no script handling enabled in its + configuration. If this is so, GNATS will not be able to receive bug + reports via e-mail. I would suggest you to add the line + . + user = gnats + . + to your file ${EXIMCONF}, in the section "system_aliases". + +Template: gnats/qmail +Type: note +#flag:translate!:3 +_Description: You should set up qmail aliases for GNATS. + It seems you use qmail as your mail transfer program. It is recommended + to add the following lines into your qmail users/assign file: + . + =gnats:gnats:41:41:/var/lib/gnats/gnats-adm::: + =gnats-admin:gnats:41:41:/var/lib/gnats/gnats-adm::: + =bugs:gnats:41:41:/var/lib/gnats/gnats-adm:-:bugs: + =query-pr:gnats:41:41:/var/lib/gnats/gnats-adm:-:query: + =${SITE}-gnats:gnats:41:41:/var/lib/gnats/gnats-adm:-:bugs: + +Template: gnats/unknown_mailer +Type: note +_Description: You should set up GNATS mail aliases. + GNATS can be set to receive bug reports and database queries through mail. + However, it seems you are using a mailer I am not able to setup myself, so + you must do it by hand. The following addresses on localhost and + appropriate actions for them should be set up: + . + gnats: redirect this to GNATS administrator"s address gnats-admin: alias + for "gnats" bugs: pipe it to the command "| /usr/lib/gnats/queue-pr -q" + query-pr: pipe it to the command "| /usr/lib/gnats/mail-query" + ${SITE}-gnats: alias for "bugs" + +Template: gnats/user_multiple +Type: note +_Description: Multiple listings of the "gnats" userid were found in ${PASSWDFILE}. + You should have only one "gnats" userid in your password file. + +Template: gnats/upgrade_3_4 +Type: note +_Description: GNATS configuration needs change. + Please note that some GNATS configuration files have changed in + version 4. You can find examples of the new configuration files in the + directory "/etc/gnats/defaults". --- gnats-4.1.0.orig/debian/dhelp +++ gnats-4.1.0/debian/dhelp @@ -0,0 +1,6 @@ + +devel +The GNATS Bug Tracking System +GNATS +html/index.html + --- gnats-4.1.0.orig/debian/gnats.cron.daily +++ gnats-4.1.0/debian/gnats.cron.daily @@ -0,0 +1,3 @@ +#!/bin/sh + +su - gnats -c 'test -x /usr/lib/gnats/check-db && /usr/lib/gnats/check-db --all-databases; exit 0' --- gnats-4.1.0.orig/debian/gnats.cron.d +++ gnats-4.1.0/debian/gnats.cron.d @@ -0,0 +1,3 @@ +# Cron job for processing GNATS incoming queue. + +5,15,25,35,45,55 * * * * gnats test -x /usr/lib/gnats/queue-pr && /usr/lib/gnats/queue-pr --run ; exit 0 --- gnats-4.1.0.orig/debian/copyright +++ gnats-4.1.0/debian/copyright @@ -0,0 +1,37 @@ +This is the Debian package of the GNATS bug monitoring system. + +GNATS was originally packaged for Debian by Brian White . +It had been maintained by Milan Zamazal , but it is now +maintained by Chad Walstrom . + +The GNATS project home page is hosted at +http://savannah.gnu.org/projects/gnats. The software can normally be obtained +via ftp://ftp.gnu.org/gnu/gnats/ or through the CVS repository at +http://savannah.gnu.org/cvs/?group=gnats. + +Because of the 2003 crack of ftp.gnu.org, the current version was fetched from: +http://www.yngve.com/gnats/gnats-4.0.tar.gz + +It's unclear who are the copyright holders of GNATS. + +License: + + GNU GNATS 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. + + GNU GNATS 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. + +The full text of GNU General Public License can be found under +/usr/share/common-licenses/GPL on Debian systems. + +The Debian control files in the `debian' directory of the source package were +mostly written by Brian White, Milan Zamazal, and Chad Walstrom. They are +placed in public domain unless a particular file contains another copyright +notice. You may use, modify and distribute their unmodified and/or modified +versions. All the files are provided WITHOUT ANY WARRANTY; without even the +implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --- gnats-4.1.0.orig/debian/gnats-user.postinst.in +++ gnats-4.1.0/debian/gnats-user.postinst.in @@ -0,0 +1,72 @@ +#!/bin/bash +# +# Gnats installation script -- written by Brian White +# (This was my very first attempt at learning perl... please forgive me!) +# +# Forgiving -- rewritten to bash :-) by Milan Zamazal . +# ...and streamlined with SED by Chad Walstrom + +set -e + +############################################################################### +# +# Utility functions +# + +# Call arguments and never return error +function protect () { "$@" || true; } + +############################################################################### +# +# Common initialization for install scripts +# + +. /usr/share/debconf/confmodule + +############################################################################### +# +# Check the 'gnats' userid in the password file +# + +if [ "$1" = configure ]; then + + if [ $(protect grep -c "^@GNATSGROUP@:" @GROUPFILE@) -eq 0 ]; then + adduser --group --gid @GNATSGID@ @GNATSGROUP@ + fi + + PWFOUND=$(protect grep -c "^@GNATSUSER@:" @PASSWDFILE@) + + if [ $PWFOUND -gt 1 ]; then + db_subst gnats/user_multiple PASSWDFILE "@PASSWDFILE@" + protect db_input high gnats/user_multiple + protect db_go + fi + + if [ $PWFOUND -gt 0 ]; then + if [ $(protect grep -c "^@GNATSUSER@:.*:@GNATSOLDHOME@:" @PASSWDFILE@) -gt 0 ] + then + if [ -e @GNATSOLDHOME@/.profile ]; then + mv @GNATSOLDHOME@/.profile @GNATSHOME@/ + fi + usermod -d @GNATSHOME@ @GNATSUSER@ + fi + if [ $(protect grep -c "^@GNATSUSER@:[^:]*:@GNATSID@:@GNATSGID@:" \ + @PASSWDFILE@) \ + -eq 0 ] + then + usermod -u @GNATSID@ -G @GNATSGID@ @GNATSUSER@ + fi + else + adduser --quiet --system --home @GNATSHOME@ --no-create-home \ + --gid @GNATSGID@ --shell /bin/sh --disabled-login \ + --gecos 'GNU GNATS Bug-Reporting System' @GNATSUSER@ + fi + +fi + + +############################################################################### +# +# Automatically added debhelper stuff +# +#DEBHELPER# --- gnats-4.1.0.orig/debian/gnats.postrm.in +++ gnats-4.1.0/debian/gnats.postrm.in @@ -0,0 +1,45 @@ +#!/bin/sh +# +# Gnats installation script -- written by Brian White +# (This was my very first attempt at learning perl... please forgive me!) +# +# Forgiving -- rewritten to bash :-) by Milan Zamazal . +# ...and streamlined with SED by Chad Walstrom + +set -e + +############################################################################### +# +# Utility functions +# + +# Call arguments and never return error +protect () { "$@" || true; } + +############################################################################### +# +# Common initialization for install scripts +# +if [ -f /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule +fi + +############################################################################### +# +# Purging actions +# + +if [ "$1" = purge ]; then + # Remove the inetd setting when purging this package. + update-inetd --remove "#?support.*" + + # Remove debconf templates and data + db_purge || true +fi + +############################################################################### +# +# Automatically added debhelper stuff +# +#DEBHELPER# + --- gnats-4.1.0.orig/debian/user/profile +++ gnats-4.1.0/debian/user/profile @@ -0,0 +1,6 @@ +# +# Extra profile information for the gnats administator +# + +PATH="/usr/lib/gnats:$PATH"; export PATH +GNATS_ROOT=/var/lib/gnats/gnats-db; export GNATS_ROOT --- gnats-4.1.0.orig/debian/gnats.install +++ gnats-4.1.0/debian/gnats.install @@ -0,0 +1,12 @@ +debian/tmp/usr/lib/gnats/at-pr +debian/tmp/usr/lib/gnats/check-db +debian/tmp/usr/lib/gnats/delete-pr +debian/tmp/usr/lib/gnats/gen-index +debian/tmp/usr/lib/gnats/gnats-pwconv +debian/tmp/usr/lib/gnats/gnatsd +debian/tmp/usr/lib/gnats/mail-query +debian/tmp/usr/lib/gnats/mkcat +debian/tmp/usr/lib/gnats/mkdb +debian/tmp/usr/lib/gnats/queue-pr +debian/tmp/usr/lib/gnats/rmcat +debian/tmp/etc/gnats/gnatsd.host_access --- gnats-4.1.0.orig/debian/compat +++ gnats-4.1.0/debian/compat @@ -0,0 +1 @@ +4 --- gnats-4.1.0.orig/debian/NEWS +++ gnats-4.1.0/debian/NEWS @@ -0,0 +1,26 @@ +gnats (4.0-4) experimental; urgency=low + + The Debian packaging for GNATS has undergone a huge booster shot, with an + almost complete rewrite of the ./debian directory. The package now brings + to bear useful tools such as debhelper and cdbs for construction. Patches + were made to the Makefile.in files in the GNATS source itself in order to + resolve the "incorrect paths" problems that has been plaguing the 4.0 series + of packages. + + There are still many bugs that need to be ironed out with respect to file + placement in packages and what to do about default configuration files for + user-tools installations. + + One noticeable change is the dependence of that gnats-user package by the + gnats package. Previously, these two packages conflicted with each other. + I am attempting to remove redundancy and simplify the build process by tying + them together. You may yet see a third package, gnats-common, in the near + future. + + Also added was the Localization support for the debconf templates. + Translators, please submit your *.po files for inclusion. Thanks! + + Please report any problems you have with this package to the Debian Bug + Tracking System. + + -- Chad Walstrom Wed, 14 Jul 2004 11:53:37 -0500 --- gnats-4.1.0.orig/debian/.todo +++ gnats-4.1.0/debian/.todo @@ -0,0 +1,66 @@ + + + + Debian GNATS TODO List + + + REWRITE debian/rules! + + Finished in the wee hours of the morning. Added SED templating of package.{post,pre}{inst,rm} scripts. + + + + Update debhelper compatibility + + Done + + + + Reorganize debian/rules + + Done + + + + W: gnats: extra-license-file usr/share/doc/gnats/examples/tkgnats/.arch-ids/COPYING.id + + I wasn't excluding .arch-ids directories in the examples + + + + Determine whether or not gnats-user should add the gnats user account + + + Determine if gnats-user requires database config files + + + Add a gnats-common package for docs, basic configs, etc.? + + + Finish debconf configuration + + + W: gnats source: not-using-po-debconf + + Just added. + + + + W: gnats source: cvsignore-file-in-source debian/.cvsignore + + + W: gnats-user: no-manpage-in-correct-directory usr/bin/getclose (8) + + + W: gnats-user: postinst-uses-db-input + + + W: gnats: extra-license-file usr/share/doc/gnats/examples/tkgnats/COPYING.gz + + + W: gnats: executable-not-elf-or-script ./usr/share/doc/gnats/examples/juniper-web-reports/index.html + + + W: gnats: install-info-not-called-with-section-option + + --- gnats-4.1.0.orig/debian/gnats-user.emacsen-startup +++ gnats-4.1.0/debian/gnats-user.emacsen-startup @@ -0,0 +1,27 @@ +;; +;; GNATS (bug reporting system) set-up for emacs +;; + +(setq load-path + (cons + (concat "/usr/share/" (symbol-name debian-emacs-flavor) + "/site-lisp/gnats") + load-path)) + +(autoload 'edit-pr "gnats" + "Command to edit a problem report." t) +(autoload 'query-pr "gnats" + "Command to query information about problem reports." t) +(autoload 'send-pr "gnats" + "Command to create and send a problem report." t) +(autoload 'view-pr "gnats" + "Command to view a problem report." t) +(autoload 'unlock-pr "gnats" + "Unlock a problem report." t) +(autoload 'unlock-database "gnats" + "Unlock the whole database." t) +(autoload 'gnats-change-database "gnats" + "Set new database parameters." t) +(autoload 'gnats-dbconfig-mode "gnats" + "Major mode for editing the `dbconfig' GNATS configuration file." t) +(add-to-list 'auto-mode-alist '("\\, borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=gnats + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} + +#FLAVORTEST=`echo $FLAVOR | cut -c-6` +#if [ ${FLAVORTEST} = xemacs ] ; then +# SITEFLAG="-no-site-file" +#else +# SITEFLAG="--no-site-file" +#fi +FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +# Install-info-altdir does not actually exist. +# Maybe somebody will write it. +if test -x /usr/sbin/install-info-altdir; then + echo install/${PACKAGE}: install Info links for ${FLAVOR} + install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz +fi + +install -m 755 -d ${ELCDIR} +cd ${ELDIR} +FILES=`echo *.el` +cp ${FILES} ${ELCDIR} +cd ${ELCDIR} + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f *.el path.el + +exit 0 --- gnats-4.1.0.orig/debian/changelog +++ gnats-4.1.0/debian/changelog @@ -0,0 +1,764 @@ +gnats (4.1.0-0.2ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu change: + - debian/control: Add update-inetd to gnats's dependencies + * Modify Maintainer value to match Debian-Maintainer-Field Spec + + -- Lionel Porcheron Sat, 19 May 2007 11:15:45 +0200 + +gnats (4.1.0-0.2) unstable; urgency=high + + * Non-maintainer upload during BSP + * Fix unconditional use of debconf in postrm scripts (Closes: #416754) + - Add a check in gnats.postrm.in + - Remove the manual debconf calls from gnats-user.postrm.in as they + are added by debhelper automatically + + -- Steffen Joeris Fri, 18 May 2007 22:35:36 +1000 + +gnats (4.1.0-0.1ubuntu1) feisty; urgency=low + + * debian/control: Add update-inetd to gnats's dependencies + (Closes Ubuntu: #76099). + + -- Lionel Porcheron Sun, 17 Dec 2006 11:03:57 +0100 + +gnats (4.1.0-0.1) unstable; urgency=low + + * Non-maintainer upload to fix longstanding l10n and debconf issues + * Depend on debconf | debconf-2.0. Closes: #331840 + * Fix incorrect hard-formatting in one template. Correct incorrect use + of an article in that template. Closes: #311807 + * Mark a few strings as non translatable in templates + * Debconf translations: + - Vietnamese added. Closes: #311806 + - Japanese added. Closes: #283273 + - Czech added. Closes: #319931 + - Brazilian Portuguese added. Sent during the call for updates of the + NMU campaign + - Swedish added. Sent during the call for updates of the NMU campaign + - Russian added. Sent during the call for updates of the NMU campaign + - Portuguese added. Sent during the call for updates of the NMU campaign + - German added. Sent during the call for updates of the NMU campaign + * Fix bashisms in maintainer scripts and don't make these bash scripts + Closes: #305632 + * Lintian fixes: + - Correct chown usage in maintainer scripts + - /var/lib/gnats/.profile cannot be a conffile + - make the gnats-user package depend on netbase and adduser, as it + uses update-inetd and adduser + - ditto for gnats that should depend on adduser + - Fix a missing quote error in gnats/edit-pr + + -- Christian Perrier Thu, 16 Nov 2006 07:40:36 +0100 + +gnats (4.1.0-0) unstable; urgency=low + + * New upstream version + * debian/rules: now uses '--with-lispdir' option instead of environment + variable overloading. Re-enabled optimization. + + -- Chad Walstrom Mon, 7 Mar 2005 17:56:31 -0600 + +gnats (4.0-7) unstable; urgency=high + + * debian/gnats.info: Added info docs + * debian/rules: Fix gnatsd segfaulting due to gcc optimization. Added + DEB_BUILD_OPTIONS=noopt. Thanks, Frank Lichtenheld for helping track this + one down. + + -- Chad Walstrom Fri, 5 Nov 2004 09:25:48 -0600 + +gnats (4.0-6.1) unstable; urgency=high + + * Non-maintainer upload as requested by maintainer. + * CAN-2004-0623: Fix format string vulnerability in misc.c + (Closes: #278577) Report and patch by Joey Hess + * Include French translation of debconf templates by + Michel Grentzinger (Closes: #267572) + + -- Frank Lichtenheld Sat, 30 Oct 2004 00:33:09 +0200 + +gnats (4.0-6) unstable; urgency=low + + * debian/gnats-user.install, debian/rules: Builds were failing because the + @lispdir@ variable was not being overriden or specified. Fixed. + * .../Makefile.in: Patched in 4.0-4 solve the issue with incorrect default + path names for configuration and database files and manpages. + - Closes: #241416: package install doesn't finish + - Closes: #222830: Unexistant directories in manpages + * debian/control: Changed exim dependency to exim4 + - Closes: #228564: Please update Dependencies to exim4 + - Closes: #255343: please depend on exim4 instead of exim + * debian/templates: Fixed in 4.0-4, noted here. + - Closes: #240861: Please switch to gettext-based debconf templates + + -- Chad Walstrom Wed, 4 Aug 2004 11:40:40 -0500 + +gnats (4.0-5) unstable; urgency=low + + * Migrating to unstable. No real show-stoppers or new bugs filed. + + -- Chad Walstrom Mon, 2 Aug 2004 10:00:30 -0500 + +gnats (4.0-4) experimental; urgency=low + + * The "Open up and say, 'Ah'" Release + * debian/: Major rewrite + - debian/rules: Using CDBS to drive package creation + - debian/compat, debian/gnats-user.dirs, debian/gnats-user.install, + debian/gnats.conffiles, debian/gnats.docs, debian/gnats.examples, + debian/gnats.info, debian/gnats.install, debian/gnats.manpages, + debian/gnats-user.manpages: Use debhelper configuration files + extensively, simplifying the debian/rules file in the process. Moved + some existing support files to package-specific names. + - debian/scripts [removed], debian/common.sed, + debian/gnats-user.postinst.in, debian/gnats-user.postrm.in, + debian/gnats-user.prerm.in, debian/gnats.postinst.in, + debian/gnats.postrm.in, debian/gnats.preinst.in, debian/gnats.prerm.in: + Use a sed script to replace the functionality of the debian/scripts + directory. Replace @KEYWORDS@ in *.in files to coordinate path names + and and identifiers. + * debian/control: Reorganized package file distribution and dependencies + - gnats-user contains all of the common files and documentation + - gnats depends upon gnats-user + * Patched Makfile.in files to include DESTDIR variable for file installation + * debian/scripts: Removed. Replaced with template + PACKAGE.{pre,post}{inst,rm} files. + * debian/misc/send-pr.conf: Small edit, allowing SUBMITTER variable + * doc/man/getclose.man: Added an actual manpage for getclose(8) + * debian/gnats.xinetd.in: Added an xinetd service file. + + -- Chad Walstrom Thu, 15 Jul 2004 15:55:49 -0500 + +gnats (4.0-3) unstable; urgency=low + + * Adopted. Closes: #215366 + * debian/copyright: Updated to reflect current project site locations and + authors. + * debian/rules: Very basic cleanups. Added logical stamp files. Changed + call to gnatsclean target to "maintainer-clean". This removed *.info + files for dpkg-source resulting in a significantly smaller *.diff.gz. + * Cleaned out GNU arch control files and directories (./.arch-ids). They + don't belong in a *.diff.gz, just like CVS directories. + + -- Chad Walstrom Wed, 4 Feb 2004 17:36:13 -0600 + +gnats (4.0-2) unstable; urgency=low + + * Orphaned. + + -- Milan Zamazal Sun, 12 Oct 2003 14:02:27 +0200 + +gnats (4.0-1) unstable; urgency=low + + * New upstream release; closes: #206273. + * Quote shell expression in debian/scripts/addmail; closes: #102713. + * Use makeinfo instead of texi2html. + + -- Milan Zamazal Fri, 29 Aug 2003 16:24:38 +0200 + +gnats (3.999.beta2+cvs20030310-1) unstable; urgency=low + + * New CVS snapshot. + * Install the `gnats' group if not present; closes: #180223. + * Error in the `gnats/exim_user_add' template fixed; closes: #181750. + * __restrict_arr definition bug fixed in gnats/regex.h; closes: #182262. + * Lintian overrides updated. + * Don't install the /usr/doc link anymore. + + -- Milan Zamazal Sat, 8 Mar 2003 18:49:21 +0100 + +gnats (3.999.beta2-2) unstable; urgency=low + + * config.guess and config.sub updated; closes: #176233. + + -- Milan Zamazal Mon, 13 Jan 2003 09:15:43 +0100 + +gnats (3.999.beta2-1) unstable; urgency=low + + * New upstream version. + * The gnats/exim_user_uncomment template fixed; closes: #161491. + * Emacs load-path in gnats-user fixed; closes: #164702. + + -- Milan Zamazal Fri, 3 Jan 2003 13:50:15 +0100 + +gnats (3.999.beta1+cvs20020804-1) unstable; urgency=low + + * New CVS snapshot. + * Set DEFAULT_ORGANIZATION instead of ORGANIZATION in send-pr.conf. + * Don't install upstream ChangeLog. + * Autoload gnats-change-database in gnats.el. + + -- Milan Zamazal Sun, 4 Aug 2002 18:35:30 +0200 + +gnats (3.999.beta1+cvs20020519-1) unstable; urgency=low + + * New CVS snapshot; closes: #138290. + * Don't remove the emacs21 site-lisp directory in postrm; + closes: #143204. + * README.Debian explains now, that the e-mail utilities must run under + the `gnats' user; closes: #132961. + + -- Milan Zamazal Sun, 19 May 2002 21:35:58 +0200 + +gnats (3.999.beta1+cvs20020303-1) unstable; urgency=low + + * New CVS snapshot; closes: #133268, #136176. + * gnats: Uninstall Emacs files in prerm, not postrm. + * Remove the *.elc directory in emacsen-remove; closes: #132535. + * exim.conf location updated. + + -- Milan Zamazal Sat, 2 Mar 2002 21:59:14 +0100 + +gnats (3.999.beta1-1) unstable; urgency=low + + * New upstream version (wow!). + + -- Milan Zamazal Sat, 5 Jan 2002 22:08:58 +0100 + +gnats (3.999.20011223-2) unstable; urgency=low + + * Restore gnats-queue if it gets deleted during the upgrade. + + -- Milan Zamazal Sun, 23 Dec 2001 21:56:52 +0100 + +gnats (3.999.20011223-1) unstable; urgency=low + + * New CVS snapshot; closes: #123205. + * README.Gnatsweb and Gnatsweb related build targets removed. + * Don't suggest gnats2w, which is almost orphaned now. + * Add the `gnats -> root' mail alias; closes: #118237. + * Home directory changed to /var/lib/gnats. + * Most /etc/passwd issues are handled automatically now. + * "Unimportant" debconf messages removed. + * gnats-dbconfig-mode added to the Emacs startup file. + * Don't install the /var/lib/gnats/gnats-db directory. + * Create `default' instead of `standard' link in /etc/gnats/db-config. + * Create the `default' database if needed. + * Call dh_installdocs in binary-server and binary-user. + * Call dh_installdeb in binary-user. + * Use dh_builddeb. + * Let all the files in /etc/ are conffiles. + * DH_COMPAT set to 3. + * No lintian 1.20.17 errors. + + -- Milan Zamazal Sun, 23 Dec 2001 20:42:14 +0100 + +gnats (3.999.20011112-1) unstable; urgency=low + + * New CVS snapshot; closes: #116652. + * Don't build-depend on emacs. + + -- Milan Zamazal Mon, 12 Nov 2001 18:40:54 +0100 + +gnats (3.999.20010906-1) unstable; urgency=low + + * New CVS snapshot; closes: #111162. + * One missing sendmail option added; really closes: #111037. + * sendmail's location changed to /usr/sbin. + * Don't use the no longer present --with-full-gnats configure option; + use *-tools targets for gnats-user. + + -- Milan Zamazal Thu, 6 Sep 2001 20:34:32 +0200 + +gnats (3.999.20010904-1) unstable; urgency=low + + * New CVS snapshot. + * Set sendmail's location unconditionally so that the package doesn't + build-depend on a mail-transport-agent; closes: #111037. + * Don't invoke configure for subdirectories, it's no longer needed. + + -- Milan Zamazal Tue, 4 Sep 2001 16:51:36 +0200 + +gnats (3.999.20010829-1) unstable; urgency=low + + * New CVS snapshot; closes: #110068. + * Standards 3.5.6 (no change). + * The obsolete code in `rules' using /tmp commented out; closes: #109440. + * Build on Alpha again (if the porters have got their Alphas running, I + might find out what's wrong with the compilation there). + * No lintian 1.20.14 errors. + + -- Milan Zamazal Wed, 29 Aug 2001 21:37:12 +0200 + +gnats (3.999.20010729-1) unstable; urgency=low + + * New CVS snapshot. + * Use `ln -sf' in installation scripts to rewrite dangling symlinks; + closes: #99632. + * Update documentation handling caused by the source tree + reorganization. + * Call check-db in cron with `--all-databases'. + * Site name guessing improved and asks the user now; closes: #78181. + * Standards 3.5.5. + * No lintian 1.20.13 errors. + * Don't build with -Werror on alpha; closes: #99283. + (I'm very annoyed by doing this, it "fixes" a bug just by ignoring it, + but I don't have a reliable access to any Alpha machine and I don't + know a better way how to push the package to testing in a reasonable + way.) + * Since the previous "fix" won't work until the top-level GNATS + configure stuff is reworked, don't build on alpha at all (due to + deficiences in the Architecture field syntax, this prevents building + on newly introduced architectures as well). + * Home page location in description changed. + * Typo in the item type of a debconf template fixed; closes: #106322. + * Create `locks' subdirectory in the default database; closes: #104195. + + -- Milan Zamazal Sun, 29 Jul 2001 14:14:03 +0200 + +gnats (3.999.20010617-1) unstable; urgency=low + + * New CVS snapshot; closes: #98833. + * Add configuration files to the standard database if necessary; + closes: #99644. + * The site name configuration code removed. + + -- Milan Zamazal Sun, 17 Jun 2001 21:06:32 +0200 + +gnats (3.999.20010527-1) unstable; urgency=low + + * New CVS snapshot. + * Emacs local variables removed from this file. + * The DEFAULTSDIR hack removed. + * Ensure cron jobs exit with the code 0. + * The Debian files explicitly put in public domain. + + -- Milan Zamazal Sun, 27 May 2001 14:21:40 +0200 + +gnats (3.999.20010225-2) unstable; urgency=low + + * Man page linking moved after dh_compress; closes: #90004, #90007. + * Lintian override file added. + + -- Milan Zamazal Mon, 19 Mar 2001 18:21:57 +0100 + +gnats (3.999.20010225-1) unstable; urgency=low + + * Priority changed to `extra'. + * Moved to standards 3.5.0. + * The `-g' compilation flag made optional, w.r.t. DEB_BUILD_OPTIONS. + * gnats-user: Links to undocumented man pages removed. + * Permissions of control files fixed. + * `exim' prepended to the dependencies on `mail-transport-agent'. + * Link unavailable man pages to gnats.7. + * gnatsweb entry removed from `control'; closes: #89044. + * No lintian 1.20.6 errors. + + -- Milan Zamazal Fri, 16 Mar 2001 12:17:39 +0100 + +gnats (3.999.20010121-2) unstable; urgency=low + + * gnats/check-db.sh: Missing `fi's added. + * pr-edit segfault fixed; closes: #83418. + + -- Milan Zamazal Wed, 24 Jan 2001 22:22:11 +0100 + +gnats (3.999.20010121-1) unstable; urgency=low + + * New CVS snapshot (wow!). + * contrib programs removed, because of (temporary?) problems with them; + that means gnatsweb and tkgnats aren't built. + * debian/copyright: Updated. + * debian/gnats.el: Updated. + * emacs19 removed from build dependencies; closes: #82677. + * Home page URLs in descriptions updated. + + -- Milan Zamazal Sun, 21 Jan 2001 20:37:59 +0100 + +gnats (3.999.20000924-3) unstable; urgency=low + + * mkdb related fixes; closes: #76681. + * Create `dbconfig' in /var/lib/gnats/gnats-db/gnats-adm if needed + (thanks to Hugo Gayosso for providing a necessary hint); closes: #71587. + * Note this is still ALPHA quality software and there is almost no + upstream development last few months. Use this version at your own + risk. + + -- Milan Zamazal Sun, 12 Nov 2000 15:54:19 +0100 + +gnats (3.999.20000924-2) unstable; urgency=low + + * Build dependencies on flex and bison added (thanks to Roman Hodek, who + patiently reports all the build dependency bugs); closes: #72470. + * Don't build gnats-tk (it hasn't been ported for GNATS 4 yet). + + -- Milan Zamazal Sat, 30 Sep 2000 17:13:54 +0200 + +gnats (3.999.20000924-1) unstable; urgency=low + + * New CVS version. + * Typo in Build-Depends fixed; closes: #72002. + + -- Milan Zamazal Sun, 24 Sep 2000 13:52:07 +0200 + +gnats (3.999.20000820-2) unstable; urgency=low + + * Build-depend on texi2html instead of tetex-bin; closes: #68454, #71424. + + -- Milan Zamazal Tue, 12 Sep 2000 20:10:15 +0200 + +gnats (3.999.20000820-1) unstable; urgency=low + + * New upstream version (beta version of GNATS 4 from CVS); + closes: #53212, #61960. + * DO NOT USE THIS ON A PRODUCTION SERVER! There are incompatibilities + between GNATS 3 and GNATS 4 and the package hasn't been tested much + yet. The package seems to do something, but has definitely many + bugs. Bug reports on any bugs are welcome! + * Printed dates include numeric time zone, not a time zone abbreviation + (idea of Konstantin Kivi); closes: #64883. + * gnatsweb: Konstantin Kivi's example of emitting a KOI-8 HTTP header + added. + + -- Milan Zamazal Sun, 10 Sep 2000 15:43:44 +0200 + +gnats (3.113-15) unstable; urgency=low + + * Other files from /var/lib/gnats/gnats-db/gnats-adm/ made conffiles; + closes: #68026. + + -- Milan Zamazal Mon, 31 Jul 2000 22:04:31 +0200 + +gnats (3.113-14) unstable; urgency=low + + * WARNING: Unless some important bug is found, this is the last + packaging of the 3.113 version. I plan to package pre-release GNATS 4 + (which is a bit incompatible with the older version) in few weeks. + * Give advice about exim configuration; closes: #64882. + * Maximum line size in gnatsd.c enlarged to 10000 B; closes: #67425. + * All quotes and backquotes in template replaced by double-quotes; + hopefully closes: #66831. + + -- Milan Zamazal Mon, 24 Jul 2000 20:05:14 +0200 + +gnats (3.113-13) frozen unstable; urgency=low + + * Call `db_purge' in postrm; closes: #65443. + * `gnatsd.access' shouldn't be world readable; partially fixes #65470. + * This upload goes to frozen because the fixed bugs were reported with + the severity `important'. + + -- Milan Zamazal Sun, 11 Jun 2000 09:39:21 +0200 + +gnats (3.113-12) frozen unstable; urgency=low + + * gnatsweb must depend on libmime-base64-perl; closes: #63173. + + -- Milan Zamazal Sat, 29 Apr 2000 18:30:58 +0200 + +gnats (3.113-11) frozen unstable; urgency=low + + * Reply-To bug in send-pr fixed; closes: #62137. + + -- Milan Zamazal Mon, 10 Apr 2000 20:26:51 +0200 + +gnats (3.113-10) frozen unstable; urgency=low + + * Installation of debconf template for gnats-user fixed; closes: #61823. + * Do not byte compile Emacs files for the `xemacs21' flavor, avoiding + thus installation crash on machines with XEmacs 21 installed. + + -- Milan Zamazal Sun, 9 Apr 2000 10:13:50 +0200 + +gnats (3.113-9) frozen unstable; urgency=low + + * Bug in `mkdist' fixed, it works now; closes: #61397. + (I'm not sure it justifies update in frozen because mkdist is not so + much used utility, but the bug is marked as important, so ...). + * `config.*' files replaced by those from current automake, to avoid + compilation problems on ARM; closes: #60959. + + -- Milan Zamazal Fri, 31 Mar 2000 20:52:32 +0200 + +gnats (3.113-8) frozen unstable; urgency=low + + * gnats-user: Emacs files installation fixed; closes: #58607. + * Do not print a welcome message in .profile, since it causes cron to + generate mails to admin. + * ~gnats/.profile is now conffile. + + -- Milan Zamazal Wed, 23 Feb 2000 19:09:16 +0100 + +gnats (3.113-7) frozen unstable; urgency=low + + * Add user field into the /etc/cron.d script, the script didn't work! + + -- Milan Zamazal Thu, 20 Jan 2000 20:26:32 +0100 + +gnats (3.113-6) frozen unstable; urgency=low + + * Fix gnatsweb dependencies; closes: #54658. + + -- Milan Zamazal Sat, 15 Jan 2000 10:45:53 +0100 + +gnats (3.113-5) unstable; urgency=low + + * Protect all db_inputs with `|| true'. + + -- Milan Zamazal Sat, 8 Jan 2000 21:25:58 +0100 + +gnats (3.113-4) unstable; urgency=low + + * Build dependencies fixed; closes: #52778. + + -- Milan Zamazal Wed, 15 Dec 1999 18:55:40 +0100 + +gnats (3.113-3) unstable; urgency=low + + * Install debconf files! + + -- Milan Zamazal Tue, 14 Dec 1999 09:28:28 +0100 + +gnats (3.113-2) unstable; urgency=low + + * Build-depend on tetex-base. + * Define GNATS_USER during compilation (gnats-tk should work again). + + -- Milan Zamazal Wed, 24 Nov 1999 23:07:59 +0100 + +gnats (3.113-1) unstable; urgency=low + + * New upstream version. + * Standards 3.1.1. + * Homepage URL added to control. + * Use `xargs -r' in rules. + * Use debconf. + * Less verbose configuration. + * The waitcr subscript removed. + * Remove `support', not `gnats' from inetd.conf on purge. + * Call newaliases, if available, after changing /etc/aliases. + * Menu entry for gnats-tk defined. + * Build dependencies introduced. + * Reference to GPL location on Debian updated. + * One forgotten /usr/doc occurence moved to /usr/share/doc. + + -- Milan Zamazal Thu, 18 Nov 1999 22:21:41 +0100 + +gnats (3.112.1-2) unstable; urgency=low + + * gnatsd.access is a conffile now; closes: #48638. + * Notify addresses concatenation fixed, thanks to Eric Valette for + providing appropriate information. + * No lintian 1.10 errors. + + -- Milan Zamazal Sun, 31 Oct 1999 19:31:50 +0100 + +gnats (3.112.1-1) unstable; urgency=low + + * New upstream version; closes: #45761. + * Apply dh_clean, so that the debhelper generated files were not + included in *.diff.gz. + * gnatsweb package created on a user's request; but don't expect much of + it now. + + -- Milan Zamazal Mon, 27 Sep 1999 22:09:52 +0200 + +gnats (3.111-3) unstable; urgency=low + + * Moved to FHS. + * Compiled with egcs/glibc 2.1. + * The new upstream version didn't fix the glibc 2.1 compilation + problems, so the fixes are back again. + * One more such a fix (for gnatsd). + * Handle non-existent /etc/aliases properly; closes: #44873. + * The shell for cross-check changed from ksh to bash. + * Standards 3.0.1. + * No lintian 1.8.2 errors. + + -- Milan Zamazal Mon, 13 Sep 1999 22:13:53 +0200 + +gnats (3.111-2) unstable; urgency=low + + * check-db.sh: Improve "cron" message. + * check-db.sh: Unlock if exiting when index not found. + + -- Milan Zamazal Tue, 7 Sep 1999 21:00:50 +0200 + +gnats (3.111-1) unstable; urgency=low + + * New upstream version. + * inetd entry changed from `gnats' to `support'; closes: #43612. + * index.html in HTML docs is a symlink now, not renamed table of + contents; closes: #43617. + + -- Milan Zamazal Sat, 28 Aug 1999 10:47:07 +0200 + +gnats (3.110-7) unstable; urgency=low + + * tkgnats doc & example files installed; closes: #33479. + * Better messages about /etc/passwd in postinst; closes: #37824. + * LIBEXECDIR for gnats-tk fixed. + + -- Milan Zamazal Tue, 17 Aug 1999 22:23:58 +0200 + +gnats (3.110-6) unstable; urgency=low + + * gnats suggests gnats2w. + * The `software.free.com' entry in gnatsd.conf commented out; + closes: #42746. + * The default value of GNATS_ROOT in ~gnats/.profile fixed; + closes: #42748. + * gnats-db.conf is a conffile now. + + -- Milan Zamazal Fri, 13 Aug 1999 19:58:33 +0200 + +gnats (3.110-5) unstable; urgency=low + + * Bug in change in `check-db' fixed. + * Yet another "outfile" fix. + + -- Milan Zamazal Mon, 2 Aug 1999 23:24:20 +0200 + +gnats (3.110-4) unstable; urgency=low + + * DANGER! -- installation scripts rewritten, be careful or brave. + Anyway, any problem reports are welcome! + * qmail support; closes: #24131. + * Emacs compilation support. + * `gnats-user' dependency on `emacs' changed to `emacsen'. + * `gnats-user' no longer installs files into /usr/libexec/. + * Yet another "outfile" fix. + * reset-gnats: Print error when not run from the `gnats' account; + closes: #40914. + * /etc/aliases handling improved; closes: #40858. + * Installation scripts rewritten from Perl to bash to be more simple and + robust and many fixes done in them. + * More error trapping in rules. + * HTML documentation provided. + * crontabs installed into /etc/cron*. + * Using `tempfile', so dependency on debianutils added. + * Install /etc/gnats/gnats-db.conf. + * Symlink made in /etc/gnats/ to standard database; closes: #40906. + * GNATS_ROOT added to ~gnats/.profile. + * Configuration reading bug in send-pr.el fixed; closes: #26352. + * No lintian 1.5 errors. + + -- Milan Zamazal Mon, 26 Jul 1999 21:20:42 +0200 + +gnats (3.110-3) unstable; urgency=low + + * Password setting advice in postinst fixed; closes: #39619. + * LIBEXECDIR fixed for /usr/lib/gnats/* scripts. + * GNATS_ADMIN fixed. + * Sample categories commented out in configuration; closes: #32904, #34240. + * Configuration suggested in /usr/lib/check-db if index doesn't exist. + * Still untested package, serious bugs possible. + + -- Milan Zamazal Thu, 17 Jun 1999 00:11:43 +0200 + +gnats (3.110-2) unstable; urgency=low + + * Tkgnats configuration fixed. + * Applied patch by Kaz Sasayama to avoid file-pr segfaults; closes: #37229. + * Applied patch by Konstantinos Margaritis to avoid stdout initialization + problems on powerpc potato systems; closes: #38166, #38272. + + -- Milan Zamazal Mon, 14 Jun 1999 20:57:04 +0200 + +gnats (3.110-1) unstable; urgency=low + + * New upstream version. + * New maintainer. + * UNTESTED PACKAGE VERSION, USE AT YOUR OWN RISK ONLY! + * No longer native Debian package. + * Standards 2.5.0. + * Compiled with `-O2 -g'. + * `copyright' updated. + * `copyright' not compressed. + * debian/rules changes. + * Using debhelper now. + * MD5 sums added. + * CYGNUS installed into /usr/doc/. + * Executing shell of `reset-gnats' changed to bash to not generate + annoying dependency on pdksh. + * Docs of `gnats-user' installed to `/usr/doc/gnats-user'. + * No lintian 1.3 errors. + * No fixes of reported bugs yet, wait for the next version, please. + + -- Milan Zamazal Sun, 6 Jun 1999 19:57:24 +0200 + + +gnats (3.104-6) unstable; urgency=low + + * Suggest "emacsen" instead of "emacs" (Bug#24614) + * Don't see "gnats-user" alias as a gnats alias (Bug#26296) + + -- Brian White Tue, 13 Oct 1998 12:38:13 -0400 + + +gnats (3.104-5) frozen unstable; urgency=low + + * Include /usr/lib/gnats in path instead of GNATS_ROOT/gnats-bin (Bug#21636) + * Now depend on 'wish' instead of tk42 (Bug#21490) + * Move tkgnats man page from /usr/share to /usr (Bug#21029) + * Corrected gnats user setting (Bug#21030) + + -- Brian White Mon, 11 May 1998 19:42:06 -0400 + + +gnats (3.104-4) frozen unstable; urgency=low + + * Fixed GNATS_ROOT problem with contributed scripts (Bug#19554, #19555, #19899) + * Changed check-categories to abort in case of error (Bug#19898) + * Fixed tkgnats search path to /usr/share/tkgnats (Bug#19968) + * Fixed incorrect install of copyright file (Bug#20377) + + -- Brian White Sat, 11 Apr 1998 14:11:02 -0400 + + +gnats (3.104-3) unstable; urgency=low + + * Fixed (hopefully) problem with delete-pr (Bug#18832) + * Fixed spelling mistake in description (Bug#18915) + * Fixed copyright files in gnats-tk (Bug#19317) + * Added missing manpages (Bug#19317) + + -- Brian White Wed, 11 Mar 1998 13:25:17 -0500 + + +gnats (3.104-2) unstable; urgency=low + + * Fixed problem link to uncompressed.7 (Bug#16163) + * Fixed incorrect variable in check-db (Bug#16369) + + -- Brian White Thu, 19 Feb 1998 13:08:41 -0500 + + +gnats (3.104-1) unstable; urgency=low + + * New upstream source + * Have postinst call "adduser" if user password entry doesn't exist (Bug#8446) + * Fixed problem with unset GNATS_ADDR (Bug#11348) + + -- Brian White Wed, 23 Jul 1997 14:01:51 -0400 + + +gnats (3.101-2) frozen unstable; urgency=low + + * Added patch to fix problems calling new "at" (Bug#8801) + * Added patch to fix nis dependancy (Bug#8799) + * Changed debian/rules to determine PWD itself (Bug#8800) + + -- Brian White Fri, 25 Apr 1997 13:27:20 -0400 + + +gnats (3.101-1) unstable; urgency=low + + * New upstream source + * New packaging format + * Changed gnats uid/gid to #41 + * Fixed permisions of gnats.conffiles (Bug#4661) + * Fixed install of send-pr info file (Bug#3053) + + -- Brian White Mon, 27 Jan 1997 21:23:55 -0500 + + +gnats (3.2-1) unstable; urgency=low + + * Added Debian GNU/Linux package maintenance system files + * Fixes required a couple C prototypes + * and a mod to the Makefile (.in) to properly find the install.sh program + + -- Brian White Mon, 18 Nov 1995 23:44:17 -0500 --- gnats-4.1.0.orig/debian/README.Debian +++ gnats-4.1.0/debian/README.Debian @@ -0,0 +1,10 @@ +Using GNU GNATS via e-mail requires that the processing programs run under the +`gnats' user. Ensuring this is strongly MTA and site-configuration dependent, +so the installation program doesn't try to configure it for you. Please refer +to your MTA documentation how to enable do it. As for Exim, the default Debian +MTA, you can add the line + + user = gnats + +into the `system_aliases' section of your /etc/exim/exim.conf to make the GNATS +e-mail processing via the commands defined in /etc/aliases working. --- gnats-4.1.0.orig/debian/overrides.gnats-user +++ gnats-4.1.0/debian/overrides.gnats-user @@ -0,0 +1,5 @@ +# These binaries are setuid gnats to allow modification of GNATS databases by +# ordinary users. +gnats-user: setuid-binary usr/lib/gnats/queue-pr 4755 gnats/root +gnats-user: setuid-binary usr/lib/gnats/gen-index 4755 gnats/root +gnats-user: setuid-binary usr/lib/gnats/pr-edit 4755 gnats/root --- gnats-4.1.0.orig/debian/gnats.prerm.in +++ gnats-4.1.0/debian/gnats.prerm.in @@ -0,0 +1,61 @@ +#!/bin/sh +# +# Gnats installation script -- written by Brian White +# (This was my very first attempt at learning perl... please forgive me!) +# +# Forgiving -- rewritten to bash :-) by Milan Zamazal . +# ...and streamlined with SED by Chad Walstrom + +set -e + +############################################################################### +# +# Utility functions +# + +# Call arguments and never return error +protect () { "$@" || true; } + +############################################################################### +# +# Common initialization for install scripts +# + +. /usr/share/debconf/confmodule + +protect db_get gnats/site +SITE=${RET:-@DEFSITE@} + +############################################################################### +# +# Purge operations +# + +if [ "$1" = purge ] ; then + + # + # Remove the 'gnats' system from mail + # + if [ -f @MAILFILE@ ] ; then + TEMPFILE=$(tempfile) + OLDMAILFILE=@MAILFILE@.dpkg-old + + sed 's/^[ \t]*\(gnats-admin\|bugs\|query-pr\|$SITE-gnats\)\>\(.*\)$/#\1\2/' \ + @MAILFILE@ >$TEMPFILE + cp @MAILFILE@ $OLDMAILFILE + chmod 644 $TEMPFILE + mv $TEMPFILE @MAILFILE@ + fi + + # + # Remove symlinks to databases + # + protect rm -f @DB_CONFIG_DIR@/* + +fi + +############################################################################### +# +# Automatically added debhelper stuff +# +#DEBHELPER# --- gnats-4.1.0.orig/debian/rules +++ gnats-4.1.0/debian/rules @@ -0,0 +1,125 @@ +#!/usr/bin/make -f +# NAME +# debian/rules -- Debian build rules for GNATS +# +# DESCRIPTION +# This Makefile uses the CDBS makefiles to wrap the common package building +# steps necessary to make the gnats binary packages. +# +# COPYRIGHT +# Copyright (c) 2004 Chad Walstrom +# +# LICENSE +# 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. +# +################################################################################ +#DH_VERBOSE=1 + +# Previous versions of gnats had problems with gcc optimized +#DEB_BUILD_OPTIONS = noopt + +################################################################################ +# CDBS Includes +################################################################################ +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +# Bison override +YACC = bison-1.35 +INSTALL = install +INSTALL_INFO = /bin/true + +# VARIABLES +DATADIR := $(DEB_CONFIGURE_LOCALSTATEDIR)/lib/gnats +HOMEDIR := $(DATADIR) +DBDIR := $(DATADIR)/gnats-db +LISPDIR := /usr/share/emacs/site-lisp/gnats +CONFDIR := $(DEB_CONFIGURE_SYSCONFDIR)/gnats +USER_ACCESS_FILE := $(CONFDIR)/gnatsd.user_access +HOST_ACCESS_FILE := $(CONFDIR)/gnatsd.host_access +GNATS_DATABASES := $(CONFDIR)/databases + +DEB_MAKE_ENVVARS += DEFAULT_SITE=unknown-site \ + GNATS_SITE=unknown-site \ + GNATS_ADMIN=gnats-admin \ + GNATS_ADDR=unknown-addr \ + DEFAULT_ORGANIZATION=unknown-org \ + SUBMITTER=unknown-org \ + GNATS_USER=gnats \ + CHECK_CFG=no + +DEB_CONFIGURE_SCRIPT_ENV += SENDMAIL=/usr/sbin/sendmail + +# Gnats already installs libexec binaries in a "gnats" subdirectory +DEB_CONFIGURE_LIBEXECDIR = "\$${prefix}/lib" +DEB_CONFIGURE_EXTRA_FLAGS = \ + --with-gnats-root='$(DBDIR)' \ + --with-gnats-service=gnats \ + --with-gnats-default-db=$(DBDIR) \ + --with-gnatsd-user-access-file=$(USER_ACCESS_FILE) \ + --with-gnatsd-host-access-file=$(HOST_ACCESS_FILE) \ + --with-gnats-dblist-file=$(GNATS_DATABASES) \ + --with-lispdir=$(LISPDIR) + +DEB_INSTALL_DIRS_ALL = usr/bin usr/sbin usr/lib/gnats etc/gnats/defaults \ + usr/share/man/man1 usr/share/man/man5 usr/share/man/man7 \ + usr/share/man/man8 usr/share/lintian/overrides + +DEB_INSTALL_DIRS_gnats_user = usr/share/emacs/site-lisp/gnats +DEB_INSTALL_DIRS_gnats = var/lib/gnats var/lib/gnats/gnats-db \ + usr/share/doc/gnats/gnats etc/gnats/db-config etc/xinetd.d +DEB_INSTALL_EXAMPLES_gnats = -X.arch-ids -X.cvsignore + +# Don't edit the {post,pre}{inst,rm} scripts +DEB_INSTALL_INFO_gnats = -n + + +debscripts_tmpl := $(wildcard debian/*.in) +debscripts := $(patsubst %.in,%,$(debscripts_tmpl)) +common-configure-arch:: $(debscripts) +$(debscripts): + @echo "Build debian script $@" + sed -f debian/common.sed < $@.in > $@ + +common-install-prehook-arch:: + @echo "dh_installdirs doesn't install in the staging area" + -for d in $(DEB_INSTALL_DIRS_ALL) ; do \ + mkdir -p debian/tmp/$$d ; \ + done + @echo "Building HTML documentation" + -cd doc ; \ + for i in gnats.texi gnats-faq.texi ; do \ + $(MAKEINFO) --number-sections --html $$i ; \ + done + +install/gnats:: + $(INSTALL) -m644 debian/user/profile debian/gnats/var/lib/gnats/.profile + $(INSTALL) -m444 debian/overrides.gnats debian/gnats/usr/share/lintian/overrides/gnats + $(INSTALL) -m 644 debian/dhelp \ + debian/gnats/usr/share/doc/gnats/gnats/.dhelp + $(INSTALL) -m 444 debian/gnats.xinetd debian/gnats/etc/xinetd.d/gnats + +binary-predeb/gnats:: + rm debian/gnats/usr/share/doc/gnats/examples/tkgnats/COPYING.gz + chmod 0644 debian/gnats/usr/share/doc/gnats/examples/juniper-web-reports/index.html + dh_strip + +install/gnats-user:: + $(INSTALL) -m644 debian/misc/send-pr.conf debian/gnats-user/etc/gnats + $(INSTALL) -m444 debian/overrides.gnats-user \ + debian/gnats-user/usr/share/lintian/overrides/gnats-user +clean:: + -rm -f $(debscripts) + -rm -rf doc/gnats doc/gnats-faq doc/*.info --- gnats-4.1.0.orig/debian/gnats.xinetd.in +++ gnats-4.1.0/debian/gnats.xinetd.in @@ -0,0 +1,11 @@ +# default: off +# description: Gnats Help Queue System +service support +{ + disable = yes + socket_type = stream + protocol = tcp + wait = no + user = @GNATSUSER@ + server = @GNATSDIR@/gnatsd +} --- gnats-4.1.0.orig/debian/gnats-user.postrm.in +++ gnats-4.1.0/debian/gnats-user.postrm.in @@ -0,0 +1,23 @@ +#!/bin/bash +# +# Gnats installation script -- written by Brian White +# (This was my very first attempt at learning perl... please forgive me!) +# +# Forgiving -- rewritten to bash :-) by Milan Zamazal . +# ...and streamlined with SED by Chad Walstrom + +set -e + +############################################################################### +# +# Utility functions +# + +# Call arguments and never return error +function protect () { "$@" || true; } + +############################################################################### +# +# Automatically added debhelper stuff +# +#DEBHELPER# --- gnats-4.1.0.orig/debian/gnats-user.install +++ gnats-4.1.0/debian/gnats-user.install @@ -0,0 +1,19 @@ +debian/tmp/etc/gnats/defaults/dbconfig +debian/tmp/etc/gnats/defaults/responsible +debian/tmp/etc/gnats/defaults/addresses +debian/tmp/etc/gnats/defaults/states +debian/tmp/etc/gnats/defaults/gnatsd.user_access +debian/tmp/etc/gnats/defaults/submitters +debian/tmp/etc/gnats/defaults/classes +debian/tmp/etc/gnats/defaults/categories +debian/tmp/usr/bin/edit-pr +debian/tmp/usr/bin/send-pr +debian/tmp/usr/bin/getclose +debian/tmp/usr/bin/query-pr +debian/tmp/usr/lib/gnats/mail-agent +debian/tmp/usr/lib/gnats/diff-prs +debian/tmp/usr/lib/gnats/file-pr +debian/tmp/usr/lib/gnats/pr-age +debian/tmp/usr/lib/gnats/pr-edit +debian/tmp/etc/gnats/databases +debian/tmp/usr/share/emacs/site-lisp/gnats/gnats.el --- gnats-4.1.0.orig/debian/gnats.examples +++ gnats-4.1.0/debian/gnats.examples @@ -0,0 +1,6 @@ +contrib/juniper-web-reports +contrib/scripts +contrib/sql +contrib/tkgnats +contrib/www-gnats-admin +contrib/prmon --- gnats-4.1.0.orig/debian/.cvsignore +++ gnats-4.1.0/debian/.cvsignore @@ -0,0 +1,6 @@ +files +gnats-user +*.substvars +*.debhelper +substvars +tmp --- gnats-4.1.0.orig/debian/TODO +++ gnats-4.1.0/debian/TODO @@ -0,0 +1,68 @@ + Debian GNATS TODO List +- 1.REWRITE debian/rules! + Added: Sat Apr 3 11:12:22 2004 Completed: completed on Wed Jul 14 00:59:44 2004 + Duration: 14w 3d 12h 47m elapsed Priority: veryhigh + + (Finished in the wee hours of the morning. Added SED templating of + package.{post,pre}{inst,rm} scripts.) +- 2.Update debhelper compatibility + Added: Wed Feb 4 14:29:39 2004 Completed: completed on Wed Jul 14 01:00:28 2004 + Duration: 22w 6d 9h 30m elapsed Priority: high + + (Done) +- 3.Reorganize debian/rules + Added: Wed Feb 4 14:29:15 2004 Completed: completed on Wed Jul 14 01:00:33 2004 + Duration: 22w 6d 9h 31m elapsed Priority: medium + + (Done) +- 4.W: gnats source: not-using-po-debconf + Added: Wed Jul 14 01:12:36 2004 Completed: completed on Wed Jul 14 17:42:57 2004 + Duration: 16h 30m elapsed Priority: medium + + (Just added.) +- 5.W: gnats: extra-license-file usr/share/doc/gnats/examples/tkgnats/.arch-ids/COPYING.id + Added: Wed Jul 14 01:13:15 2004 Completed: completed on Wed Jul 14 01:25:17 2004 + Duration: 12m elapsed Priority: medium + + (I wasn't excluding .arch-ids directories in the examples) + 6.Determine whether or not gnats-user should add the gnats user account + Added: Wed Jul 14 01:01:09 2004 Completed: incomplete + Duration: incomplete Priority: veryhigh + + 7.Determine if gnats-user requires database config files + Added: Wed Jul 14 01:07:27 2004 Completed: incomplete + Duration: incomplete Priority: veryhigh + + 8.Add a gnats-common package for docs, basic configs, etc.? + Added: Wed Jul 14 16:19:38 2004 Completed: incomplete + Duration: incomplete Priority: veryhigh + + 9.Finish debconf configuration + Added: Wed Feb 4 14:28:57 2004 Completed: incomplete + Duration: incomplete Priority: high + + 10.W: gnats source: cvsignore-file-in-source debian/.cvsignore + Added: Wed Jul 14 01:12:45 2004 Completed: incomplete + Duration: incomplete Priority: medium + + 11.W: gnats-user: no-manpage-in-correct-directory usr/bin/getclose (8) + Added: Wed Jul 14 01:12:56 2004 Completed: incomplete + Duration: incomplete Priority: medium + + 12.W: gnats-user: postinst-uses-db-input + Added: Wed Jul 14 01:13:06 2004 Completed: incomplete + Duration: incomplete Priority: medium + + 13.W: gnats: extra-license-file usr/share/doc/gnats/examples/tkgnats/COPYING.gz + Added: Wed Jul 14 01:13:30 2004 Completed: incomplete + Duration: incomplete Priority: medium + + 14.W: gnats: executable-not-elf-or-script + ./usr/share/doc/gnats/examples/juniper-web-reports/index.html + Added: Wed Jul 14 01:13:39 2004 Completed: incomplete + Duration: incomplete Priority: medium + + 15.W: gnats: install-info-not-called-with-section-option + Added: Wed Jul 14 01:13:51 2004 Completed: incomplete + Duration: incomplete Priority: medium + --- gnats-4.1.0.orig/debian/gnats.preinst.in +++ gnats-4.1.0/debian/gnats.preinst.in @@ -0,0 +1,59 @@ +#!/bin/sh -e +# +# Gnats installation script -- written by Brian White +# (This was my very first attempt at learning perl... please forgive me!) +# +# Forgiving -- rewritten to bash :-) by Milan Zamazal . +# ...and streamlined with SED by Chad Walstrom + +############################################################################### +# +# Utility functions +# + +# Call arguments and never return error +protect () { "$@" || true; } + +############################################################################### +# +# Common initialization for install scripts +# + +. /usr/share/debconf/confmodule + +############################################################################### +# +# Fix mistakes from previous versions +# + +if [ "$1" = configure ]; then + + for BADDIR in "@GNATSDIR@/gnats-db" "/var/gnats-db"; do + + if [ -d $BADDIR ]; then + db_subst gnats/baddir_moved GNATSDBDIR @GNATSDBDIR@ + db_subst gnats/baddir_moved BADDIR ${BADDIR} + protect mkdir -p @GNATSDBPAR@ 2>/dev/null + chown @GNATSID@:@GNATSGID@ @GNATSDBPAR@ + protect mv $BADDIR @GNATSDBDIR@ 2>/dev/null + if [ $? -eq 0 ]; then + db_subst gnats/baddir_moved GNATSDBDIR @GNATSDBDIR@ + db_subst gnats/baddir_moved BADDIR ${BADDIR} + protect db_input high gnats/baddir_moved + else + db_subst gnats/baddir_to_move GNATSDBDIR @GNATSDBDIR@ + db_subst gnats/baddir_to_move BADDIR ${BADDIR} + protect db_input high gnats/baddir_to_move + fi + db_go + fi + + done + +fi + +############################################################################### +# +# Automatically added debhelper stuff +# +#DEBHELPER# --- gnats-4.1.0.orig/debian/gnats-tk.menu +++ gnats-4.1.0/debian/gnats-tk.menu @@ -0,0 +1,3 @@ +?package(gnats-tk):needs="X11" section="Apps/Technical" title="TkGnats" \ + command="/usr/bin/tkgnats" \ + longtitle="Tk interface to the GNATS bug tracking system." --- gnats-4.1.0.orig/debian/gnats-user.prerm.in +++ gnats-4.1.0/debian/gnats-user.prerm.in @@ -0,0 +1,29 @@ +#!/bin/bash +# +# Gnats installation script -- written by Brian White +# (This was my very first attempt at learning perl... please forgive me!) +# +# Forgiving -- rewritten to bash :-) by Milan Zamazal . +# ...and streamlined with SED by Chad Walstrom + +set -e + +############################################################################### +# +# Utility functions +# + +# Call arguments and never return error +function protect () { "$@" || true; } + +############################################################################### +# +# Remove the 'gnats' system configuration when purging +# + +if [ "$1" = purge ] && [ -d "@GNATSDBDIR@" ]; then + rmdir "@GNATSDBDIR@" +fi + +# Automatically added debhelper stuff +#DEBHELPER# --- gnats-4.1.0.orig/debian/gnats-user.manpages +++ gnats-4.1.0/debian/gnats-user.manpages @@ -0,0 +1,9 @@ +debian/tmp/usr/share/man/man1/edit-pr.1 +debian/tmp/usr/share/man/man1/query-pr.1 +debian/tmp/usr/share/man/man1/send-pr.1 +debian/tmp/usr/share/man/man5/databases.5 +debian/tmp/usr/share/man/man7/gnats.7 +debian/tmp/usr/share/man/man8/delete-pr.8 +debian/tmp/usr/share/man/man8/file-pr.8 +debian/tmp/usr/share/man/man8/getclose.8 +debian/tmp/usr/share/man/man8/pr-edit.8 --- gnats-4.1.0.orig/debian/config +++ gnats-4.1.0/debian/config @@ -0,0 +1,12 @@ +#!/bin/bash -e + +. /usr/share/debconf/confmodule + +SITE=$(hostname -f) +SITE=${SITE#*.} +SITE=${SITE%%.*} +# db_subst should be here instead of db_set, but db_subst apparently doesn't +# work for default values. +db_set gnats/site "${SITE}" +db_input medium gnats/site || true +db_go --- gnats-4.1.0.orig/debian/misc/send-pr.conf +++ gnats-4.1.0/debian/misc/send-pr.conf @@ -0,0 +1,16 @@ +# -*-sh-*- +# This is the configuration file for send-pr. +# It is read by the send-pr script each time it is executed. You can customize +# various send-pr variables here instead of editting send-pr directly. You +# must at least uncomment the ORGANIZATION. variable value and set it to some +# reasonable value. + +# Id of the submitting organization +#DEFAULT_ORGANIZATION=fill_some_value_here + +# The site *receiving* the bug reports +#GNATS_SITE=${GNATS_SITE:-the_site} + +# The submitter-id for your site. +#SUBMITTER=fill_some_value_here + --- gnats-4.1.0.orig/debian/misc/gnatsweb-site-koi8-r.pl +++ gnats-4.1.0/debian/misc/gnatsweb-site-koi8-r.pl @@ -0,0 +1,82 @@ +# gnatsweb-site-koi8-r.pl allows to set charset (koi8-r) in http headers +# without original gnatsweb.pl sources modification +# +# Copyright (C) 2000 Konstantin Kivi +# +# 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; version 2 dated June, 1991. +# +# 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 +# +# On Debian GNU/Linux systems, the complete text of the GNU General +# Public License can be found in `/usr/share/common-licenses/GPL' +# and `/usr/share/common-licenses/LGPL'. +# +# +# copy this file as /usr/lib/cgi-bin/gnatsweb-site.pl +# or call it from existing gnatsweb-site.pl like +# do "$path_to_this_file/gnatsweb-site-koi8-r.pl" + + +{ +# I don't know why should I call CGI::header once +# before redefintion +# I made test example with a simple module and it worked without this hack +# if you know the reason please mail me at kkivi@mailru.com + + use CGI; + eval{ + my($q)=new CGI; + $q->header; + } +} + +package CGI; + + +sub myheader; +*CGI::oldheader=\&CGI::header; +*CGI::header=\&CGI::myheader; +#*CGI::header=*::header=\&CGI::myheader; +sub myheader{ + my($self)=shift; + my($k,$v)=(undef,undef); + my(@arg,$fl ); + for $l (@_){ + + if(defined($k)){ + $v=$l; + }else{ + $k=$l; + } + if(!defined($v)){ + next; + } + if($k eq "-type"){ + $fl=1; + if($v =~ m#(text/html)(.*)#){ + if($2 !~ /charset/){ + $v="text/html; charset=koi8-r"; + } + } + } + push(@arg,$k => $v); + undef($k); + undef($v); + + } + + if(!$fl){ + push(@arg, -type => "text/html; charset=koi8-r"); + } + return $self->CGI::oldheader( @arg); +} + --- gnats-4.1.0.orig/debian/gnats.postinst.in +++ gnats-4.1.0/debian/gnats.postinst.in @@ -0,0 +1,300 @@ +#!/bin/sh +# +# Gnats installation script -- written by Brian White +# (This was my very first attempt at learning perl... please forgive me!) +# +# Forgiving -- rewritten to bash :-) by Milan Zamazal . +# ...and streamlined with SED by Chad Walstrom + +set -e + +############################################################################### +# +# Utility functions +# + +# Call arguments and never return error +protect () { "$@" || true; } + +############################################################################### +# +# Common initialization for install scripts +# + +. /usr/share/debconf/confmodule + +protect db_get gnats/site +SITE=${RET:-@DEFSITE@} +GNATSSITE="@GNATSDBDIR@/$SITE" +GNATSDBDIR="@GNATSDBDIR@" +PASSWDFILE="@PASSWDFILE@" + +############################################################################### +# +# Check the 'gnats' userid in the password file +# + +if [ "$1" = configure ]; then + + if [ $(protect grep -c "^@GNATSGROUP@:" @GROUPFILE@) -eq 0 ]; then + adduser --group --gid @GNATSGID@ @GNATSGROUP@ + fi + + PWFOUND=$(protect grep -c "^@GNATSUSER@:" @PASSWDFILE@) + + if [ $PWFOUND -gt 1 ]; then + db_subst gnats/user_multiple PASSWDFILE "@PASSWDFILE@" + db_input high gnats/user_multiple || true + db_go + fi + + if [ $PWFOUND -gt 0 ]; then + if [ $(protect grep -c "^@GNATSUSER@:.*:@GNATSOLDHOME@:" @PASSWDFILE@) -gt 0 ] + then + if [ -e @GNATSOLDHOME@/.profile ]; then + mv @GNATSOLDHOME@/.profile @GNATSHOME@/ + fi + usermod -d @GNATSHOME@ @GNATSUSER@ + fi + if [ $(protect grep -c "^@GNATSUSER@:[^:]*:@GNATSID@:@GNATSGID@:" \ + @PASSWDFILE@) \ + -eq 0 ] + then + usermod -u @GNATSID@ -G @GNATSGID@ @GNATSUSER@ + fi + else + adduser --quiet --system --home @GNATSHOME@ --no-create-home \ + --gid @GNATSGID@ --shell /bin/sh --disabled-login \ + --gecos 'GNU GNATS Bug-Reporting System' @GNATSUSER@ + fi + +fi + +############################################################################### +# +# Add the 'gnats' system into the mail aliases +# + +if [ "$1" = configure ]; then + + # + # Special mailers + # + + EXIM=$(dpkg -l exim | protect grep -c '^.i') + for F in /etc/exim/exim.conf /etc/exim.conf; do + if [ -f $F ]; then + EXIMCONF=$F + break + fi + done + + if [ $EXIM -gt 0 ] && [ -n "$EXIMCONF" ]; then + if [ $(grep -c '^[ \t]*user[ \t]*=' $EXIMCONF) -eq 0 ]; then + LINES="$(grep '^[ \t]*#[ \t]*user[ \t]*=' $EXIMCONF)" + if [ -n "$LINES" ]; then + db_subst gnats/exim_user_uncomment LINES "$LINES" + db_subst gnats/exim_user_uncomment EXIMCONF "$EXIMCONF" + db_input high gnats/exim_user_uncomment || true + db_go + else + db_subst gnats/exim_user_uncomment EXIMCONF "$EXIMCONF" + db_input high gnats/exim_user_add || true + db_go + fi + fi + fi + + QMAIL=$(dpkg -l qmail | protect grep -c '^.i') + + if [ $QMAIL -gt 0 ]; then + + # Generate dot files +# echo "qmail found, installing qmail dot files..." + for I in "qmail root" \ + "qmail-bugs | @GNATSDIR@/queue-pr -q" \ + "qmail-query | @GNATSDIR@/mail-query"; do + KEY=${I%% *} + FILE="@GNATSHOME@/.$KEY" + if [ ! -f $FILE ]; then + TEMPFILE=$(tempfile) + echo "${I#$KEY }" >$TEMPFILE + chmod 0644 $TEMPFILE + chown @GNATSUSER@:@GNATSGROUP@ $TEMPFILE + mv $TEMPFILE $FILE + fi + done +# echo "Done." + + # Generate aliases + ASSIGN='/var/qmail/users/assign' + if [ ! -f $ASSIGN ] || \ + [ $(protect grep -c '^.gnats-admin' $ASSIGN) -eq 0 ]; then + db_subst gnats/qmail SITE "${SITE}" + db_input high gnats/qmail || true + db_go + fi + + elif [ ! -f @MAILFILE@ ]; then + + db_subst gnats/unknown_mailer SITE "${SITE}" + db_input high gnats/unknown_mailer || true + db_go + + else + + # + # Common mailers + # + + if [ $(protect \ + egrep -c "^[ \t]*(gnats-admin|bugs|query-pr|$SITE-gnats)\>" \ + @MAILFILE@) -lt 4 ]; then + + TEMPFILE=$(tempfile) + sed "s/^#\([ \t]*\(gnats-admin\|bugs\|query-pr\|$SITE-gnats\)\>.*$\)/\1/" \ + @MAILFILE@ >$TEMPFILE + + if [ $(protect \ + egrep -c "^[ \t]*(gnats-admin|bugs|query-pr|$SITE-gnats)\>" \ + $TEMPFILE) -lt 4 ]; then + egrep -v "^[ \t]*(gnats-admin|bugs|query-pr|$SITE-gnats)\>" \ + @MAILFILE@ >$TEMPFILE + cat - >>$TEMPFILE < /* INFRINGES ON USER NAME SPACE */ # define YYSIZE_T size_t # endif -# define YYSTACK_ALLOC malloc -# define YYSTACK_FREE free +# define YYSTACK_ALLOC YYMALLOC +# define YYSTACK_FREE YYFREE # endif -#endif /* ! defined (yyoverflow) || defined (YYERROR_VERBOSE) */ +#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ #if (! defined (yyoverflow) \ && (! defined (__cplusplus) \ - || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) + || (defined (YYSTYPE_IS_TRIVIAL) && YYSTYPE_IS_TRIVIAL))) /* A type that is properly aligned for any stack member. */ union yyalloc { - short yyss; + short int yyss; YYSTYPE yyvs; -# if YYLSP_NEEDED - YYLTYPE yyls; -# endif -}; + }; /* The size of the maximum gap between one aligned stack and the next. */ -# define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1) +# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) /* The size of an array large to enough to hold all stacks, each with N elements. */ -# if YYLSP_NEEDED -# define YYSTACK_BYTES(N) \ - ((N) * (sizeof (short) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \ - + 2 * YYSTACK_GAP_MAX) -# else -# define YYSTACK_BYTES(N) \ - ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ - + YYSTACK_GAP_MAX) -# endif +# define YYSTACK_BYTES(N) \ + ((N) * (sizeof (short int) + sizeof (YYSTYPE)) \ + + YYSTACK_GAP_MAXIMUM) /* Copy COUNT objects from FROM to TO. The source and destination do not overlap. */ # ifndef YYCOPY -# if 1 < __GNUC__ +# if defined (__GNUC__) && 1 < __GNUC__ # define YYCOPY(To, From, Count) \ __builtin_memcpy (To, From, (Count) * sizeof (*(From))) # else @@ -710,13 +359,554 @@ YYSIZE_T yynewbytes; \ YYCOPY (&yyptr->Stack, Stack, yysize); \ Stack = &yyptr->Stack; \ - yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAX; \ + yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ yyptr += yynewbytes / sizeof (*yyptr); \ } \ while (0) #endif +#if defined (__STDC__) || defined (__cplusplus) + typedef signed char yysigned_char; +#else + typedef short int yysigned_char; +#endif + +/* YYFINAL -- State number of the termination state. */ +#define YYFINAL 8 +/* YYLAST -- Last index in YYTABLE. */ +#define YYLAST 395 + +/* YYNTOKENS -- Number of terminals. */ +#define YYNTOKENS 77 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 89 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 198 +/* YYNRULES -- Number of states. */ +#define YYNSTATES 348 + +/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ +#define YYUNDEFTOK 2 +#define YYMAXUTOK 327 + +#define YYTRANSLATE(YYX) \ + ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) + +/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ +static const unsigned char yytranslate[] = +{ + 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 75, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 73, 76, 74, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, + 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, + 65, 66, 67, 68, 69, 70, 71, 72 +}; + +#if YYDEBUG +/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in + YYRHS. */ +static const unsigned short int yyprhs[] = +{ + 0, 0, 3, 5, 7, 16, 21, 26, 27, 29, + 31, 34, 37, 40, 43, 46, 49, 54, 59, 62, + 65, 67, 69, 71, 72, 74, 77, 82, 87, 90, + 92, 95, 97, 99, 101, 103, 106, 108, 110, 113, + 115, 118, 121, 123, 129, 135, 137, 140, 145, 150, + 155, 160, 165, 170, 171, 174, 178, 182, 186, 188, + 189, 191, 194, 199, 204, 207, 210, 212, 215, 217, + 219, 222, 224, 230, 235, 237, 239, 240, 242, 244, + 247, 248, 252, 256, 257, 261, 264, 266, 269, 271, + 274, 276, 279, 284, 289, 291, 293, 296, 298, 301, + 304, 311, 316, 318, 320, 322, 325, 327, 330, 333, + 336, 338, 341, 343, 346, 349, 351, 353, 355, 358, + 360, 363, 365, 370, 372, 374, 377, 378, 380, 382, + 385, 390, 395, 398, 401, 404, 407, 409, 412, 415, + 416, 418, 420, 423, 428, 433, 435, 438, 440, 445, + 450, 452, 454, 456, 459, 462, 467, 472, 474, 476, + 479, 482, 485, 490, 495, 498, 499, 504, 509, 511, + 514, 519, 524, 526, 529, 531, 534, 539, 544, 547, + 549, 552, 554, 556, 561, 566, 571, 574, 577, 581, + 585, 587, 589, 592, 595, 597, 599, 603, 605 +}; + +/* YYRHS -- A `-1'-separated list of the rules' RHS. */ +static const short int yyrhs[] = +{ + 78, 0, -1, 79, -1, 81, -1, 80, 85, 128, + 165, 152, 96, 140, 146, -1, 42, 73, 82, 74, + -1, 42, 73, 81, 74, -1, -1, 1, -1, 83, + -1, 82, 83, -1, 43, 84, -1, 44, 84, -1, + 45, 84, -1, 46, 23, -1, 47, 84, -1, 48, + 24, 75, 24, -1, 49, 24, 75, 24, -1, 50, + 84, -1, 72, 23, -1, 51, -1, 52, -1, 86, + -1, -1, 87, -1, 86, 87, -1, 88, 73, 89, + 74, -1, 88, 73, 81, 74, -1, 3, 23, -1, + 90, -1, 89, 90, -1, 92, -1, 126, -1, 125, + -1, 91, -1, 71, 159, -1, 93, -1, 95, -1, + 16, 110, -1, 17, -1, 32, 110, -1, 68, 111, + -1, 4, -1, 4, 6, 73, 94, 74, -1, 4, + 6, 73, 81, 74, -1, 23, -1, 94, 23, -1, + 7, 73, 113, 74, -1, 18, 73, 118, 74, -1, + 19, 73, 120, 74, -1, 8, 73, 114, 74, -1, + 7, 73, 81, 74, -1, 18, 73, 81, 74, -1, + -1, 96, 97, -1, 99, 101, 74, -1, 99, 101, + 74, -1, 39, 100, 73, -1, 23, -1, -1, 102, + -1, 101, 102, -1, 36, 73, 103, 74, -1, 36, + 73, 81, 74, -1, 38, 105, -1, 37, 105, -1, + 61, -1, 60, 159, -1, 62, -1, 104, -1, 103, + 104, -1, 23, -1, 106, 73, 107, 108, 74, -1, + 106, 73, 81, 74, -1, 23, -1, 23, -1, -1, + 109, -1, 23, -1, 109, 23, -1, -1, 73, 122, + 74, -1, 73, 81, 74, -1, -1, 73, 112, 74, + -1, 69, 24, -1, 116, -1, 113, 116, -1, 115, + -1, 114, 115, -1, 116, -1, 15, 23, -1, 9, + 73, 117, 74, -1, 9, 73, 81, 74, -1, 122, + -1, 23, -1, 117, 23, -1, 119, -1, 118, 119, + -1, 20, 23, -1, 21, 73, 123, 74, 22, 23, + -1, 21, 73, 81, 74, -1, 122, -1, 35, -1, + 121, -1, 118, 121, -1, 119, -1, 15, 23, -1, + 10, 23, -1, 33, 23, -1, 124, -1, 123, 124, + -1, 23, -1, 5, 11, -1, 5, 12, -1, 25, + -1, 30, -1, 31, -1, 34, 23, -1, 98, -1, + 40, 23, -1, 63, -1, 67, 73, 127, 74, -1, + 70, -1, 23, -1, 127, 23, -1, -1, 129, -1, + 130, -1, 129, 130, -1, 131, 73, 132, 74, -1, + 131, 73, 81, 74, -1, 26, 23, -1, 133, 134, + -1, 135, 133, -1, 21, 13, -1, 137, -1, 136, + 137, -1, 137, 136, -1, -1, 135, -1, 65, -1, + 27, 23, -1, 21, 73, 138, 74, -1, 21, 73, + 81, 74, -1, 139, -1, 138, 139, -1, 23, -1, + 141, 73, 142, 74, -1, 141, 73, 81, 74, -1, + 81, -1, 28, -1, 143, -1, 142, 143, -1, 20, + 23, -1, 21, 73, 144, 74, -1, 21, 73, 81, + 74, -1, 145, -1, 139, -1, 144, 139, -1, 29, + 23, -1, 64, 84, -1, 41, 73, 147, 74, -1, + 41, 73, 81, 74, -1, 150, 148, -1, -1, 36, + 73, 149, 74, -1, 36, 73, 81, 74, -1, 139, + -1, 149, 139, -1, 21, 73, 151, 74, -1, 21, + 73, 81, 74, -1, 23, -1, 151, 23, -1, 153, + -1, 152, 153, -1, 154, 73, 155, 74, -1, 154, + 73, 81, 74, -1, 53, 23, -1, 156, -1, 155, + 156, -1, 157, -1, 158, -1, 54, 73, 161, 74, + -1, 55, 73, 162, 74, -1, 56, 73, 161, 74, + -1, 58, 159, -1, 59, 159, -1, 160, 132, 74, + -1, 160, 81, 74, -1, 73, -1, 162, -1, 161, + 162, -1, 57, 23, -1, 163, -1, 164, -1, 163, + 76, 164, -1, 23, -1, 60, 159, -1 +}; + +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ +static const unsigned short int yyrline[] = +{ + 0, 62, 62, 63, 66, 69, 70, 71, 76, 78, + 79, 82, 85, 88, 91, 94, 97, 100, 103, 106, + 111, 112, 115, 116, 121, 122, 125, 128, 133, 148, + 149, 152, 153, 154, 155, 158, 164, 165, 166, 170, + 174, 178, 184, 187, 190, 193, 197, 203, 207, 212, + 217, 226, 227, 230, 231, 234, 240, 251, 260, 263, + 268, 269, 272, 273, 274, 278, 283, 286, 290, 295, + 296, 299, 307, 308, 311, 322, 327, 330, 334, 339, + 346, 347, 348, 351, 352, 355, 360, 361, 364, 365, + 368, 369, 374, 375, 376, 379, 383, 389, 390, 393, + 396, 423, 424, 425, 430, 431, 434, 435, 440, 443, + 448, 453, 460, 468, 471, 476, 479, 482, 485, 495, + 496, 499, 502, 505, 510, 514, 520, 521, 524, 525, + 528, 532, 538, 548, 549, 552, 553, 554, 555, 558, + 559, 562, 567, 572, 573, 576, 579, 585, 599, 603, + 607, 610, 615, 616, 619, 622, 623, 624, 627, 630, + 635, 638, 643, 644, 647, 652, 653, 656, 662, 665, + 671, 675, 680, 702, 729, 730, 733, 737, 743, 757, + 758, 761, 765, 769, 772, 775, 780, 783, 786, 787, + 793, 803, 808, 818, 823, 830, 833, 843, 849 +}; +#endif + +#if YYDEBUG || YYERROR_VERBOSE +/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. + First, the terminals, then, starting at YYNTOKENS, nonterminals. */ +static const char *const yytname[] = +{ + "$end", "error", "$undefined", "FIELD", "STRINGTYPE", "QDEFAULT", + "MATCHING", "ENUM", "MULTIENUMTOK", "VALUES", "DEFAULT", "EXACT_REGEXP", + "INEXACT_REGEXP", "ALL", "FORMAT", "ENUMSEPARATORSTOK", "MULTITEXTTYPE", + "DATETYPE", "ENUM_IN_FILE", "MULTI_ENUM_IN_FILE", "PATHTOK", "FIELDSTOK", + "KEYTOK", "QSTRING", "INTVAL", "TEXTSEARCH", "QUERYTOK", "FORMATTOK", + "INDEXTOK", "SEPARATORTOK", "RESTRICTEDTOK", "NOSPACESTOK", "INTEGERTOK", + "INPUTDEFAULTTOK", "BUILTINTOK", "ALLOWANYVALUETOK", "REQUIRETOK", + "APPENDFIELDTOK", "SETFIELDTOK", "CHANGETOK", "DESCRIPTIONTOK", + "INPUTTOK", "DATABASEINFOTOK", "DEBUGMODETOK", "KEEPRECTOK", + "NOTIFYEXPTOK", "LIBEXECDIRTOK", "SUBMITTERACKTOK", "BUSINESSDAYTOK", + "BUSINESSWEEKTOK", "CREATECATEGORYDIRSTOK", "FALSETOK", "TRUETOK", + "MAILFORMATTOK", "TOADDRESSESTOK", "FROMADDRESSTOK", "REPLYTOTOK", + "FIXEDTOK", "BODYTOK", "HEADERTOK", "AUDITTRAILFMTTOK", + "ADDAUDITTRAILTOK", "REQUIRECHANGEREASONTOK", "READONLYTOK", + "BINARYINDEXTOK", "RAWTOK", "BADTOK", "AUXFLAGSTOK", "PRLISTTOK", + "MAXPRSTOK", "EDITONLYTOK", "VIRTUALFORMATTOK", "CATPERMSTOK", "'{'", + "'}'", "'-'", "'|'", "$accept", "config", "configEnts", "databaseInfo", + "parseError", "databaseInfoList", "databaseInfoEnt", "booleanVal", + "fieldDecStmt", "fieldDecList", "fieldDec", "startFieldDec", + "fieldDataList", "fieldData", "virtualFieldFormat", "fieldDataType", + "stringType", "regexpList", "enumType", "globalChangeEnts", + "globalChangeEnt", "changeClause", "changeHeader", "optChangeExpr", + "changeOpts", "changeOpt", "reqFieldNameList", "reqFieldNameEnt", + "fieldEditOpts", "fieldEditName", "fieldEditFormat", + "optFieldEditFieldList", "fieldEditFieldList", "optSimple", "prListOpts", + "prListOptList", "enumcontents", "multienumcontents", "multiEnumItem", + "enumItem", "enumValueList", "enumFileContents", "enumFileItem", + "multiEnumFileContents", "multiEnumFileItem", "defaultFieldVal", + "enumFieldList", "enumFieldMember", "queryDefault", "miscOptions", + "auxFlagsList", "optQueryList", "queryList", "query", "queryBegin", + "queryFmt", "queryFieldDesc", "optQueryOpts", "queryOpts", "queryPrintf", + "queryfields", "queryFieldsList", "FieldListMember", "indexDescription", + "indexheader", "indexlist", "indexEnt", "indexFieldList", "indexSep", + "inputDescription", "inputEnt", "requiredFields", "requiredFieldsList", + "inputFields", "inputFieldsList", "mailFormatList", "mailFormat", + "mailFormatHeader", "mailFormatBody", "mailFormatEnt", "bodyFormat", + "headerFormat", "plainFormat", "plainFormatHeader", "mailAddressList", + "mailAddress", "mailAddressTries", "MailAddressMember", "auditTrailFmt", 0 +}; +#endif + +# ifdef YYPRINT +/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to + token YYLEX-NUM. */ +static const unsigned short int yytoknum[] = +{ + 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, + 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, + 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, + 325, 326, 327, 123, 125, 45, 124 +}; +# endif + +/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ +static const unsigned char yyr1[] = +{ + 0, 77, 78, 78, 79, 80, 80, 80, 81, 82, + 82, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 84, 84, 85, 85, 86, 86, 87, 87, 88, 89, + 89, 90, 90, 90, 90, 91, 92, 92, 92, 92, + 92, 92, 93, 93, 93, 94, 94, 95, 95, 95, + 95, 95, 95, 96, 96, 97, 98, 99, 100, 100, + 101, 101, 102, 102, 102, 102, 102, 102, 102, 103, + 103, 104, 105, 105, 106, 107, 108, 108, 109, 109, + 110, 110, 110, 111, 111, 112, 113, 113, 114, 114, + 115, 115, 116, 116, 116, 117, 117, 118, 118, 119, + 119, 119, 119, 119, 120, 120, 121, 121, 122, 122, + 123, 123, 124, 125, 125, 126, 126, 126, 126, 126, + 126, 126, 126, 126, 127, 127, 128, 128, 129, 129, + 130, 130, 131, 132, 132, 133, 133, 133, 133, 134, + 134, 135, 136, 137, 137, 138, 138, 139, 140, 140, + 140, 141, 142, 142, 143, 143, 143, 143, 144, 144, + 145, 145, 146, 146, 147, 148, 148, 148, 149, 149, + 150, 150, 151, 151, 152, 152, 153, 153, 154, 155, + 155, 156, 156, 156, 156, 156, 157, 158, 159, 159, + 160, 161, 161, 162, 162, 163, 163, 164, 165 +}; + +/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ +static const unsigned char yyr2[] = +{ + 0, 2, 1, 1, 8, 4, 4, 0, 1, 1, + 2, 2, 2, 2, 2, 2, 4, 4, 2, 2, + 1, 1, 1, 0, 1, 2, 4, 4, 2, 1, + 2, 1, 1, 1, 1, 2, 1, 1, 2, 1, + 2, 2, 1, 5, 5, 1, 2, 4, 4, 4, + 4, 4, 4, 0, 2, 3, 3, 3, 1, 0, + 1, 2, 4, 4, 2, 2, 1, 2, 1, 1, + 2, 1, 5, 4, 1, 1, 0, 1, 1, 2, + 0, 3, 3, 0, 3, 2, 1, 2, 1, 2, + 1, 2, 4, 4, 1, 1, 2, 1, 2, 2, + 6, 4, 1, 1, 1, 2, 1, 2, 2, 2, + 1, 2, 1, 2, 2, 1, 1, 1, 2, 1, + 2, 1, 4, 1, 1, 2, 0, 1, 1, 2, + 4, 4, 2, 2, 2, 2, 1, 2, 2, 0, + 1, 1, 2, 4, 4, 1, 2, 1, 4, 4, + 1, 1, 1, 2, 2, 4, 4, 1, 1, 2, + 2, 2, 4, 4, 2, 0, 4, 4, 1, 2, + 4, 4, 1, 2, 1, 2, 4, 4, 2, 1, + 2, 1, 1, 4, 4, 4, 2, 2, 3, 3, + 1, 1, 2, 2, 1, 1, 3, 1, 2 +}; + +/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state + STATE-NUM when YYTABLE doesn't specify something else to do. Zero + means the default is an error. */ +static const unsigned char yydefact[] = +{ + 0, 8, 0, 0, 2, 23, 3, 0, 1, 0, + 126, 22, 24, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 9, 28, 0, 0, 127, + 128, 0, 25, 0, 20, 21, 11, 12, 13, 14, + 15, 0, 0, 18, 19, 6, 5, 10, 132, 0, + 0, 129, 0, 42, 0, 0, 0, 80, 39, 0, + 0, 115, 116, 117, 80, 0, 59, 0, 121, 0, + 83, 123, 0, 0, 0, 29, 34, 31, 36, 37, + 119, 0, 33, 32, 0, 0, 190, 198, 0, 0, + 53, 174, 0, 0, 0, 141, 0, 0, 139, 0, + 0, 136, 0, 113, 114, 0, 0, 0, 38, 0, + 0, 40, 118, 58, 0, 120, 0, 0, 41, 35, + 27, 26, 30, 0, 0, 0, 0, 66, 68, 0, + 60, 16, 17, 0, 0, 178, 0, 175, 0, 135, + 0, 142, 131, 130, 133, 140, 134, 0, 137, 138, + 0, 0, 0, 0, 0, 0, 86, 94, 0, 0, + 88, 90, 0, 0, 0, 0, 103, 0, 0, 97, + 102, 0, 0, 97, 0, 104, 57, 124, 0, 0, + 0, 0, 74, 65, 0, 64, 67, 56, 61, 189, + 188, 151, 150, 54, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 179, 181, 182, 147, 0, 0, + 145, 45, 0, 0, 0, 108, 109, 51, 47, 87, + 91, 50, 89, 82, 81, 99, 0, 52, 48, 98, + 107, 98, 105, 49, 125, 122, 85, 84, 71, 0, + 0, 69, 0, 0, 0, 4, 0, 0, 0, 0, + 186, 187, 177, 176, 180, 144, 143, 146, 44, 46, + 43, 95, 0, 0, 112, 0, 0, 110, 63, 62, + 70, 75, 0, 76, 55, 0, 0, 0, 0, 0, + 0, 0, 152, 157, 197, 0, 0, 191, 194, 195, + 0, 0, 93, 96, 92, 101, 0, 111, 73, 78, + 0, 77, 0, 0, 0, 165, 154, 0, 160, 161, + 149, 148, 153, 193, 183, 192, 0, 184, 185, 0, + 72, 79, 0, 163, 162, 0, 164, 0, 158, 0, + 196, 100, 172, 0, 0, 0, 156, 155, 159, 171, + 173, 170, 0, 168, 0, 167, 166, 169 +}; + +/* YYDEFGOTO[NTERM-NUM]. */ +static const short int yydefgoto[] = +{ + -1, 3, 4, 5, 6, 24, 25, 36, 10, 11, + 12, 13, 74, 75, 76, 77, 78, 213, 79, 136, + 193, 80, 81, 114, 129, 130, 240, 241, 183, 184, + 273, 300, 301, 108, 118, 180, 155, 159, 160, 161, + 263, 168, 169, 174, 175, 157, 266, 267, 82, 83, + 178, 28, 29, 30, 31, 97, 98, 144, 99, 100, + 101, 209, 210, 195, 196, 281, 282, 329, 283, 245, + 304, 326, 344, 305, 334, 90, 91, 92, 203, 204, + 205, 206, 87, 88, 286, 287, 288, 289, 50 +}; + +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +#define YYPACT_NINF -204 +static const short int yypact[] = +{ + 65, -204, -52, 27, -204, 20, -204, 4, -204, 9, + 14, 20, -204, -43, 206, 206, 206, 11, 206, 18, + 70, 206, 21, 22, 197, -204, -204, 138, 52, 14, + -204, 46, -204, 141, -204, -204, -204, -204, -204, -204, + -204, 101, 124, -204, -204, -204, -204, -204, -204, 92, + 110, -204, 38, 187, 158, 130, 145, 150, -204, 159, + 186, -204, -204, -204, 150, 247, 250, 251, -204, 202, + 203, -204, 92, 204, 53, -204, -204, -204, -204, -204, + -204, 192, -204, -204, 253, 256, -204, -204, 38, 258, + 110, -204, 210, 7, 261, -204, 211, 212, 222, -2, + 267, 262, 217, -204, -204, 215, 246, 200, -204, 167, + 216, -204, -204, -204, 218, -204, 269, 224, -204, -204, + -204, -204, -204, 221, 272, 272, 92, -204, -204, 153, + -204, -204, -204, 223, 225, -204, 166, -204, 96, -204, + 23, -204, -204, -204, -204, -204, -204, 228, -204, -204, + 107, 229, 273, 275, 230, 3, -204, -204, 280, 0, + -204, -204, 231, 232, 284, 235, -204, 236, 8, -204, + -204, 286, 216, 238, 239, -204, -204, -204, 12, 287, + 240, 121, -204, -204, 243, -204, -204, -204, -204, -204, + -204, -204, -204, -204, 192, 276, 245, 248, 252, 254, + 92, 92, 255, 208, -204, -204, -204, -204, 257, 40, + -204, -204, 259, 41, 183, -204, -204, -204, -204, -204, + -204, -204, -204, -204, -204, -204, 194, -204, -204, -204, + -204, 238, -204, -204, -204, -204, -204, -204, -204, 260, + 82, -204, 237, 160, 263, -204, 89, 44, 44, 44, + -204, -204, -204, -204, -204, -204, -204, -204, -204, -204, + -204, -204, 264, 88, -204, 265, 90, -204, -204, -204, + -204, -204, 266, 296, -204, 10, 297, 268, 299, 206, + 270, 118, -204, -204, -204, 300, -1, -204, 271, -204, + 274, 32, -204, -204, -204, -204, 302, -204, -204, -204, + 277, 303, 279, 281, 282, 294, -204, 23, -204, -204, + -204, -204, -204, -204, -204, -204, 309, -204, -204, 312, + -204, -204, 249, -204, -204, 285, -204, 283, -204, 105, + -204, -204, -204, 288, 111, 23, -204, -204, -204, -204, + -204, -204, 289, -204, 112, -204, -204, -204 +}; + +/* YYPGOTO[NTERM-NUM]. */ +static const short int yypgoto[] = +{ + -204, -204, -204, -204, -7, -204, 313, -14, -204, -204, + 331, -204, -204, 290, -204, -204, -204, -204, -204, -204, + -204, -204, 207, -204, 151, -126, -204, 106, 234, -204, + -204, -204, -204, 301, -204, -204, -204, -204, 190, -67, + -204, 244, -73, -204, 178, -93, -204, 87, -204, -204, + -204, -204, -204, 332, -204, 278, 291, -204, 293, 292, + 295, -204, -203, -204, -204, -204, 79, -204, -204, -204, + -204, -204, -204, -204, -204, -204, 298, -204, -204, 164, + -204, -204, -64, -204, 119, -108, -204, 54, -204 +}; + +/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If + positive, shift that token. If negative, reduce the rule which + number is the opposite. If zero, do what YYDEFACT says. + If YYTABLE_NINF, syntax error. */ +#define YYTABLE_NINF -107 +static const short int yytable[] = +{ + 23, 37, 38, 188, 40, 1, 257, 43, 119, 151, + 152, 1, 151, 152, 163, 158, 170, 170, 152, 93, + 139, 7, 284, 9, 1, 94, 73, 8, 164, 165, + 33, 302, 26, 153, 39, 234, 153, 173, 156, 1, + 27, 153, 41, 166, 44, 96, 207, 14, 15, 16, + 17, 18, 19, 20, 21, 284, 285, 53, 54, 93, + 55, 56, 186, 207, 259, 94, 1, 284, -7, 57, + 58, 59, 60, 314, 221, 170, 22, 218, 61, 170, + 140, 133, 228, 62, 63, 64, 235, 65, 219, 285, + 1, -7, 66, 67, 42, 229, 45, 1, 154, 231, + 162, 285, 167, 95, 328, 238, 318, 2, 1, 276, + 277, 293, 49, 264, 256, 260, 68, 188, 278, 52, + 69, 70, 1, 71, 72, -7, 338, 121, 207, 192, + 211, 202, 343, 208, 340, 207, 250, 251, 276, 277, + 290, 347, 1, 212, 238, 53, 54, 278, 55, 56, + 197, 198, 199, 279, 200, 201, 269, 57, 58, 59, + 60, 48, 294, 89, 296, 86, 61, 1, 1, 103, + 104, 62, 63, 64, 239, 65, 84, 152, 315, 337, + 66, 67, 279, 315, 1, 341, 346, 164, 165, 123, + 124, 125, 311, 102, 191, 1, 123, 124, 125, 85, + 153, 1, 166, 105, 68, 66, 261, 262, 69, 70, + 152, 71, 72, 126, 127, 128, 1, 264, 106, 265, + 126, 127, 128, 107, 151, 152, 152, 187, 123, 124, + 125, 171, 109, 153, 274, 272, 164, 165, 1, 280, + 14, 15, 16, 17, 18, 19, 20, 21, 153, 153, + 1, 166, 126, 127, 128, 151, 152, 34, 35, 110, + 271, 158, 197, 198, 199, 309, 200, 201, 303, 22, + 112, 46, 332, 113, 115, 116, 117, 131, 120, 153, + 132, 135, 253, 138, 141, 142, 143, 95, 147, 94, + 150, 176, 177, 179, 181, 182, 215, 189, 216, 190, + 327, 140, 214, 220, 217, 223, 224, 225, 226, 230, + 227, 236, -106, 233, 237, 333, 242, 244, 246, 299, + 306, 247, 308, 313, 319, 248, 321, 249, 342, 252, + 325, 255, 284, 258, 268, 331, 275, 47, 292, 295, + 298, 307, 32, 194, 310, 243, 270, 316, 317, 222, + 232, 320, 322, 297, 172, 323, 324, 336, 335, 185, + 312, 51, 339, 345, 122, 111, 134, 254, 291, 0, + 330, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, + 146, 145, 0, 149, 0, 148 +}; + +static const short int yycheck[] = +{ + 7, 15, 16, 129, 18, 1, 209, 21, 72, 9, + 10, 1, 9, 10, 107, 15, 109, 110, 10, 21, + 13, 73, 23, 3, 1, 27, 33, 0, 20, 21, + 73, 21, 23, 33, 23, 23, 33, 110, 105, 1, + 26, 33, 24, 35, 23, 52, 23, 43, 44, 45, + 46, 47, 48, 49, 50, 23, 57, 4, 5, 21, + 7, 8, 126, 23, 23, 27, 1, 23, 3, 16, + 17, 18, 19, 74, 74, 168, 72, 74, 25, 172, + 73, 88, 74, 30, 31, 32, 74, 34, 155, 57, + 1, 26, 39, 40, 24, 168, 74, 1, 105, 172, + 107, 57, 109, 65, 307, 23, 74, 42, 1, 20, + 21, 23, 60, 23, 74, 74, 63, 243, 29, 73, + 67, 68, 1, 70, 71, 60, 329, 74, 23, 136, + 23, 138, 335, 140, 23, 23, 200, 201, 20, 21, + 248, 344, 1, 150, 23, 4, 5, 29, 7, 8, + 54, 55, 56, 64, 58, 59, 74, 16, 17, 18, + 19, 23, 74, 53, 74, 73, 25, 1, 1, 11, + 12, 30, 31, 32, 181, 34, 75, 10, 286, 74, + 39, 40, 64, 291, 1, 74, 74, 20, 21, 36, + 37, 38, 74, 6, 28, 1, 36, 37, 38, 75, + 33, 1, 35, 73, 63, 39, 23, 214, 67, 68, + 10, 70, 71, 60, 61, 62, 1, 23, 73, 226, + 60, 61, 62, 73, 9, 10, 10, 74, 36, 37, + 38, 15, 73, 33, 74, 242, 20, 21, 1, 246, + 43, 44, 45, 46, 47, 48, 49, 50, 33, 33, + 1, 35, 60, 61, 62, 9, 10, 51, 52, 73, + 23, 15, 54, 55, 56, 279, 58, 59, 275, 72, + 23, 74, 23, 23, 23, 73, 73, 24, 74, 33, + 24, 23, 74, 73, 23, 74, 74, 65, 21, 27, + 73, 73, 23, 69, 73, 23, 23, 74, 23, 74, + 307, 73, 73, 23, 74, 74, 74, 23, 73, 23, + 74, 24, 74, 74, 74, 322, 73, 41, 73, 23, + 23, 73, 23, 23, 22, 73, 23, 73, 335, 74, + 36, 74, 23, 74, 74, 23, 73, 24, 74, 74, + 74, 73, 11, 136, 74, 194, 240, 76, 74, 159, + 172, 74, 73, 266, 110, 74, 74, 74, 73, 125, + 281, 29, 74, 74, 74, 64, 88, 203, 249, -1, + 316, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 90, -1, + 99, 98, -1, 101, -1, 100 +}; + +/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing + symbol of state STATE-NUM. */ +static const unsigned char yystos[] = +{ + 0, 1, 42, 78, 79, 80, 81, 73, 0, 3, + 85, 86, 87, 88, 43, 44, 45, 46, 47, 48, + 49, 50, 72, 81, 82, 83, 23, 26, 128, 129, + 130, 131, 87, 73, 51, 52, 84, 84, 84, 23, + 84, 24, 24, 84, 23, 74, 74, 83, 23, 60, + 165, 130, 73, 4, 5, 7, 8, 16, 17, 18, + 19, 25, 30, 31, 32, 34, 39, 40, 63, 67, + 68, 70, 71, 81, 89, 90, 91, 92, 93, 95, + 98, 99, 125, 126, 75, 75, 73, 159, 160, 53, + 152, 153, 154, 21, 27, 65, 81, 132, 133, 135, + 136, 137, 6, 11, 12, 73, 73, 73, 110, 73, + 73, 110, 23, 23, 100, 23, 73, 73, 111, 159, + 74, 74, 90, 36, 37, 38, 60, 61, 62, 101, + 102, 24, 24, 81, 132, 23, 96, 153, 73, 13, + 73, 23, 74, 74, 134, 135, 133, 21, 137, 136, + 73, 9, 10, 33, 81, 113, 116, 122, 15, 114, + 115, 116, 81, 122, 20, 21, 35, 81, 118, 119, + 122, 15, 118, 119, 120, 121, 73, 23, 127, 69, + 112, 73, 23, 105, 106, 105, 159, 74, 102, 74, + 74, 28, 81, 97, 99, 140, 141, 54, 55, 56, + 58, 59, 81, 155, 156, 157, 158, 23, 81, 138, + 139, 23, 81, 94, 73, 23, 23, 74, 74, 116, + 23, 74, 115, 74, 74, 23, 73, 74, 74, 119, + 23, 119, 121, 74, 23, 74, 24, 74, 23, 81, + 103, 104, 73, 101, 41, 146, 73, 73, 73, 73, + 159, 159, 74, 74, 156, 74, 74, 139, 74, 23, + 74, 23, 81, 117, 23, 81, 123, 124, 74, 74, + 104, 23, 81, 107, 74, 73, 20, 21, 29, 64, + 81, 142, 143, 145, 23, 57, 161, 162, 163, 164, + 162, 161, 74, 23, 74, 74, 74, 124, 74, 23, + 108, 109, 21, 81, 147, 150, 23, 73, 23, 84, + 74, 74, 143, 23, 74, 162, 76, 74, 74, 22, + 74, 23, 73, 74, 74, 36, 148, 81, 139, 144, + 164, 23, 23, 81, 151, 73, 74, 74, 139, 74, + 23, 74, 81, 139, 149, 74, 74, 139 +}; #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) # define YYSIZE_T __SIZE_TYPE__ @@ -736,29 +926,35 @@ #define yyerrok (yyerrstatus = 0) #define yyclearin (yychar = YYEMPTY) -#define YYEMPTY -2 +#define YYEMPTY (-2) #define YYEOF 0 + #define YYACCEPT goto yyacceptlab -#define YYABORT goto yyabortlab -#define YYERROR goto yyerrlab1 +#define YYABORT goto yyabortlab +#define YYERROR goto yyerrorlab + + /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. Once GCC version 2 has supplanted version 1, this can go. */ + #define YYFAIL goto yyerrlab + #define YYRECOVERING() (!!yyerrstatus) + #define YYBACKUP(Token, Value) \ do \ if (yychar == YYEMPTY && yylen == 1) \ { \ yychar = (Token); \ yylval = (Value); \ - yychar1 = YYTRANSLATE (yychar); \ + yytoken = YYTRANSLATE (yychar); \ YYPOPSTACK; \ goto yybackup; \ } \ else \ { \ - yyerror ("syntax error: cannot back up"); \ + yyerror ("syntax error: cannot back up");\ YYERROR; \ } \ while (0) @@ -766,41 +962,24 @@ #define YYTERROR 1 #define YYERRCODE 256 - /* YYLLOC_DEFAULT -- Compute the default location (before the actions - are run). - - When YYLLOC_DEFAULT is run, CURRENT is set the location of the - first token. By default, to implement support for ranges, extend - its range to the last symbol. */ + are run). */ #ifndef YYLLOC_DEFAULT -# define YYLLOC_DEFAULT(Current, Rhs, N) \ - Current.last_line = Rhs[N].last_line; \ - Current.last_column = Rhs[N].last_column; +# define YYLLOC_DEFAULT(Current, Rhs, N) \ + ((Current).first_line = (Rhs)[1].first_line, \ + (Current).first_column = (Rhs)[1].first_column, \ + (Current).last_line = (Rhs)[N].last_line, \ + (Current).last_column = (Rhs)[N].last_column) #endif - /* YYLEX -- calling `yylex' with the right arguments. */ -#if YYPURE -# if YYLSP_NEEDED -# ifdef YYLEX_PARAM -# define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM) -# else -# define YYLEX yylex (&yylval, &yylloc) -# endif -# else /* !YYLSP_NEEDED */ -# ifdef YYLEX_PARAM -# define YYLEX yylex (&yylval, YYLEX_PARAM) -# else -# define YYLEX yylex (&yylval) -# endif -# endif /* !YYLSP_NEEDED */ -#else /* !YYPURE */ -# define YYLEX yylex () -#endif /* !YYPURE */ - +#ifdef YYLEX_PARAM +# define YYLEX yylex (YYLEX_PARAM) +#else +# define YYLEX yylex () +#endif /* Enable debugging if requested. */ #if YYDEBUG @@ -815,13 +994,93 @@ if (yydebug) \ YYFPRINTF Args; \ } while (0) + +# define YYDSYMPRINT(Args) \ +do { \ + if (yydebug) \ + yysymprint Args; \ +} while (0) + +# define YYDSYMPRINTF(Title, Token, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yysymprint (stderr, \ + Token, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (0) + +/*------------------------------------------------------------------. +| yy_stack_print -- Print the state stack from its BOTTOM up to its | +| TOP (included). | +`------------------------------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yy_stack_print (short int *bottom, short int *top) +#else +static void +yy_stack_print (bottom, top) + short int *bottom; + short int *top; +#endif +{ + YYFPRINTF (stderr, "Stack now"); + for (/* Nothing. */; bottom <= top; ++bottom) + YYFPRINTF (stderr, " %d", *bottom); + YYFPRINTF (stderr, "\n"); +} + +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (0) + + +/*------------------------------------------------. +| Report that the YYRULE is going to be reduced. | +`------------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yy_reduce_print (int yyrule) +#else +static void +yy_reduce_print (yyrule) + int yyrule; +#endif +{ + int yyi; + unsigned int yylno = yyrline[yyrule]; + YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", + yyrule - 1, yylno); + /* Print the symbols being reduced, and their result. */ + for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++) + YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]); + YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]); +} + +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (Rule); \ +} while (0) + /* Nonzero means print parse trace. It is left uninitialized so that multiple parsers can coexist. */ int yydebug; #else /* !YYDEBUG */ # define YYDPRINTF(Args) +# define YYDSYMPRINT(Args) +# define YYDSYMPRINTF(Title, Token, Value, Location) +# define YY_STACK_PRINT(Bottom, Top) +# define YY_REDUCE_PRINT(Rule) #endif /* !YYDEBUG */ + /* YYINITDEPTH -- initial size of the parser's stacks. */ #ifndef YYINITDEPTH # define YYINITDEPTH 200 @@ -834,15 +1093,17 @@ SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) evaluated with infinite-precision integer arithmetic. */ -#if YYMAXDEPTH == 0 +#if defined (YYMAXDEPTH) && YYMAXDEPTH == 0 # undef YYMAXDEPTH #endif #ifndef YYMAXDEPTH # define YYMAXDEPTH 10000 #endif + -#ifdef YYERROR_VERBOSE + +#if YYERROR_VERBOSE # ifndef yystrlen # if defined (__GLIBC__) && defined (_STRING_H) @@ -869,7 +1130,6 @@ # ifndef yystpcpy # if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) -# include # define yystpcpy stpcpy # else /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in @@ -893,86 +1153,134 @@ } # endif # endif -#endif + +#endif /* !YYERROR_VERBOSE */ + -#line 316 "/usr/share/bison/bison.simple" +#if YYDEBUG +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep) +#else +static void +yysymprint (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE *yyvaluep; +#endif +{ + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; + + if (yytype < YYNTOKENS) + { + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); +# ifdef YYPRINT + YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); +# endif + } + else + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); + + switch (yytype) + { + default: + break; + } + YYFPRINTF (yyoutput, ")"); +} + +#endif /* ! YYDEBUG */ +/*-----------------------------------------------. +| Release the memory associated to this symbol. | +`-----------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yydestruct (int yytype, YYSTYPE *yyvaluep) +#else +static void +yydestruct (yytype, yyvaluep) + int yytype; + YYSTYPE *yyvaluep; +#endif +{ + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; + + switch (yytype) + { + + default: + break; + } +} + -/* The user can define YYPARSE_PARAM as the name of an argument to be passed - into yyparse. The argument should have type void *. - It should actually point to an object. - Grammar actions can access the variable by casting it - to the proper pointer type. */ +/* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM # if defined (__STDC__) || defined (__cplusplus) -# define YYPARSE_PARAM_ARG void *YYPARSE_PARAM -# define YYPARSE_PARAM_DECL +int yyparse (void *YYPARSE_PARAM); # else -# define YYPARSE_PARAM_ARG YYPARSE_PARAM -# define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; +int yyparse (); # endif -#else /* !YYPARSE_PARAM */ -# define YYPARSE_PARAM_ARG -# define YYPARSE_PARAM_DECL -#endif /* !YYPARSE_PARAM */ - -/* Prevent warning if -Wstrict-prototypes. */ -#ifdef __GNUC__ -# ifdef YYPARSE_PARAM -int yyparse (void *); -# else +#else /* ! YYPARSE_PARAM */ +#if defined (__STDC__) || defined (__cplusplus) int yyparse (void); -# endif +#else +int yyparse (); #endif +#endif /* ! YYPARSE_PARAM */ -/* YY_DECL_VARIABLES -- depending whether we use a pure parser, - variables are global, or local to YYPARSE. */ -#define YY_DECL_NON_LSP_VARIABLES \ -/* The lookahead symbol. */ \ -int yychar; \ - \ -/* The semantic value of the lookahead symbol. */ \ -YYSTYPE yylval; \ - \ -/* Number of parse errors so far. */ \ -int yynerrs; -#if YYLSP_NEEDED -# define YY_DECL_VARIABLES \ -YY_DECL_NON_LSP_VARIABLES \ - \ -/* Location data for the lookahead symbol. */ \ -YYLTYPE yylloc; -#else -# define YY_DECL_VARIABLES \ -YY_DECL_NON_LSP_VARIABLES -#endif +/* The lookahead symbol. */ +int yychar; + +/* The semantic value of the lookahead symbol. */ +YYSTYPE yylval; +/* Number of syntax errors so far. */ +int yynerrs; -/* If nonreentrant, generate the variables here. */ -#if !YYPURE -YY_DECL_VARIABLES -#endif /* !YYPURE */ +/*----------. +| yyparse. | +`----------*/ + +#ifdef YYPARSE_PARAM +# if defined (__STDC__) || defined (__cplusplus) +int yyparse (void *YYPARSE_PARAM) +# else +int yyparse (YYPARSE_PARAM) + void *YYPARSE_PARAM; +# endif +#else /* ! YYPARSE_PARAM */ +#if defined (__STDC__) || defined (__cplusplus) int -yyparse (YYPARSE_PARAM_ARG) - YYPARSE_PARAM_DECL -{ - /* If reentrant, generate the variables here. */ -#if YYPURE - YY_DECL_VARIABLES -#endif /* !YYPURE */ +yyparse (void) +#else +int +yyparse () +#endif +#endif +{ + register int yystate; register int yyn; int yyresult; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; /* Lookahead token as an internal (translated) token number. */ - int yychar1 = 0; + int yytoken = 0; /* Three stacks and their tools: `yyss': related to states, @@ -982,41 +1290,29 @@ Refer to the stacks thru separate pointers, to allow yyoverflow to reallocate them elsewhere. */ - /* The state stack. */ - short yyssa[YYINITDEPTH]; - short *yyss = yyssa; - register short *yyssp; + /* The state stack. */ + short int yyssa[YYINITDEPTH]; + short int *yyss = yyssa; + register short int *yyssp; /* The semantic value stack. */ YYSTYPE yyvsa[YYINITDEPTH]; YYSTYPE *yyvs = yyvsa; register YYSTYPE *yyvsp; -#if YYLSP_NEEDED - /* The location stack. */ - YYLTYPE yylsa[YYINITDEPTH]; - YYLTYPE *yyls = yylsa; - YYLTYPE *yylsp; -#endif -#if YYLSP_NEEDED -# define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) -#else -# define YYPOPSTACK (yyvsp--, yyssp--) -#endif - YYSIZE_T yystacksize = YYINITDEPTH; +#define YYPOPSTACK (yyvsp--, yyssp--) + YYSIZE_T yystacksize = YYINITDEPTH; /* The variables used to return semantic value and location from the action routines. */ YYSTYPE yyval; -#if YYLSP_NEEDED - YYLTYPE yyloc; -#endif + /* When reducing, the number of symbols on the RHS of the reduced - rule. */ + rule. */ int yylen; YYDPRINTF ((stderr, "Starting parse\n")); @@ -1033,9 +1329,8 @@ yyssp = yyss; yyvsp = yyvs; -#if YYLSP_NEEDED - yylsp = yyls; -#endif + + goto yysetstate; /*------------------------------------------------------------. @@ -1050,7 +1345,7 @@ yysetstate: *yyssp = yystate; - if (yyssp >= yyss + yystacksize - 1) + if (yyss + yystacksize - 1 <= yyssp) { /* Get the current used size of the three stacks, in elements. */ YYSIZE_T yysize = yyssp - yyss + 1; @@ -1061,26 +1356,19 @@ these so that the &'s don't force the real ones into memory. */ YYSTYPE *yyvs1 = yyvs; - short *yyss1 = yyss; + short int *yyss1 = yyss; + /* Each stack pointer address is followed by the size of the - data in use in that stack, in bytes. */ -# if YYLSP_NEEDED - YYLTYPE *yyls1 = yyls; - /* This used to be a conditional around just the two extra args, - but that might be undefined if yyoverflow is a macro. */ - yyoverflow ("parser stack overflow", - &yyss1, yysize * sizeof (*yyssp), - &yyvs1, yysize * sizeof (*yyvsp), - &yyls1, yysize * sizeof (*yylsp), - &yystacksize); - yyls = yyls1; -# else + data in use in that stack, in bytes. This used to be a + conditional around just the two extra args, but that might + be undefined if yyoverflow is a macro. */ yyoverflow ("parser stack overflow", &yyss1, yysize * sizeof (*yyssp), &yyvs1, yysize * sizeof (*yyvsp), + &yystacksize); -# endif + yyss = yyss1; yyvs = yyvs1; } @@ -1089,24 +1377,22 @@ goto yyoverflowlab; # else /* Extend the stack our own way. */ - if (yystacksize >= YYMAXDEPTH) + if (YYMAXDEPTH <= yystacksize) goto yyoverflowlab; yystacksize *= 2; - if (yystacksize > YYMAXDEPTH) + if (YYMAXDEPTH < yystacksize) yystacksize = YYMAXDEPTH; { - short *yyss1 = yyss; + short int *yyss1 = yyss; union yyalloc *yyptr = (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); if (! yyptr) goto yyoverflowlab; YYSTACK_RELOCATE (yyss); YYSTACK_RELOCATE (yyvs); -# if YYLSP_NEEDED - YYSTACK_RELOCATE (yyls); -# endif -# undef YYSTACK_RELOCATE + +# undef YYSTACK_RELOCATE if (yyss1 != yyssa) YYSTACK_FREE (yyss1); } @@ -1115,14 +1401,12 @@ yyssp = yyss + yysize - 1; yyvsp = yyvs + yysize - 1; -#if YYLSP_NEEDED - yylsp = yyls + yysize - 1; -#endif + YYDPRINTF ((stderr, "Stack size increased to %lu\n", (unsigned long int) yystacksize)); - if (yyssp >= yyss + yystacksize - 1) + if (yyss + yystacksize - 1 <= yyssp) YYABORT; } @@ -1130,7 +1414,6 @@ goto yybackup; - /*-----------. | yybackup. | `-----------*/ @@ -1143,88 +1426,55 @@ /* First try to decide what to do without reference to lookahead token. */ yyn = yypact[yystate]; - if (yyn == YYFLAG) + if (yyn == YYPACT_NINF) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ - /* yychar is either YYEMPTY or YYEOF - or a valid token in external form. */ - + /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ if (yychar == YYEMPTY) { YYDPRINTF ((stderr, "Reading a token: ")); yychar = YYLEX; } - /* Convert token to internal form (in yychar1) for indexing tables with */ - - if (yychar <= 0) /* This means end of input. */ + if (yychar <= YYEOF) { - yychar1 = 0; - yychar = YYEOF; /* Don't call YYLEX any more */ - + yychar = yytoken = YYEOF; YYDPRINTF ((stderr, "Now at end of input.\n")); } else { - yychar1 = YYTRANSLATE (yychar); - -#if YYDEBUG - /* We have to keep this `#if YYDEBUG', since we use variables - which are defined only if `YYDEBUG' is set. */ - if (yydebug) - { - YYFPRINTF (stderr, "Next token is %d (%s", - yychar, yytname[yychar1]); - /* Give the individual parser a way to print the precise - meaning of a token, for further debugging info. */ -# ifdef YYPRINT - YYPRINT (stderr, yychar, yylval); -# endif - YYFPRINTF (stderr, ")\n"); - } -#endif + yytoken = YYTRANSLATE (yychar); + YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc); } - yyn += yychar1; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1) - goto yydefault; - - yyn = yytable[yyn]; - - /* yyn is what to do for this token type in this state. - Negative => reduce, -yyn is rule number. - Positive => shift, yyn is new state. - New state is final state => don't bother to shift, - just return success. - 0, or most negative number => error. */ - - if (yyn < 0) + /* If the proper action on seeing token YYTOKEN is to reduce or to + detect an error, take that action. */ + yyn += yytoken; + if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) + goto yydefault; + yyn = yytable[yyn]; + if (yyn <= 0) { - if (yyn == YYFLAG) + if (yyn == 0 || yyn == YYTABLE_NINF) goto yyerrlab; yyn = -yyn; goto yyreduce; } - else if (yyn == 0) - goto yyerrlab; if (yyn == YYFINAL) YYACCEPT; /* Shift the lookahead token. */ - YYDPRINTF ((stderr, "Shifting token %d (%s), ", - yychar, yytname[yychar1])); + YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken])); /* Discard the token being shifted unless it is eof. */ if (yychar != YYEOF) yychar = YYEMPTY; *++yyvsp = yylval; -#if YYLSP_NEEDED - *++yylsp = yylloc; -#endif + /* Count tokens shifted since error; after three, turn off error status. */ @@ -1255,132 +1505,126 @@ /* If YYLEN is nonzero, implement the default value of the action: `$$ = $1'. - Otherwise, the following line sets YYVAL to the semantic value of - the lookahead token. This behavior is undocumented and Bison + Otherwise, the following line sets YYVAL to garbage. + This behavior is undocumented and Bison users should not rely upon it. Assigning to YYVAL unconditionally makes the parser a bit smaller, and it avoids a GCC warning that YYVAL may be used uninitialized. */ yyval = yyvsp[1-yylen]; -#if YYLSP_NEEDED - /* Similarly for the default location. Let the user run additional - commands if for instance locations are ranges. */ - yyloc = yylsp[1-yylen]; - YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen); -#endif - -#if YYDEBUG - /* We have to keep this `#if YYDEBUG', since we use variables which - are defined only if `YYDEBUG' is set. */ - if (yydebug) - { - int yyi; - - YYFPRINTF (stderr, "Reducing via rule %d (line %d), ", - yyn, yyrline[yyn]); - - /* Print the symbols being reduced, and their result. */ - for (yyi = yyprhs[yyn]; yyrhs[yyi] > 0; yyi++) - YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]); - YYFPRINTF (stderr, " -> %s\n", yytname[yyr1[yyn]]); - } -#endif - - switch (yyn) { -case 6: + YY_REDUCE_PRINT (yyn); + switch (yyn) + { + case 7: #line 71 "./fconfig.y" -{ + { fconferror ("Missing/bad database info section"); - ; - break;} -case 7: + } + break; + + case 8: #line 76 "./fconfig.y" -{ badFile = 1; ; - break;} -case 10: + { badFile = 1; } + break; + + case 11: #line 82 "./fconfig.y" -{ + { setDebugMode (databaseBeingDefined, yyvsp[0].intval); - ; - break;} -case 11: + } + break; + + case 12: #line 85 "./fconfig.y" -{ + { setKeepReceivedHeaders (databaseBeingDefined, yyvsp[0].intval); - ; - break;} -case 12: + } + break; + + case 13: #line 88 "./fconfig.y" -{ + { setNotifyExpire (databaseBeingDefined, yyvsp[0].intval); - ; - break;} -case 13: + } + break; + + case 14: #line 91 "./fconfig.y" -{ + { setBinDir (databaseBeingDefined, qStrVal (yyvsp[0].qstr)); - ; - break;} -case 14: + } + break; + + case 15: #line 94 "./fconfig.y" -{ + { setSubmitterAck (databaseBeingDefined, yyvsp[0].intval); - ; - break;} -case 15: + } + break; + + case 16: #line 97 "./fconfig.y" -{ + { setBusinessDay (databaseBeingDefined, yyvsp[-2].intval, yyvsp[0].intval); - ; - break;} -case 16: + } + break; + + case 17: #line 100 "./fconfig.y" -{ + { setBusinessWeek(databaseBeingDefined,yyvsp[-2].intval, yyvsp[0].intval); - ; - break;} -case 17: + } + break; + + case 18: #line 103 "./fconfig.y" -{ + { setCreateCategoryDirs (databaseBeingDefined, yyvsp[0].intval); - ; - break;} -case 18: + } + break; + + case 19: #line 106 "./fconfig.y" -{ + { setCategoryDirPerms (databaseBeingDefined, qStrVal (yyvsp[0].qstr)); - ; - break;} -case 19: + } + break; + + case 20: #line 111 "./fconfig.y" -{ yyval.intval = 0; ; - break;} -case 20: + { yyval.intval = 0; } + break; + + case 21: #line 112 "./fconfig.y" -{ yyval.intval = 1; ; - break;} -case 22: + { yyval.intval = 1; } + break; + + case 23: #line 116 "./fconfig.y" -{ + { fconferror ("Missing/bad field declarations"); - ; - break;} -case 25: + } + break; + + case 26: #line 125 "./fconfig.y" -{ + { currField = NULL; - ; - break;} -case 26: + } + break; + + case 27: #line 128 "./fconfig.y" -{ + { currField = NULL; - ; - break;} -case 27: + } + break; + + case 28: #line 133 "./fconfig.y" -{ + { char *fname = takeQString (yyvsp[0].qstr); currField = newFieldDef (databaseBeingDefined, fname); if (currField == NULL) @@ -1392,95 +1636,108 @@ free (msg); } currField->default_value = NULL; - ; - break;} -case 34: + } + break; + + case 35: #line 158 "./fconfig.y" -{ + { currField->virtualFormat = qformat; qformat = NULL; - ; - break;} -case 37: + } + break; + + case 38: #line 166 "./fconfig.y" -{ + { currField->datatype = MultiText; currField->defaultSearchType = NilSearch; - ; - break;} -case 38: + } + break; + + case 39: #line 170 "./fconfig.y" -{ + { currField->datatype = Date; currField->defaultSearchType = LessThan; - ; - break;} -case 39: + } + break; + + case 40: #line 174 "./fconfig.y" -{ + { currField->datatype = Integer; currField->defaultSearchType = NilSearch; - ; - break;} -case 40: + } + break; + + case 41: #line 178 "./fconfig.y" -{ + { currField->datatype = PRListType; currField->defaultSearchType = RegCmp; - ; - break;} -case 41: + } + break; + + case 42: #line 184 "./fconfig.y" -{ + { currField->datatype = Text; - ; - break;} -case 42: + } + break; + + case 43: #line 187 "./fconfig.y" -{ + { currField->datatype = TextWithRegex; - ; - break;} -case 44: + } + break; + + case 45: #line 193 "./fconfig.y" -{ + { yyval.stringlist = new_string_list_ent (takeQString (yyvsp[0].qstr), NULL); currField->regex = yyval.stringlist; - ; - break;} -case 45: + } + break; + + case 46: #line 197 "./fconfig.y" -{ + { yyvsp[-1].stringlist->next = new_string_list_ent (takeQString (yyvsp[0].qstr), NULL); yyval.stringlist = yyvsp[-1].stringlist->next; - ; - break;} -case 46: + } + break; + + case 47: #line 203 "./fconfig.y" -{ + { currField->datatype = Enum; currField->defaultSearchType = RegCmp; - ; - break;} -case 47: + } + break; + + case 48: #line 207 "./fconfig.y" -{ + { currField->datatype = Enum; currField->defaultSearchType = RegCmp; initAdmField (currField); - ; - break;} -case 48: + } + break; + + case 49: #line 212 "./fconfig.y" -{ + { currField->datatype = MultiEnum; currField->defaultSearchType = RegCmp; initAdmField (currField); - ; - break;} -case 49: + } + break; + + case 50: #line 217 "./fconfig.y" -{ + { currField->datatype = MultiEnum; currField->defaultSearchType = RegCmp; if (currField->multiEnumSeparator == NULL) @@ -1488,18 +1745,20 @@ currField->multiEnumSeparator = xstrdup (DEFAULT_MULTIENUM_SEPARATOR); } - ; - break;} -case 54: + } + break; + + case 55: #line 234 "./fconfig.y" -{ + { addGlobalChangeActions (databaseBeingDefined, currChange); currChange = NULL; - ; - break;} -case 55: + } + break; + + case 56: #line 240 "./fconfig.y" -{ + { ChangeActions *p = &(currField->changeActions); while (*p != NULL) { @@ -1507,76 +1766,86 @@ } *p = currChange; currChange = NULL; - ; - break;} -case 56: + } + break; + + case 57: #line 251 "./fconfig.y" -{ + { currChange = newChangeAction (databaseBeingDefined, yyvsp[-1].sval); if (yyvsp[-1].sval != NULL) { free (yyvsp[-1].sval); } - ; - break;} -case 57: + } + break; + + case 58: #line 260 "./fconfig.y" -{ + { yyval.sval = takeQString (yyvsp[0].qstr); - ; - break;} -case 58: + } + break; + + case 59: #line 263 "./fconfig.y" -{ + { yyval.sval = NULL; - ; - break;} -case 63: + } + break; + + case 64: #line 274 "./fconfig.y" -{ + { currChange->edits = currEdit; currEdit = NULL; - ; - break;} -case 64: + } + break; + + case 65: #line 278 "./fconfig.y" -{ + { currEdit->append = 1; currChange->edits = currEdit; currEdit = NULL; - ; - break;} -case 65: + } + break; + + case 66: #line 283 "./fconfig.y" -{ + { currChange->addAuditTrail = 1; - ; - break;} -case 66: + } + break; + + case 67: #line 286 "./fconfig.y" -{ + { currChange->auditTrailFormat = qformat; qformat = NULL; - ; - break;} -case 67: + } + break; + + case 68: #line 290 "./fconfig.y" -{ + { currChange->requireChangeReason = 1; - ; - break;} -case 70: + } + break; + + case 71: #line 299 "./fconfig.y" -{ + { FieldList foo = newFieldListEnt (databaseBeingDefined, qStrVal (yyvsp[0].qstr), currChange->requiredFields); currChange->requiredFields = foo; - ; - break;} -case 73: + } + break; + + case 74: #line 311 "./fconfig.y" -{ + { currEdit = (FieldEdit *) xmalloc (sizeof (FieldEdit)); currEdit->expr = NULL; currEdit->fieldToEditName = takeQString (yyvsp[0].qstr); @@ -1584,76 +1853,87 @@ currEdit->textFormat = NULL; currEdit->fieldsForFormat = NULL; currEdit->next = NULL; - ; - break;} -case 74: + } + break; + + case 75: #line 322 "./fconfig.y" -{ + { currEdit->textFormat = takeQString (yyvsp[0].qstr); - ; - break;} -case 75: + } + break; + + case 76: #line 327 "./fconfig.y" -{ + { currEdit->fieldsForFormat = NULL; - ; - break;} -case 76: + } + break; + + case 77: #line 330 "./fconfig.y" -{ - ; - break;} -case 77: + { + } + break; + + case 78: #line 334 "./fconfig.y" -{ + { yyval.flist = newFieldListEnt (databaseBeingDefined, qStrVal (yyvsp[0].qstr), NULL); currEdit->fieldsForFormat = yyval.flist; - ; - break;} -case 78: + } + break; + + case 79: #line 339 "./fconfig.y" -{ + { yyval.flist = newFieldListEnt (databaseBeingDefined, qStrVal (yyvsp[0].qstr), NULL); yyvsp[-1].flist->next = yyval.flist; - ; - break;} -case 84: + } + break; + + case 85: #line 355 "./fconfig.y" -{ + { currField->maxPrsPerLine = yyvsp[0].intval; - ; - break;} -case 90: + } + break; + + case 91: #line 369 "./fconfig.y" -{ + { currField->multiEnumSeparator = takeQString (yyvsp[0].qstr); - ; - break;} -case 94: + } + break; + + case 95: #line 379 "./fconfig.y" -{ + { yyval.stringlist = new_string_list_ent (takeQString (yyvsp[0].qstr), NULL); currField->enumValues = yyval.stringlist; - ; - break;} -case 95: + } + break; + + case 96: #line 383 "./fconfig.y" -{ + { yyvsp[-1].stringlist->next = new_string_list_ent (takeQString (yyvsp[0].qstr), NULL); yyval.stringlist = yyvsp[-1].stringlist->next; - ; - break;} -case 98: + } + break; + + case 99: #line 393 "./fconfig.y" -{ + { currField->adm_db_name = takeQString (yyvsp[0].qstr); - ; - break;} -case 99: + } + break; + + case 100: #line 396 "./fconfig.y" -{ + { AdmFieldDesc *p; int which = 0; @@ -1679,90 +1959,103 @@ fconferror (msg); free (msg); } - ; - break;} -case 102: + } + break; + + case 103: #line 425 "./fconfig.y" -{ + { currField->allow_any_value = 1; - ; - break;} -case 106: + } + break; + + case 107: #line 435 "./fconfig.y" -{ + { currField->multiEnumSeparator = takeQString (yyvsp[0].qstr); - ; - break;} -case 107: + } + break; + + case 108: #line 440 "./fconfig.y" -{ + { currField->default_value = takeQString (yyvsp[0].qstr); - ; - break;} -case 108: + } + break; + + case 109: #line 443 "./fconfig.y" -{ + { currField->input_default_value = takeQString (yyvsp[0].qstr); - ; - break;} -case 109: + } + break; + + case 110: #line 448 "./fconfig.y" -{ + { currField->adm_db_fields = 1; currField->adm_field_des = yyvsp[0].adm_field_des; yyval.adm_field_des = yyvsp[0].adm_field_des; - ; - break;} -case 110: + } + break; + + case 111: #line 453 "./fconfig.y" -{ + { yyvsp[-1].adm_field_des->next = yyvsp[0].adm_field_des; yyval.adm_field_des = yyvsp[0].adm_field_des; currField->adm_db_fields++; - ; - break;} -case 111: + } + break; + + case 112: #line 460 "./fconfig.y" -{ + { yyval.adm_field_des = (AdmFieldDesc *) xmalloc (sizeof (AdmFieldDesc)); yyval.adm_field_des->name = takeQString (yyvsp[0].qstr); yyval.adm_field_des->next = NULL; - ; - break;} -case 112: + } + break; + + case 113: #line 468 "./fconfig.y" -{ + { currField->defaultSearchType = RegCmp; - ; - break;} -case 113: + } + break; + + case 114: #line 471 "./fconfig.y" -{ + { currField->defaultSearchType = RegFind; - ; - break;} -case 114: + } + break; + + case 115: #line 476 "./fconfig.y" -{ + { currField->textsearch = 1; - ; - break;} -case 115: + } + break; + + case 116: #line 479 "./fconfig.y" -{ + { currField->restricted = 1; - ; - break;} -case 116: + } + break; + + case 117: #line 482 "./fconfig.y" -{ + { currField->nospaces = 1; - ; - break;} -case 117: + } + break; + + case 118: #line 485 "./fconfig.y" -{ + { if (setBuiltinField (currField, qStrVal (yyvsp[0].qstr)) != 0) { char *msg; @@ -1771,99 +2064,113 @@ fconferror (msg); free (msg); } - ; - break;} -case 119: + } + break; + + case 120: #line 496 "./fconfig.y" -{ + { currField->description = takeQString (yyvsp[0].qstr); - ; - break;} -case 120: + } + break; + + case 121: #line 499 "./fconfig.y" -{ + { currField->readonly = 1; - ; - break;} -case 121: + } + break; + + case 122: #line 502 "./fconfig.y" -{ + { currField->auxFlags = yyvsp[-1].stringlist; - ; - break;} -case 122: + } + break; + + case 123: #line 505 "./fconfig.y" -{ + { currField->editonly = 1; - ; - break;} -case 123: + } + break; + + case 124: #line 510 "./fconfig.y" -{ + { yyval.stringlist = new_string_list_ent (takeQString (yyvsp[0].qstr), NULL); currField->auxFlags = yyval.stringlist; - ; - break;} -case 124: + } + break; + + case 125: #line 514 "./fconfig.y" -{ + { yyvsp[-1].stringlist->next = new_string_list_ent (takeQString (yyvsp[0].qstr), NULL); yyval.stringlist = yyvsp[-1].stringlist->next; - ; - break;} -case 129: + } + break; + + case 130: #line 528 "./fconfig.y" -{ + { addQueryFormat (databaseBeingDefined, qformat); qformat = NULL; - ; - break;} -case 130: + } + break; + + case 131: #line 532 "./fconfig.y" -{ + { freeQueryFormat (qformat); qformat = NULL; - ; - break;} -case 131: + } + break; + + case 132: #line 538 "./fconfig.y" -{ + { qformat = (QueryFormat *) xmalloc (sizeof (QueryFormat)); qformat->name = takeQString (yyvsp[0].qstr); qformat->printf = NULL; qformat->separator = NULL; qformat->fields = NULL; qformat->next = NULL; - ; - break;} -case 140: + } + break; + + case 141: #line 562 "./fconfig.y" -{ + { qformat->rawQuery = 1; - ; - break;} -case 141: + } + break; + + case 142: #line 567 "./fconfig.y" -{ + { qformat->printf = takeQString (yyvsp[0].qstr); - ; - break;} -case 144: + } + break; + + case 145: #line 576 "./fconfig.y" -{ + { qformat->fields = yyvsp[0].flist; - ; - break;} -case 145: + } + break; + + case 146: #line 579 "./fconfig.y" -{ + { yyvsp[-1].flist->next = yyvsp[0].flist; yyval.flist = yyvsp[0].flist; - ; - break;} -case 146: + } + break; + + case 147: #line 585 "./fconfig.y" -{ + { yyval.flist = newFieldListEnt (databaseBeingDefined, qStrVal (yyvsp[0].qstr), NULL); if (parseComplexFieldIndex (yyval.flist->ent) != 0) @@ -1874,106 +2181,122 @@ fconferror (msg); free (msg); } - ; - break;} -case 147: + } + break; + + case 148: #line 599 "./fconfig.y" -{ + { setIndexDesc (databaseBeingDefined, indexEntry); indexEntry = NULL; - ; - break;} -case 148: + } + break; + + case 149: #line 603 "./fconfig.y" -{ + { freeIndexDesc (indexEntry); indexEntry = NULL; - ; - break;} -case 150: + } + break; + + case 151: #line 610 "./fconfig.y" -{ + { indexEntry = newIndexDesc (databaseBeingDefined); - ; - break;} -case 153: + } + break; + + case 154: #line 619 "./fconfig.y" -{ + { setIndexDescPath (indexEntry, qStrVal (yyvsp[0].qstr)); - ; - break;} -case 157: + } + break; + + case 158: #line 627 "./fconfig.y" -{ + { addFieldToIndex (indexEntry, yyvsp[0].flist); - ; - break;} -case 158: + } + break; + + case 159: #line 630 "./fconfig.y" -{ + { addFieldToIndex (indexEntry, yyvsp[0].flist); - ; - break;} -case 159: + } + break; + + case 160: #line 635 "./fconfig.y" -{ + { setIndexDescSeparator (indexEntry, takeQString (yyvsp[0].qstr)); - ; - break;} -case 160: + } + break; + + case 161: #line 638 "./fconfig.y" -{ + { setIndexDescBinary (indexEntry, yyvsp[0].intval); - ; - break;} -case 163: + } + break; + + case 164: #line 647 "./fconfig.y" -{ + { setInputTemplate (databaseBeingDefined, yyvsp[-1].inputlist); - ; - break;} -case 165: + } + break; + + case 166: #line 653 "./fconfig.y" -{ + { setRequiredInputFields (databaseBeingDefined, requiredFlds); - ; - break;} -case 166: + } + break; + + case 167: #line 656 "./fconfig.y" -{ + { freeFieldList (requiredFlds); requiredFlds = NULL; - ; - break;} -case 167: + } + break; + + case 168: #line 662 "./fconfig.y" -{ + { requiredFlds = yyvsp[0].flist; - ; - break;} -case 168: + } + break; + + case 169: #line 665 "./fconfig.y" -{ + { yyvsp[-1].flist->next = yyvsp[0].flist; yyval.flist = yyvsp[0].flist; - ; - break;} -case 169: + } + break; + + case 170: #line 671 "./fconfig.y" -{ + { yyval.inputlist = inputTemplate; inputTemplate = NULL; - ; - break;} -case 170: + } + break; + + case 171: #line 675 "./fconfig.y" -{ + { yyval.inputlist = NULL; - ; - break;} -case 171: + } + break; + + case 172: #line 680 "./fconfig.y" -{ + { yyval.inputlist = (InputTemplate *) xmalloc (sizeof (InputTemplate)); yyval.inputlist->index = find_field_index (databaseBeingDefined, @@ -1994,11 +2317,12 @@ inputTemplate = yyval.inputlist; yyval.inputlist->next = NULL; } - ; - break;} -case 172: + } + break; + + case 173: #line 702 "./fconfig.y" -{ + { yyval.inputlist = (InputTemplate *) xmalloc (sizeof (InputTemplate)); yyval.inputlist->index = find_field_index (databaseBeingDefined, @@ -2022,25 +2346,28 @@ inputTemplate = yyval.inputlist; } } - ; - break;} -case 175: + } + break; + + case 176: #line 733 "./fconfig.y" -{ + { addMessageFormat (databaseBeingDefined, mailFormat); mailFormat = NULL; - ; - break;} -case 176: + } + break; + + case 177: #line 737 "./fconfig.y" -{ + { freeMessageFormat (mailFormat); mailFormat = NULL; - ; - break;} -case 177: + } + break; + + case 178: #line 743 "./fconfig.y" -{ + { mailFormat = (MailMessageFormat) xmalloc (sizeof (struct mail_message_format)); @@ -2051,149 +2378,153 @@ mailFormat->body = NULL; mailFormat->header = NULL; mailFormat->next = NULL; - ; - break;} -case 180: + } + break; + + case 181: #line 761 "./fconfig.y" -{ + { mailFormat->body = qformat; qformat = NULL; - ; - break;} -case 181: + } + break; + + case 182: #line 765 "./fconfig.y" -{ + { mailFormat->header = qformat; qformat = NULL; - ; - break;} -case 182: + } + break; + + case 183: #line 769 "./fconfig.y" -{ + { mailFormat->toAddresses = yyvsp[-1].mailaddrlist; - ; - break;} -case 183: + } + break; + + case 184: #line 772 "./fconfig.y" -{ + { mailFormat->fromAddress = yyvsp[-1].mailaddr; - ; - break;} -case 184: + } + break; + + case 185: #line 775 "./fconfig.y" -{ + { mailFormat->replyTo = yyvsp[-1].mailaddrlist; - ; - break;} -case 188: + } + break; + + case 189: #line 787 "./fconfig.y" -{ + { freeQueryFormat (qformat); qformat = NULL; - ; - break;} -case 189: + } + break; + + case 190: #line 793 "./fconfig.y" -{ + { qformat = (QueryFormat *) xmalloc (sizeof (QueryFormat)); qformat->name = NULL; qformat->printf = NULL; qformat->separator = NULL; qformat->fields = NULL; qformat->next = NULL; - ; - break;} -case 190: + } + break; + + case 191: #line 803 "./fconfig.y" -{ + { yyval.mailaddrlist = (MailAddressList *) xmalloc (sizeof (MailAddressList)); yyval.mailaddrlist->address = yyvsp[0].mailaddr; yyval.mailaddrlist->next = NULL; - ; - break;} -case 191: + } + break; + + case 192: #line 808 "./fconfig.y" -{ + { MailAddressList *lp = yyval.mailaddrlist; while (lp->next != NULL) { lp = lp->next; } lp->next = (MailAddressList *) xmalloc (sizeof (MailAddressList)); lp->next->address = yyvsp[0].mailaddr; lp->next->next = NULL; - ; - break;} -case 192: + } + break; + + case 193: #line 818 "./fconfig.y" -{ + { yyval.mailaddr = (MailAddress *) xmalloc (sizeof (MailAddress)); yyval.mailaddr->fixedAddress = takeQString (yyvsp[0].qstr); yyval.mailaddr->addresses = NULL; - ; - break;} -case 193: + } + break; + + case 194: #line 823 "./fconfig.y" -{ + { yyval.mailaddr = (MailAddress *) xmalloc (sizeof (MailAddress)); yyval.mailaddr->fixedAddress = NULL; yyval.mailaddr->addresses = yyvsp[0].flist; - ; - break;} -case 194: + } + break; + + case 195: #line 830 "./fconfig.y" -{ + { yyval.flist = yyvsp[0].flist; - ; - break;} -case 195: + } + break; + + case 196: #line 833 "./fconfig.y" -{ + { FieldList p = yyval.flist; while (p->next != NULL) { p = p->next; } p->next = yyvsp[0].flist; - ; - break;} -case 196: + } + break; + + case 197: #line 843 "./fconfig.y" -{ + { yyval.flist = newFieldListEnt (databaseBeingDefined, qStrVal (yyvsp[0].qstr), NULL); - ; - break;} -case 197: + } + break; + + case 198: #line 849 "./fconfig.y" -{ + { setAuditTrailFormat (databaseBeingDefined, qformat); - ; - break;} -} + } + break; + -#line 706 "/usr/share/bison/bison.simple" + } +/* Line 1010 of yacc.c. */ +#line 2519 "fconfig.tab.c" yyvsp -= yylen; yyssp -= yylen; -#if YYLSP_NEEDED - yylsp -= yylen; -#endif -#if YYDEBUG - if (yydebug) - { - short *yyssp1 = yyss - 1; - YYFPRINTF (stderr, "state stack now"); - while (yyssp1 != yyssp) - YYFPRINTF (stderr, " %d", *++yyssp1); - YYFPRINTF (stderr, "\n"); - } -#endif + + YY_STACK_PRINT (yyss, yyssp); *++yyvsp = yyval; -#if YYLSP_NEEDED - *++yylsp = yyloc; -#endif + /* Now `shift' the result of the reduction. Determine what state that goes to, based on the state we popped back to and the rule @@ -2201,11 +2532,11 @@ yyn = yyr1[yyn]; - yystate = yypgoto[yyn - YYNTBASE] + *yyssp; - if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp) + yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; + if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) yystate = yytable[yystate]; else - yystate = yydefgoto[yyn - YYNTBASE]; + yystate = yydefgoto[yyn - YYNTOKENS]; goto yynewstate; @@ -2218,145 +2549,151 @@ if (!yyerrstatus) { ++yynerrs; - -#ifdef YYERROR_VERBOSE +#if YYERROR_VERBOSE yyn = yypact[yystate]; - if (yyn > YYFLAG && yyn < YYLAST) + if (YYPACT_NINF < yyn && yyn < YYLAST) { YYSIZE_T yysize = 0; + int yytype = YYTRANSLATE (yychar); + const char* yyprefix; char *yymsg; - int yyx, yycount; + int yyx; - yycount = 0; /* Start YYX at -YYN if negative to avoid negative indexes in YYCHECK. */ - for (yyx = yyn < 0 ? -yyn : 0; - yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) - if (yycheck[yyx + yyn] == yyx) - yysize += yystrlen (yytname[yyx]) + 15, yycount++; - yysize += yystrlen ("parse error, unexpected ") + 1; - yysize += yystrlen (yytname[YYTRANSLATE (yychar)]); + int yyxbegin = yyn < 0 ? -yyn : 0; + + /* Stay within bounds of both yycheck and yytname. */ + int yychecklim = YYLAST - yyn; + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; + int yycount = 0; + + yyprefix = ", expecting "; + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) + { + yysize += yystrlen (yyprefix) + yystrlen (yytname [yyx]); + yycount += 1; + if (yycount == 5) + { + yysize = 0; + break; + } + } + yysize += (sizeof ("syntax error, unexpected ") + + yystrlen (yytname[yytype])); yymsg = (char *) YYSTACK_ALLOC (yysize); if (yymsg != 0) { - char *yyp = yystpcpy (yymsg, "parse error, unexpected "); - yyp = yystpcpy (yyp, yytname[YYTRANSLATE (yychar)]); + char *yyp = yystpcpy (yymsg, "syntax error, unexpected "); + yyp = yystpcpy (yyp, yytname[yytype]); if (yycount < 5) { - yycount = 0; - for (yyx = yyn < 0 ? -yyn : 0; - yyx < (int) (sizeof (yytname) / sizeof (char *)); - yyx++) - if (yycheck[yyx + yyn] == yyx) + yyprefix = ", expecting "; + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) { - const char *yyq = ! yycount ? ", expecting " : " or "; - yyp = yystpcpy (yyp, yyq); + yyp = yystpcpy (yyp, yyprefix); yyp = yystpcpy (yyp, yytname[yyx]); - yycount++; + yyprefix = " or "; } } yyerror (yymsg); YYSTACK_FREE (yymsg); } else - yyerror ("parse error; also virtual memory exhausted"); + yyerror ("syntax error; also virtual memory exhausted"); } else -#endif /* defined (YYERROR_VERBOSE) */ - yyerror ("parse error"); +#endif /* YYERROR_VERBOSE */ + yyerror ("syntax error"); } - goto yyerrlab1; -/*--------------------------------------------------. -| yyerrlab1 -- error raised explicitly by an action | -`--------------------------------------------------*/ -yyerrlab1: + if (yyerrstatus == 3) { /* If just tried and failed to reuse lookahead token after an error, discard it. */ - /* return failure if at end of input */ - if (yychar == YYEOF) - YYABORT; - YYDPRINTF ((stderr, "Discarding token %d (%s).\n", - yychar, yytname[yychar1])); - yychar = YYEMPTY; + if (yychar <= YYEOF) + { + /* If at end of input, pop the error token, + then the rest of the stack, then return failure. */ + if (yychar == YYEOF) + for (;;) + { + YYPOPSTACK; + if (yyssp == yyss) + YYABORT; + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp); + yydestruct (yystos[*yyssp], yyvsp); + } + } + else + { + YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc); + yydestruct (yytoken, &yylval); + yychar = YYEMPTY; + + } } /* Else will try to reuse lookahead token after shifting the error token. */ - - yyerrstatus = 3; /* Each real token shifted decrements this */ - - goto yyerrhandle; + goto yyerrlab1; -/*-------------------------------------------------------------------. -| yyerrdefault -- current state does not do anything special for the | -| error token. | -`-------------------------------------------------------------------*/ -yyerrdefault: -#if 0 - /* This is wrong; only states that explicitly want error tokens - should shift them. */ +/*---------------------------------------------------. +| yyerrorlab -- error raised explicitly by YYERROR. | +`---------------------------------------------------*/ +yyerrorlab: - /* If its default is to accept any token, ok. Otherwise pop it. */ - yyn = yydefact[yystate]; - if (yyn) - goto yydefault; +#ifdef __GNUC__ + /* Pacify GCC when the user code never invokes YYERROR and the label + yyerrorlab therefore never appears in user code. */ + if (0) + goto yyerrorlab; #endif + yyvsp -= yylen; + yyssp -= yylen; + yystate = *yyssp; + goto yyerrlab1; -/*---------------------------------------------------------------. -| yyerrpop -- pop the current state because it cannot handle the | -| error token | -`---------------------------------------------------------------*/ -yyerrpop: - if (yyssp == yyss) - YYABORT; - yyvsp--; - yystate = *--yyssp; -#if YYLSP_NEEDED - yylsp--; -#endif -#if YYDEBUG - if (yydebug) - { - short *yyssp1 = yyss - 1; - YYFPRINTF (stderr, "Error: state stack now"); - while (yyssp1 != yyssp) - YYFPRINTF (stderr, " %d", *++yyssp1); - YYFPRINTF (stderr, "\n"); - } -#endif +/*-------------------------------------------------------------. +| yyerrlab1 -- common code for both syntax error and YYERROR. | +`-------------------------------------------------------------*/ +yyerrlab1: + yyerrstatus = 3; /* Each real token shifted decrements this. */ -/*--------------. -| yyerrhandle. | -`--------------*/ -yyerrhandle: - yyn = yypact[yystate]; - if (yyn == YYFLAG) - goto yyerrdefault; + for (;;) + { + yyn = yypact[yystate]; + if (yyn != YYPACT_NINF) + { + yyn += YYTERROR; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) + { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } - yyn += YYTERROR; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR) - goto yyerrdefault; + /* Pop the current state because it cannot handle the error token. */ + if (yyssp == yyss) + YYABORT; - yyn = yytable[yyn]; - if (yyn < 0) - { - if (yyn == YYFLAG) - goto yyerrpop; - yyn = -yyn; - goto yyreduce; + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp); + yydestruct (yystos[yystate], yyvsp); + YYPOPSTACK; + yystate = *yyssp; + YY_STACK_PRINT (yyss, yyssp); } - else if (yyn == 0) - goto yyerrpop; if (yyn == YYFINAL) YYACCEPT; @@ -2364,9 +2701,7 @@ YYDPRINTF ((stderr, "Shifting error token, ")); *++yyvsp = yylval; -#if YYLSP_NEEDED - *++yylsp = yylloc; -#endif + yystate = yyn; goto yynewstate; @@ -2386,13 +2721,15 @@ yyresult = 1; goto yyreturn; -/*---------------------------------------------. -| yyoverflowab -- parser overflow comes here. | -`---------------------------------------------*/ +#ifndef yyoverflow +/*----------------------------------------------. +| yyoverflowlab -- parser overflow comes here. | +`----------------------------------------------*/ yyoverflowlab: yyerror ("parser stack overflow"); yyresult = 2; /* Fall through. */ +#endif yyreturn: #ifndef yyoverflow @@ -2401,4 +2738,6 @@ #endif return yyresult; } -#line 853 "./fconfig.y" + + + --- gnats-4.1.0.orig/gnats/fconfig.h +++ gnats-4.1.0/gnats/fconfig.h @@ -1,8 +1,183 @@ -#ifndef BISON_FCONFIG_TAB_H -# define BISON_FCONFIG_TAB_H +/* A Bison parser, made by GNU Bison 1.875d. */ -#ifndef YYSTYPE -typedef union { +/* Skeleton parser for Yacc-like parsing with Bison, + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 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. */ + +/* As a special exception, when this file is copied by Bison into a + Bison output file, you may use that output file without restriction. + This special exception was added by the Free Software Foundation + in version 1.24 of Bison. */ + +/* Tokens. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + FIELD = 258, + STRINGTYPE = 259, + QDEFAULT = 260, + MATCHING = 261, + ENUM = 262, + MULTIENUMTOK = 263, + VALUES = 264, + DEFAULT = 265, + EXACT_REGEXP = 266, + INEXACT_REGEXP = 267, + ALL = 268, + FORMAT = 269, + ENUMSEPARATORSTOK = 270, + MULTITEXTTYPE = 271, + DATETYPE = 272, + ENUM_IN_FILE = 273, + MULTI_ENUM_IN_FILE = 274, + PATHTOK = 275, + FIELDSTOK = 276, + KEYTOK = 277, + QSTRING = 278, + INTVAL = 279, + TEXTSEARCH = 280, + QUERYTOK = 281, + FORMATTOK = 282, + INDEXTOK = 283, + SEPARATORTOK = 284, + RESTRICTEDTOK = 285, + NOSPACESTOK = 286, + INTEGERTOK = 287, + INPUTDEFAULTTOK = 288, + BUILTINTOK = 289, + ALLOWANYVALUETOK = 290, + REQUIRETOK = 291, + APPENDFIELDTOK = 292, + SETFIELDTOK = 293, + CHANGETOK = 294, + DESCRIPTIONTOK = 295, + INPUTTOK = 296, + DATABASEINFOTOK = 297, + DEBUGMODETOK = 298, + KEEPRECTOK = 299, + NOTIFYEXPTOK = 300, + LIBEXECDIRTOK = 301, + SUBMITTERACKTOK = 302, + BUSINESSDAYTOK = 303, + BUSINESSWEEKTOK = 304, + CREATECATEGORYDIRSTOK = 305, + FALSETOK = 306, + TRUETOK = 307, + MAILFORMATTOK = 308, + TOADDRESSESTOK = 309, + FROMADDRESSTOK = 310, + REPLYTOTOK = 311, + FIXEDTOK = 312, + BODYTOK = 313, + HEADERTOK = 314, + AUDITTRAILFMTTOK = 315, + ADDAUDITTRAILTOK = 316, + REQUIRECHANGEREASONTOK = 317, + READONLYTOK = 318, + BINARYINDEXTOK = 319, + RAWTOK = 320, + BADTOK = 321, + AUXFLAGSTOK = 322, + PRLISTTOK = 323, + MAXPRSTOK = 324, + EDITONLYTOK = 325, + VIRTUALFORMATTOK = 326, + CATPERMSTOK = 327 + }; +#endif +#define FIELD 258 +#define STRINGTYPE 259 +#define QDEFAULT 260 +#define MATCHING 261 +#define ENUM 262 +#define MULTIENUMTOK 263 +#define VALUES 264 +#define DEFAULT 265 +#define EXACT_REGEXP 266 +#define INEXACT_REGEXP 267 +#define ALL 268 +#define FORMAT 269 +#define ENUMSEPARATORSTOK 270 +#define MULTITEXTTYPE 271 +#define DATETYPE 272 +#define ENUM_IN_FILE 273 +#define MULTI_ENUM_IN_FILE 274 +#define PATHTOK 275 +#define FIELDSTOK 276 +#define KEYTOK 277 +#define QSTRING 278 +#define INTVAL 279 +#define TEXTSEARCH 280 +#define QUERYTOK 281 +#define FORMATTOK 282 +#define INDEXTOK 283 +#define SEPARATORTOK 284 +#define RESTRICTEDTOK 285 +#define NOSPACESTOK 286 +#define INTEGERTOK 287 +#define INPUTDEFAULTTOK 288 +#define BUILTINTOK 289 +#define ALLOWANYVALUETOK 290 +#define REQUIRETOK 291 +#define APPENDFIELDTOK 292 +#define SETFIELDTOK 293 +#define CHANGETOK 294 +#define DESCRIPTIONTOK 295 +#define INPUTTOK 296 +#define DATABASEINFOTOK 297 +#define DEBUGMODETOK 298 +#define KEEPRECTOK 299 +#define NOTIFYEXPTOK 300 +#define LIBEXECDIRTOK 301 +#define SUBMITTERACKTOK 302 +#define BUSINESSDAYTOK 303 +#define BUSINESSWEEKTOK 304 +#define CREATECATEGORYDIRSTOK 305 +#define FALSETOK 306 +#define TRUETOK 307 +#define MAILFORMATTOK 308 +#define TOADDRESSESTOK 309 +#define FROMADDRESSTOK 310 +#define REPLYTOTOK 311 +#define FIXEDTOK 312 +#define BODYTOK 313 +#define HEADERTOK 314 +#define AUDITTRAILFMTTOK 315 +#define ADDAUDITTRAILTOK 316 +#define REQUIRECHANGEREASONTOK 317 +#define READONLYTOK 318 +#define BINARYINDEXTOK 319 +#define RAWTOK 320 +#define BADTOK 321 +#define AUXFLAGSTOK 322 +#define PRLISTTOK 323 +#define MAXPRSTOK 324 +#define EDITONLYTOK 325 +#define VIRTUALFORMATTOK 326 +#define CATPERMSTOK 327 + + + + +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) +#line 21 "./fconfig.y" +typedef union YYSTYPE { int intval; char *sval; struct qstring *qstr; @@ -12,82 +187,15 @@ InputTemplate *inputlist; MailAddress *mailaddr; MailAddressList *mailaddrlist; -} yystype; -# define YYSTYPE yystype +} YYSTYPE; +/* Line 1285 of yacc.c. */ +#line 193 "fconfig.tab.h" +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif -# define FIELD 257 -# define STRINGTYPE 258 -# define QDEFAULT 259 -# define MATCHING 260 -# define ENUM 261 -# define MULTIENUMTOK 262 -# define VALUES 263 -# define DEFAULT 264 -# define EXACT_REGEXP 265 -# define INEXACT_REGEXP 266 -# define ALL 267 -# define FORMAT 268 -# define ENUMSEPARATORSTOK 269 -# define MULTITEXTTYPE 270 -# define DATETYPE 271 -# define ENUM_IN_FILE 272 -# define MULTI_ENUM_IN_FILE 273 -# define PATHTOK 274 -# define FIELDSTOK 275 -# define KEYTOK 276 -# define QSTRING 277 -# define INTVAL 278 -# define TEXTSEARCH 279 -# define QUERYTOK 280 -# define FORMATTOK 281 -# define INDEXTOK 282 -# define SEPARATORTOK 283 -# define RESTRICTEDTOK 284 -# define NOSPACESTOK 285 -# define INTEGERTOK 286 -# define INPUTDEFAULTTOK 287 -# define BUILTINTOK 288 -# define ALLOWANYVALUETOK 289 -# define REQUIRETOK 290 -# define APPENDFIELDTOK 291 -# define SETFIELDTOK 292 -# define CHANGETOK 293 -# define DESCRIPTIONTOK 294 -# define INPUTTOK 295 -# define DATABASEINFOTOK 296 -# define DEBUGMODETOK 297 -# define KEEPRECTOK 298 -# define NOTIFYEXPTOK 299 -# define LIBEXECDIRTOK 300 -# define SUBMITTERACKTOK 301 -# define BUSINESSDAYTOK 302 -# define BUSINESSWEEKTOK 303 -# define CREATECATEGORYDIRSTOK 304 -# define FALSETOK 305 -# define TRUETOK 306 -# define MAILFORMATTOK 307 -# define TOADDRESSESTOK 308 -# define FROMADDRESSTOK 309 -# define REPLYTOTOK 310 -# define FIXEDTOK 311 -# define BODYTOK 312 -# define HEADERTOK 313 -# define AUDITTRAILFMTTOK 314 -# define ADDAUDITTRAILTOK 315 -# define REQUIRECHANGEREASONTOK 316 -# define READONLYTOK 317 -# define BINARYINDEXTOK 318 -# define RAWTOK 319 -# define BADTOK 320 -# define AUXFLAGSTOK 321 -# define PRLISTTOK 322 -# define MAXPRSTOK 323 -# define EDITONLYTOK 324 -# define VIRTUALFORMATTOK 325 -# define CATPERMSTOK 326 - extern YYSTYPE fconflval; -#endif /* not BISON_FCONFIG_TAB_H */ + +