]> git.pld-linux.org Git - packages/LPRng.git/commitdiff
- outdated.
authorkloczek <kloczek@pld-linux.org>
Mon, 5 Nov 2001 17:03:45 +0000 (17:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    LPRng-direct.patch -> 1.2
    LPRng-inet_ntop.patch -> 1.2
    LPRng-lockfile.patch -> 1.2
    LPRng-setgroups.patch -> 1.3

LPRng-direct.patch [deleted file]
LPRng-inet_ntop.patch [deleted file]
LPRng-lockfile.patch [deleted file]
LPRng-setgroups.patch [deleted file]

diff --git a/LPRng-direct.patch b/LPRng-direct.patch
deleted file mode 100644 (file)
index ca6c79a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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 */
diff --git a/LPRng-inet_ntop.patch b/LPRng-inet_ntop.patch
deleted file mode 100644 (file)
index 9519fc8..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-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 );
diff --git a/LPRng-lockfile.patch b/LPRng-lockfile.patch
deleted file mode 100644 (file)
index e7ba978..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
---- 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;
diff --git a/LPRng-setgroups.patch b/LPRng-setgroups.patch
deleted file mode 100644 (file)
index 6e9fc56..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
---- 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 ) ){
This page took 0.067865 seconds and 4 git commands to generate.