app-shells/bash: use the system mktemp/mkstemp funcs #574426
authorMike Frysinger <vapier@gentoo.org>
Mon, 16 May 2016 15:24:04 +0000 (11:24 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 16 May 2016 18:20:08 +0000 (14:20 -0400)
app-shells/bash/bash-2.05b_p13.ebuild
app-shells/bash/bash-3.0_p22.ebuild
app-shells/bash/bash-3.1_p23.ebuild
app-shells/bash/bash-3.2_p57.ebuild
app-shells/bash/bash-4.0_p44.ebuild
app-shells/bash/bash-4.1_p17.ebuild
app-shells/bash/bash-4.2_p53.ebuild
app-shells/bash/bash-4.3_p39_pre0.ebuild
app-shells/bash/bash-4.3_p42-r1.ebuild
app-shells/bash/bash-4.3_p42-r2.ebuild
app-shells/bash/bash-4.4_rc1.ebuild

index 1863ad9d4b6b749dbbf6ad8a9c31071246dadcd8..c4195dfbc5b1ce9f02edd7947413a2e60236bdce 100644 (file)
@@ -88,14 +88,15 @@ src_configure() {
        export bash_cv_pgrp_pipe=yes
 
        # For descriptions of these, see config-top.h
-       # bashrc/#26952 bash_logout/#90488 ssh/#24762
+       # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
        append-cppflags \
                -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
                -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
                -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
                -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
                -DNON_INTERACTIVE_LOGIN_SHELLS \
-               -DSSH_SOURCE_BASHRC
+               -DSSH_SOURCE_BASHRC \
+               -DUSE_MKTEMP -DUSE_MKSTEMP
 
        use static && append-ldflags -static
        use nls || myconf+=( --disable-nls )
index b1d557938f394b297965d5634055707e11ab822a..61e66c60f9edd2b8ce6319a1847d1ee47f752fe1 100644 (file)
@@ -96,14 +96,15 @@ src_configure() {
        export bash_cv_pgrp_pipe=yes
 
        # For descriptions of these, see config-top.h
-       # bashrc/#26952 bash_logout/#90488 ssh/#24762
+       # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
        append-cppflags \
                -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
                -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
                -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
                -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
                -DNON_INTERACTIVE_LOGIN_SHELLS \
-               -DSSH_SOURCE_BASHRC
+               -DSSH_SOURCE_BASHRC \
+               -DUSE_MKTEMP -DUSE_MKSTEMP
 
        use static && append-ldflags -static
        use nls || myconf+=( --disable-nls )
index 620cbe368ae59a65052cc44b31e9e9f29006b1b4..b2eb83a1e3e6ccfbb4e9f77c9b61103686ca0352 100644 (file)
@@ -88,14 +88,15 @@ src_configure() {
        export bash_cv_pgrp_pipe=yes
 
        # For descriptions of these, see config-top.h
-       # bashrc/#26952 bash_logout/#90488 ssh/#24762
+       # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
        append-cppflags \
                -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
                -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
                -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
                -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
                -DNON_INTERACTIVE_LOGIN_SHELLS \
-               -DSSH_SOURCE_BASHRC
+               -DSSH_SOURCE_BASHRC \
+               -DUSE_MKTEMP -DUSE_MKSTEMP
 
        use static && append-ldflags -static
        use nls || myconf+=( --disable-nls )
index d27032812a6d2404713cfc2e49cd24e311fe3248..23c15ce74132968954796e6967c57a876554c32f 100644 (file)
@@ -90,14 +90,15 @@ src_configure() {
        export bash_cv_pgrp_pipe=yes
 
        # For descriptions of these, see config-top.h
-       # bashrc/#26952 bash_logout/#90488 ssh/#24762
+       # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
        append-cppflags \
                -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
                -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
                -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
                -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
                -DNON_INTERACTIVE_LOGIN_SHELLS \
-               -DSSH_SOURCE_BASHRC
+               -DSSH_SOURCE_BASHRC \
+               -DUSE_MKTEMP -DUSE_MKSTEMP
 
        use static && append-ldflags -static
        use nls || myconf+=( --disable-nls )
index 17211a6c3effaf7356356fa5e7e7e98c777f9cf4..48cd10c0c89c4ec513a78ac98c4bcd8e91b77436 100644 (file)
@@ -84,14 +84,15 @@ src_configure() {
        local myconf=()
 
        # For descriptions of these, see config-top.h
-       # bashrc/#26952 bash_logout/#90488 ssh/#24762
+       # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
        append-cppflags \
                -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
                -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
                -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
                -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
                -DNON_INTERACTIVE_LOGIN_SHELLS \
-               -DSSH_SOURCE_BASHRC
+               -DSSH_SOURCE_BASHRC \
+               -DUSE_MKTEMP -DUSE_MKSTEMP
 
        use static && append-ldflags -static
        use nls || myconf+=( --disable-nls )
index 1d34fdd98acaf26ce3682b016d3f3653b8811733..b7901f961b83ca34289fb32f2a021dc287fe786d 100644 (file)
@@ -81,14 +81,15 @@ src_configure() {
        myconf+=( --without-lispdir ) #335896
 
        # For descriptions of these, see config-top.h
-       # bashrc/#26952 bash_logout/#90488 ssh/#24762
+       # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
        append-cppflags \
                -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
                -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
                -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
                -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
                -DNON_INTERACTIVE_LOGIN_SHELLS \
-               -DSSH_SOURCE_BASHRC
+               -DSSH_SOURCE_BASHRC \
+               -DUSE_MKTEMP -DUSE_MKSTEMP
 
        use static && append-ldflags -static
        use nls || myconf+=( --disable-nls )
index 98d2e555595cf1be385b37702f3723e06076a544..7b42189543e46285e5660b7613138beb1a9f59aa 100644 (file)
@@ -86,14 +86,15 @@ src_configure() {
        local myconf=()
 
        # For descriptions of these, see config-top.h
-       # bashrc/#26952 bash_logout/#90488 ssh/#24762
+       # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
        append-cppflags \
                -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
                -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
                -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
                -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
                -DNON_INTERACTIVE_LOGIN_SHELLS \
-               -DSSH_SOURCE_BASHRC
+               -DSSH_SOURCE_BASHRC \
+               -DUSE_MKTEMP -DUSE_MKSTEMP
 
        use static && append-ldflags -static
        use nls || myconf+=( --disable-nls )
index 4bc8ea9bce8a0c04ac3b21bf6d418b0163795e51..ee081c7298c17667f635d6c146f8227ecc4cc3c5 100644 (file)
@@ -66,14 +66,15 @@ src_configure() {
        local myconf=()
 
        # For descriptions of these, see config-top.h
-       # bashrc/#26952 bash_logout/#90488 ssh/#24762
+       # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
        append-cppflags \
                -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
                -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
                -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
                -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
                -DNON_INTERACTIVE_LOGIN_SHELLS \
-               -DSSH_SOURCE_BASHRC
+               -DSSH_SOURCE_BASHRC \
+               -DUSE_MKTEMP -DUSE_MKSTEMP
 
        # Force internal copy of termcap to be used (to avoid ncurses dep).
        export bash_cv_termcap_lib=gnutermcap
index 8e9fbc2d31133b9aa3797c0b4417153aee3a634d..6c14466cf8db37c1b8b885ef6c8ca2af7f644ed1 100644 (file)
@@ -95,7 +95,7 @@ src_configure() {
        local myconf=()
 
        # For descriptions of these, see config-top.h
-       # bashrc/#26952 bash_logout/#90488 ssh/#24762
+       # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
        append-cppflags \
                -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
                -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
@@ -103,6 +103,7 @@ src_configure() {
                -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
                -DNON_INTERACTIVE_LOGIN_SHELLS \
                -DSSH_SOURCE_BASHRC \
+               -DUSE_MKTEMP -DUSE_MKSTEMP \
                $(use bashlogger && echo -DSYSLOG_HISTORY)
 
        # Don't even think about building this statically without
index c914d0429b89055af403499596a13440dadd0c65..1d61b208da9c1f5e54d5161be41b6830447d7c45 100644 (file)
@@ -95,7 +95,7 @@ src_configure() {
        local myconf=()
 
        # For descriptions of these, see config-top.h
-       # bashrc/#26952 bash_logout/#90488 ssh/#24762
+       # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
        append-cppflags \
                -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
                -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
@@ -103,6 +103,7 @@ src_configure() {
                -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
                -DNON_INTERACTIVE_LOGIN_SHELLS \
                -DSSH_SOURCE_BASHRC \
+               -DUSE_MKTEMP -DUSE_MKSTEMP \
                $(use bashlogger && echo -DSYSLOG_HISTORY)
 
        # Don't even think about building this statically without
index 556e9dd24a8cc9537cf95c5fda76076ae3fa6543..e0f7336f8eafe8656ecc2bc98716ec41692e2df1 100644 (file)
@@ -92,7 +92,7 @@ src_configure() {
        local myconf=()
 
        # For descriptions of these, see config-top.h
-       # bashrc/#26952 bash_logout/#90488 ssh/#24762
+       # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
        append-cppflags \
                -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
                -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
@@ -100,6 +100,7 @@ src_configure() {
                -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
                -DNON_INTERACTIVE_LOGIN_SHELLS \
                -DSSH_SOURCE_BASHRC \
+               -DUSE_MKTEMP -DUSE_MKSTEMP \
                $(use bashlogger && echo -DSYSLOG_HISTORY)
 
        # Don't even think about building this statically without