+++ /dev/null
---- LPRng-3.7.4/src/common/vars.c.sopwith Fri Mar 16 18:11:06 2001
-+++ LPRng-3.7.4/src/common/vars.c Fri Mar 16 18:11:15 2001
-@@ -186,7 +186,7 @@
- /* printers that we should query for status information */
- { "destinations", 0, STRING_K, &Destinations_DYN,0,0},
- /* allow LPR to make direct socket connection to printer */
--{ "direct", 0, STRING_K, &Direct_DYN,0,0},
-+{ "direct", 0, FLAG_K, &Direct_DYN,0,0},
- /* drop root permissions after binding to listening port */
- { "drop_root", 0, FLAG_K, &Drop_root_DYN,0,0},
- /* exit linger timeout to wait for socket to close */
+++ /dev/null
-diff -urN LPRng-3.7.4/src/include/linksupport.h LPRng-3.7.4-new/src/include/linksupport.h
---- LPRng-3.7.4/src/include/linksupport.h Thu Dec 28 13:06:14 2000
-+++ LPRng-3.7.4-new/src/include/linksupport.h Wed Jan 13 16:19:20 2049
-@@ -47,8 +47,6 @@
- const char *Ack_err_str (int n);
- int AF_Protocol(void);
- int inet_pton( int family, const char *strptr, void *addr );
--const char *inet_ntop( int family, const void *addr,
-- char *str, size_t len );
- const char *inet_ntop_sockaddr( struct sockaddr *addr,
- char *str, int len );
-
+++ /dev/null
---- LPRng-3.7.4/src/common/checkpc.c.lockfile Thu Jan 11 18:39:04 2001
-+++ LPRng-3.7.4/src/common/checkpc.c Thu Jan 11 18:40:31 2001
-@@ -190,10 +190,12 @@
- if( Fix ){
- mkdir_path( path );
- }
-+#if 0
- } else {
- *s = '/';
- To_root();
- Make_write_file( path, 0 );
-+#endif
- }
- }
- Spool_file_perms_DYN = oldfile;
+++ /dev/null
---- LPRng-3.7.4/src/common/utilities.c.setgroups Thu Jun 7 13:21:44 2001
-+++ LPRng-3.7.4/src/common/utilities.c Thu Jun 7 13:26:48 2001
-@@ -16,6 +16,12 @@
- #include "getopt.h"
- #include "errorcodes.h"
-
-+/* for setgroups */
-+#ifndef _BSD_SOURCE
-+# define _BSD_SOURCE
-+#endif
-+#include <grp.h>
-+
- /**** ENDINCLUDE ****/
-
- /*
-@@ -1287,6 +1291,10 @@
- if( UID_root ){
- euid = geteuid();
- To_root(); /* set RUID/EUID to root */
-+
-+ /* drop supplemental groups - crutcher@redhat.com */
-+ setgroups(0, NULL);
-+
- status = setgid( DaemonGID );
- err = errno;
- if( To_uid( euid ) ){