From 769a61c5f07be4c44934612a391d127206ec7533 Mon Sep 17 00:00:00 2001 From: ms Date: Tue, 16 May 2006 11:12:49 +0000 Subject: [PATCH] =?utf8?q?Hinzugef=C3=BCgt:=20=20=20*=20NFS=20=20=20*=20Po?= =?utf8?q?rtmap=20-=20braucht=20man=20f=C3=BCr=20NFS=20Ge=C3=A4ndert:=20?= =?utf8?q?=20=20*=20IP=5FCONNTRACK-Patch=20erstellt=20damit=20die=20Verbin?= =?utf8?q?dungsanzeige=20im=20Webinterface=20ohne=20Workaround=20funktioni?= =?utf8?q?ert.=20(Noch=20nicht=20vollst=C3=A4ndig=20getestet!)=20=20=20*?= =?utf8?q?=20./make.sh=20commit=20optimiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@118 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- doc/ChangeLog | 306 ++++---- doc/packages-list.txt | 2 + lfs/linux | 9 +- lfs/nfs | 83 +++ lfs/portmap | 83 +++ make.sh | 5 +- src/paks/nfs/CONFFILES | 0 src/paks/nfs/ROOTFILES | 0 src/paks/nfs/install.sh | 11 + src/paks/nfs/uninstall.sh | 10 + src/paks/portmap/CONFFILES | 0 src/paks/portmap/ROOTFILES | 0 src/paks/portmap/install.sh | 11 + src/paks/portmap/uninstall.sh | 10 + ...onntrack_standalone-patch-for-ipfire.patch | 11 + .../portmap-5beta-compilation_fixes-3.patch | 705 ++++++++++++++++++ .../portmap-5beta-glibc_errno_fix-1.patch | 17 + 17 files changed, 1105 insertions(+), 158 deletions(-) create mode 100644 lfs/nfs create mode 100644 lfs/portmap create mode 100644 src/paks/nfs/CONFFILES create mode 100644 src/paks/nfs/ROOTFILES create mode 100644 src/paks/nfs/install.sh create mode 100644 src/paks/nfs/uninstall.sh create mode 100644 src/paks/portmap/CONFFILES create mode 100644 src/paks/portmap/ROOTFILES create mode 100644 src/paks/portmap/install.sh create mode 100644 src/paks/portmap/uninstall.sh create mode 100644 src/patches/ip_conntrack_standalone-patch-for-ipfire.patch create mode 100644 src/patches/portmap-5beta-compilation_fixes-3.patch create mode 100644 src/patches/portmap-5beta-glibc_errno_fix-1.patch diff --git a/doc/ChangeLog b/doc/ChangeLog index f714beec21..d6eccd7672 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,225 +1,231 @@ ------------------------------------------------------------------------ -r116 | ms | 2006-05-15 22:28:30 +0200 (Mon, 15 May 2006) | 5 lines +r117 | ms | 2006-05-16 13:01:06 +0200 (Di, 16 Mai 2006) | 3 lines -Geändert: +Quellenupdate u.a. wegen Serverausfall bei Sourceforge.net +Wir haben die Absicht den Sourcecode auf eigenen Servern zu hosten! + +------------------------------------------------------------------------ +r116 | ms | 2006-05-15 22:28:30 +0200 (Mo, 15 Mai 2006) | 5 lines + +Geändert: * ./make.sh dist noch optimiert. * TCP Wrappers Patch vergessen :) * ChangeLog-Update hat auch nicht funktioniert. ------------------------------------------------------------------------ -r115 | ms | 2006-05-15 22:08:54 +0200 (Mon, 15 May 2006) | 7 lines +r115 | ms | 2006-05-15 22:08:54 +0200 (Mo, 15 Mai 2006) | 7 lines -Hinzugefügt: - * TCP Wrappers für NFS +Hinzugefügt: + * TCP Wrappers für NFS * SpamAssassin - geht noch nicht! -Geändert: +Geändert: * Cups mit Samba verlinkt. - * Neue Prozedur in ./make.sh commit - Lädt alles ins SVN und aktualisiert vorher den ChangeLog. + * Neue Prozedur in ./make.sh commit - Lädt alles ins SVN und aktualisiert vorher den ChangeLog. ------------------------------------------------------------------------ -r114 | ms | 2006-05-13 19:54:40 +0200 (Sat, 13 May 2006) | 3 lines +r114 | ms | 2006-05-13 19:54:40 +0200 (Sa, 13 Mai 2006) | 3 lines -Geändert: +Geändert: * ./make.sh dist erstellt von jetzt an einen Tarball mit den letzten Sources im SVN. ------------------------------------------------------------------------ -r113 | ms | 2006-05-13 18:59:56 +0200 (Sat, 13 May 2006) | 12 lines +r113 | ms | 2006-05-13 18:59:56 +0200 (Sa, 13 Mai 2006) | 12 lines -Hinzugefügt: +Hinzugefügt: * Clamav - Antivirus * rsync - Backuptool -Geändert: +Geändert: * Einige neue Prozeduren in der make.sh - * Ein paar Backupdateien gelöscht/aufgeräumt - * Credits bearbeitet. Noch nicht vollständig. + * Ein paar Backupdateien gelöscht/aufgeräumt + * Credits bearbeitet. Noch nicht vollständig. * XAMPP jetzt nichtmehr in der ISO sondern als Paket. * ISO bedeutend kleiner: 144MB -> 61MB * GNUMP3D-Paket erstellt. - * Kernel schonmal angepasst für NFS, noch nicht getestet!! + * Kernel schonmal angepasst für NFS, noch nicht getestet!! ------------------------------------------------------------------------ -r112 | ms | 2006-05-04 12:50:41 +0200 (Thu, 04 May 2006) | 3 lines +r112 | ms | 2006-05-04 12:50:41 +0200 (Do, 04 Mai 2006) | 3 lines -Hauptsächlich Quellenupdate. Apache - Bind - hddtemp - hdparm - lame +Hauptsächlich Quellenupdate. Apache - Bind - hddtemp - hdparm - lame Ghostscript und CUPS aktiviert. Samba jetzt mit libcups-Support. ------------------------------------------------------------------------ -r111 | ms | 2006-05-04 12:48:33 +0200 (Thu, 04 May 2006) | 5 lines +r111 | ms | 2006-05-04 12:48:33 +0200 (Do, 04 Mai 2006) | 5 lines -Hinzugefügt: - * Patch für MPG123 -Geändert: +Hinzugefügt: + * Patch für MPG123 +Geändert: * CUPS ------------------------------------------------------------------------ -r110 | ms | 2006-05-02 22:19:59 +0200 (Tue, 02 May 2006) | 7 lines +r110 | ms | 2006-05-02 22:19:59 +0200 (Di, 02 Mai 2006) | 7 lines -Hinzugefügt: - * mpg123 - Für Wartemusik im Asterisk +Hinzugefügt: + * mpg123 - Für Wartemusik im Asterisk * CUPS - Drucker-Daemon * Ghostscript - Braucht CUPS * GNUmp3d - MP3-Streamer * lame - Braucht GNUmp3d ------------------------------------------------------------------------ -r109 | ms | 2006-05-02 08:06:43 +0200 (Tue, 02 May 2006) | 4 lines +r109 | ms | 2006-05-02 08:06:43 +0200 (Di, 02 Mai 2006) | 4 lines -Geändert: +Geändert: * Samba wird jetzt ohne Dokumentation installiert * Gettoolchain repariert ------------------------------------------------------------------------ -r108 | ms | 2006-05-01 21:47:04 +0200 (Mon, 01 May 2006) | 2 lines +r108 | ms | 2006-05-01 21:47:04 +0200 (Mo, 01 Mai 2006) | 2 lines Quellenupdate! wireless, ntp, shadow, uClibc ------------------------------------------------------------------------ -r106 | ms | 2006-04-28 16:57:32 +0200 (Fri, 28 Apr 2006) | 7 lines +r106 | ms | 2006-04-28 16:57:32 +0200 (Fr, 28 Apr 2006) | 7 lines -Hinzugefügt: +Hinzugefügt: * fetchmail * cyrusimap -Geändert: +Geändert: * xampp * pam ------------------------------------------------------------------------ -r105 | ms | 2006-04-20 16:20:28 +0200 (Thu, 20 Apr 2006) | 7 lines +r105 | ms | 2006-04-20 16:20:28 +0200 (Do, 20 Apr 2006) | 7 lines -Hinzugefügt: +Hinzugefügt: * Sane - Scanning * LibJPEG -Geändert: +Geändert: * pwlib * xinetd ------------------------------------------------------------------------ -r104 | ms | 2006-04-20 16:15:50 +0200 (Thu, 20 Apr 2006) | 2 lines +r104 | ms | 2006-04-20 16:15:50 +0200 (Do, 20 Apr 2006) | 2 lines -Allgemeine Aufräumarbeiten und Optimierungen +Allgemeine Aufräumarbeiten und Optimierungen ------------------------------------------------------------------------ -r103 | ms | 2006-04-19 18:02:55 +0200 (Wed, 19 Apr 2006) | 4 lines +r103 | ms | 2006-04-19 18:02:55 +0200 (Mi, 19 Apr 2006) | 4 lines -Geändert: +Geändert: * pwlib wird bei jedem Durchgang kompiliert, auch wenn schon geschehen :( - * Mirror-URL geändert + * Mirror-URL geändert ------------------------------------------------------------------------ -r102 | ms | 2006-04-19 15:30:44 +0200 (Wed, 19 Apr 2006) | 9 lines +r102 | ms | 2006-04-19 15:30:44 +0200 (Mi, 19 Apr 2006) | 9 lines -Geändert: +Geändert: * Asterisk mit H323 Neue Versionen: * OpenVPN * pwlib * openh323 Fixed: - * Menü im Webinterface + * Menü im Webinterface ------------------------------------------------------------------------ -r101 | ms | 2006-04-15 01:12:47 +0200 (Sat, 15 Apr 2006) | 10 lines +r101 | ms | 2006-04-15 01:12:47 +0200 (Sa, 15 Apr 2006) | 10 lines -Hinzugefügt: +Hinzugefügt: * Asterisk - mit Zaptel/LibPRI/BRISTUFF/app_fax * Spandsp * LibTIFF * LibXML2 * eDonkey-commandline-client -Geändert: - * busybox - tar-parameter zurückgesetzt +Geändert: + * busybox - tar-parameter zurückgesetzt * postfix hat Beta-Status-1 ------------------------------------------------------------------------ -r100 | ms | 2006-04-11 00:33:24 +0200 (Tue, 11 Apr 2006) | 6 lines +r100 | ms | 2006-04-11 00:33:24 +0200 (Di, 11 Apr 2006) | 6 lines -Hinzugefügt: +Hinzugefügt: * Samba - Erste Test-Version - * STUNNEL - bisher nicht verwendet, aber SWAT sendet das root-Passwort im Klartext über die Leitung -Geändert: + * STUNNEL - bisher nicht verwendet, aber SWAT sendet das root-Passwort im Klartext über die Leitung +Geändert: * Linux-PAM - Libs waren falsch verlinkt ------------------------------------------------------------------------ -r99 | casemaster | 2006-04-10 23:10:53 +0200 (Mon, 10 Apr 2006) | 2 lines +r99 | casemaster | 2006-04-10 23:10:53 +0200 (Mo, 10 Apr 2006) | 2 lines -pwlib geändert. -busybox: tar.c größe auf 150 gesetzt. +pwlib geändert. +busybox: tar.c größe auf 150 gesetzt. ------------------------------------------------------------------------ -r98 | ms | 2006-04-10 20:39:59 +0200 (Mon, 10 Apr 2006) | 4 lines +r98 | ms | 2006-04-10 20:39:59 +0200 (Mo, 10 Apr 2006) | 4 lines -Hinzugefügt: +Hinzugefügt: * Xinetd - Super-Daemon * Sudo ------------------------------------------------------------------------ -r97 | ms | 2006-04-09 22:23:54 +0200 (Sun, 09 Apr 2006) | 4 lines +r97 | ms | 2006-04-09 22:23:54 +0200 (So, 09 Apr 2006) | 4 lines -Hinzugefügt: +Hinzugefügt: * OpenVPN * LZO ------------------------------------------------------------------------ -r96 | ms | 2006-04-09 19:55:27 +0200 (Sun, 09 Apr 2006) | 7 lines +r96 | ms | 2006-04-09 19:55:27 +0200 (So, 09 Apr 2006) | 7 lines -Hinzugefügt: +Hinzugefügt: * Midnight Commander 4.6.1 (GLIB/PKG-CONFIG) -Geändert: +Geändert: * OpenLDAP * PWLib - Compilier-Optionen * make-packages - Funktionen erweitert ------------------------------------------------------------------------ -r95 | ms | 2006-04-04 19:19:54 +0200 (Tue, 04 Apr 2006) | 2 lines +r95 | ms | 2006-04-04 19:19:54 +0200 (Di, 04 Apr 2006) | 2 lines -Kleine Fixes an den Graphs und dem Menü! +Kleine Fixes an den Graphs und dem Menü! ------------------------------------------------------------------------ -r94 | casemaster | 2006-04-02 14:18:42 +0200 (Sun, 02 Apr 2006) | 2 lines +r94 | casemaster | 2006-04-02 14:18:42 +0200 (So, 02 Apr 2006) | 2 lines src fuer openldap geaendert. ldap Unterstuetzung bei pwlib entfernt. ------------------------------------------------------------------------ -r93 | ms | 2006-03-28 20:54:43 +0200 (Tue, 28 Mar 2006) | 5 lines +r93 | ms | 2006-03-28 20:54:43 +0200 (Di, 28 Mär 2006) | 5 lines -Hinzugefügt: +Hinzugefügt: * OpenLDAP -Geändert: +Geändert: * SASLAUTHD kann jetzt OpenLDAP. ------------------------------------------------------------------------ -r92 | ms | 2006-03-28 17:35:56 +0200 (Tue, 28 Mar 2006) | 2 lines +r92 | ms | 2006-03-28 17:35:56 +0200 (Di, 28 Mär 2006) | 2 lines Allgemeine FIXES! Das Build sollte nun durchlaufen... ------------------------------------------------------------------------ -r91 | ms | 2006-03-28 16:16:15 +0200 (Tue, 28 Mar 2006) | 1 line +r91 | ms | 2006-03-28 16:16:15 +0200 (Di, 28 Mär 2006) | 1 line SASL-Authd nun ohne PostgreSQL-Support. ------------------------------------------------------------------------ -r90 | ms | 2006-03-27 21:50:44 +0200 (Mon, 27 Mar 2006) | 1 line +r90 | ms | 2006-03-27 21:50:44 +0200 (Mo, 27 Mär 2006) | 1 line URL von den Bridge-Utils gefixt. ------------------------------------------------------------------------ -r89 | casemaster | 2006-03-27 17:06:13 +0200 (Mon, 27 Mar 2006) | 1 line +r89 | casemaster | 2006-03-27 17:06:13 +0200 (Mo, 27 Mär 2006) | 1 line -Test gelöscht. +Test gelöscht. ------------------------------------------------------------------------ -r88 | ms | 2006-03-27 16:43:30 +0200 (Mon, 27 Mar 2006) | 3 lines +r88 | ms | 2006-03-27 16:43:30 +0200 (Mo, 27 Mär 2006) | 3 lines Toolchain-Download mit ./make.sh gettoolchain -Beim Netstatus werden ab jetzt nur noch aktive Verbindungen angezeigt. Erhöht die Übersichtlichkeit... +Beim Netstatus werden ab jetzt nur noch aktive Verbindungen angezeigt. Erhöht die Übersichtlichkeit... ------------------------------------------------------------------------ -r87 | casemaster | 2006-03-27 16:35:38 +0200 (Mon, 27 Mar 2006) | 1 line +r87 | casemaster | 2006-03-27 16:35:38 +0200 (Mo, 27 Mär 2006) | 1 line Test 2 Write ------------------------------------------------------------------------ -r86 | ms | 2006-03-27 16:02:24 +0200 (Mon, 27 Mar 2006) | 2 lines +r86 | ms | 2006-03-27 16:02:24 +0200 (Mo, 27 Mär 2006) | 2 lines -Repariert: lib-links für postfix +Repariert: lib-links für postfix ------------------------------------------------------------------------ -r85 | ms | 2006-03-26 20:46:32 +0200 (Sun, 26 Mar 2006) | 5 lines +r85 | ms | 2006-03-26 20:46:32 +0200 (So, 26 Mär 2006) | 5 lines Update Squid to 2.5STABLE13. Added WGET/HDDTEMP/BRIDGE-UTILS. @@ -227,35 +233,35 @@ SCSI-GRUB-Konfiguration angepasst. ------------------------------------------------------------------------ -r84 | ms | 2006-03-25 16:06:35 +0100 (Sat, 25 Mar 2006) | 4 lines +r84 | ms | 2006-03-25 16:06:35 +0100 (Sa, 25 Mär 2006) | 4 lines Erste Version des Paketerstellers. Bisher nur Postfix. :( ------------------------------------------------------------------------ -r82 | ms | 2006-03-22 20:11:17 +0100 (Wed, 22 Mar 2006) | 8 lines +r82 | ms | 2006-03-22 20:11:17 +0100 (Mi, 22 Mär 2006) | 8 lines Webinterface gefixt. Ohne Anmeldung kommt man im Webinterface nichtmehr auf die Index-Seite. Berkeley-DB neu implementiert. Postfix geht jetzt. Graphs gefixt. -IPCop-Updates gelöscht. +IPCop-Updates gelöscht. ------------------------------------------------------------------------ -r81 | ms | 2006-03-18 12:24:42 +0100 (Sat, 18 Mar 2006) | 1 line +r81 | ms | 2006-03-18 12:24:42 +0100 (Sa, 18 Mär 2006) | 1 line Quellenupdate ------------------------------------------------------------------------ -r80 | ms | 2006-03-17 01:46:51 +0100 (Fri, 17 Mar 2006) | 1 line +r80 | ms | 2006-03-17 01:46:51 +0100 (Fr, 17 Mär 2006) | 1 line TEMP-DIR von /tmp nach /var/tmp verschoben. ------------------------------------------------------------------------ -r79 | ms | 2006-03-12 22:09:13 +0100 (Sun, 12 Mar 2006) | 11 lines +r79 | ms | 2006-03-12 22:09:13 +0100 (So, 12 Mär 2006) | 11 lines -Hinzugefügt: +Hinzugefügt: * Postfix 2.2.9 * PostGreSQL Gefixt und neu implementiert: @@ -264,127 +270,127 @@ Gefixt und neu implementiert: * XAMPP + PostGreSQL * SASLAUTHD /opt/lampp/lib und /opt/lampp/lib/mysql befinden sich im Lib-Cache -leichtes aufräumen in der make.sh +leichtes aufräumen in der make.sh ------------------------------------------------------------------------ -r78 | ms | 2006-03-12 16:52:13 +0100 (Sun, 12 Mar 2006) | 1 line +r78 | ms | 2006-03-12 16:52:13 +0100 (So, 12 Mär 2006) | 1 line New Webinterface-Style by benne ------------------------------------------------------------------------ -r77 | ms | 2006-03-06 15:30:36 +0100 (Mon, 06 Mar 2006) | 1 line +r77 | ms | 2006-03-06 15:30:36 +0100 (Mo, 06 Mär 2006) | 1 line Webinterface-Bilder neu gemacht | IPAC-NG-Patches installiert | Berkeley-DB installiert ------------------------------------------------------------------------ -r76 | ms | 2006-03-02 21:55:58 +0100 (Thu, 02 Mar 2006) | 1 line +r76 | ms | 2006-03-02 21:55:58 +0100 (Do, 02 Mär 2006) | 1 line PAM-MySQL + BerkeleyDB + SASLauthd hinzugefuegt ------------------------------------------------------------------------ -r75 | ms | 2006-02-28 22:11:50 +0100 (Tue, 28 Feb 2006) | 1 line +r75 | ms | 2006-02-28 22:11:50 +0100 (Di, 28 Feb 2006) | 1 line -ROOTFILES.i386 aufgeräumt +ROOTFILES.i386 aufgeräumt ------------------------------------------------------------------------ -r74 | ms | 2006-02-28 22:10:58 +0100 (Tue, 28 Feb 2006) | 1 line +r74 | ms | 2006-02-28 22:10:58 +0100 (Di, 28 Feb 2006) | 1 line -ISO vergößert und XAMPP-1.5.1 DEVEL Paket installiert +ISO vergößert und XAMPP-1.5.1 DEVEL Paket installiert ------------------------------------------------------------------------ -r73 | ms | 2006-02-27 21:13:17 +0100 (Mon, 27 Feb 2006) | 2 lines +r73 | ms | 2006-02-27 21:13:17 +0100 (Mo, 27 Feb 2006) | 2 lines Quellenupdate... ipaddr busybox kernel ------------------------------------------------------------------------ -r72 | ms | 2006-02-27 18:13:57 +0100 (Mon, 27 Feb 2006) | 2 lines +r72 | ms | 2006-02-27 18:13:57 +0100 (Mo, 27 Feb 2006) | 2 lines -OpenH323 hinzugefügt +OpenH323 hinzugefügt ------------------------------------------------------------------------ -r71 | ms | 2006-02-22 21:23:30 +0100 (Wed, 22 Feb 2006) | 1 line +r71 | ms | 2006-02-22 21:23:30 +0100 (Mi, 22 Feb 2006) | 1 line IPAC-NG ging nicht... mal sehen ------------------------------------------------------------------------ -r70 | ms | 2006-02-22 21:21:51 +0100 (Wed, 22 Feb 2006) | 1 line +r70 | ms | 2006-02-22 21:21:51 +0100 (Mi, 22 Feb 2006) | 1 line ROOTFILES aktualisiert ------------------------------------------------------------------------ -r69 | ms | 2006-02-22 20:52:10 +0100 (Wed, 22 Feb 2006) | 1 line +r69 | ms | 2006-02-22 20:52:10 +0100 (Mi, 22 Feb 2006) | 1 line Endlich neues Webinterface ------------------------------------------------------------------------ -r68 | ms | 2006-02-21 22:26:55 +0100 (Tue, 21 Feb 2006) | 2 lines +r68 | ms | 2006-02-21 22:26:55 +0100 (Di, 21 Feb 2006) | 2 lines SSH von vornherein aktiviert ------------------------------------------------------------------------ -r67 | ms | 2006-02-21 21:38:06 +0100 (Tue, 21 Feb 2006) | 2 lines +r67 | ms | 2006-02-21 21:38:06 +0100 (Di, 21 Feb 2006) | 2 lines SMP-Config angepasst.. CGIs usw. wurden im Windoof-Format gespeichert... muss noch alles korrigiert werden... ------------------------------------------------------------------------ -r66 | ms | 2006-02-21 19:55:53 +0100 (Tue, 21 Feb 2006) | 1 line +r66 | ms | 2006-02-21 19:55:53 +0100 (Di, 21 Feb 2006) | 1 line immernoch das alte Problem... ------------------------------------------------------------------------ -r64 | ms | 2006-02-20 22:23:51 +0100 (Mon, 20 Feb 2006) | 2 lines +r64 | ms | 2006-02-20 22:23:51 +0100 (Mo, 20 Feb 2006) | 2 lines -Kernel Config für SMP angepasst... +Kernel Config für SMP angepasst... ------------------------------------------------------------------------ -r63 | ms | 2006-02-20 21:46:53 +0100 (Mon, 20 Feb 2006) | 2 lines +r63 | ms | 2006-02-20 21:46:53 +0100 (Mo, 20 Feb 2006) | 2 lines Windows hat sie wieder zerschossen... :( ------------------------------------------------------------------------ -r62 | ms | 2006-02-20 21:13:28 +0100 (Mon, 20 Feb 2006) | 1 line +r62 | ms | 2006-02-20 21:13:28 +0100 (Mo, 20 Feb 2006) | 1 line SMP wieder aktiviert (Zumindest versucht) ------------------------------------------------------------------------ -r61 | ms | 2006-02-20 21:01:45 +0100 (Mon, 20 Feb 2006) | 1 line +r61 | ms | 2006-02-20 21:01:45 +0100 (Mo, 20 Feb 2006) | 1 line ------------------------------------------------------------------------ -r60 | ms | 2006-02-20 21:01:31 +0100 (Mon, 20 Feb 2006) | 1 line +r60 | ms | 2006-02-20 21:01:31 +0100 (Mo, 20 Feb 2006) | 1 line Removed file/folder ------------------------------------------------------------------------ -r59 | ms | 2006-02-20 20:57:20 +0100 (Mon, 20 Feb 2006) | 1 line +r59 | ms | 2006-02-20 20:57:20 +0100 (Mo, 20 Feb 2006) | 1 line ------------------------------------------------------------------------ -r58 | ms | 2006-02-20 20:56:37 +0100 (Mon, 20 Feb 2006) | 1 line +r58 | ms | 2006-02-20 20:56:37 +0100 (Mo, 20 Feb 2006) | 1 line ------------------------------------------------------------------------ -r57 | ms | 2006-02-20 20:55:36 +0100 (Mon, 20 Feb 2006) | 1 line +r57 | ms | 2006-02-20 20:55:36 +0100 (Mo, 20 Feb 2006) | 1 line Removed file/folder ------------------------------------------------------------------------ -r56 | ms | 2006-02-20 20:51:27 +0100 (Mon, 20 Feb 2006) | 1 line +r56 | ms | 2006-02-20 20:51:27 +0100 (Mo, 20 Feb 2006) | 1 line ------------------------------------------------------------------------ -r55 | ms | 2006-02-20 20:50:08 +0100 (Mon, 20 Feb 2006) | 1 line +r55 | ms | 2006-02-20 20:50:08 +0100 (Mo, 20 Feb 2006) | 1 line ------------------------------------------------------------------------ -r54 | ms | 2006-02-20 20:49:08 +0100 (Mon, 20 Feb 2006) | 2 lines +r54 | ms | 2006-02-20 20:49:08 +0100 (Mo, 20 Feb 2006) | 2 lines Sicherheits-Update packages-list ------------------------------------------------------------------------ -r53 | ms | 2006-02-20 02:46:27 +0100 (Mon, 20 Feb 2006) | 2 lines +r53 | ms | 2006-02-20 02:46:27 +0100 (Mo, 20 Feb 2006) | 2 lines driver.img ohne SMP ------------------------------------------------------------------------ -r52 | ms | 2006-02-20 02:39:21 +0100 (Mon, 20 Feb 2006) | 2 lines +r52 | ms | 2006-02-20 02:39:21 +0100 (Mo, 20 Feb 2006) | 2 lines -GD und gd Konflikt gelöst... -make.sh zerstört :( +GD und gd Konflikt gelöst... +make.sh zerstört :( ------------------------------------------------------------------------ -r51 | ms | 2006-02-20 02:32:51 +0100 (Mon, 20 Feb 2006) | 1 line +r51 | ms | 2006-02-20 02:32:51 +0100 (Mo, 20 Feb 2006) | 1 line Removed file/folder gd ------------------------------------------------------------------------ -r50 | ms | 2006-02-20 02:10:06 +0100 (Mon, 20 Feb 2006) | 5 lines +r50 | ms | 2006-02-20 02:10:06 +0100 (Mo, 20 Feb 2006) | 5 lines ipac-ng fix uClibc fix @@ -392,121 +398,121 @@ pam-patch fix ------------------------------------------------------------------------ -r49 | ms | 2006-02-19 23:25:48 +0100 (Sun, 19 Feb 2006) | 2 lines +r49 | ms | 2006-02-19 23:25:48 +0100 (So, 19 Feb 2006) | 2 lines -SMP entfernt / gd hinzugefügt! +SMP entfernt / gd hinzugefügt! ------------------------------------------------------------------------ -r48 | ms | 2006-02-19 18:04:08 +0100 (Sun, 19 Feb 2006) | 2 lines +r48 | ms | 2006-02-19 18:04:08 +0100 (So, 19 Feb 2006) | 2 lines Quellen-Update ------------------------------------------------------------------------ -r47 | ms | 2006-02-19 15:12:52 +0100 (Sun, 19 Feb 2006) | 1 line +r47 | ms | 2006-02-19 15:12:52 +0100 (So, 19 Feb 2006) | 1 line -Neuer Boot-Screen für GRUB +Neuer Boot-Screen für GRUB ------------------------------------------------------------------------ -r46 | ms | 2006-02-19 14:16:13 +0100 (Sun, 19 Feb 2006) | 2 lines +r46 | ms | 2006-02-19 14:16:13 +0100 (So, 19 Feb 2006) | 2 lines Installer repariert ------------------------------------------------------------------------ -r45 | ms | 2006-02-19 14:12:53 +0100 (Sun, 19 Feb 2006) | 2 lines +r45 | ms | 2006-02-19 14:12:53 +0100 (So, 19 Feb 2006) | 2 lines Installer repariert ------------------------------------------------------------------------ -r44 | ms | 2006-02-19 13:19:49 +0100 (Sun, 19 Feb 2006) | 2 lines +r44 | ms | 2006-02-19 13:19:49 +0100 (So, 19 Feb 2006) | 2 lines make.sh gefixt ------------------------------------------------------------------------ -r42 | ms | 2006-02-19 12:34:16 +0100 (Sun, 19 Feb 2006) | 1 line +r42 | ms | 2006-02-19 12:34:16 +0100 (So, 19 Feb 2006) | 1 line Renamed File ------------------------------------------------------------------------ -r41 | ms | 2006-02-19 12:25:43 +0100 (Sun, 19 Feb 2006) | 2 lines +r41 | ms | 2006-02-19 12:25:43 +0100 (So, 19 Feb 2006) | 2 lines Port 445 -> 444 gewechselt und XTAccess-Regeln ausgeschaltet. Nach der Installation sind alle Ports geschlossen! ------------------------------------------------------------------------ -r40 | ms | 2006-02-18 22:39:37 +0100 (Sat, 18 Feb 2006) | 1 line +r40 | ms | 2006-02-18 22:39:37 +0100 (Sa, 18 Feb 2006) | 1 line Ordnerstruktur 3. Teil ------------------------------------------------------------------------ -r38 | ms | 2006-02-18 22:26:02 +0100 (Sat, 18 Feb 2006) | 1 line +r38 | ms | 2006-02-18 22:26:02 +0100 (Sa, 18 Feb 2006) | 1 line -Vernünftige Ordnerstruktur +Vernünftige Ordnerstruktur ------------------------------------------------------------------------ -r37 | ms | 2006-02-16 22:18:00 +0100 (Thu, 16 Feb 2006) | 1 line +r37 | ms | 2006-02-16 22:18:00 +0100 (Do, 16 Feb 2006) | 1 line -Neuer Installer eingefügt... +Neuer Installer eingefügt... ------------------------------------------------------------------------ -r36 | ms | 2006-02-16 20:20:41 +0100 (Thu, 16 Feb 2006) | 1 line +r36 | ms | 2006-02-16 20:20:41 +0100 (Do, 16 Feb 2006) | 1 line ------------------------------------------------------------------------ -r35 | ms | 2006-02-16 20:09:00 +0100 (Thu, 16 Feb 2006) | 1 line +r35 | ms | 2006-02-16 20:09:00 +0100 (Do, 16 Feb 2006) | 1 line Removed file/folder ------------------------------------------------------------------------ -r34 | ms | 2006-02-16 20:07:58 +0100 (Thu, 16 Feb 2006) | 1 line +r34 | ms | 2006-02-16 20:07:58 +0100 (Do, 16 Feb 2006) | 1 line Renamed remotely ------------------------------------------------------------------------ -r31 | ipfire | 2006-02-16 13:20:54 +0100 (Thu, 16 Feb 2006) | 1 line +r31 | ipfire | 2006-02-16 13:20:54 +0100 (Do, 16 Feb 2006) | 1 line ------------------------------------------------------------------------ -r30 | ipfire | 2006-02-16 13:18:34 +0100 (Thu, 16 Feb 2006) | 1 line +r30 | ipfire | 2006-02-16 13:18:34 +0100 (Do, 16 Feb 2006) | 1 line ------------------------------------------------------------------------ -r29 | ipfire | 2006-02-16 13:18:15 +0100 (Thu, 16 Feb 2006) | 1 line +r29 | ipfire | 2006-02-16 13:18:15 +0100 (Do, 16 Feb 2006) | 1 line ------------------------------------------------------------------------ -r28 | ipfire | 2006-02-16 13:09:46 +0100 (Thu, 16 Feb 2006) | 1 line +r28 | ipfire | 2006-02-16 13:09:46 +0100 (Do, 16 Feb 2006) | 1 line Removed file/folder ------------------------------------------------------------------------ -r27 | ipfire | 2006-02-16 13:07:28 +0100 (Thu, 16 Feb 2006) | 1 line +r27 | ipfire | 2006-02-16 13:07:28 +0100 (Do, 16 Feb 2006) | 1 line Removed Files ------------------------------------------------------------------------ -r26 | ipfire | 2006-02-16 13:06:41 +0100 (Thu, 16 Feb 2006) | 1 line +r26 | ipfire | 2006-02-16 13:06:41 +0100 (Do, 16 Feb 2006) | 1 line Removed file/folder ------------------------------------------------------------------------ -r25 | ipfire | 2006-02-15 22:36:29 +0100 (Wed, 15 Feb 2006) | 1 line +r25 | ipfire | 2006-02-15 22:36:29 +0100 (Mi, 15 Feb 2006) | 1 line Removed file/folder ------------------------------------------------------------------------ -r24 | ipfire | 2006-02-15 22:36:15 +0100 (Wed, 15 Feb 2006) | 1 line +r24 | ipfire | 2006-02-15 22:36:15 +0100 (Mi, 15 Feb 2006) | 1 line Removed file/folder ------------------------------------------------------------------------ -r22 | ipfire | 2006-02-15 22:33:28 +0100 (Wed, 15 Feb 2006) | 1 line +r22 | ipfire | 2006-02-15 22:33:28 +0100 (Mi, 15 Feb 2006) | 1 line Renamed remotely ------------------------------------------------------------------------ -r21 | ipfire | 2006-02-15 22:33:06 +0100 (Wed, 15 Feb 2006) | 1 line +r21 | ipfire | 2006-02-15 22:33:06 +0100 (Mi, 15 Feb 2006) | 1 line Removed file/folder ------------------------------------------------------------------------ -r20 | ipfire | 2006-02-15 22:32:33 +0100 (Wed, 15 Feb 2006) | 1 line +r20 | ipfire | 2006-02-15 22:32:33 +0100 (Mi, 15 Feb 2006) | 1 line Removed file/folder ------------------------------------------------------------------------ -r19 | ipfire | 2006-02-15 22:31:56 +0100 (Wed, 15 Feb 2006) | 1 line +r19 | ipfire | 2006-02-15 22:31:56 +0100 (Mi, 15 Feb 2006) | 1 line Removed file/folder ------------------------------------------------------------------------ -r16 | ipfire | 2006-02-15 22:15:54 +0100 (Wed, 15 Feb 2006) | 1 line +r16 | ipfire | 2006-02-15 22:15:54 +0100 (Mi, 15 Feb 2006) | 1 line ------------------------------------------------------------------------ -r14 | ipfire | 2006-02-15 22:07:30 +0100 (Wed, 15 Feb 2006) | 1 line +r14 | ipfire | 2006-02-15 22:07:30 +0100 (Mi, 15 Feb 2006) | 1 line ------------------------------------------------------------------------ diff --git a/doc/packages-list.txt b/doc/packages-list.txt index 229be9e79f..0c70162c4c 100644 --- a/doc/packages-list.txt +++ b/doc/packages-list.txt @@ -129,6 +129,7 @@ * ncurses-5.4 * net-tools-1.60 * newt-utf8_0.50.17 + * nfs-utils-1.0.8 * noip_updater_v1.6 * ntp-4.2.0 * oinkmaster-1.2 @@ -146,6 +147,7 @@ * perl-5.8.5 * pkg-config-0.20 * popt-1.7 + * portmap_5beta * postfix-2.2.9 * ppp-2.4.2 * pptp-1.6.0 diff --git a/lfs/linux b/lfs/linux index 5a4488af75..64764783e3 100644 --- a/lfs/linux +++ b/lfs/linux @@ -18,12 +18,6 @@ # Makefiles are based on LFSMake, which is # # Copyright (C) 2002 Rod Roard # # # -# Modifications by: # -# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> # -# - Modified Makefile for IPCop build # -# # -# $Id: linux,v 1.42.2.57 2005/07/28 07:01:27 gespinasse Exp $ -# # ############################################################################### ############################################################################### @@ -159,6 +153,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_SRC) && tar xzf $(DIR_DL)/netfilter-layer7-v2.1.tar.gz cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/netfilter-layer7-v2.1/kernel-2.4-layer7-2.1.patch + # ip_conntrack permissions from 440 to 444 + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/ip_conntrack_standalone-patch-for-ipfire.patch + ifeq "$(SMP)" "" # Only do this once on the non-SMP pass cd $(DIR_SRC) && tar czf $(DIR_DL)/iptables-fixed.tar.gz iptables-1.3.5 diff --git a/lfs/nfs b/lfs/nfs new file mode 100644 index 0000000000..c527078f64 --- /dev/null +++ b/lfs/nfs @@ -0,0 +1,83 @@ +############################################################################### +# This file is part of the IPCop Firewall. # +# # +# IPCop is free software; you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation; either version 2 of the License, or # +# (at your option) any later version. # +# # +# IPCop 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 IPCop; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Makefiles are based on LFSMake, which is # +# Copyright (C) 2002 Rod Roard # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 1.0.8 + +THISAPP = nfs-utils-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 74fc2dd04b40c9d619ca41d3787ef8db + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + make-packages.sh nfs $(THISAPP)-ipfire-beta-1 + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc \ + --disable-nfsv4 --disable-gss + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/portmap b/lfs/portmap new file mode 100644 index 0000000000..8f464b5a22 --- /dev/null +++ b/lfs/portmap @@ -0,0 +1,83 @@ +############################################################################### +# This file is part of the IPCop Firewall. # +# # +# IPCop is free software; you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation; either version 2 of the License, or # +# (at your option) any later version. # +# # +# IPCop 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 IPCop; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Makefiles are based on LFSMake, which is # +# Copyright (C) 2002 Rod Roard # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 5beta + +THISAPP = portmap_$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = ftp://ftp.porcupine.org/pub/security +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 781e16ed4487c4caa082c6fef09ead4f + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + make-packages.sh portmap $(THISAPP)-ipfire-beta-1 + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/portmap-5beta-compilation_fixes-3.patch + cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/portmap-5beta-glibc_errno_fix-1.patch + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 61c5d76e01..45e0aca9bc 100644 --- a/make.sh +++ b/make.sh @@ -683,6 +683,8 @@ buildipcop() { # ipcopmake spamassassin ipcopmake rsync ipcopmake tcpwrapper + ipcopmake portmap + ipcopmake nfs # wget http://www.guzu.net/linux/hddtemp.db && mv hddtemp.db $BASEDIR/build/etc/hddtemp.db # ipcopmake hddtemp # ipcopmake stunnel # Ausgeschaltet, weil wir es doch nicht nutzen @@ -1047,9 +1049,8 @@ update) ;; commit) echo "Upload the changed files:" - ./make.sh changelog svn commit - svn up + svn up > /dev/null ;; *) echo "Usage: $0 {build|changelog|check|checkclean|clean|commit|dist|gettoolchain|newpak|prefetch|shell|toolchain|update}" diff --git a/src/paks/nfs/CONFFILES b/src/paks/nfs/CONFFILES new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/paks/nfs/ROOTFILES b/src/paks/nfs/ROOTFILES new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/paks/nfs/install.sh b/src/paks/nfs/install.sh new file mode 100644 index 0000000000..3a9ce551bf --- /dev/null +++ b/src/paks/nfs/install.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# +################################################################# +# # +# This file belongs to IPFire Firewall - GPLv2 - www.ipfire.org # +# # +################################################################# +# +# Extract the files +tar xfz files.tgz -C / +cp -f ROOTFILES /opt/pakfire/installed/ROOTFILES.$2 diff --git a/src/paks/nfs/uninstall.sh b/src/paks/nfs/uninstall.sh new file mode 100644 index 0000000000..ad6122665e --- /dev/null +++ b/src/paks/nfs/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash +################################################################# +# # +# This file belongs to IPFire Firewall - GPLv2 - www.ipfire.org # +# # +################################################################# +# +# Delete the files +## Befehl fehlt noch +rm -f /opt/pakfire/installed/ROOTFILES.$2 diff --git a/src/paks/portmap/CONFFILES b/src/paks/portmap/CONFFILES new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/paks/portmap/ROOTFILES b/src/paks/portmap/ROOTFILES new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/paks/portmap/install.sh b/src/paks/portmap/install.sh new file mode 100644 index 0000000000..3a9ce551bf --- /dev/null +++ b/src/paks/portmap/install.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# +################################################################# +# # +# This file belongs to IPFire Firewall - GPLv2 - www.ipfire.org # +# # +################################################################# +# +# Extract the files +tar xfz files.tgz -C / +cp -f ROOTFILES /opt/pakfire/installed/ROOTFILES.$2 diff --git a/src/paks/portmap/uninstall.sh b/src/paks/portmap/uninstall.sh new file mode 100644 index 0000000000..ad6122665e --- /dev/null +++ b/src/paks/portmap/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash +################################################################# +# # +# This file belongs to IPFire Firewall - GPLv2 - www.ipfire.org # +# # +################################################################# +# +# Delete the files +## Befehl fehlt noch +rm -f /opt/pakfire/installed/ROOTFILES.$2 diff --git a/src/patches/ip_conntrack_standalone-patch-for-ipfire.patch b/src/patches/ip_conntrack_standalone-patch-for-ipfire.patch new file mode 100644 index 0000000000..b6dfcf251b --- /dev/null +++ b/src/patches/ip_conntrack_standalone-patch-for-ipfire.patch @@ -0,0 +1,11 @@ +--- linux-2.4.31/net/ipv4/netfilter/ip_conntrack_standalone.c~ 2006-05-16 09:48:56.555196560 +0200 ++++ linux-2.4.31/net/ipv4/netfilter/ip_conntrack_standalone.c 2006-05-16 10:07:04.000000000 +0200 +@@ -356,7 +356,7 @@ + if (ret < 0) + goto cleanup_nothing; + +- proc = proc_net_create("ip_conntrack", 0440, list_conntracks); ++ proc = proc_net_create("ip_conntrack", 0444, list_conntracks); + if (!proc) goto cleanup_init; + proc->owner = THIS_MODULE; + diff --git a/src/patches/portmap-5beta-compilation_fixes-3.patch b/src/patches/portmap-5beta-compilation_fixes-3.patch new file mode 100644 index 0000000000..45fc2c6352 --- /dev/null +++ b/src/patches/portmap-5beta-compilation_fixes-3.patch @@ -0,0 +1,705 @@ +Submitted By: Kevin P. Fleming +Date: 2004-05-02 +Initial Package Version: 5beta +Origin: http://archives.linuxfromscratch.org/mail-archives/blfs-dev/2003-January/001960.html +Description: The patch was created from the portmap modified package by Mark Heerdink. +This patch provides the following improvements: + * Link against dynamic tcp_wrappers. + * Create an install target for portmap. + * Compilation and security fixes. + * Documentation fixes. + +Originally created by Tushar Teredesai, updated by kpfleming to ensure +portmap will compile without tcp_wrappers installed. +diff -Naur portmap_5beta/BLURB portmap_5beta.gimli/BLURB +--- portmap_5beta/BLURB 1996-07-06 16:09:46.000000000 -0500 ++++ portmap_5beta.gimli/BLURB 2002-01-07 09:13:58.000000000 -0600 +@@ -1,3 +1,6 @@ ++ ++############################################################################### ++ + @(#) BLURB 1.5 96/07/06 23:09:45 + + This is the fifth replacement portmapper release. +diff -Naur portmap_5beta/Makefile portmap_5beta.gimli/Makefile +--- portmap_5beta/Makefile 1996-07-06 16:06:19.000000000 -0500 ++++ portmap_5beta.gimli/Makefile 2002-07-15 16:00:07.000000000 -0500 +@@ -8,7 +8,7 @@ + # if you disagree. See `man 3 syslog' for examples. Some syslog versions + # do not provide this flexibility. + # +-FACILITY=LOG_MAIL ++FACILITY=LOG_DAEMON + + # To disable tcp-wrapper style access control, comment out the following + # macro definitions. Access control can also be turned off by providing +@@ -16,7 +16,8 @@ + # daemon, is always treated as an authorized host. + + HOSTS_ACCESS= -DHOSTS_ACCESS +-WRAP_LIB = $(WRAP_DIR)/libwrap.a ++#WRAP_LIB = $(WRAP_DIR)/libwrap.a ++WRAP_LIB = -lwrap + + # Comment out if your RPC library does not allocate privileged ports for + # requests from processes with root privilege, or the new portmap will +@@ -71,7 +72,7 @@ + # With verbose logging on, HP-UX 9.x and AIX 4.1 leave zombies behind when + # SIGCHLD is not ignored. Enable next macro for a fix. + # +-# ZOMBIES = -DIGNORE_SIGCHLD # AIX 4.x, HP-UX 9.x ++ZOMBIES = -DIGNORE_SIGCHLD # AIX 4.x, HP-UX 9.x + + # Uncomment the following macro if your system does not have u_long. + # +@@ -81,7 +82,7 @@ + # libwrap.a object library. WRAP_DIR should specify the directory with + # that library. + +-WRAP_DIR= ../tcp_wrappers ++WRAP_DIR= $(TCPD_DIR) + + # Auxiliary object files that may be missing from your C library. + # +@@ -99,22 +100,31 @@ + + # Comment out if your compiler talks ANSI and understands const + # +-CONST = -Dconst= ++#CONST = -Dconst= + + ### End of configurable stuff. + ############################## + ++GLIBC=$(shell grep -s -c __GLIBC__ /usr/include/features.h) ++ ++ifeq ($(GLIBC),0) ++LIBS += # -lbsd ++else ++LIBS += -lnsl ++endif ++ ++ + SHELL = /bin/sh + +-COPT = $(CONST) -Dperror=xperror $(HOSTS_ACCESS) $(CHECK_PORT) \ ++COPT = $(CONST) $(HOSTS_ACCESS) $(CHECK_PORT) \ + $(SYS) -DFACILITY=$(FACILITY) $(ULONG) $(ZOMBIES) $(SA_LEN) \ + $(LOOPBACK) $(SETPGRP) +-CFLAGS = $(COPT) -O $(NSARCHS) ++CFLAGS = -Wall $(COPT) -O2 $(NSARCHS) + OBJECTS = portmap.o pmap_check.o from_local.o $(AUX) + + all: portmap pmap_dump pmap_set + +-portmap: $(OBJECTS) $(WRAP_DIR)/libwrap.a ++portmap: $(OBJECTS) # $(WRAP_DIR)/libwrap.a + $(CC) $(CFLAGS) -o $@ $(OBJECTS) $(WRAP_LIB) $(LIBS) + + pmap_dump: pmap_dump.c +@@ -129,6 +139,17 @@ + get_myaddress: get_myaddress.c + cc $(CFLAGS) -DTEST -o $@ get_myaddress.c $(LIBS) + ++install: all ++ install -o root -g root -m 0755 -s portmap ${BASEDIR}/sbin ++ install -o root -g root -m 0755 -s pmap_dump ${BASEDIR}/usr/sbin ++ install -o root -g root -m 0755 -s pmap_set ${BASEDIR}/usr/sbin ++ install -o root -g root -m 0644 portmap.8 ${BASEDIR}/usr/share/man/man8 ++ install -o root -g root -m 0644 pmap_dump.8 ${BASEDIR}/usr/share/man/man8 ++ install -o root -g root -m 0644 pmap_set.8 ${BASEDIR}/usr/share/man/man8 ++# cat README BLURB >${BASEDIR}/usr/share/doc/portmap/portmapper.txt ++# gzip -9f ${BASEDIR}/usr/share/doc/portmap/portmapper.txt ++ ++ + lint: + lint $(COPT) $(OBJECTS:%.o=%.c) + +diff -Naur portmap_5beta/daemon.c portmap_5beta.gimli/daemon.c +--- portmap_5beta/daemon.c 1992-06-11 15:53:12.000000000 -0500 ++++ portmap_5beta.gimli/daemon.c 2002-01-07 09:22:24.000000000 -0600 +@@ -36,16 +36,13 @@ + #endif /* LIBC_SCCS and not lint */ + + #include +- +-/* From unistd.h */ +-#define STDIN_FILENO 0 +-#define STDOUT_FILENO 1 +-#define STDERR_FILENO 2 ++#include ++#include + + /* From paths.h */ + #define _PATH_DEVNULL "/dev/null" + +-daemon(nochdir, noclose) ++int daemon(nochdir, noclose) + int nochdir, noclose; + { + int cpid; +diff -Naur portmap_5beta/from_local.c portmap_5beta.gimli/from_local.c +--- portmap_5beta/from_local.c 1996-05-31 08:52:58.000000000 -0500 ++++ portmap_5beta.gimli/from_local.c 2002-01-07 09:25:49.000000000 -0600 +@@ -35,7 +35,7 @@ + * Mountain View, California 94043 + */ + +-#ifndef lint ++#ifdef lint + static char sccsid[] = "@(#) from_local.c 1.3 96/05/31 15:52:57"; + #endif + +@@ -51,6 +51,9 @@ + #include + #include + #include ++#include ++#include ++#include + + #ifndef TRUE + #define TRUE 1 +@@ -96,7 +99,7 @@ + + /* find_local - find all IP addresses for this host */ + +-find_local() ++int find_local() + { + struct ifconf ifc; + struct ifreq ifreq; +@@ -154,7 +157,7 @@ + + /* from_local - determine whether request comes from the local system */ + +-from_local(addr) ++int from_local(addr) + struct sockaddr_in *addr; + { + int i; +diff -Naur portmap_5beta/pmap_check.c portmap_5beta.gimli/pmap_check.c +--- portmap_5beta/pmap_check.c 1996-07-07 03:49:10.000000000 -0500 ++++ portmap_5beta.gimli/pmap_check.c 2002-01-07 09:37:58.000000000 -0600 +@@ -32,7 +32,7 @@ + * Computing Science, Eindhoven University of Technology, The Netherlands. + */ + +-#ifndef lint ++#ifdef lint + static char sccsid[] = "@(#) pmap_check.c 1.8 96/07/07 10:49:10"; + #endif + +@@ -45,6 +45,11 @@ + #include + #include + #endif ++#include ++#include ++#ifdef HOSTS_ACCESS ++#include ++#endif + + extern char *inet_ntoa(); + +@@ -110,7 +113,7 @@ + + /* check_default - additional checks for NULL, DUMP, GETPORT and unknown */ + +-check_default(addr, proc, prog) ++int check_default(addr, proc, prog) + struct sockaddr_in *addr; + u_long proc; + u_long prog; +@@ -128,7 +131,7 @@ + + /* check_privileged_port - additional checks for privileged-port updates */ + +-check_privileged_port(addr, proc, prog, port) ++int check_privileged_port(addr, proc, prog, port) + struct sockaddr_in *addr; + u_long proc; + u_long prog; +@@ -173,7 +176,7 @@ + + #else + +-check_setunset(addr, proc, prog, port) ++int check_setunset(addr, proc, prog, port) + struct sockaddr_in *addr; + u_long proc; + u_long prog; +@@ -197,7 +200,7 @@ + + /* check_callit - additional checks for forwarded requests */ + +-check_callit(addr, proc, prog, aproc) ++int check_callit(addr, proc, prog, aproc) + struct sockaddr_in *addr; + u_long proc; + u_long prog; +@@ -249,13 +252,13 @@ + }; + struct proc_map *procp; + static struct proc_map procmap[] = { +- PMAPPROC_CALLIT, "callit", +- PMAPPROC_DUMP, "dump", +- PMAPPROC_GETPORT, "getport", +- PMAPPROC_NULL, "null", +- PMAPPROC_SET, "set", +- PMAPPROC_UNSET, "unset", +- 0, 0, ++ { PMAPPROC_CALLIT, "callit" }, ++ { PMAPPROC_DUMP, "dump" }, ++ { PMAPPROC_GETPORT, "getport" }, ++ { PMAPPROC_NULL, "null" }, ++ { PMAPPROC_SET, "set" }, ++ { PMAPPROC_UNSET, "unset" }, ++ { 0, 0 } + }; + + /* +@@ -269,7 +272,7 @@ + + if (prognum == 0) { + progname = ""; +- } else if (rpc = getrpcbynumber((int) prognum)) { ++ } else if ((rpc = getrpcbynumber((int) prognum)) != NULL) { + progname = rpc->r_name; + } else { + sprintf(progname = progbuf, "%lu", prognum); +diff -Naur portmap_5beta/pmap_dump.8 portmap_5beta.gimli/pmap_dump.8 +--- portmap_5beta/pmap_dump.8 1969-12-31 18:00:00.000000000 -0600 ++++ portmap_5beta.gimli/pmap_dump.8 2002-01-07 09:13:58.000000000 -0600 +@@ -0,0 +1,24 @@ ++.TH PMAP_DUMP 8 "21th June 1997" Linux "Linux Programmer's Manual" ++.SH NAME ++pmap_dump \- print a list of all registered RPC programs ++.SH SYNOPSIS ++.B pmap_dump ++.SH DESCRIPTION ++The ++.B pmap_dump ++command can be used to restart a running portmapper or to print ++a list of all registered RPC programs on the local host. If you ++want to use the program to restart the portmapper you have to ++redirect the output of ++.B pmap_dump ++to a file. After this you can restart the portmapper and restore ++the list of the registered RPC programs by feeding the output ++of ++.B pmap_dump ++to the ++.B pmap_set ++command. ++.SH SEE ALSO ++.BR pmap_set (8), ++.BR rpc.portmap (8) ++ +diff -Naur portmap_5beta/pmap_dump.c portmap_5beta.gimli/pmap_dump.c +--- portmap_5beta/pmap_dump.c 1992-06-11 15:53:16.000000000 -0500 ++++ portmap_5beta.gimli/pmap_dump.c 2002-01-07 09:20:19.000000000 -0600 +@@ -5,7 +5,7 @@ + * Computing Science, Eindhoven University of Technology, The Netherlands. + */ + +-#ifndef lint ++#ifdef lint + static char sccsid[] = "@(#) pmap_dump.c 1.1 92/06/11 22:53:15"; + #endif + +@@ -23,7 +23,20 @@ + + static char *protoname(); + +-main(argc, argv) ++#ifndef INADDR_LOOPBACK ++#define INADDR_LOOPBACK ntohl(inet_addr("127.0.0.1")) ++#endif ++ ++static void get_myloopaddress(addrp) ++struct sockaddr_in *addrp; ++{ ++ memset((char *) addrp, 0, sizeof(*addrp)); ++ addrp->sin_family = AF_INET; ++ addrp->sin_port = htons(PMAPPORT); ++ addrp->sin_addr.s_addr = htonl(INADDR_LOOPBACK); ++} ++ ++int main(argc, argv) + int argc; + char **argv; + { +@@ -31,7 +44,7 @@ + register struct pmaplist *list; + register struct rpcent *rpc; + +- get_myaddress(&addr); ++ get_myloopaddress(&addr); + + for (list = pmap_getmaps(&addr); list; list = list->pml_next) { + rpc = getrpcbynumber((int) list->pml_map.pm_prog); +diff -Naur portmap_5beta/pmap_set.8 portmap_5beta.gimli/pmap_set.8 +--- portmap_5beta/pmap_set.8 1969-12-31 18:00:00.000000000 -0600 ++++ portmap_5beta.gimli/pmap_set.8 2002-01-07 09:13:58.000000000 -0600 +@@ -0,0 +1,24 @@ ++.TH PMAP_SET 8 "21th June 1997" Linux "Linux Programmer's Manual" ++.SH NAME ++pmap_set \- set the list of registered RPC programs ++.SH SYNOPSIS ++.B pmap_set ++.SH DESCRIPTION ++The ++.B pmap_set ++command can be used to restart a running portmapper or to set ++the list of registered RPC programs on the local host. If you ++want to use the program to restart the portmapper you have to ++redirect the output of ++.B pmap_dump ++to a file. After this you can restart the portmapper and restore ++the list of the registered RPC programs by feeding the output ++of ++.B pmap_dump ++to the ++.B pmap_set ++command. ++.SH SEE ALSO ++.BR pmap_dump (8), ++.BR rpc.portmap (8) ++ +diff -Naur portmap_5beta/pmap_set.c portmap_5beta.gimli/pmap_set.c +--- portmap_5beta/pmap_set.c 1996-07-06 16:06:23.000000000 -0500 ++++ portmap_5beta.gimli/pmap_set.c 2002-01-07 09:22:10.000000000 -0600 +@@ -5,7 +5,7 @@ + * Computing Science, Eindhoven University of Technology, The Netherlands. + */ + +-#ifndef lint ++#ifdef lint + static char sccsid[] = "@(#) pmap_set.c 1.2 96/07/06 23:06:23"; + #endif + +@@ -17,7 +17,9 @@ + #include + #include + +-main(argc, argv) ++int parse_line(char *buf, u_long *prog, u_long *vers, int *prot, unsigned *port); ++ ++int main(argc, argv) + int argc; + char **argv; + { +@@ -40,16 +42,16 @@ + + /* parse_line - convert line to numbers */ + +-parse_line(buf, prog, vers, prot, port) ++int parse_line(buf, prog, vers, prot, port) + char *buf; + u_long *prog; + u_long *vers; + int *prot; + unsigned *port; + { +- char proto_name[BUFSIZ]; ++ char proto_name[256]; + +- if (sscanf(buf, "%lu %lu %s %u", prog, vers, proto_name, port) != 4) { ++ if (sscanf(buf, "%lu %lu %255s %u", prog, vers, proto_name, port) != 4) { + return (0); + } + if (strcmp(proto_name, "tcp") == 0) { +diff -Naur portmap_5beta/portmap.8 portmap_5beta.gimli/portmap.8 +--- portmap_5beta/portmap.8 1969-12-31 18:00:00.000000000 -0600 ++++ portmap_5beta.gimli/portmap.8 2002-01-07 09:13:58.000000000 -0600 +@@ -0,0 +1,146 @@ ++.\" Copyright (c) 1987 Sun Microsystems ++.\" Copyright (c) 1990, 1991 The Regents of the University of California. ++.\" All rights reserved. ++.\" ++.\" Redistribution and use in source and binary forms, with or without ++.\" modification, are permitted provided that the following conditions ++.\" are met: ++.\" 1. Redistributions of source code must retain the above copyright ++.\" notice, this list of conditions and the following disclaimer. ++.\" 2. Redistributions in binary form must reproduce the above copyright ++.\" notice, this list of conditions and the following disclaimer in the ++.\" documentation and/or other materials provided with the distribution. ++.\" 3. All advertising materials mentioning features or use of this software ++.\" must display the following acknowledgement: ++.\" This product includes software developed by the University of ++.\" California, Berkeley and its contributors. ++.\" 4. Neither the name of the University nor the names of its contributors ++.\" may be used to endorse or promote products derived from this software ++.\" without specific prior written permission. ++.\" ++.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ++.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ++.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ++.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE ++.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL ++.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS ++.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ++.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT ++.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY ++.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ++.\" SUCH DAMAGE. ++.\" ++.\" from: @(#)portmap.8 5.3 (Berkeley) 3/16/91 ++.\" $Id: portmap-5beta-compilation_fixes-3.patch,v 1.1 2004/06/08 04:53:09 jim Exp $ ++.\" ++.Dd March 16, 1991 ++.Dt PORTMAP 8 ++.Os BSD 4.3 ++.Sh NAME ++.Nm portmap ++.Nd ++.Tn DARPA ++port to ++.Tn RPC ++program number mapper ++.Sh SYNOPSIS ++.Nm portmap ++.Op Fl d ++.Op Fl v ++.Sh DESCRIPTION ++.Nm Portmap ++is a server that converts ++.Tn RPC ++program numbers into ++.Tn DARPA ++protocol port numbers. ++It must be running in order to make ++.Tn RPC ++calls. ++.Pp ++When an ++.Tn RPC ++server is started, it will tell ++.Nm portmap ++what port number it is listening to, and what ++.Tn RPC ++program numbers it is prepared to serve. ++When a client wishes to make an ++.Tn RPC ++call to a given program number, ++it will first contact ++.Nm portmap ++on the server machine to determine ++the port number where ++.Tn RPC ++packets should be sent. ++.Pp ++.Nm Portmap ++must be started before any ++.Tn RPC ++servers are invoked. ++.Pp ++Normally ++.Nm portmap ++forks and dissociates itself from the terminal ++like any other daemon. ++.Nm Portmap ++then logs errors using ++.Xr syslog 3 . ++.Pp ++Option available: ++.Bl -tag -width Ds ++.It Fl d ++(debug) prevents ++.Nm portmap ++from running as a daemon, ++and causes errors and debugging information ++to be printed to the standard error output. ++.It Fl v ++(verbose) run ++.Nm portmap ++in verbose mode. ++.El ++ ++This ++.Nm portmap ++version is protected by the ++.Nm tcp_wrapper ++library. You have to give the clients access to ++.Nm portmap ++if they should be allowed to use it. To allow connects from clients of ++the .bar.com domain you could use the following line in /etc/hosts.allow: ++ ++portmap: .bar.com ++ ++You have to use the daemon name ++.Nm portmap ++for the daemon name (even if the binary has a different name). For the ++client names you can only use the keyword ALL or IP addresses (NOT ++host or domain names). ++ ++For further information please have a look at the ++.Xr tcpd 8 , ++.Xr hosts_allow 5 ++and ++.Xr hosts_access 5 ++manual pages. ++ ++.Sh SEE ALSO ++.Xr inetd.conf 5 , ++.Xr rpcinfo 8 , ++.Xr pmap_set 8 , ++.Xr pmap_dump 8 , ++.Xr inetd 8 ++.Xr tcpd 8 ++.Xr hosts_access 5 ++.Xr hosts_options 5 ++.Sh BUGS ++If ++.Nm portmap ++crashes, all servers must be restarted. ++.Sh HISTORY ++The ++.Nm ++command appeared in ++.Bx 4.3 +diff -Naur portmap_5beta/portmap.c portmap_5beta.gimli/portmap.c +--- portmap_5beta/portmap.c 1996-07-06 16:06:24.000000000 -0500 ++++ portmap_5beta.gimli/portmap.c 2002-01-07 09:26:41.000000000 -0600 +@@ -37,7 +37,7 @@ + All rights reserved.\n"; + #endif /* not lint */ + +-#ifndef lint ++#ifdef lint + static char sccsid[] = "@(#) portmap.c 1.6 96/07/06 23:06:23"; + #endif /* not lint */ + +@@ -80,6 +80,9 @@ + * Mountain View, California 94043 + */ + ++#if defined(__GLIBC__) ++#include ++#endif /* __GLIBC__ */ + #include + #include + #include +@@ -94,6 +97,8 @@ + #ifdef SYSV40 + #include + #endif ++#include ++#include + + extern char *strerror(); + #include +@@ -148,7 +153,7 @@ + #endif + #endif + +-main(argc, argv) ++int main(argc, argv) + int argc; + char **argv; + { +@@ -350,7 +355,7 @@ + */ + /* remote host authorization check */ + check_default(svc_getcaller(xprt), rqstp->rq_proc, (u_long) 0); +- if (!svc_sendreply(xprt, xdr_void, (caddr_t)0) && debugging) { ++ if (!svc_sendreply(xprt, (xdrproc_t) xdr_void, (caddr_t)0) && debugging) { + abort(); + } + break; +@@ -359,7 +364,7 @@ + /* + * Set a program,version to port mapping + */ +- if (!svc_getargs(xprt, xdr_pmap, ®)) ++ if (!svc_getargs(xprt, (xdrproc_t) xdr_pmap, (caddr_t) ®)) + svcerr_decode(xprt); + else { + /* reject non-local requests, protect priv. ports */ +@@ -401,7 +406,7 @@ + ans = 1; + } + done: +- if ((!svc_sendreply(xprt, xdr_int, (caddr_t)&ans)) && ++ if ((!svc_sendreply(xprt, (xdrproc_t) xdr_int, (caddr_t)&ans)) && + debugging) { + (void) fprintf(stderr, "svc_sendreply\n"); + abort(); +@@ -413,7 +418,7 @@ + /* + * Remove a program,version to port mapping. + */ +- if (!svc_getargs(xprt, xdr_pmap, ®)) ++ if (!svc_getargs(xprt, (xdrproc_t) xdr_pmap, (caddr_t) ®)) + svcerr_decode(xprt); + else { + ans = 0; +@@ -447,7 +452,7 @@ + prevpml->pml_next = pml; + free(t); + } +- if ((!svc_sendreply(xprt, xdr_int, (caddr_t)&ans)) && ++ if ((!svc_sendreply(xprt, (xdrproc_t) xdr_int, (caddr_t)&ans)) && + debugging) { + (void) fprintf(stderr, "svc_sendreply\n"); + abort(); +@@ -459,7 +464,7 @@ + /* + * Lookup the mapping for a program,version and return its port + */ +- if (!svc_getargs(xprt, xdr_pmap, ®)) ++ if (!svc_getargs(xprt, (xdrproc_t) xdr_pmap, (caddr_t) ®)) + svcerr_decode(xprt); + else { + /* remote host authorization check */ +@@ -474,7 +479,7 @@ + port = fnd->pml_map.pm_port; + else + port = 0; +- if ((!svc_sendreply(xprt, xdr_int, (caddr_t)&port)) && ++ if ((!svc_sendreply(xprt, (xdrproc_t) xdr_int, (caddr_t)&port)) && + debugging) { + (void) fprintf(stderr, "svc_sendreply\n"); + abort(); +@@ -486,7 +491,7 @@ + /* + * Return the current set of mapped program,version + */ +- if (!svc_getargs(xprt, xdr_void, NULL)) ++ if (!svc_getargs(xprt, (xdrproc_t) xdr_void, (caddr_t) NULL)) + svcerr_decode(xprt); + else { + /* remote host authorization check */ +@@ -497,7 +502,7 @@ + } else { + p = pmaplist; + } +- if ((!svc_sendreply(xprt, xdr_pmaplist, ++ if ((!svc_sendreply(xprt, (xdrproc_t) xdr_pmaplist, + (caddr_t)&p)) && debugging) { + (void) fprintf(stderr, "svc_sendreply\n"); + abort(); +@@ -645,7 +650,7 @@ + timeout.tv_sec = 5; + timeout.tv_usec = 0; + a.rmt_args.args = buf; +- if (!svc_getargs(xprt, xdr_rmtcall_args, &a)) ++ if (!svc_getargs(xprt, (xdrproc_t) xdr_rmtcall_args, (caddr_t) &a)) + return; + /* host and service access control */ + if (!check_callit(svc_getcaller(xprt), +@@ -674,9 +679,9 @@ + au->aup_uid, au->aup_gid, au->aup_len, au->aup_gids); + } + a.rmt_port = (u_long)port; +- if (clnt_call(client, a.rmt_proc, xdr_opaque_parms, &a, +- xdr_len_opaque_parms, &a, timeout) == RPC_SUCCESS) { +- svc_sendreply(xprt, xdr_rmtcall_result, (caddr_t)&a); ++ if (clnt_call(client, a.rmt_proc, (xdrproc_t) xdr_opaque_parms, (char*) &a, ++ (xdrproc_t) xdr_len_opaque_parms, (char*) &a, timeout) == RPC_SUCCESS) { ++ svc_sendreply(xprt, (xdrproc_t) xdr_rmtcall_result, (caddr_t)&a); + } + AUTH_DESTROY(client->cl_auth); + clnt_destroy(client); diff --git a/src/patches/portmap-5beta-glibc_errno_fix-1.patch b/src/patches/portmap-5beta-glibc_errno_fix-1.patch new file mode 100644 index 0000000000..e38b7ae214 --- /dev/null +++ b/src/patches/portmap-5beta-glibc_errno_fix-1.patch @@ -0,0 +1,17 @@ +Submitted By: Tushar Teredesai +Date: 2003-10-04 +Initial Package Version: 5beta +Origin: None +Description: Fix compilation with recent glibc versions. +--- portmap_5beta/portmap.c 2003-03-10 12:32:26.000000000 -0600 ++++ portmap_5beta/portmap.c.new 2003-03-10 12:38:01.000000000 -0600 +@@ -129,7 +129,8 @@ + static void callit(); + struct pmaplist *pmaplist; + int debugging = 0; +-extern int errno; ++#include ++/* extern int errno; */ + + #include "pmap_check.h" + -- 2.39.2