On Mon, Apr 26, 2010 at 01:42:46PM +0200, Carsten Schlote wrote:
> From: Carsten Schlote <c.schl...@konzeptpark.de>
> 
> - Updated to latest stable version. Fixepd URL.
> - Copies patch to disable stripping
> - patches for cross-compilation (unsetenv)
> 
> Signed-off-by: Carsten Schlote <c.schl...@konzeptpark.de>
> ---
>  .../0001-install-sh-disable-stripping.patch        |   29 
> ++++++++++++++++++++
>  patches/sudo-1.7.2p5/autogen.sh                    |    3 ++
>  .../sudo-1.7.2p5/fix-problem-with-unsetenv.patch   |   25 +++++++++++++++++
>  patches/sudo-1.7.2p5/series                        |    2 +
>  rules/sudo.in                                      |    1 +
>  rules/sudo.make                                    |    4 +-
>  6 files changed, 62 insertions(+), 2 deletions(-)
>  create mode 100644 
> patches/sudo-1.7.2p5/0001-install-sh-disable-stripping.patch
>  create mode 100755 patches/sudo-1.7.2p5/autogen.sh
>  create mode 100644 patches/sudo-1.7.2p5/fix-problem-with-unsetenv.patch
>  create mode 100644 patches/sudo-1.7.2p5/series

Please remove the patches for the old version.

> diff --git a/patches/sudo-1.7.2p5/fix-problem-with-unsetenv.patch 
> b/patches/sudo-1.7.2p5/fix-problem-with-unsetenv.patch
> new file mode 100644
> index 0000000..f537fa2
> --- /dev/null
> +++ b/patches/sudo-1.7.2p5/fix-problem-with-unsetenv.patch
> @@ -0,0 +1,25 @@
> +From: Carsten Schlote <c.schl...@konzeptpark.de>
> +Subject: Fix a problem with unsetenv and eglibc(?) 
> +
> +The configuration for unsetenv() is detected wrong. The test has 
> +beend removed as a hotfix.
> +
> +Signed-off-by: Carsten Schlote <c.schl...@konzeptpark.de>
> +---
> +---
> + configure.in |    2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +Index: sudo-1.7.2p5/configure.in
> +===================================================================
> +--- sudo-1.7.2p5.orig/configure.in   2010-03-01 12:15:55.000000000 +0100
> ++++ sudo-1.7.2p5/configure.in        2010-03-04 15:03:33.000000000 +0100
> +@@ -1842,7 +1842,7 @@
> + AC_CHECK_FUNCS(strchr strrchr memchr memcpy memset sysconf tzset \
> +            strftime setrlimit initgroups getgroups fstat gettimeofday \
> +            setlocale getaddrinfo setsid setenv setrlimit64)
> +-AC_CHECK_FUNCS(unsetenv, SUDO_FUNC_UNSETENV_VOID)
> ++#AC_CHECK_FUNCS(unsetenv, SUDO_FUNC_UNSETENV_VOID)
> + SUDO_FUNC_PUTENV_CONST
> + if test -z "$SKIP_SETRESUID"; then
> +     AC_CHECK_FUNCS(setresuid, [SKIP_SETREUID=yes])

There is a cache variable that can be used, add
"sudo_cv_func_unsetenv_void=<correct value>" to SUDO_ENV instead of this
patch.

mol

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to