pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/priv security/priv: Avoid calling "autoreconf...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d73901d625d8
branches:  trunk
changeset: 450097:d73901d625d8
user:      kim <kim%pkgsrc.org@localhost>
date:      Sun Apr 11 06:52:54 2021 +0000

description:
security/priv: Avoid calling "autoreconf -fi" during pre-configure.

diffstat:

 security/priv/Makefile                  |     8 +-
 security/priv/distinfo                  |     4 +-
 security/priv/patches/patch-config.h.in |   190 +
 security/priv/patches/patch-configure   |  6875 +++++++++++++++++++++++++++++++
 4 files changed, 7072 insertions(+), 5 deletions(-)

diffs (truncated from 7118 to 300 lines):

diff -r d4beffc35ca4 -r d73901d625d8 security/priv/Makefile
--- a/security/priv/Makefile    Sun Apr 11 05:02:51 2021 +0000
+++ b/security/priv/Makefile    Sun Apr 11 06:52:54 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2021/02/16 09:42:06 kim Exp $
+# $NetBSD: Makefile,v 1.23 2021/04/11 06:52:54 kim Exp $
 #
 
 DISTNAME=      priv-1.0-beta2
@@ -11,7 +11,7 @@
 COMMENT=       Execute commands as a different user
 LICENSE=       original-bsd
 
-USE_TOOLS=     autoconf automake autoreconf
+#USE_TOOLS=    autoconf automake autoreconf
 GNU_CONFIGURE= YES
 
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
@@ -27,7 +27,7 @@
 
 OWN_DIRS=      ${PKG_SYSCONFDIR}/priv
 
-pre-configure:
-       cd "${WRKSRC}" && autoreconf -fi
+#pre-configure:
+#      cd "${WRKSRC}" && autoreconf -fi
 
 .include "../../mk/bsd.pkg.mk"
diff -r d4beffc35ca4 -r d73901d625d8 security/priv/distinfo
--- a/security/priv/distinfo    Sun Apr 11 05:02:51 2021 +0000
+++ b/security/priv/distinfo    Sun Apr 11 06:52:54 2021 +0000
@@ -1,10 +1,12 @@
-$NetBSD: distinfo,v 1.10 2021/02/16 09:42:06 kim Exp $
+$NetBSD: distinfo,v 1.11 2021/04/11 06:52:54 kim Exp $
 
 SHA1 (priv-1.0-beta2.tar.gz) = dee75baaf320c5dee112376cca0bb08a635f2806
 RMD160 (priv-1.0-beta2.tar.gz) = 635e0e2cf64c0bdbbdc790a4833e650700473448
 SHA512 (priv-1.0-beta2.tar.gz) = 0319471c4654c1806dd1516f1fc146b63fb4fe22d2e40238f1f6dc078adb201ae7dd82b07054ed01af861818a64529ed2451ceb60d477ee16ef4528fa2d6d359
 Size (priv-1.0-beta2.tar.gz) = 34507 bytes
 SHA1 (patch-Makefile.in) = 2a1252d2593333ceb048baa269dbe1b2e9a5d1e4
+SHA1 (patch-config.h.in) = 680548ea3efb50294e927c40f160d9829874461e
+SHA1 (patch-configure) = 8b5e8ffeb26857667040fd1265c9b36bf67c469d
 SHA1 (patch-configure.in) = a1df31e1a3bb64a9a782132566be223eaab1e454
 SHA1 (patch-priv.c) = efcab7c1890bb8be930e4dafb47c31df148d6a6a
 SHA1 (patch-priv.h) = 460670e323e9c14eb55674b2593046900f4455b3
diff -r d4beffc35ca4 -r d73901d625d8 security/priv/patches/patch-config.h.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/priv/patches/patch-config.h.in   Sun Apr 11 06:52:54 2021 +0000
@@ -0,0 +1,190 @@
+$NetBSD: patch-config.h.in,v 1.1 2021/04/11 06:52:54 kim Exp $
+
+Avoid calling "autoreconf -fi" during pre-configure.
+
+--- config.h.in~       2004-02-09 04:38:54.000000000 +0000
++++ config.h.in        2021-04-11 06:43:25.381737479 +0000
+@@ -1,4 +1,4 @@
+-/* config.h.in.  Generated automatically from configure.in by autoheader.  */
++/* config.h.in.  Generated from configure.in by autoheader.  */
+ /*
+  * Copyright (c) 1996, 1997 Simon Burge <simonb%telstra.com.au@localhost>.
+  * All rights reserved.
+@@ -30,83 +30,131 @@
+  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+  */
+ 
+-/* Define to empty if the keyword does not work.  */
+-#undef const
+-
+-/* Define if you don't have vprintf but do have _doprnt.  */
++/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
+ #undef HAVE_DOPRNT
+ 
+-/* Define if you have the vprintf function.  */
+-#undef HAVE_VPRINTF
++/* Define to 1 if you have the `err' function. */
++#undef HAVE_ERR
+ 
+-/* Define as the return type of signal handlers (int or void).  */
+-#undef RETSIGTYPE
++/* Define to 1 if you have the <err.h> header file. */
++#undef HAVE_ERR_H
+ 
+-/* Define to `unsigned' if <sys/types.h> doesn't define.  */
+-#undef size_t
++/* Define to 1 if you have the `getcwd' function. */
++#undef HAVE_GETCWD
+ 
+-/* Define if you have the ANSI C header files.  */
+-#undef STDC_HEADERS
++/* Define to 1 if you have the `getdtablesize' function. */
++#undef HAVE_GETDTABLESIZE
+ 
+-/* Define if you can safely include both <sys/time.h> and <time.h>.  */
+-#undef TIME_WITH_SYS_TIME
++/* Define to 1 if you have the `getwd' function. */
++#undef HAVE_GETWD
+ 
+-/* Define if your <sys/time.h> declares struct tm.  */
+-#undef TM_IN_SYS_TIME
++/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H
+ 
+-/* Define if you have the err function.  */
+-#undef HAVE_ERR
++/* Define to 1 if you have the <limits.h> header file. */
++#undef HAVE_LIMITS_H
+ 
+-/* Define if you have the getcwd function.  */
+-#undef HAVE_GETCWD
++/* Define to 1 if you have the <login_cap.h> header file. */
++#undef HAVE_LOGIN_CAP_H
+ 
+-/* Define if you have the getdtablesize function.  */
+-#undef HAVE_GETDTABLESIZE
++/* Define to 1 if you have the <stdarg.h> header file. */
++#undef HAVE_STDARG_H
+ 
+-/* Define if you have the getwd function.  */
+-#undef HAVE_GETWD
++/* Define to 1 if you have the <stdint.h> header file. */
++#undef HAVE_STDINT_H
++
++/* Define to 1 if you have the <stdio.h> header file. */
++#undef HAVE_STDIO_H
++
++/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H
+ 
+-/* Define if you have the strdup function.  */
++/* Define to 1 if you have the `strdup' function. */
+ #undef HAVE_STRDUP
+ 
+-/* Define if you have the strerror function.  */
++/* Define to 1 if you have the `strerror' function. */
+ #undef HAVE_STRERROR
+ 
+-/* Define if you have the strsep function.  */
++/* Define to 1 if you have the <stringlist.h> header file. */
++#undef HAVE_STRINGLIST_H
++
++/* Define to 1 if you have the <strings.h> header file. */
++#undef HAVE_STRINGS_H
++
++/* Define to 1 if you have the <string.h> header file. */
++#undef HAVE_STRING_H
++
++/* Define to 1 if you have the `strsep' function. */
+ #undef HAVE_STRSEP
+ 
+-/* Define if you have the strspn function.  */
++/* Define to 1 if you have the `strspn' function. */
+ #undef HAVE_STRSPN
+ 
+-/* Define if you have the strtoul function.  */
++/* Define to 1 if you have the `strtoul' function. */
+ #undef HAVE_STRTOUL
+ 
+-/* Define if you have the syslog function.  */
++/* Define to 1 if you have the `syslog' function. */
+ #undef HAVE_SYSLOG
+ 
+-/* Define if you have the <limits.h> header file.  */
+-#undef HAVE_LIMITS_H
++/* Define to 1 if you have the <syslog.h> header file. */
++#undef HAVE_SYSLOG_H
+ 
+-/* Define if you have the <stdarg.h> header file.  */
+-#undef HAVE_STDARG_H
++/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H
+ 
+-/* Define if you have the <stdlib.h> header file.  */
+-#undef HAVE_STDLIB_H
++/* Define to 1 if you have the <sys/syslog.h> header file. */
++#undef HAVE_SYS_SYSLOG_H
+ 
+-/* Define if you have the <string.h> header file.  */
+-#undef HAVE_STRING_H
++/* Define to 1 if you have the <sys/time.h> header file. */
++#undef HAVE_SYS_TIME_H
+ 
+-/* Define if you have the <stringlist.h> header file.  */
+-#undef HAVE_STRINGLIST_H
++/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H
+ 
+-/* Define if you have the <sys/syslog.h> header file.  */
+-#undef HAVE_SYS_SYSLOG_H
++/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H
+ 
+-/* Define if you have the <syslog.h> header file.  */
+-#undef HAVE_SYSLOG_H
++/* Define to 1 if you have the `vprintf' function. */
++#undef HAVE_VPRINTF
+ 
+-/* Define if you have the <unistd.h> header file.  */
+-#undef HAVE_UNISTD_H
++/* Define to the address where bug reports for this package should be sent. */
++#undef PACKAGE_BUGREPORT
++
++/* Define to the full name of this package. */
++#undef PACKAGE_NAME
++
++/* Define to the full name and version of this package. */
++#undef PACKAGE_STRING
++
++/* Define to the one symbol short name of this package. */
++#undef PACKAGE_TARNAME
++
++/* Define to the home page for this package. */
++#undef PACKAGE_URL
++
++/* Define to the version of this package. */
++#undef PACKAGE_VERSION
++
++/* Define as the return type of signal handlers (`int' or `void'). */
++#undef RETSIGTYPE
++
++/* Define to 1 if all of the C90 standard headers exist (not just the ones
++   required in a freestanding environment). This macro is provided for
++   backward compatibility; new code need not use it. */
++#undef STDC_HEADERS
++
++/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. This
++   macro is obsolete. */
++#undef TIME_WITH_SYS_TIME
++
++/* Define to 1 if your <sys/time.h> declares `struct tm'. */
++#undef TM_IN_SYS_TIME
++
++/* Define to empty if `const' does not conform to ANSI C. */
++#undef const
++
++/* Define to `unsigned int' if <sys/types.h> does not define. */
++#undef size_t
+ 
+ /* the path to the su program on your system  */
+ #undef PATH_SU
diff -r d4beffc35ca4 -r d73901d625d8 security/priv/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/priv/patches/patch-configure     Sun Apr 11 06:52:54 2021 +0000
@@ -0,0 +1,6875 @@
+$NetBSD: patch-configure,v 1.1 2021/04/11 06:52:54 kim Exp $
+
+Avoid calling "autoreconf -fi" during pre-configure.
+
+--- configure~ 2004-02-09 04:38:57.000000000 +0000
++++ configure  2021-04-11 06:43:25.160035378 +0000
+@@ -1,26 +1,730 @@
+ #! /bin/sh
+-
+ # Guess values for system-dependent variables and create Makefiles.
+-# Generated automatically using autoconf version 2.13 
+-# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
++# Generated by GNU Autoconf 2.71.
++#
++#
++# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
++# Inc.
++#
+ #
+ # This configure script is free software; the Free Software Foundation
+ # gives unlimited permission to copy, distribute and modify it.
++## -------------------- ##
++## M4sh Initialization. ##
++## -------------------- ##
++
++# Be more Bourne compatible
++DUALCASE=1; export DUALCASE # for MKS sh
++as_nop=:
++if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
++then :
++  emulate sh
++  NULLCMD=:
++  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
++  # is contrary to our usage.  Disable this feature.
++  alias -g '${1+"$@"}'='"$@"'
++  setopt NO_GLOB_SUBST
++else $as_nop
++  case `(set -o) 2>/dev/null` in #(
++  *posix*) :
++    set -o posix ;; #(
++  *) :
++     ;;
++esac
++fi
++
++
++
++# Reset variables that may have inherited troublesome values from
++# the environment.
++
++# IFS needs to be set, to space, tab, and newline, in precisely that order.
++# (If _AS_PATH_WALK were called with IFS unset, it would have the
++# side effect of setting IFS to empty, thus disabling word splitting.)
++# Quoting is to prevent editors from complaining about space-tab.
++as_nl='
++'
++export as_nl



Home | Main Index | Thread Index | Old Index