[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/radiusclient-ng/devel 0001-Make-it-possible-to-distinguish-between-radius-authe.patch, NONE, 1.1 0002-Fix-another-place-where-DESTDIR-is-necessary.patch, NONE, 1.1 0003-Applying-radiusclient-ng-etc-install.patch-from-Fedo.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 radiusclient-ng.spec, 1.2, 1.3 sources, 1.2, 1.3 radiusclient-ng-etc-install.patch, 1.1, NONE



Author: jcollie

Update of /cvs/extras/rpms/radiusclient-ng/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20147

Modified Files:
	.cvsignore radiusclient-ng.spec sources 
Added Files:
	0001-Make-it-possible-to-distinguish-between-radius-authe.patch 
	0002-Fix-another-place-where-DESTDIR-is-necessary.patch 
	0003-Applying-radiusclient-ng-etc-install.patch-from-Fedo.patch 
Removed Files:
	radiusclient-ng-etc-install.patch 
Log Message:
Update to 0.5.5.1

0001-Make-it-possible-to-distinguish-between-radius-authe.patch:

--- NEW FILE 0001-Make-it-possible-to-distinguish-between-radius-authe.patch ---
>From 769bf6403fd2335c7742434324aafee2aa582671 Mon Sep 17 00:00:00 2001
From: sobomax <sobomax>
Date: Mon, 16 Apr 2007 20:27:32 +0000
Subject: [PATCH] Make it possible to distinguish between radius authentication failures on the server
from other failures (i.e. configuration problems).

Submitted by:	Juha Heinanen
---
 include/radiusclient-ng.h |    1 +
 lib/sendserver.c          |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/radiusclient-ng.h b/include/radiusclient-ng.h
index de8ff5a..fe5c14a 100644
--- a/include/radiusclient-ng.h
+++ b/include/radiusclient-ng.h
@@ -360,6 +360,7 @@ typedef struct value_pair
 #define ERROR_RC	-1
 #define OK_RC		0
 #define TIMEOUT_RC	1
+#define REJECT_RC	2
 
 typedef struct send_data /* Used to pass information to sendserver() function */
 {
diff --git a/lib/sendserver.c b/lib/sendserver.c
index bc08aed..99e9641 100644
--- a/lib/sendserver.c
+++ b/lib/sendserver.c
@@ -376,6 +376,11 @@ int rc_send_server (rc_handle *rh, SEND_DATA *data, char *msg)
 	{
 		result = OK_RC;
 	}
+	else if ((recv_auth->code == PW_ACCESS_REJECT) ||
+		 (recv_auth->code == PW_PASSWORD_REJECT))
+	{
+		result = REJECT_RC;
+	}
 	else
 	{
 		result = BADRESP_RC;
-- 
1.5.2.GIT


0002-Fix-another-place-where-DESTDIR-is-necessary.patch:

--- NEW FILE 0002-Fix-another-place-where-DESTDIR-is-necessary.patch ---
>From 7dcc19158b9d27d015821c0a0cd8eb1a8352731a Mon Sep 17 00:00:00 2001
From: sobomax <sobomax>
Date: Mon, 16 Apr 2007 20:32:22 +0000
Subject: [PATCH] Fix another place where $(DESTDIR) is necessary.

---
 etc/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/etc/Makefile.am b/etc/Makefile.am
index cea3421..aed318f 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -33,4 +33,4 @@ install-data-local: servers
         $(INSTALL) -m 600 $(srcdir)/servers $(DESTDIR)$(pkgsysconfdir)/servers
 
 uninstall-local:
-	rm -f $(pkgsysconfdir)/servers
+	rm -f $(DESTDIR)$(pkgsysconfdir)/servers
-- 
1.5.2.GIT


0003-Applying-radiusclient-ng-etc-install.patch-from-Fedo.patch:

--- NEW FILE 0003-Applying-radiusclient-ng-etc-install.patch-from-Fedo.patch ---
>From f02ed217adb0753da8d20ab8ede069560af24141 Mon Sep 17 00:00:00 2001
From: Jeffrey C. Ollie <jeff ocjtech us>
Date: Fri, 25 May 2007 15:02:54 -0500
Subject: [PATCH] Applying radiusclient-ng-etc-install.patch from Fedora package.

---
 configure.in             |    3 +++
 etc/Makefile.am          |    8 +++++---
 etc/radiusclient.conf.in |    2 +-
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/configure.in b/configure.in
index 58fd069..a4241eb 100644
--- a/configure.in
+++ b/configure.in
@@ -29,6 +29,9 @@ AC_SUBST(LIBVERSION)
 pkgsysconfdir=${sysconfdir}/$PACKAGE
 AC_SUBST(pkgsysconfdir)
 
+pkgdatadir=${datadir}/$PACKAGE
+AC_SUBST(pkgdatadir)
+
 AC_PROG_LIBTOOL
 
 AC_PROG_CC
diff --git a/etc/Makefile.am b/etc/Makefile.am
index aed318f..e2d8788 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -14,9 +14,11 @@ CLEANFILES = *~ radiusclient.conf
 
 sbindir = @sbindir@
 pkgsysconfdir = @pkgsysconfdir@
-pkgsysconf_DATA = issue port-id-map radiusclient.conf \
-	dictionary dictionary.ascend dictionary.compat dictionary.merit \
-	dictionary.sip
+pkgsysconf_DATA = issue port-id-map radiusclient.conf
+
+pkgdatadir = @pkgdatadir@
+pkgdata_DATA = dictionary dictionary.ascend dictionary.compat \
+	dictionary.merit dictionary.sip
 
 EXTRA_DIST = issue port-id-map dictionary dictionary.ascend \
 	dictionary.compat dictionary.merit servers radiusclient.conf.in \
diff --git a/etc/radiusclient.conf.in b/etc/radiusclient.conf.in
index 948bc2f..aac9973 100644
--- a/etc/radiusclient.conf.in
+++ b/etc/radiusclient.conf.in
@@ -47,7 +47,7 @@ servers		@pkgsysconfdir@/servers
 
 # dictionary of allowed attributes and values
 # just like in the normal RADIUS distributions
-dictionary 	@pkgsysconfdir@/dictionary
+dictionary 	@pkgdatadir@/dictionary
 
 # program to call for a RADIUS authenticated login
 login_radius	@sbindir@/login.radius
-- 
1.5.2.GIT



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/radiusclient-ng/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	11 Jul 2006 18:57:31 -0000	1.2
+++ .cvsignore	25 May 2007 20:48:33 -0000	1.3
@@ -1 +1 @@
-radiusclient-ng-0.5.2.tar.gz
+radiusclient-ng-0.5.5.1.tar.gz


Index: radiusclient-ng.spec
===================================================================
RCS file: /cvs/extras/rpms/radiusclient-ng/devel/radiusclient-ng.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- radiusclient-ng.spec	29 Aug 2006 02:15:04 -0000	1.2
+++ radiusclient-ng.spec	25 May 2007 20:48:33 -0000	1.3
@@ -1,12 +1,14 @@
 Summary: RADIUS protocol client library
 Name: radiusclient-ng
-Version: 0.5.2
-Release: 4%{?dist}
+Version: 0.5.5.1
+Release: 1%{?dist}
 License: BSD
 Group: Applications/Internet
 URL: http://developer.berlios.de/projects/radiusclient-ng/
 Source0: http://download.berlios.de/%{name}/%{name}-%{version}.tar.gz
-Patch0: radiusclient-ng-etc-install.patch
+Patch1: 0001-Make-it-possible-to-distinguish-between-radius-authe.patch
+Patch2: 0002-Fix-another-place-where-DESTDIR-is-necessary.patch
+Patch3: 0003-Applying-radiusclient-ng-etc-install.patch-from-Fedo.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: autoconf
@@ -36,7 +38,9 @@
 
 %prep
 %setup0 -q
-%patch0 -p0
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
 # Need to re-run autconf & automake so that --disable-rpath works and
@@ -100,6 +104,9 @@
 %{_sbindir}/radstatus
 
 %changelog
+* Fri May 25 2007 Jeffrey C. Ollie <jeff ocjtech us> - 0.5.5.1-1
+- Update to 0.5.5.1
+
 * Mon Aug 28 2006 Jeffrey C. Ollie <jeff ocjtech us> - 0.5.2-4
 - Bump release and rebuild.
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/radiusclient-ng/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	11 Jul 2006 18:57:31 -0000	1.2
+++ sources	25 May 2007 20:48:33 -0000	1.3
@@ -1 +1 @@
-c54eb70e964bdd22dd44b39a9b4df8ca  radiusclient-ng-0.5.2.tar.gz
+5011360f65a47e61abdcebdb1b1d2b74  radiusclient-ng-0.5.5.1.tar.gz


--- radiusclient-ng-etc-install.patch DELETED ---


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]