diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2015-08-13 16:26:43 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-16 22:40:54 +0100 |
commit | e623c1098708ae1bffbc581bc7cda400b925337c (patch) | |
tree | ee6a1bca0df0795fb36236d3b6b75be7ad8b4619 /meta/recipes-extended/screen/screen_4.3.1.bb | |
parent | b3ec91dd4c0793e6b01b7eaec050d13cac1c8960 (diff) | |
download | poky-e623c1098708ae1bffbc581bc7cda400b925337c.tar.gz |
screen: Upgrade 4.0.3 -> 4.3.1
* License is now GPLv3+
* Remove patches that are already in upstream or not applicable
anymore
* Add a patchset to enable cross-compiling 4.3.1 (modified from
http://savannah.gnu.org/bugs/?43223)
(From OE-Core rev: c356d1ab0a807d9c2988b93d706a593fa3bc0fa5)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/screen/screen_4.3.1.bb')
-rw-r--r-- | meta/recipes-extended/screen/screen_4.3.1.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-extended/screen/screen_4.3.1.bb b/meta/recipes-extended/screen/screen_4.3.1.bb new file mode 100644 index 0000000000..f95578b510 --- /dev/null +++ b/meta/recipes-extended/screen/screen_4.3.1.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | SUMMARY = "Multiplexing terminal manager" | ||
2 | DESCRIPTION = "Screen is a full-screen window manager \ | ||
3 | that multiplexes a physical terminal between several \ | ||
4 | processes, typically interactive shells." | ||
5 | HOMEPAGE = "http://www.gnu.org/software/screen/" | ||
6 | BUGTRACKER = "https://savannah.gnu.org/bugs/?func=additem&group=screen" | ||
7 | |||
8 | SECTION = "console/utils" | ||
9 | |||
10 | LICENSE = "GPLv3+" | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | ||
12 | file://screen.h;endline=26;md5=3971142989289a8198a544220703c2bf" | ||
13 | |||
14 | DEPENDS = "ncurses \ | ||
15 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | ||
16 | RDEPENDS_${PN} = "base-files" | ||
17 | |||
18 | SRC_URI = "${GNU_MIRROR}/screen/screen-${PV}.tar.gz \ | ||
19 | file://fix-parallel-make.patch \ | ||
20 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'file://screen.pam', '', d)} \ | ||
21 | file://Remove-redundant-compiler-sanity-checks.patch \ | ||
22 | file://Provide-cross-compile-alternatives-for-AC_TRY_RUN.patch \ | ||
23 | file://Skip-host-file-system-checks-when-cross-compiling.patch \ | ||
24 | file://Avoid-mis-identifying-systems-as-SVR4.patch" | ||
25 | |||
26 | SRC_URI[md5sum] = "5bb3b0ff2674e29378c31ad3411170ad" | ||
27 | SRC_URI[sha256sum] = "fa4049f8aee283de62e283d427f2cfd35d6c369b40f7f45f947dbfd915699d63" | ||
28 | |||
29 | inherit autotools texinfo | ||
30 | |||
31 | PACKAGECONFIG ??= "" | ||
32 | PACKAGECONFIG[utempter] = "ac_cv_header_utempter_h=yes,ac_cv_header_utempter_h=no,libutempter," | ||
33 | |||
34 | EXTRA_OECONF = "--with-pty-mode=0620 --with-pty-group=5 \ | ||
35 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}" | ||
36 | |||
37 | do_install_append () { | ||
38 | if [ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" = "pam" ]; then | ||
39 | install -D -m 644 ${WORKDIR}/screen.pam ${D}/${sysconfdir}/pam.d/screen | ||
40 | fi | ||
41 | } | ||
42 | |||
43 | pkg_postinst_${PN} () { | ||
44 | grep -q "^${bindir}/screen$" $D${sysconfdir}/shells || echo ${bindir}/screen >> $D${sysconfdir}/shells | ||
45 | } | ||
46 | |||
47 | pkg_postrm_${PN} () { | ||
48 | printf "$(grep -v "^${bindir}/screen$" $D${sysconfdir}/shells)\n" > $D${sysconfdir}/shells | ||
49 | } | ||