diff options
| author | Adrian Bunk <bunk@stusta.de> | 2019-05-20 19:30:52 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-04 09:09:42 +0100 |
| commit | 707c0830c67a27250475a5985a1c1e7c84e3231d (patch) | |
| tree | f08b2b84c1079e6121fa598543410658cf3d8e22 | |
| parent | 5690aa952a6ad3f8df500636cfe4ce14bc825059 (diff) | |
| download | poky-707c0830c67a27250475a5985a1c1e7c84e3231d.tar.gz | |
libpam: Upgrade 1.3.0 -> 1.3.1
Remove patch applied upstream.
Upstream tarball location changed.
(From OE-Core rev: 40b1825a4434334f3513f94775b176545f8d2f3a)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-extended/pam/libpam/libpam-xtests-remove-bash-dependency.patch | 226 | ||||
| -rw-r--r-- | meta/recipes-extended/pam/libpam_1.3.1.bb (renamed from meta/recipes-extended/pam/libpam_1.3.0.bb) | 9 |
2 files changed, 3 insertions, 232 deletions
diff --git a/meta/recipes-extended/pam/libpam/libpam-xtests-remove-bash-dependency.patch b/meta/recipes-extended/pam/libpam/libpam-xtests-remove-bash-dependency.patch deleted file mode 100644 index 680029ae0d..0000000000 --- a/meta/recipes-extended/pam/libpam/libpam-xtests-remove-bash-dependency.patch +++ /dev/null | |||
| @@ -1,226 +0,0 @@ | |||
| 1 | From 555407ff6e2f742df64ae93859f14a0fc1397829 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Wenzong Fan <wenzong.fan@windriver.com> | ||
| 3 | Date: Fri, 12 Sep 2014 05:35:05 -0400 | ||
| 4 | Subject: [PATCH] libpam/xtests: remove bash dependency | ||
| 5 | |||
| 6 | There's not bash specific syntax in the xtest scripts: | ||
| 7 | |||
| 8 | # after below patches applied: | ||
| 9 | $ cd Linux-PAM-1.1.6/xtests | ||
| 10 | $ checkbashisms *.sh | ||
| 11 | No output | ||
| 12 | |||
| 13 | Just remove the runtime dependency to bash. | ||
| 14 | |||
| 15 | Upstream-Status: Pending | ||
| 16 | |||
| 17 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
| 18 | --- | ||
| 19 | xtests/run-xtests.sh | 2 +- | ||
| 20 | xtests/tst-pam_access1.sh | 2 +- | ||
| 21 | xtests/tst-pam_access2.sh | 2 +- | ||
| 22 | xtests/tst-pam_access3.sh | 2 +- | ||
| 23 | xtests/tst-pam_access4.sh | 2 +- | ||
| 24 | xtests/tst-pam_assemble_line1.sh | 2 +- | ||
| 25 | xtests/tst-pam_group1.sh | 2 +- | ||
| 26 | xtests/tst-pam_limits1.sh | 2 +- | ||
| 27 | xtests/tst-pam_pwhistory1.sh | 2 +- | ||
| 28 | xtests/tst-pam_substack1.sh | 2 +- | ||
| 29 | xtests/tst-pam_substack2.sh | 2 +- | ||
| 30 | xtests/tst-pam_substack3.sh | 2 +- | ||
| 31 | xtests/tst-pam_substack4.sh | 2 +- | ||
| 32 | xtests/tst-pam_substack5.sh | 2 +- | ||
| 33 | xtests/tst-pam_succeed_if1.sh | 2 +- | ||
| 34 | xtests/tst-pam_unix1.sh | 2 +- | ||
| 35 | xtests/tst-pam_unix2.sh | 2 +- | ||
| 36 | xtests/tst-pam_unix3.sh | 2 +- | ||
| 37 | xtests/tst-pam_unix4.sh | 2 +- | ||
| 38 | 19 files changed, 19 insertions(+), 19 deletions(-) | ||
| 39 | |||
| 40 | diff --git a/xtests/run-xtests.sh b/xtests/run-xtests.sh | ||
| 41 | index 3a89057..1cf8684 100755 | ||
| 42 | --- a/xtests/run-xtests.sh | ||
| 43 | +++ b/xtests/run-xtests.sh | ||
| 44 | @@ -1,4 +1,4 @@ | ||
| 45 | -#!/bin/bash | ||
| 46 | +#!/bin/sh | ||
| 47 | |||
| 48 | SRCDIR=$1 | ||
| 49 | shift 1 | ||
| 50 | diff --git a/xtests/tst-pam_access1.sh b/xtests/tst-pam_access1.sh | ||
| 51 | index 180d256..70521d2 100755 | ||
| 52 | --- a/xtests/tst-pam_access1.sh | ||
| 53 | +++ b/xtests/tst-pam_access1.sh | ||
| 54 | @@ -1,4 +1,4 @@ | ||
| 55 | -#!/bin/bash | ||
| 56 | +#!/bin/sh | ||
| 57 | |||
| 58 | /usr/sbin/groupadd tstpamaccess | ||
| 59 | /usr/sbin/useradd -G tstpamaccess -p '!!' tstpamaccess1 | ||
| 60 | diff --git a/xtests/tst-pam_access2.sh b/xtests/tst-pam_access2.sh | ||
| 61 | index 0a30275..7e3e60f 100755 | ||
| 62 | --- a/xtests/tst-pam_access2.sh | ||
| 63 | +++ b/xtests/tst-pam_access2.sh | ||
| 64 | @@ -1,4 +1,4 @@ | ||
| 65 | -#!/bin/bash | ||
| 66 | +#!/bin/sh | ||
| 67 | |||
| 68 | /usr/sbin/groupadd tstpamaccess | ||
| 69 | /usr/sbin/useradd -p '!!' tstpamaccess2 | ||
| 70 | diff --git a/xtests/tst-pam_access3.sh b/xtests/tst-pam_access3.sh | ||
| 71 | index 348e0c3..3630e2e 100755 | ||
| 72 | --- a/xtests/tst-pam_access3.sh | ||
| 73 | +++ b/xtests/tst-pam_access3.sh | ||
| 74 | @@ -1,4 +1,4 @@ | ||
| 75 | -#!/bin/bash | ||
| 76 | +#!/bin/sh | ||
| 77 | |||
| 78 | /usr/sbin/useradd -p '!!' tstpamaccess3 | ||
| 79 | ./tst-pam_access3 | ||
| 80 | diff --git a/xtests/tst-pam_access4.sh b/xtests/tst-pam_access4.sh | ||
| 81 | index 61e7b44..4538df4 100755 | ||
| 82 | --- a/xtests/tst-pam_access4.sh | ||
| 83 | +++ b/xtests/tst-pam_access4.sh | ||
| 84 | @@ -1,4 +1,4 @@ | ||
| 85 | -#!/bin/bash | ||
| 86 | +#!/bin/sh | ||
| 87 | |||
| 88 | /usr/sbin/useradd -p '!!' tstpamaccess4 | ||
| 89 | ./tst-pam_access4 | ||
| 90 | diff --git a/xtests/tst-pam_assemble_line1.sh b/xtests/tst-pam_assemble_line1.sh | ||
| 91 | index 248d47e..dc2a675 100755 | ||
| 92 | --- a/xtests/tst-pam_assemble_line1.sh | ||
| 93 | +++ b/xtests/tst-pam_assemble_line1.sh | ||
| 94 | @@ -1,3 +1,3 @@ | ||
| 95 | -#!/bin/bash | ||
| 96 | +#!/bin/sh | ||
| 97 | |||
| 98 | exec ./tst-pam_authfail tst-pam_assemble_line1 | ||
| 99 | diff --git a/xtests/tst-pam_group1.sh b/xtests/tst-pam_group1.sh | ||
| 100 | index b76377f..44faca9 100755 | ||
| 101 | --- a/xtests/tst-pam_group1.sh | ||
| 102 | +++ b/xtests/tst-pam_group1.sh | ||
| 103 | @@ -1,4 +1,4 @@ | ||
| 104 | -#!/bin/bash | ||
| 105 | +#!/bin/sh | ||
| 106 | |||
| 107 | /usr/sbin/groupadd tstpamgrpg | ||
| 108 | /usr/sbin/useradd -p '!!' tstpamgrp | ||
| 109 | diff --git a/xtests/tst-pam_limits1.sh b/xtests/tst-pam_limits1.sh | ||
| 110 | index 4faa822..32c021d 100755 | ||
| 111 | --- a/xtests/tst-pam_limits1.sh | ||
| 112 | +++ b/xtests/tst-pam_limits1.sh | ||
| 113 | @@ -1,4 +1,4 @@ | ||
| 114 | -#!/bin/bash | ||
| 115 | +#!/bin/sh | ||
| 116 | |||
| 117 | /usr/sbin/useradd -p '!!' tstpamlimits | ||
| 118 | ./tst-pam_limits1 | ||
| 119 | diff --git a/xtests/tst-pam_pwhistory1.sh b/xtests/tst-pam_pwhistory1.sh | ||
| 120 | index ddb3b8b..0f212e2 100644 | ||
| 121 | --- a/xtests/tst-pam_pwhistory1.sh | ||
| 122 | +++ b/xtests/tst-pam_pwhistory1.sh | ||
| 123 | @@ -1,4 +1,4 @@ | ||
| 124 | -#!/bin/bash | ||
| 125 | +#!/bin/sh | ||
| 126 | |||
| 127 | /usr/sbin/useradd tstpampwhistory | ||
| 128 | ./tst-pam_pwhistory1 | ||
| 129 | diff --git a/xtests/tst-pam_substack1.sh b/xtests/tst-pam_substack1.sh | ||
| 130 | index 5260175..f1b72a7 100755 | ||
| 131 | --- a/xtests/tst-pam_substack1.sh | ||
| 132 | +++ b/xtests/tst-pam_substack1.sh | ||
| 133 | @@ -1,3 +1,3 @@ | ||
| 134 | -#!/bin/bash | ||
| 135 | +#!/bin/sh | ||
| 136 | |||
| 137 | exec ./tst-pam_authfail tst-pam_substack1 | ||
| 138 | diff --git a/xtests/tst-pam_substack2.sh b/xtests/tst-pam_substack2.sh | ||
| 139 | index c02f597..3804fa7 100755 | ||
| 140 | --- a/xtests/tst-pam_substack2.sh | ||
| 141 | +++ b/xtests/tst-pam_substack2.sh | ||
| 142 | @@ -1,3 +1,3 @@ | ||
| 143 | -#!/bin/bash | ||
| 144 | +#!/bin/sh | ||
| 145 | |||
| 146 | exec ./tst-pam_authsucceed tst-pam_substack2 | ||
| 147 | diff --git a/xtests/tst-pam_substack3.sh b/xtests/tst-pam_substack3.sh | ||
| 148 | index 0e572aa..aa48e8e 100755 | ||
| 149 | --- a/xtests/tst-pam_substack3.sh | ||
| 150 | +++ b/xtests/tst-pam_substack3.sh | ||
| 151 | @@ -1,3 +1,3 @@ | ||
| 152 | -#!/bin/bash | ||
| 153 | +#!/bin/sh | ||
| 154 | |||
| 155 | exec ./tst-pam_authsucceed tst-pam_substack3 | ||
| 156 | diff --git a/xtests/tst-pam_substack4.sh b/xtests/tst-pam_substack4.sh | ||
| 157 | index a3ef08a..958a07a 100755 | ||
| 158 | --- a/xtests/tst-pam_substack4.sh | ||
| 159 | +++ b/xtests/tst-pam_substack4.sh | ||
| 160 | @@ -1,3 +1,3 @@ | ||
| 161 | -#!/bin/bash | ||
| 162 | +#!/bin/sh | ||
| 163 | |||
| 164 | exec ./tst-pam_authsucceed tst-pam_substack4 | ||
| 165 | diff --git a/xtests/tst-pam_substack5.sh b/xtests/tst-pam_substack5.sh | ||
| 166 | index e2714fd..7e0da74 100755 | ||
| 167 | --- a/xtests/tst-pam_substack5.sh | ||
| 168 | +++ b/xtests/tst-pam_substack5.sh | ||
| 169 | @@ -1,3 +1,3 @@ | ||
| 170 | -#!/bin/bash | ||
| 171 | +#!/bin/sh | ||
| 172 | |||
| 173 | exec ./tst-pam_authfail tst-pam_substack5 | ||
| 174 | diff --git a/xtests/tst-pam_succeed_if1.sh b/xtests/tst-pam_succeed_if1.sh | ||
| 175 | index a643b2e..58e57b4 100755 | ||
| 176 | --- a/xtests/tst-pam_succeed_if1.sh | ||
| 177 | +++ b/xtests/tst-pam_succeed_if1.sh | ||
| 178 | @@ -1,4 +1,4 @@ | ||
| 179 | -#!/bin/bash | ||
| 180 | +#!/bin/sh | ||
| 181 | |||
| 182 | /usr/sbin/useradd -p '!!' tstpamtest | ||
| 183 | /usr/sbin/useradd -p '!!' pamtest | ||
| 184 | diff --git a/xtests/tst-pam_unix1.sh b/xtests/tst-pam_unix1.sh | ||
| 185 | index f75bd84..72deac0 100755 | ||
| 186 | --- a/xtests/tst-pam_unix1.sh | ||
| 187 | +++ b/xtests/tst-pam_unix1.sh | ||
| 188 | @@ -1,4 +1,4 @@ | ||
| 189 | -#!/bin/bash | ||
| 190 | +#!/bin/sh | ||
| 191 | |||
| 192 | /usr/sbin/useradd -p '!!' tstpamunix | ||
| 193 | ./tst-pam_unix1 | ||
| 194 | diff --git a/xtests/tst-pam_unix2.sh b/xtests/tst-pam_unix2.sh | ||
| 195 | index 7093155..c04d6e6 100755 | ||
| 196 | --- a/xtests/tst-pam_unix2.sh | ||
| 197 | +++ b/xtests/tst-pam_unix2.sh | ||
| 198 | @@ -1,4 +1,4 @@ | ||
| 199 | -#!/bin/bash | ||
| 200 | +#!/bin/sh | ||
| 201 | |||
| 202 | # pamunix0 = 0aXKZztA.d1KY | ||
| 203 | /usr/sbin/useradd -p 0aXKZztA.d1KY tstpamunix | ||
| 204 | diff --git a/xtests/tst-pam_unix3.sh b/xtests/tst-pam_unix3.sh | ||
| 205 | index ef4a07c..b52db2b 100755 | ||
| 206 | --- a/xtests/tst-pam_unix3.sh | ||
| 207 | +++ b/xtests/tst-pam_unix3.sh | ||
| 208 | @@ -1,4 +1,4 @@ | ||
| 209 | -#!/bin/bash | ||
| 210 | +#!/bin/sh | ||
| 211 | |||
| 212 | # pamunix01 = 0aXKZztA.d1KYIuFXArmd2jU | ||
| 213 | /usr/sbin/useradd -p 0aXKZztA.d1KYIuFXArmd2jU tstpamunix | ||
| 214 | diff --git a/xtests/tst-pam_unix4.sh b/xtests/tst-pam_unix4.sh | ||
| 215 | index 787c2f9..e7976fd 100755 | ||
| 216 | --- a/xtests/tst-pam_unix4.sh | ||
| 217 | +++ b/xtests/tst-pam_unix4.sh | ||
| 218 | @@ -1,4 +1,4 @@ | ||
| 219 | -#!/bin/bash | ||
| 220 | +#!/bin/sh | ||
| 221 | |||
| 222 | # pamunix01 = 0aXKZztA.d1KYIuFXArmd2jU | ||
| 223 | /usr/sbin/useradd -p 0aXKZztA.d1KYIuFXArmd2jU tstpamunix | ||
| 224 | -- | ||
| 225 | 1.7.9.5 | ||
| 226 | |||
diff --git a/meta/recipes-extended/pam/libpam_1.3.0.bb b/meta/recipes-extended/pam/libpam_1.3.1.bb index c124e3bb02..63ba0c16aa 100644 --- a/meta/recipes-extended/pam/libpam_1.3.0.bb +++ b/meta/recipes-extended/pam/libpam_1.3.1.bb | |||
| @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7eb5c1bf854e8881005d673599ee74d3 \ | |||
| 11 | file://libpamc/License;md5=a4da476a14c093fdc73be3c3c9ba8fb3 \ | 11 | file://libpamc/License;md5=a4da476a14c093fdc73be3c3c9ba8fb3 \ |
| 12 | " | 12 | " |
| 13 | 13 | ||
| 14 | SRC_URI = "http://linux-pam.org/library/Linux-PAM-${PV}.tar.bz2 \ | 14 | SRC_URI = "https://github.com/linux-pam/linux-pam/releases/download/v${PV}/Linux-PAM-${PV}.tar.xz \ |
| 15 | file://99_pam \ | 15 | file://99_pam \ |
| 16 | file://pam.d/common-account \ | 16 | file://pam.d/common-account \ |
| 17 | file://pam.d/common-auth \ | 17 | file://pam.d/common-auth \ |
| @@ -23,12 +23,11 @@ SRC_URI = "http://linux-pam.org/library/Linux-PAM-${PV}.tar.bz2 \ | |||
| 23 | file://fixsepbuild.patch \ | 23 | file://fixsepbuild.patch \ |
| 24 | file://pam-security-abstract-securetty-handling.patch \ | 24 | file://pam-security-abstract-securetty-handling.patch \ |
| 25 | file://pam-unix-nullok-secure.patch \ | 25 | file://pam-unix-nullok-secure.patch \ |
| 26 | file://libpam-xtests-remove-bash-dependency.patch \ | ||
| 27 | file://crypt_configure.patch \ | 26 | file://crypt_configure.patch \ |
| 28 | " | 27 | " |
| 29 | 28 | ||
| 30 | SRC_URI[md5sum] = "da4b2289b7cfb19583d54e9eaaef1c3a" | 29 | SRC_URI[md5sum] = "558ff53b0fc0563ca97f79e911822165" |
| 31 | SRC_URI[sha256sum] = "241aed1ef522f66ed672719ecf2205ec513fd0075ed80cda8e086a5b1a01d1bb" | 30 | SRC_URI[sha256sum] = "eff47a4ecd833fbf18de9686632a70ee8d0794b79aecb217ebd0ce11db4cd0db" |
| 32 | 31 | ||
| 33 | SRC_URI_append_libc-musl = " file://0001-Add-support-for-defining-missing-funcitonality.patch \ | 32 | SRC_URI_append_libc-musl = " file://0001-Add-support-for-defining-missing-funcitonality.patch \ |
| 34 | file://include_paths_header.patch \ | 33 | file://include_paths_header.patch \ |
| @@ -45,8 +44,6 @@ EXTRA_OECONF = "--with-db-uniquename=_pam \ | |||
| 45 | 44 | ||
| 46 | CFLAGS_append = " -fPIC " | 45 | CFLAGS_append = " -fPIC " |
| 47 | 46 | ||
| 48 | PR = "r5" | ||
| 49 | |||
| 50 | S = "${WORKDIR}/Linux-PAM-${PV}" | 47 | S = "${WORKDIR}/Linux-PAM-${PV}" |
| 51 | 48 | ||
| 52 | inherit autotools gettext pkgconfig | 49 | inherit autotools gettext pkgconfig |
