OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 11-Dec-2006 13:50:08
Branch: HEAD Handle: 2006121112500700
Modified files:
openpkg-src/radius radius.patch radius.spec
Log:
upgrading package: radius 1.3 -> 1.4
Summary:
Revision Changes Path
1.4 +54 -38 openpkg-src/radius/radius.patch
1.51 +2 -2 openpkg-src/radius/radius.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/radius/radius.patch
============================================================================
$ cvs diff -u -r1.3 -r1.4 radius.patch
--- openpkg-src/radius/radius.patch 3 Jun 2005 15:54:53 -0000 1.3
+++ openpkg-src/radius/radius.patch 11 Dec 2006 12:50:07 -0000 1.4
@@ -1,49 +1,65 @@
Index: lib/argp-help.c
---- lib/argp-help.c.orig 2003-08-15 15:31:00.000000000 +0200
-+++ lib/argp-help.c 2005-06-03 16:35:10.975522742 +0200
-@@ -56,18 +56,7 @@
- # include <strings.h>
+--- lib/argp-help.c.orig 2006-09-08 15:46:06 +0200
++++ lib/argp-help.c 2006-12-10 17:05:53 +0100
+@@ -38,14 +38,7 @@
+ # include <wchar.h>
#endif
--#ifndef _
--/* This is for other GNU distributions with internationalized messages. */
--# if defined HAVE_LIBINTL_H || defined _LIBC
--# include <libintl.h>
--# ifdef _LIBC
--# undef dgettext
--# define dgettext(domain, msgid) __dcgettext (domain, msgid, LC_MESSAGES)
--# endif
--# else
- # define dgettext(domain, msgid) (msgid)
--# endif
+-#ifdef _LIBC
+-# include <libintl.h>
+-# undef dgettext
+-# define dgettext(domain, msgid) \
+- INTUSE(__dcgettext) (domain, msgid, LC_MESSAGES)
+-#else
+-# include "gettext.h"
-#endif
++#include "gettext.h"
#include "argp.h"
#include "argp-fmtstream.h"
Index: lib/argp-parse.c
---- lib/argp-parse.c.orig 2002-05-16 18:24:38.000000000 +0200
-+++ lib/argp-parse.c 2005-06-03 16:35:33.778383554 +0200
-@@ -36,23 +36,9 @@
- # include <alloca.h>
- #endif
+--- lib/argp-parse.c.orig 2006-09-08 15:46:06 +0200
++++ lib/argp-parse.c 2006-12-10 17:05:53 +0100
+@@ -30,14 +30,7 @@
+ #include <getopt.h>
+ #include <getopt_int.h>
--#ifndef _
--/* This is for other GNU distributions with internationalized messages.
-- When compiling libc, the _ macro is predefined. */
--# if defined HAVE_LIBINTL_H || defined _LIBC
--# include <libintl.h>
--# ifdef _LIBC
--# undef dgettext
--# define dgettext(domain, msgid) __dcgettext (domain, msgid, LC_MESSAGES)
--# endif
--# else
- # define dgettext(domain, msgid) (msgid)
- # define gettext(msgid) (msgid)
--# endif
--#endif
--#ifndef N_
- # define N_(msgid) msgid
+-#ifdef _LIBC
+-# include <libintl.h>
+-# undef dgettext
+-# define dgettext(domain, msgid) \
+- INTUSE(__dcgettext) (domain, msgid, LC_MESSAGES)
+-#else
+-# include "gettext.h"
-#endif
++#include "gettext.h"
+ #define N_(msgid) msgid
+
+ #include "argp.h"
+Index: lib/error.c
+--- lib/error.c.orig 2006-09-08 11:32:36 +0200
++++ lib/error.c 2006-12-11 13:47:58 +0100
+@@ -57,10 +57,11 @@
+ /* This variable is incremented each time `error' is called. */
+ unsigned int error_message_count;
+
++#define program_name "radius"
++
+ #ifdef _LIBC
+ /* In the GNU C library, there is a predefined variable for this. */
+
+-# define program_name program_invocation_name
+ # include <errno.h>
+ # include <limits.h>
+ # include <libio/libioP.h>
+@@ -92,10 +93,6 @@
+ char *strerror_r ();
+ # endif
- #if _LIBC - 0
- #include <bits/libc-lock.h>
+-/* The calling program should define program_name and set it to the
+- name of the executing program. */
+-extern char *program_name;
+-
+ # if HAVE_STRERROR_R || defined strerror_r
+ # define __strerror_r strerror_r
+ # endif /* HAVE_STRERROR_R || defined strerror_r */
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/radius/radius.spec
============================================================================
$ cvs diff -u -r1.50 -r1.51 radius.spec
--- openpkg-src/radius/radius.spec 13 Oct 2006 17:33:22 -0000 1.50
+++ openpkg-src/radius/radius.spec 11 Dec 2006 12:50:07 -0000 1.51
@@ -32,8 +32,8 @@
Class: EVAL
Group: RADIUS
License: GPL
-Version: 1.3
-Release: 20061013
+Version: 1.4
+Release: 20061211
# list of sources
Source0: ftp://ftp.gnu.org/gnu/radius/radius-%{version}.tar.gz
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]