public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-apache/mod_auth_radius/files: 1.5.8-remote_ip-obsolete.patch 1.5.8-includes.patch
@ 2013-05-08 13:52 Tony Vroon (chainsaw)
  0 siblings, 0 replies; only message in thread
From: Tony Vroon (chainsaw) @ 2013-05-08 13:52 UTC (permalink / raw
  To: gentoo-commits

chainsaw    13/05/08 13:52:15

  Added:                1.5.8-remote_ip-obsolete.patch 1.5.8-includes.patch
  Log:
  Initial commit; package requested by Steve Harrison in LINX IT. An initial ebuild was written by Vicente Olivert Riera, to which I added some minor patching and used the eclass a bit more.
  
  (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB5058F9A)

Revision  Changes    Path
1.1                  www-apache/mod_auth_radius/files/1.5.8-remote_ip-obsolete.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_auth_radius/files/1.5.8-remote_ip-obsolete.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_auth_radius/files/1.5.8-remote_ip-obsolete.patch?rev=1.1&content-type=text/plain

Index: 1.5.8-remote_ip-obsolete.patch
===================================================================
diff -uNr mod_auth_radius-1.5.8.ORIG/mod_auth_radius-2.0.c mod_auth_radius-1.5.8/mod_auth_radius-2.0.c
--- mod_auth_radius-1.5.8.ORIG/mod_auth_radius-2.0.c	2013-05-08 14:18:02.746322816 +0100
+++ mod_auth_radius-1.5.8/mod_auth_radius-2.0.c	2013-05-08 14:19:03.589323729 +0100
@@ -683,7 +683,7 @@
    * benefit here.
    */  
   apr_snprintf(one, COOKIE_SIZE, "%s%s%s%s%s%08x", scr->secret,
-	      r->user, passwd, c->remote_ip, hostname, expires);
+	      r->user, passwd, c->client_ip, hostname, expires);
 
   /* if you're REALLY worried about what's going on */
 
@@ -691,7 +691,7 @@
   ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," secret     = %s\n", scr->secret);
   ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," user       = %s\n", r->user);
   ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," passwd     = %s\n", passwd);
-  ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," remote ip  = %s\n", c->remote_ip);
+  ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," remote ip  = %s\n", c->client_ip);
   ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," hostname   = %s\n", hostname);
   ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," expiry     = %08x\n", expires);
 #endif



1.1                  www-apache/mod_auth_radius/files/1.5.8-includes.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_auth_radius/files/1.5.8-includes.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_auth_radius/files/1.5.8-includes.patch?rev=1.1&content-type=text/plain

Index: 1.5.8-includes.patch
===================================================================
diff -uNr mod_auth_radius-1.5.8.ORIG/mod_auth_radius-2.0.c mod_auth_radius-1.5.8/mod_auth_radius-2.0.c
--- mod_auth_radius-1.5.8.ORIG/mod_auth_radius-2.0.c	2013-05-08 14:26:19.103330264 +0100
+++ mod_auth_radius-1.5.8/mod_auth_radius-2.0.c	2013-05-08 14:29:40.331333283 +0100
@@ -287,15 +287,21 @@
 
  */
 
+#include <arpa/inet.h>
 #include <netdb.h>
 #include <openssl/md5.h>
 #include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
 
 #include "httpd.h"
 #include "http_config.h"
 #include "http_core.h"
 #include "http_log.h"
 #include "http_protocol.h"
+#include "http_request.h"
 #include "util_md5.h"
 #include "apr_general.h"
 #include "apr_tables.h"





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-08 13:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-08 13:52 [gentoo-commits] gentoo-x86 commit in www-apache/mod_auth_radius/files: 1.5.8-remote_ip-obsolete.patch 1.5.8-includes.patch Tony Vroon (chainsaw)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox