--- portmap-6.0.orig/Makefile +++ portmap-6.0/Makefile @@ -127,7 +127,7 @@ CPPFLAGS += $(HOSTS_ACCESS) portmap: CFLAGS += -fpie portmap: LDLIBS += $(WRAP_LIB) -portmap: LDFLAGS += -pie +#portmap: LDFLAGS += -pie portmap: portmap.o pmap_check.o from_local.o from_local: CPPFLAGS += -DTEST --- portmap-6.0.orig/portmap.8 +++ portmap-6.0/portmap.8 @@ -216,7 +216,8 @@ The .Nm command appeared in -.Bx 4.3 +.Bx +4.3 .Sh AUTHORS This manual page was changed by --- portmap-6.0.orig/debian/po/vi.po +++ portmap-6.0/debian/po/vi.po @@ -0,0 +1,51 @@ +# Vietnamese translation for portmap. +# Copyright © 2006 Free Software Foundation, Inc. +# Clytie Siddall , 2005-2006. +# +msgid "" +"" +msgstr "Project-Id-Version: portmap 5-25\n" +"Report-Msgid-Bugs-To: anibal@debian.org\n" +"POT-Creation-Date: 2006-02-25 23:17+0100\n" +"PO-Revision-Date: 2006-12-26 19:03+1030\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: LocFactoryEditor 1.6fc1\n" + +#.Type: boolean +#.Description +#: ../templates:4 +msgid "Should portmap be bound to the loopback address?" +msgstr "Có nên đóng kết trình portmap đến địa chỉ mạch nội bộ không?" + +#.Type: boolean +#.Description +#: ../templates:4 +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "Mặc định là trình portmap lắng nghe trên mọi địa chỉ IP. Tuy nhiên, nếu bạn không cung cấp dịch vụ RPC cho các ứng dụng khách từ xa (bạn có phải cung cấp như thế nếu bạn thiết lập trình phục vụ NFS hay NIS), bạn có thể đóng kết nó một cách an toàn đến địa chỉ IP mạch nội bộ (127.0.0.1)." + +#.Type: boolean +#.Description +#: ../templates:4 +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "Tùy chọn này sẽ cho dịch vụ RPC cục bộ (như FAM) hoạt động cho đúng, còn ngăn cản hệ thống từ xa truy cập dịch vụ RPC của bạn." + +#.Type: boolean +#.Description +#: ../templates:4 +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "Bạn cũng có khả năng thay đổi cấu hình này bằng cách chỉnh sửa dòng OPTIONS (tùy " +"chọn) trong tập tin « etc/default/portmap ». Chỉ không ghi rõ tùy chọn « -i » thì nó sẽ đóng kết đến mọi giao diện." --- portmap-6.0.orig/debian/po/pt_BR.po +++ portmap-6.0/debian/po/pt_BR.po @@ -0,0 +1,74 @@ +# +# 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: portmap\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-12-11 04:32+0100\n" +"PO-Revision-Date: 2006-12-19 20:53-0200\n" +"Last-Translator: André Luís Lopes \n" +"Language-Team: Debian-BR Project \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Should portmap be bound to the loopback address?" +msgstr "O portmap deve ouvir somente no endereço de loopback por padrão?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "" +"O portmap, por padrão, ouve em todos os endereços IP. Porém, caso você não " +"esteja utilizando serviços RPC que se conectem a servidores remotos (como " +"NFS ou NIS) você pode restringí-lo somente ao endereço IP loopback " +"(127.0.0.1) com segurança." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "" +"Isso permitirá que serviços RPC locais (como o FAM) funcionem " +"corretamente e ao mesmo tempo evitará que sistemas remotos " +"acessem seus serviços RPC." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "" +"Você pode mudar essa configuração editando a linha OPTIONS no arquivo " +"/etc/default/portmap. Caso você apenas não especifique a opção -i o " +"portmap irá ouvir em todas as interfaces de rede." + +#~ msgid "" +#~ "This portmap version binds to the loopback IP address 127.0.0.1 by " +#~ "default." +#~ msgstr "" +#~ "Esta versão do portmap ouve no endereço IP de loopback 127.0.0.1 por " +#~ "padrão." --- portmap-6.0.orig/debian/po/nl.po +++ portmap-6.0/debian/po/nl.po @@ -0,0 +1,54 @@ +# +msgid "" +msgstr "" +"Project-Id-Version: portmap 5-19\n" +"Report-Msgid-Bugs-To: anibal@debian.org\n" +"POT-Creation-Date: 2006-02-25 23:17+0100\n" +"PO-Revision-Date: 2006-05-04 04:38+0100\n" +"Last-Translator: Vincent Zweije \n" +"Language-Team: Debian-Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Should portmap be bound to the loopback address?" +msgstr "Moet portmap op het loopback-interface luisteren?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "" +"Standaard luistert portmap op alle interfaces. Als u echter geen " +"RPC-diensten aanbiedt aan andere servers, zoals NFS- of NIS-diensten, " +"dan kunt u portmap zonder problemen beperken tot het loopback-interface " +"op adres 127.0.0.1." + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "" +"Hierdoor kunnen lokale RPC-diensten, zoals FAM, goed werken, terwijl " +"wordt voorkomen dat andere systemen verbinding maken met uw RPC-diensten." + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "" +"U kunt deze instelling ook aanpassen door de OPTIONS regel in " +"/etc/default/portmap te wijzigen. Als u de -i optie weglaat, dan luistert " +"portmap op alle interfaces." --- portmap-6.0.orig/debian/po/uk.po +++ portmap-6.0/debian/po/uk.po @@ -0,0 +1,72 @@ +# translation of portmap-uk to Ukrainian +# +# 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. +# Eugeniy Meshcheryakov , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: portmap-uk_uk\n" +"Report-Msgid-Bugs-To: anibal@debian.org\n" +"POT-Creation-Date: 2006-02-25 23:17+0100\n" +"PO-Revision-Date: 2005-03-30 19:25+0300\n" +"Last-Translator: Eugeniy Meshcheryakov \n" +"Language-Team: Ukrainian\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.9.1\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: boolean +#. Description +#: ../templates:4 +msgid "Should portmap be bound to the loopback address?" +msgstr "Чи повинен portmap бути прив'язаним до адреси локальної петлі?" + +#. Type: boolean +#. Description +#: ../templates:4 +#, fuzzy +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "" +"За замовчанням portmap прослуховує всі IP адреси. Однак, якщо ви не " +"використовуєте RPC служби, які з'єднуються до віддалених серверів (таких, як " +"NFS та NIS), ви безпечно можете прив'язати його до адреси локальної петлі " +"127.0.0.1." + +#. Type: boolean +#. Description +#: ../templates:4 +#, fuzzy +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "" +"Це дозволить локальним службам RPC (таким, як FAM) коректно працювати, " +"перешкоджаючи доступу до ваших служб RPC з боку віддалених систем." + +#. Type: boolean +#. Description +#: ../templates:4 +#, fuzzy +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "" +"Ви також можете змінити ці налаштування редагуючи рядок OPTIONS файла /etc/" +"portmap.conf. Якщо ви не вкажете опцію -i, то portmap буде прослуховувати " +"всі інтерфейси." --- portmap-6.0.orig/debian/po/eu.po +++ portmap-6.0/debian/po/eu.po @@ -0,0 +1,58 @@ +# Portmap debian debconf basque translation +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Piarres Beobide , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: portmap-5-debconf\n" +"Report-Msgid-Bugs-To: anibal@debian.org\n" +"POT-Creation-Date: 2006-02-25 23:17+0100\n" +"PO-Revision-Date: 2006-12-22 10:10+0100\n" +"Last-Translator: Piarres Beobide \n" +"Language-Team: Librezale \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Should portmap be bound to the loopback address?" +msgstr "Portmap loopback helbidera lotu behar al da?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "" +"Portmap-ek lehenespen bezala IP helbide guztietan entzungo ditu konexioak. Hala " +"ere, ez bazaude urruneko makinetara sare RPC zerbitzuez hornitzen (egiten ari zara " +"NFS edo NIS zerbitzari bat izanaz gero) segurtasunez lotu dezakezu loopback " +" IP helbidera (127.0.0.1)" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "" +"Honek RPC zerbitzu lokalak (FAM bezalakoak) behar bezala funtzionatzea " +"egingo du, urruneko sistemek zure RPC zerbitzuak erabiltzea ezinduaz." + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "" +"Konfigurazio hau /etc/default/portmap fitxategiko OPTIONS lerroa editatuz " +"aldatu dezakezu. Ez baduzu -i aukera ezartzen interfaze guztietara lotuko " +"da." --- portmap-6.0.orig/debian/po/sv.po +++ portmap-6.0/debian/po/sv.po @@ -0,0 +1,48 @@ +# 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: portmap 5-15\n" +"Report-Msgid-Bugs-To: anibal@debian.org\n" +"POT-Creation-Date: 2006-02-25 23:17+0100\n" +"PO-Revision-Date: 2006-12-22 10:16+0100\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Should portmap be bound to the loopback address?" +msgstr "Ska portmap bindas till \"loopback\"-adressen?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Portmap by default listens to all IP addresses. However, if you are not providing network RPC services to remote clients (you are if you are setting up a NFS or NIS server) you can safely bind it to the loopback IP address (127.0.0.1)" +msgstr "Portmap lyssnar som standard p alla IP-adresser. Om du inte tillhandahller RPC-tjnster till fjrrklienter (om du till exempel tillhandahller NFS- och NIS-tjnster) kan du med skerhet binda den till IP-adressen fr \"loopback\" (127.0.0.1)" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "This will allow RPC local services (like FAM) to work properly, while preventing remote systems from accessing your RPC services." +msgstr "Detta kommer att tillta lokala RPC-tjnster (som FAM) att fungera korrekt medans fjrrsystem hindras att komma t dina RPC-tjnster." + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "You can also change this configuration by editing the OPTIONS line in the /etc/default/portmap file. If you just don't specify the -i option it will bind to all interfaces." +msgstr "Du kan ven ndra denna konfiguration genom att redigera OPTIONS-raden i filen /etc/default/portmap. Om du inte anger flaggan -i kommer den att binda till alla grnssnitt." + --- portmap-6.0.orig/debian/po/da.po +++ portmap-6.0/debian/po/da.po @@ -0,0 +1,68 @@ +# +# 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. +# +# Claus Hindsgaul , 2005. +# Claus Hindsgaul , 2006. +msgid "" +msgstr "" +"Project-Id-Version: portmap debconf\n" +"Report-Msgid-Bugs-To: anibal@debian.org\n" +"POT-Creation-Date: 2006-02-25 23:17+0100\n" +"PO-Revision-Date: 2006-03-17 08:49+0100\n" +"Last-Translator: Claus Hindsgaul \n" +"Language-Team: Danish\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.2\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Should portmap be bound to the loopback address?" +msgstr "Skal portmap bindes til loopback-adressen?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "" +"Portmap lytter som udgangspunkt til alle IP-adresser. Men hvis du ikke " +"tilbyder RPC-services p netvrket til fjerne klienter (det gr du, hvis du " +"stter en NFS- eller NIS-server op), kan du uden videre binde den til loopback " +"IP-adressen (127.0.0.1)" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "" +"Dette vil gre at lokale RPC-services (ssom FAM) kan fungere " +"ordentligt, mens fjerne systemer hindres i at tilg dine RPC-services." + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "" +"Du kan ogs ndre denne indstilling ved at redigere OPTIONS-linjen i filen /" +"etc/default/portmap.conf. Hvis du undlader at angive tilvalget -i, vil den " +"binde sig til alle netkort." + --- portmap-6.0.orig/debian/po/ja.po +++ portmap-6.0/debian/po/ja.po @@ -0,0 +1,57 @@ +# +# 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: portmap\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-07-10 05:02-0600\n" +"PO-Revision-Date: 2006-07-26 21:47+0900\n" +"Last-Translator: Kenshi Muto \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Should portmap be bound to the loopback address?" +msgstr "portmap でループバックアドレスだけをバインドするようにしますか?" + +#. Type: boolean +#. Description +#: ../templates:1002 +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "portmap はデフォルトですべての IP アドレスをリスンします。ただ、リモートのクライアントにネットワーク RPC サービス (NFS や NIS サーバなど) を提供しないのであれば、ループバックの IP アドレス (127.0.0.1) だけを安全にバインドするようにできます。" + +#. Type: boolean +#. Description +#: ../templates:1003 +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "これにより、リモートのシステムがあなたの RPC サービスにアクセスするのを防ぎつつ、 RPC のローカルサービス (FAM など) が正しく動作するようになります。" + +#. Type: boolean +#. Description +#: ../templates:1004 +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "この設定は、/etc/ldefault/portmap ファイルの OPTIONS 行を編集することでも変更できます。単に -i オプションを指定しないようにすると、すべてのインターフェイスをバインドするようになります。" --- portmap-6.0.orig/debian/po/it.po +++ portmap-6.0/debian/po/it.po @@ -0,0 +1,59 @@ +# Italian (it) translation of debconf templates for portmap +# Copyright (C) 2006 Free Software Foundation, Inc. +# This file is distributed under the same license as the portmap package. +# Luca Monducci , 2005, 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: portmap\n" +"Report-Msgid-Bugs-To: anibal@debian.org\n" +"POT-Creation-Date: 2006-02-25 23:17+0100\n" +"PO-Revision-Date: 2006-03-18 10:53+0100\n" +"Last-Translator: Luca Monducci \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Should portmap be bound to the loopback address?" +msgstr "Limitare portmap al solo indirizzo di loopback?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "" +"Normalmente portmap si mette in ascolto su tutti gli indirizzi IP. Comunque, " +"se non si forniscono servizi RPC a client remoti (per esempio non si vuole " +"realizzare un server NFS o NIS), è possibile mettere portmap in ascolto solo " +"sull'indirizzo IP di loopback (127.0.0.1)." + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "" +"Questo consente il corretto funzionamento dei servizi RPC locali (come FAM) " +"e contemporaneamente impedisce l'accesso da parte di sistemi remoti ai " +"propri servizi RPC." + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "" +"È possibile cambiare questa configurazione anche modificando la riga OPTIONS " +"nel file /etc/default/portmap. Se non si specifica l'opzione -i la modifica " +"ha effetto su tutte le interfacce." --- portmap-6.0.orig/debian/po/templates.pot +++ portmap-6.0/debian/po/templates.pot @@ -0,0 +1,50 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: anibal@debian.org\n" +"POT-Creation-Date: 2006-02-25 23:17+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: boolean +#. Description +#: ../templates:4 +msgid "Should portmap be bound to the loopback address?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "" --- portmap-6.0.orig/debian/po/gl.po +++ portmap-6.0/debian/po/gl.po @@ -0,0 +1,57 @@ +# Galician translation of portmap's debconf templates. +# This file is distributed under the same license as the portmap package. +# Jacobo Tarrio , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: portmap\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-12-30 04:32+0100\n" +"PO-Revision-Date: 2007-01-03 10:12+0100\n" +"Last-Translator: Jacobo Tarrio \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Should portmap be bound to the loopback address?" +msgstr "¿Debería vincularse portmap ao enderezo \"loopback\"?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "" +"Portmap, por defecto, escoita en tódolos enderezos IP. Nembargantes, se non " +"fornece servizos de rede RPC a clientes remotos (está a o facer se configura " +"un servidor NFS ou NIS) pode vinculalo sen problemas ao enderezo IP " +"\"loopback\" (127.0.0.1)." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "" +"Isto permite aos servizos RPC locais (coma FAM) funcionar correctamente, ao " +"mesmo tempo que impide aos sistemas remotos acceder aos seus servizos RPC." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "" +"Tamén pode cambiar esta configuración editando a liña OPTIONS do ficheiro /" +"etc/default/portmap. Se non especifica a opción -i, hase vincular a tódalas " +"interfaces." --- portmap-6.0.orig/debian/po/fr.po +++ portmap-6.0/debian/po/fr.po @@ -0,0 +1,67 @@ +# 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. +# <>, 2005. +# Original translator: Stephane Fombonne +# +msgid "" +msgstr "" +"Project-Id-Version: portmap\n" +"Report-Msgid-Bugs-To: anibal@debian.org\n" +"POT-Creation-Date: 2006-02-25 23:17+0100\n" +"PO-Revision-Date: 2006-03-25 20:34+0100\n" +"Last-Translator: Jean-Christophe Champarnaud \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Should portmap be bound to the loopback address?" +msgstr "Portmap doit-il se limiter l'adresse de bouclage 127.0.0.1 ?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "" +"Par dfaut, portmap coute toutes les adresses IP. Cependant, si vous " +"n'utilisez pas les services RPC se connectant sur des serveurs distants " +"(comme NFS ou NIS), vous pouvez le restreindre en toute scurit l'adresse " +"de bouclage 127.0.0.1." + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "" +"Ceci permettra aux services RPC locaux (comme FAM) de fonctionner " +"correctement, tout en empchant les systmes distants d'accder vos " +"services RPC." + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "" +"Vous pouvez galement changer cette configuration en modifiant la ligne " +"OPTIONS dans le fichier /etc/default/portmap. Si vous ne prcisez pas -i " +"comme option, portmap sera li toutes les interfaces." + --- portmap-6.0.orig/debian/po/cs.po +++ portmap-6.0/debian/po/cs.po @@ -0,0 +1,65 @@ +# +# 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: portmap\n" +"Report-Msgid-Bugs-To: anibal@debian.org\n" +"POT-Creation-Date: 2006-02-25 23:17+0100\n" +"PO-Revision-Date: 2006-04-01 09:06+0200\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Should portmap be bound to the loopback address?" +msgstr "Má se portmap svázat s adresou lokální smyčky?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "" +"Portmap implicitně naslouchá na všech IP adresách. Pokud ale neposkytujete " +"RPC služby vzdáleným klientům (třeba v podobě NFS a NIS serveru), můžete " +"portmap svázat s IP adresou lokální smyčky 127.0.0.1." + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "" +"Tímto umožníte správné fungování lokálních RPC služeb (např. FAM), aniž " +"byste museli povolit přístup k vašim RPC službám z ostatních počítačů." + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "" +"Toto nastavení můžete změnit také úpravou řádky OPTIONS v souboru /etc/" +"default/portmap. Pokud nezadáte parametr -i, portmap se naváže na všechna " +"síťová rozhraní." --- portmap-6.0.orig/debian/po/de.po +++ portmap-6.0/debian/po/de.po @@ -0,0 +1,57 @@ +# German translation of portmap. +# Copyright (C) 2006 THE portmap'S COPYRIGHT HOLDER +# This file is distributed under the same license as the portmap package. +# Mathias Klein , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: portmap 5\n" +"Report-Msgid-Bugs-To: portmap@packages.debian.org\n" +"POT-Creation-Date: 2006-10-19 01:20+0200\n" +"PO-Revision-Date: 2006-11-04 18:00+0100\n" +"Last-Translator: Mathias Klein \n" +"Language-Team: Deutsch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Should portmap be bound to the loopback address?" +msgstr "Soll Portmap auf die Loopback-Adresse beschränkt werden?" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "" +"Standardmäßig lauscht Portmap auf allen IP-Adressen. Wenn Sie allerdings entfernten Clients " +"keine RPC-Dienste anbieten (Sie machen dies wenn Sie einen NFS- oder NIS-Server aufsetzen), " +"können Sie es unbesorgt auf die Loopback-Adresse 127.0.0.1 beschränken." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "" +"Dies erlaubt lokalen RPC-Diensten (wie FAM) normal zu arbeiten, während es " +"entfernten Systemen verwehrt wird auf Ihre RPC-Dienste zuzugreifen." + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "" +"Sie können diese Einstellung auch ändern, indem Sie die Zeile OPTIONS " +"in der Datei /etc/default/portmap bearbeiten. Wenn Sie die Option -i " +"nicht definieren, wird Portmap an alle Schnittstellen gebunden." --- portmap-6.0.orig/debian/po/pt.po +++ portmap-6.0/debian/po/pt.po @@ -0,0 +1,59 @@ +# Portuguese translation for portmap's debconf messages +# Copyright (C) 2006 Miguel Figueiredo +# This file is distributed under the same license as the portmap package. +# Miguel Figueiredo , 2006 +# +msgid "" +msgstr "" +"Project-Id-Version: portmap 5\n" +"Report-Msgid-Bugs-To: anibal@debian.org\n" +"POT-Creation-Date: 2006-02-25 23:17+0100\n" +"PO-Revision-Date: 2006-12-26 09:01+0000\n" +"Last-Translator: Miguel Figueiredo \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Should portmap be bound to the loopback address?" +msgstr "Deve o portmap ser ligado ao endereço loopback?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "" +"O Portmap, por omissão, escuta todos os endereços IP. No entanto, se não " +"disponibilizar serviços de rede RPC a clientes remotos (está se estiver a " +"configurar um servidor NFS ou NIS) pode liga-lo, em segurança, ao endereço " +"IP loopback (127.0.0.1)" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "" +"Isto irá permitir que os serviços locais RPC (como o FAM) funcionem " +"correctamente ao mesmo tempo que previne serviços remotos acedam aos seus " +"serviços RPC." + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "" +"Também pode alterar esta configuração editando a linha OPTIONS no ficheiro " +"/etc/default/portmap. Se não especificar a opção -i irá ligar-se a todos os " +"interfaces." --- portmap-6.0.orig/debian/po/POTFILES.in +++ portmap-6.0/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates --- portmap-6.0.orig/debian/po/es.po +++ portmap-6.0/debian/po/es.po @@ -0,0 +1,85 @@ +# +# portmap debconf translation to Spanish +# Copyright (C) 2005 Software in the Public Interest +# This file is distributed under the same license as the portmap package. +# +# Changes: +# - Initial translation +# Anibal Monsalve Salazar +# - Revision: +# Jose Carlos Garcia Sogo , 2004 +# Javier Fernandez-Sanguino Peña , 2005 +# +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traducción al español, por favor, lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/coordinacion +# especialmente las notas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guA-a de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +msgid "" +msgstr "" +"Project-Id-Version: portmap\n" +"Report-Msgid-Bugs-To: anibal@debian.org\n" +"POT-Creation-Date: 2006-02-25 23:17+0100\n" +"PO-Revision-Date: 2006-12-22 09:46+0100\n" +"Last-Translator: Javier Fernandez-Sanguino Peña \n" +"Language-Team: Debian Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Should portmap be bound to the loopback address?" +msgstr "¿Debería enlazarse «portmap» a la dirección de la interfaz de red local?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "La configuración por omisión de «portmap» hace que este escuche en todas las direcciones IP disponibles. Sin embargo, si no está utilizando servicios RPC para conectarse a clientes remotos (si está instalando un servidor NFS o NIS entonces sí lo está haciendolo) puede enlazar éste sin problemas a la dirección de IP local 127.0.0.1." + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "" +"Esto permitirá que los servicios RPC locales (como FAM) funcionen " +"correctamente mientras que impedirá que otros sistemas remotos accedan a sus " +"servicios RPC." + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "Puede cambiar esta configuración editando la línea OPTIONS en «/etc/default/portmap». Si no se especifica la opción -i, el programa se enlazará a todas las interfaces de red disponibles." + +#~ msgid "" +#~ "This portmap version binds to the loopback IP address 127.0.0.1 by " +#~ "default." +#~ msgstr "" +#~ "Esta versión de portmap se enlaza por defecto a la dirección IP 127.0.0.1 " +#~ "de la interfaz de red local." --- portmap-6.0.orig/debian/po/ru.po +++ portmap-6.0/debian/po/ru.po @@ -0,0 +1,61 @@ +# Russian translation of portmap. +# Copyright (C) 2006 +# This file is distributed under the same license as the portmap package. +# Aleksandr Bouksha , 2006. +# +# +msgid "" +msgstr "" +"Project-Id-Version: portmap_5-19\n" +"Report-Msgid-Bugs-To: anibal@debian.org\n" +"POT-Creation-Date: 2006-02-25 23:17+0100\n" +"PO-Revision-Date: 2006-06-17 00:57+0600\n" +"Last-Translator: Aleksandr Bouksha \n" +"Language-Team: Russian\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=koi8-r\n" +"Content-Transfer-Encoding: 8bit" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Should portmap be bound to the loopback address?" +msgstr " portmap ?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"Portmap by default listens to all IP addresses. However, if you are not " +"providing network RPC services to remote clients (you are if you are setting " +"up a NFS or NIS server) you can safely bind it to the loopback IP address " +"(127.0.0.1)" +msgstr "" +" portmap . , " +" RPC ( NFS NIS) " +" , portmap " +" (127.0.0.1)" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"This will allow RPC local services (like FAM) to work properly, while " +"preventing remote systems from accessing your RPC services." +msgstr "" +" RPC ( FAM) , " +" " +"RPC ." + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"You can also change this configuration by editing the OPTIONS line in the /" +"etc/default/portmap file. If you just don't specify the -i option it will " +"bind to all interfaces." +msgstr "" +" , OPTIONS " +"/etc/default/portmap. -i, " +" ." + --- portmap-6.0.orig/debian/preinst +++ portmap-6.0/debian/preinst @@ -0,0 +1,51 @@ +#! /bin/sh +set -e + +action=$1 +version=$2 +CONFFILE=/etc/default/portmap + +create_config() { + cat < $CONFFILE +# Portmap configuration file +# +# Note: if you manually edit this configuration file, +# portmap configuration scripts will avoid modifying it +# (for example, by running 'dpkg-reconfigure portmap'). + +# If you want portmap to listen only to the loopback +# interface, uncomment the following line (it will be +# uncommented automatically if you configure this +# through debconf). +#OPTIONS="-i 127.0.0.1" +EOF + chmod 0644 $CONFFILE +} + +# TBD: should be based on a given version +if [ "$action" = "upgrade" ] && [ -e /etc/portmap.conf ] \ + && dpkg --compare-versions "$version" gt 5-10 \ + && dpkg --compare-versions "$version" lt 5-13 ; then + # get rid of /etc/portmap.conf if it did not change from the default? + # Move to the "new" conffile location, let the user handle + # the change (if needed) + [ -e $CONFFILE ] && mv $CONFFILE $CONFFILE.dpkg-old + mv /etc/portmap.conf $CONFFILE +fi + + +# On install only, create the config file if it does not exist +# +if [ ! -e $CONFFILE ] ; then + if [ -z "$version" ] ; then + create_config + elif [ -n "$version" ] && [ "$action" = "upgrade" ] && \ + dpkg --compare-versions "$version" lt 5-6; then +# or if upgrading from version older than 5-6 (which provided the file) + create_config + fi +fi + +#DEBHELPER# + +exit 0 --- portmap-6.0.orig/debian/init.d +++ portmap-6.0/debian/init.d @@ -0,0 +1,72 @@ +#!/bin/sh +# +# start/stop portmap daemon. + +### BEGIN INIT INFO +# Provides: portmap +# Required-Start: $network +# Required-Stop: $network +# Should-Start: $named +# Should-Stop: $named +# Default-Start: S 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO + +test -f /sbin/portmap || exit 0 + +. /lib/lsb/init-functions + +OPTIONS="" +if [ -f /etc/default/portmap ]; then + . /etc/default/portmap +elif [ -f /etc/portmap.conf ]; then + . /etc/portmap.conf +fi + +case "$1" in + start) + log_begin_msg "Starting portmap daemon..." + pid=`pidof portmap` + if [ -n "$pid" ] ; then + log_begin_msg "Already running." + log_end_msg 0 + exit 0 + fi + start-stop-daemon --start --quiet --oknodo --exec /sbin/portmap -- $OPTIONS + log_end_msg $? + + sleep 1 # needs a short pause or pmap_set won't work. :( + if [ -f /var/run/portmap.upgrade-state ]; then + log_begin_msg "Restoring old RPC service information..." + pmap_set /var/run/portmap.state + start-stop-daemon --stop --quiet --oknodo --exec /sbin/portmap + log_end_msg $? + ;; + force-reload) + $0 restart + ;; + restart) + $0 stop + $0 start + ;; + *) + log_success_msg "Usage: /etc/init.d/portmap {start|stop|force-reload|restart}" + exit 1 + ;; +esac + +exit 0 + --- portmap-6.0.orig/debian/docs +++ portmap-6.0/debian/docs @@ -0,0 +1 @@ +README --- portmap-6.0.orig/debian/changelog +++ portmap-6.0/debian/changelog @@ -0,0 +1,470 @@ +portmap (6.0-1ubuntu1) gutsy; urgency=low + + * Build-depend on libwrap0-dev | libwrap-dev. + * Set Ubuntu maintainer address. + + -- Matthias Klose Fri, 24 Aug 2007 03:35:41 +0200 + +portmap (6.0-1) unstable; urgency=low + + * Build portmap without the "-pie" option. Closes: #424029. + * Fixed typo in portmap.8 manpage. Closes: #418482. + * Fixed "Fails to find local interfaces on Debian/kFreeBSD". + Closes: #423499. + * Fixed the following lintian message: + - W: portmap source: debian-rules-sets-DH_COMPAT + + -- Anibal Monsalve Salazar Fri, 01 Jun 2007 18:09:42 +1000 + +portmap (6.0-0) unstable; urgency=low + + * New upstream release. + * debian/watch: added. + * debian/control: added homepage to description. + * debian/rules: portmap starts at level 17. Closes: #400952. + * debian/postinst: fixed typo. + + -- Anibal Monsalve Salazar Fri, 11 May 2007 18:22:42 +1000 + +portmap (5-26) unstable; urgency=low + + * Really fix the encoding issues in the Spanish debconf translation + (there was still one char in latin1) + [ New translations ] + * Basque po-debconf translation, provided by Piarres Beobide + (Closes: #404178) + * Portuguese translation, provided by Miguel Figueiredo (Closes: #404552) + * Galician translation, provided by Jacobo Tarrio (Closes: #405401) + + -- Javier Fernandez-Sanguino Pen~a Sun, 11 Feb 2007 17:31:24 +0100 + +portmap (5-25) unstable; urgency=low + + * Fixed encoding in Spanish manpage, thanks to Christian Perrier for + spotting this and providing a patch (Closes: #404166) + [ Translation updates ] + * Spanish po-debconf review by Javier Fernandez-Sanguino. + * Brazilian Portuguese update by André Luís Lopes (Closes: #403826) + * Swedish updated by Daniel Nylander. + * Vietnamese updated by Clytie Siddall. + + -- Javier Fernandez-Sanguino Pen~a Fri, 22 Dec 2006 09:16:14 +0100 + +portmap (5-24) unstable; urgency=medium + + * Fixed "subprocess post-installation script returned error exit + status 1". Closes: #402220. + + -- Anibal Monsalve Salazar Sun, 10 Dec 2006 11:50:26 +1100 + +portmap (5-23) unstable; urgency=low + + * Adapt patch from Ubuntu to prevent rpcinfo from being executed if + portmap is not running for some reason. This prevents this script + from stalling in some installations (was reported at Ubuntu + Malone bug #61668: Building LTSP chroot stops during portmap installation) + + -- Javier Fernandez-Sanguino Pen~a Thu, 7 Dec 2006 11:21:20 +0100 + +portmap (5-22) unstable; urgency=low + + * Add German debconf translation provided by Mathias Klein (Closes: #397043) + + -- Javier Fernandez-Sanguino Pen~a Thu, 7 Dec 2006 10:19:30 +0100 + +portmap (5-21) unstable; urgency=low + + * Add a note in the manpage related to the use of IP addresses in + /etc/hosts.{allow,deny} when protecting portmapper. (Closes: #361019) + * Updated translations: + - Spanish translation update provided by Javier Fernandez-Sanguino + (Closes: #382962) + - Japanese translation update provided by Kenshi Muto (Closes: #379933) + [ debian/postinst ] + * Modify postinst so it does not run 'rpcinfo -p' for new installs of the + package as suggested by Joey Hess, this solves a problem with new d-i + installations since rpcinfo stalls when the package is being installed, a + static IP address has been assigned, 'lo' is down and portmap tries + to list the RPC services available. (Closes: #383941) + [ debian/rules ] + * Re-add the 'start' sentences in runlevels 2-5 (revert the change + introduced in -17 and reopens #340158, #334758). This is needed because if + someone goes to runlevel 1 (stops portmapper and NFS) and then back to + runlevel 2 portmapper would not start and NFS would fail. + [ debian/init.d ] + * Reorder the "Starting portmap" message so it is presented before we say + "Already running" + + -- Javier Fernandez-Sanguino Pen~a Wed, 11 Oct 2006 12:12:10 +0200 + +portmap (5-20) unstable; urgency=low + + * Resynchronise with Ubuntu. + * Set Standards-Version to 3.7.2. + * Set DH_COMPAT to 5. + * Dutch Debconf templates translation, closes: #367961. + Patch by Vincent Zweije . + * Russian debconf templates translation, closes: #374007. + Patch by Alexander Bouksha . + * Fixed "typo in postinst script", closes: #357248. + * Fixed "unused function in postinst", closes: #376120. + + -- Anibal Monsalve Salazar Sun, 09 Jul 2006 20:23:16 +1000 + +portmap (5-19ubuntu2) edgy; urgency=low + + * Source debconf confmodule at top of postinst. + + -- Colin Watson Fri, 30 Jun 2006 18:39:11 +0100 + +portmap (5-19ubuntu1) edgy; urgency=low + + * Sync with Debian. + + -- Tollef Fog Heen Fri, 30 Jun 2006 13:18:57 +0200 + +portmap (5-19) unstable; urgency=low + + * Remove duplicate LSB info and fix the stop argument in runlevel 1 + (Closes: #361053) + * Translation updates: + - Dutch, provided by Vincent Zweije (Closes: #356278) + - Danish, provided by Claus Hindsgaul (Closes: #357425) + - Italian, provided by Luca Monducci (Closes: #357583) + - Czech, provided by Miroslav Kure (Closes: #360314) + - French, provided by Jean-Christophe Champarnaud (Closes: #360629) + + -- Javier Fernandez-Sanguino Pen~a Tue, 25 Apr 2006 00:55:41 +0200 + +portmap (5-18) unstable; urgency=low + + * Use the LSB init.d script provided by Ubuntu + * Rephrase the template to make it clear that only those *not* providing RPC + services to the network should bind only to loopback (#316607) + * Included patch provided by Gerrit Pape which adds an '-f' option to make + it work in foreground mode (Closes: #351625) + + -- Javier Fernandez-Sanguino Pen~a Sat, 25 Feb 2006 23:13:07 +0100 + +portmap (5-17) unstable; urgency=low + + * Fixed "Portmap dies w/ SIGPIPE during heavy I/O", closes: #342709. + Patch by Michael S. Peek . + * Fixed "init script needlessly executed twice (and it informs the + user about it too)", closes: #340158, #334758. Patch by Joey Hess + . + * Added Swedish debconf translation, closes: #333125. Patch by + Daniel Nylander . + + -- Anibal Monsalve Salazar Tue, 17 Jan 2006 08:59:01 +1100 + +portmap (5-16ubuntu2) dapper; urgency=low + + * Actually exit 0 if the portmap is already running. Malone #6717 + + -- Tollef Fog Heen Fri, 13 Jan 2006 09:24:49 +0100 + +portmap (5-16ubuntu1) dapper; urgency=low + + * Resynchronise with Debian. + + -- Tollef Fog Heen Thu, 1 Dec 2005 14:00:51 +0100 + +portmap (5-16) unstable; urgency=low + + * Fixed "Speed up the boot by not sleeping in init.d/portmap + twice", closes: #326100. Patch by Petter Reinholdtsen + . + * Fixed "Please add dependency info to init.d script", closes: + #326125. Patch by Petter Reinholdtsen . + + -- Anibal Monsalve Salazar Sun, 09 Oct 2005 01:16:11 +1000 + +portmap (5-15) unstable; urgency=low + + * Create the configuration file (if it does not exit) on preinst + instead of in config (Closes: #309987) + * Remove unused check_md5 code from config and preinst + * It's portmap(8) and not rpc.portmap(8) in the pmap_dump and pmap_set + manpages + * Minor changes to the portmap(8) based on Fedora's changes + * Addd myself as Co-maintainer + * Po-debconf translations: + - Vietnamese translation provided by Clytie Siddall (Closes: #316982) + - French translation provided by Jean-Christophe (Closes: #317089) + - Italian update provided by Luca Monducci (Closes: #317994) + + -- Javier Fernandez-Sanguino Pen~a Mon, 4 Jul 2005 21:38:43 +0200 + +portmap (5-14) unstable; urgency=low + + * Updated Czech debconf translation, closes: #313254. + Patch by Miroslav Kure . + * Updated Danish debconf translation, closes: #315394. + Patch by Claus Hindsgaul . + + -- Anibal Monsalve Salazar Thu, 23 Jun 2005 22:04:00 +1000 + +portmap (5-13) unstable; urgency=high + + * Patch by Javier Fernández-Sanguino Peña , + closes: #309310. All the 5-13 change entries are addressed + by the patch for #309310. + * Reverted the configuration file change introduced in -11, the + configuration file is now /etc/default/portmap, it is handled + properly through maintainer scripts. I.e. the maintainer scripts + will not touch it if the user modifies it. + This prevents upgrades from sarge to etch from breaking, and fixes + the broken configuration file handling of previous releases thus the + high priority. + Note: Not implemented MD5 sum checks since there were at least + 3 different valid MD5sums, made more sense to parse the file + and read in the $OPTIONS value. + * Handle configuration file properly (both old and new): + * If upgrading from any version from 5-10 to 5-12 (included) then + move the configuration to the proper location. + * If upgrading from any version prior to 5-6 or installing first time + then generate the configuration file. + * Remove both configuration files (old and new) if present when + purging in postrm. + [ debian/postinst ] + * Warn the user that probably he has to restart other RPC services if + they are running and he has changed the OPTIONS + of the portmapper. + * Start and stop debconf invocation in postinst outside of if/then + condition or otherwise the 'init.d start' messages of portmap will not + be shown to standard output (the user might think it was stopped but + not started when --reconfiguring it) + * Added a debian/TODO file + + -- Anibal Monsalve Salazar Thu, 09 Jun 2005 09:05:52 +1000 + +portmap (5-12) unstable; urgency=high + + * Changed default of debconf question to correspond to the value + in the config file. + + -- Anibal Monsalve Salazar Mon, 16 May 2005 21:18:41 +1000 + +portmap (5-11) unstable; urgency=high + + * Changed all references of '/etc/default/portmap' to '/etc/portmap.conf' + in postinst, init.d, templates and po/*. Created postrm. Removed default. + This fixes RC bug "Portmap modifies conffile from postinst", closes: #305505. + * Fixed "SIGCHLD handler doesn't preserve errno", closes: #306929. + Patch by Alexander Achenbach . + + -- Anibal Monsalve Salazar Tue, 10 May 2005 21:54:21 +1000 + +portmap (5-10ubuntu3) breezy; urgency=low + + * Set portmap/loopback default to false, as it should have been at the start + of Breezy + + -- Matt Zimmerman Tue, 16 Aug 2005 14:36:32 -0700 + +portmap (5-10ubuntu2) breezy; urgency=low + + * Fix handling of /etc/default/portmap. + + -- Fabio M. Di Nitto Fri, 15 Apr 2005 17:26:06 +0200 + +portmap (5-10ubuntu1) breezy; urgency=low + + * Resynchronise with Debian. + + -- Scott James Remnant Thu, 14 Apr 2005 22:46:59 +0100 + +portmap (5-10) unstable; urgency=high + + * Re-added the debconf configuration, although the default for this is now + to have portamp listening in all interfaces. The debconf setting + allows system administrators, base-config and cdd developers to preseed + this value to 'true' (link only to the loopback interface) if needed. + Patch by Javier Fernández-Sanguino Peña . + Closes: #301130, #286301. + * Thanks to the following translators for their contribution: + cs Miroslav Kure + da Claus Hindsgaul + es Javier Fernández-Sanguino Peña + fr Stephane Fombonne + it Luca Monducci + ja Kenshi Muto + pt_BR André Luís Lopes + uk Eugeniy Meshcheryakov + * Fixed "incomplete chroot patch from #274178", closes: #301535. + + -- Anibal Monsalve Salazar Mon, 11 Apr 2005 14:03:26 +1000 + +portmap (5-9) unstable; urgency=high + + * The following patch was applied to portmap.c: + - while ((c = getopt(argc, argv, "dtvi:")) != EOF) { + + while ((c = getopt(argc, argv, "dt:vi:")) != EOF) { + See bug #274178. + + -- Anibal Monsalve Salazar Sun, 20 Mar 2005 19:00:54 +1100 + +portmap (5-8) unstable; urgency=low + + * Fixed "discards port mappings on stop; start" (Closes: #293743). + * Compilation warnings cleanup (Closes: #266481). + Patch by Mark Ferlatte + * Option to chroot portmap (Closes: #274178). + Patch by Mark Ferlatte + * New maintainer's email address. + + -- Anibal Monsalve Salazar Mon, 07 Feb 2005 21:47:42 +1100 + +portmap (5-7ubuntu3) hoary; urgency=low + + * Really ensure portmap only listens to localhost on upgrades from warty + + -- Thom May Mon, 13 Dec 2004 15:33:10 +0100 + +portmap (5-7ubuntu2) hoary; urgency=low + + * Listen on all interfaces by default. (Ubuntu #4140) + + -- Thom May Mon, 13 Dec 2004 14:29:31 +0100 + +portmap (5-7ubuntu1) hoary; urgency=low + + * Resynchronise with Debian. + + -- Matthias Klose Mon, 15 Nov 2004 15:05:56 +0000 + +portmap (5-7) unstable; urgency=high + + * Fixed "Silently changes to bind to localhost only" (Closes: #280026, #280128, #280553). + Commented out the OPTION line in /etc/default/portmap. + * Removed debconf note (Closes: #280371, #280554, #280414). + Patches supplied (but not applied) by: + Andre Luis Lopes + Kenshi Muto + Jose Carlos Garcia Sogo + * Fixed "Manpage is wrong" (Closes: #280421). + Changed portmap.8. + + -- Anibal Monsalve Salazar Wed, 10 Nov 2004 20:34:44 +1100 + +portmap (5-6) unstable; urgency=high + + * Fixed "Silently changes to bind to localhost only" (Closes: #280026). + Display a medium debconf note to let users know about portmap's + binding to the loopback address by default. + + -- Anibal Monsalve Salazar Mon, 08 Nov 2004 07:23:19 +1100 + +portmap (5-5) unstable; urgency=high + + * Implemented -i option to allow binding to a particular address (Closes: #246935). + Patch by Matt Zimmerman . + Soeren Sonnenburg supplied the original version of the + patch. + * Bind to the loopback address by default. + Patch by Matt Zimmerman . + * debian/init.d: added --oknodo to make sure portmap script returns 0 + Patch by Matt Zimmerman . + + -- Anibal Monsalve Salazar Fri, 05 Nov 2004 06:57:29 +1100 + +portmap (5-4ubuntu5) warty; urgency=low + + * Fix s/OPTIONS/ARGS/ in /etc/default/portmap + + -- Fabio M. Di Nitto Thu, 14 Oct 2004 08:28:18 +0200 + +portmap (5-4ubuntu4) warty; urgency=low + + * Implement -i option to allow binding to a particular address + * Bind to the loopback address by default + + -- Matt Zimmerman Tue, 12 Oct 2004 21:57:58 -0700 + +portmap (5-4ubuntu3) warty; urgency=low + + * debian/init.d: added --oknodo to make sure portmap script returns 0 + when portmap is already running (#995) + + -- Nathaniel McCallum Fri, 3 Sep 2004 18:01:24 -0400 + +portmap (5-4ubuntu2) warty; urgency=low + + * Added versioned depend on lsb-base + + -- Nathaniel McCallum Fri, 3 Sep 2004 15:13:38 -0400 + +portmap (5-4ubuntu1) warty; urgency=low + + * debian/init.d: pretty initscript + + -- Nathaniel McCallum Fri, 3 Sep 2004 11:43:05 -0400 + +portmap (5-4) unstable; urgency=low + + * New maintainer. + + -- Anibal Monsalve Salazar Thu, 20 May 2004 09:52:29 +1000 + +portmap (5-3) unstable; urgency=low + + * New maintainer (closes: #210768, #241674). + * Fixed hosts.allow example in portmap(8) (closes: #29142, #229004). + * Moved rcS script to 43 from 41 (closes: #196150). + + -- Herbert Xu Sat, 3 Apr 2004 20:32:41 +1000 + +portmap (5-2.3) unstable; urgency=low + + * Non maintainer upload. + * Call setgroups instead of initgroup (closes: #226681). + * Removed emacs trailer in changelog. + + -- Herbert Xu Sat, 27 Mar 2004 09:47:23 +1100 + +portmap (5-2.2) unstable; urgency=low + + * NMU + * Update to debhelper mode 4, cleanups in debian/ (closes: #162586). + * Standards-version is 3.6.1. + * Start portmap in runlevels 2 to 5, at priority 18. Also stop it for + runlevel 1 before it is killed by `single' + (closes: #159925, #216107, #60367, #93599, #101726, #130360). + * Stop it at S32 in runlevels 0 and 6, after umountnfs.sh (closes: #138023). + * Force the symlink update for older versions so that all packages don't + have to start portmap before their own daemon. + * Don't ship README's content in portmapper.txt. + + -- Josselin Mouette Fri, 20 Feb 2004 17:11:03 +0100 + +portmap (5-2.1) unstable; urgency=low + + * NMU + * [pmap_check.c] Drop group privileges as well. (Closes: #58864) + * [portmap.c] Corrected error message for failure to bind with tcp. + (Closes: #61876) + * [portmap.c, Makefile] Use glibc's strerror() and daemon(). (Closes: #106380) + * [portmap.c] Don't declare extern int errno but #include so as + not to reference the deprecated errno@GLIBC_2.0 symbol. (Closes: #168530) + * New upload, built using newer binutils which should fix the prelinking + issue on powerpc. (Closes: #176352) + * [debian/copyright] Updated the upstream location. (Closes: #181807) + * [debian/rules] Removed obsolete dh_suidregister. + + -- J.H.M. Dassen (Ray) Sat, 13 Sep 2003 17:08:22 +0200 + +portmap (5-2) unstable; urgency=low + + * Fix from_local.c to declare some functions it uses correctly. Thanks + to Bdale Garbee. (Closes: Bug#90090) + * Add -Wall to CFLAGS, and fix most of the warnings it comes up with. + + -- Anthony Towns Sun, 18 Mar 2001 19:04:25 +1000 + +portmap (5-1) unstable; urgency=low + + * Initial Release. + + -- Anthony Towns Sat, 5 Aug 2000 22:08:49 +1000 + --- portmap-6.0.orig/debian/templates +++ portmap-6.0/debian/templates @@ -0,0 +1,15 @@ +Template: portmap/loopback +Type: boolean +Default: false +_Description: Should portmap be bound to the loopback address? + Portmap by default listens to all IP addresses. However, if you are + not providing network RPC services to remote clients (you are if you are + setting up a NFS or NIS server) you can safely bind it to the loopback + IP address (127.0.0.1) + . + This will allow RPC local services (like FAM) to work properly, while + preventing remote systems from accessing your RPC services. + . + You can also change this configuration by editing the OPTIONS + line in the /etc/default/portmap file. If you just don't specify + the -i option it will bind to all interfaces. --- portmap-6.0.orig/debian/postinst +++ portmap-6.0/debian/postinst @@ -0,0 +1,120 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +CONFFILE=/etc/default/portmap + +if [ "$1" = "configure" ] && [ -n "$2" ] && + dpkg --compare-versions "$2" lt 5-3; then + err=$(update-rc.d -f portmap remove 2>&1 > /dev/null) || { + echo "$err" >&2 + exit 1 + } +fi + +if [ "$1" = "configure" ] && [ -n "$2" ] && dpkg --compare-versions "$2" lt "5-7ubuntu2"; then + db_set portmap/loopback true +fi + +# be consistent with Debian +if [ -e "$CONFFILE" ]; then + sed -i -e 's/ARGS/OPTIONS/g' "$CONFFILE" +else + echo -e "# By default, listen only on the loopback interface\nOPTIONS=\"-i 127.0.0.1\"" > "$CONFFILE" +fi + +# Keep track of changes to the portmapper +portmap_changed=0 + +if [ -e "$CONFFILE" ] && [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then + + # Read in the options + . $CONFFILE || true + + if [ "$OPTIONS" = "-i 127.0.0.1" ] || [ -z "$OPTIONS" ] ; then + # The configuration matches the changes we introduce, go ahead + # and make the changes + + db_get portmap/loopback + + if [ "$RET" = true ]; then + # first we need to understand if there is OPTIONS somewhere + # and if not, add it with a sane default. + if [ "$1" = "configure" ] && [ -n "$2" ] && ! grep -qs OPTIONS "$CONFFILE"; then + echo "OPTIONS=\"-i 127.0.0.1\"" >> "$CONFFILE" + portmap_changed=1 + fi + # if OPTION is not at the beginning, make it so + # XXX: only the last OPTIONS will be used, but we don't know + # if the user is chaining the values, so it seems to be reasonably safe. + if ! grep -q ^OPTIONS "$CONFFILE" >/dev/null 2>&1; then + sed -i -e 's/.*OPTIONS/OPTIONS/g' "$CONFFILE" + portmap_changed=1 + fi + # source again the result + . "$CONFFILE" + # check if loopback is not in the string + if [ -z "$(echo $OPTIONS | grep "127.0.0.1")" ]; then + OPTIONS="$OPTIONS -i 127.0.0.1" + sed -i -e 's/OPTIONS.*/OPTIONS=\"'"$OPTIONS"'\"/g' "$CONFFILE" + portmap_changed=1 + fi + else + if [ "$1" = "configure" ] && [ -n "$2" ] && ! grep -qs OPTIONS "$CONFFILE"; then + echo "OPTIONS=\"\"" >> "$CONFFILE" + fi +# Just reverse the change above in case a user wants to go from 'true' +# to 'false' at some point. + OPTIONS="$(echo $OPTIONS | sed -e 's/-i 127.0.0.1//g')" + sed -i -e 's/^OPTIONS.*/OPTIONS=\"'"$OPTIONS"'\"/g' "$CONFFILE" + portmap_changed=1 + fi + + + else + echo "Portmap options have already been configured in $CONFFILE" + echo "This script will not modify it, please edit this file manually." + fi +fi + +if [ ! -e "$CONFFILE" ] && [ "$1" = "reconfigure" ] ; then + echo "Cannot reconfigure portmap since $CONFFILE has been manually removed by the admin" +fi + +db_stop + +# End of configuration + +#DEBHELPER# + +# Warn if there are services linked with the portmapper +# but its configuration has changed. We will not automatically +# restart them, however. +if [ -n "$2" ] && [ "$portmap_changed" -eq 1 ] ; then + pid=`pidof portmap` || true + if [ -n "$pid" ] ; then + # RPCinfo might fail if the portmapper is not running + # (i.e. broken options...) + set +e + rpccount=`rpcinfo -p 2>/dev/null |grep "tcp\|udp" | grep -v portmapper | wc -l` + set -e + if [ "0$rpccount" -gt 0 ] ; then + # TODO: Turn this into a debconf note? + # TODO: associate common RPC services with init.d lines? + # i.e. : + # sgi_fam -> /etc/init.d/fam + # status -> /etc/init.d/nfs-common + echo "There are RPC services which were registered with the portmapper" + echo "before the configuration was changed." + echo "You need to manually restart them in order for the changes to take effect." + echo "Current registered services:" + echo "------------------------------------------------" + rpcinfo -p | grep "tcp\|udp" | grep -v portmapper + echo "------------------------------------------------" + fi + fi +fi + + +exit 0 --- portmap-6.0.orig/debian/control +++ portmap-6.0/debian/control @@ -0,0 +1,21 @@ +Source: portmap +Section: net +Priority: standard +Maintainer: Ubuntu Core developers +XSBC-Original-Maintainer: Anibal Monsalve Salazar +Uploaders: Javier Fernandez-Sanguino Pen~a +Standards-Version: 3.7.2 +Build-Depends: libwrap0-dev | libwrap-dev, debhelper (>= 5) + +Package: portmap +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 1.3-9) +Replaces: netbase (<< 4.00) +Description: The RPC portmapper + Portmap is a server that converts RPC (Remote Procedure Call) program + numbers into DARPA protocol port numbers. It must be running in order + to make RPC calls. + . + Services that use RPC include NFS and NIS. + . + Homepage: http://neil.brown.name/portmap/ --- portmap-6.0.orig/debian/postrm +++ portmap-6.0/debian/postrm @@ -0,0 +1,12 @@ +#!/bin/sh -e + +#DEBHELPER# + +if [ "$1" = "purge" ] +then + # Remove all non-conffiles that portmap might have created + [ -f /etc/portmap.conf ] && rm -f /etc/portmap.conf + [ -f /etc/default/portmap ] && rm -f /etc/default/portmap +fi + +exit 0 --- portmap-6.0.orig/debian/config +++ portmap-6.0/debian/config @@ -0,0 +1,37 @@ +#!/bin/sh -e +# config script for portmap + +action=$1 +version=$2 +CONFFILE=/etc/default/portmap + +# Only make debconf questions if +# a) the CONFFILE exists + +if [ -e $CONFFILE ] ; then + # Source debconf library. + . $CONFFILE || true + + . /usr/share/debconf/confmodule + + # and b) has the expected content + expected=1 + + if [ "$OPTIONS" = "-i 127.0.0.1" ]; then + db_set portmap/loopback true + expected=0 + elif [ -z "$OPTIONS" ] ; then + expected=0 + db_set portmap/loopback false + fi + + if [ "$expected" -eq 0 ] ; then + db_input medium portmap/loopback || true + fi + db_go || true +fi + + +#DEBHELPER# + +exit 0 --- portmap-6.0.orig/debian/prerm +++ portmap-6.0/debian/prerm @@ -0,0 +1,9 @@ +#! /bin/sh +set -e + +if [ "$1" = "upgrade" ]; then + # save portmap state; will be reread when portmap start is run + pmap_dump >/var/run/portmap.upgrade-state +fi + +#DEBHELPER# --- portmap-6.0.orig/debian/copyright +++ portmap-6.0/debian/copyright @@ -0,0 +1,51 @@ +This package was debianized by Anthony Towns on +Sat, 5 Aug 2000 22:08:49 +1000. + +It was then worked on by Herbert Xu after +Sat, 3 Apr 2004 16:54:01 +1000. + +It is now maintained by Anibal Monsalve Salazar + +Upstream location: ftp://ftp.porcupine.org/pub/security/ + +Upstream Author: Wietse Venema + +Copyright: + +Most of the files, fall under the following copyright, and are distributable +under the terms of the BSD license (/usr/share/common-licenses/BSD): + + * Copyright (c) 1983,1991 The Regents of the University of California. + * All rights reserved. + +Some of the RPC code, is copyrighted by Sun Microsystems, and is provided +under the following terms: + + * Sun RPC is a product of Sun Microsystems, Inc. and is provided for + * unrestricted use provided that this legend is included on all tape + * media and as a part of the software program in whole or part. Users + * may copy or modify Sun RPC without charge, but are not authorized + * to license or distribute it to anyone else except as part of a product or + * program developed by the user or with the express written consent of + * Sun Microsystems, Inc. + * + * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE + * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR + * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. + * + * Sun RPC is provided with no support and without any obligation on the + * part of Sun Microsystems, Inc. to assist in its use, correction, + * modification or enhancement. + * + * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE + * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC + * OR ANY PART THEREOF. + * + * In no event will Sun Microsystems, Inc. be liable for any lost revenue + * or profits or other special, indirect and consequential damages, even if + * Sun has been advised of the possibility of such damages. + * + * Sun Microsystems, Inc. + * 2550 Garcia Avenue + * Mountain View, California 94043 + --- portmap-6.0.orig/debian/rules +++ portmap-6.0/debian/rules @@ -0,0 +1,61 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# Copyright (C) 2004-2007 by Anibal Monsalve Salazar + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + +build: build-stamp +build-stamp: + dh_testdir +ifeq (kfreeebsd,$(DEB_HOST_ARCH_OS)) + CPPFLAGS=-DHAS_SA_LEN $(MAKE) +else + $(MAKE) +endif + touch build-stamp + +clean: + dh_testdir + dh_testroot + -$(MAKE) clean + dh_clean build-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install BASEDIR=`pwd`/debian/portmap + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdebconf + dh_installdocs + dh_installexamples + dh_installinit -- start 43 S . start 32 0 6 . start 17 2 3 4 5 . stop 81 1 . + dh_installcron + dh_installman + dh_installinfo + dh_installchangelogs CHANGES + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- portmap-6.0.orig/debian/dirs +++ portmap-6.0/debian/dirs @@ -0,0 +1,3 @@ +sbin +usr/share/man/man8 +usr/share/doc/portmap --- portmap-6.0.orig/debian/TODO +++ portmap-6.0/debian/TODO @@ -0,0 +1,21 @@ + +- Init.d script: + If the RPC services are stopped after the portmapper is stopped it + will not be aware of this (will keep the registration file) + +- If the following sequence occurs: + - FAM stopped + - Portmapper stopped + - FAM started + - Portmapper started + Then the services will not be registered with the portmapper properly + + The only plausible fix for this is doing init.d dependencies: if + portmap is stopped stop all RPC services? + +- Postinst could restart RPC services if the configuration has changed + just like libc6's does for some upgrades. + +- Handle the file as a conffile? (done in 5-10) there are presumably + not many changes to it in the future since portmap is a rather fixed + program. --- portmap-6.0.orig/debian/watch +++ portmap-6.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://neil.brown.name/portmap/ portmap-(.*).tgz --- portmap-6.0.orig/debian/compat +++ portmap-6.0/debian/compat @@ -0,0 +1 @@ +5 --- portmap-6.0.orig/.depend +++ portmap-6.0/.depend @@ -0,0 +1,5 @@ +from_local.o: from_local.c +pmap_check.o: pmap_check.c pmap_check.h +pmap_dump.o: pmap_dump.c +pmap_set.o: pmap_set.c +portmap.o: portmap.c pmap_check.h