Patch Name: PHNE_4902 Patch Description: s300_400 9.X rpcgen(1) ANSI/inetd support & syslog messages Creation Date: 94/11/22 Post Date: 94/11/29 Hardware Platforms - OS Releases: s300_400: 9.00 9.03 Products: N/A Filesets: NFS-RUN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s300_400/9.X/PHNE_4902 Symptoms: PHNE_4902: Generated code will not compile with ANSI compilers. Servers cannot be kicked off by inetd. Defect Description: PHNE_4902: Rpcgen was not originally designed for these capabilities, which are added in this patch: This patch allows rpc servers to be created by rpcgen that can automatically be inetd-compatible. The patch adds options: -I (inetd support). -K (how long an inetd-spawned server should stay alive after no more clients). -L (log error messages to syslog) to the command line interface of rpcgen. The behavior is similar to Sun's rpcgen. This patch also adds support for ANSI C, allowing rpcgen-generated code to be fully ANSI compliant, specifically, removing labels from #else and #endif. However, to compile generated code with an ANSI compiler (for example, "cc -Aa"), the define -D_HPUX_SOURCE must be included in the compile path. SR: 5003155713 Patch Files: /usr/bin/rpcgen what(1) Output: /usr/bin/rpcgen: PATCH_9.X rpc_main.c: $Revision: 1.12.109.4 $ $Date : 94/11/22 09:59:24 $ PHNE_4902 PATCH_9.X: rpc_svuout.c $Revision: 1.9.109.3 $Date: 94/11/11 $ PHNE_4902 sum(1) Output: 39428 74 /usr/bin/rpcgen Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHNE_4420: s700: 9.01 9.03 9.05 s800: 9.00 9.04 Patch Package Size: 90 Kbytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Copy the patch to your /tmp directory and unshar it: cd /tmp cp patch_source/PHNE_4902 . sh PHNE_4902 3. Become root and run update: /etc/update 4. Use the cursor keys to select "Change Source or Destination ->" and press [Return]. 5. Select "From Tape Device to Local System ..." in the Change window and 6. Change "Source: /dev/rmt/0m" to "Source: /tmp/PHNE_4902.updt" 7. Press "Done" (f4). 8. Follow the standard directions for update. Update moves the original software to /system/PHNE_4902/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHNE_4902 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHNE_4902.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: None