summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/screen/screen_4.3.1.bb
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2015-08-13 16:26:43 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-16 22:40:54 +0100
commite623c1098708ae1bffbc581bc7cda400b925337c (patch)
treeee6a1bca0df0795fb36236d3b6b75be7ad8b4619 /meta/recipes-extended/screen/screen_4.3.1.bb
parentb3ec91dd4c0793e6b01b7eaec050d13cac1c8960 (diff)
downloadpoky-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.bb49
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 @@
1SUMMARY = "Multiplexing terminal manager"
2DESCRIPTION = "Screen is a full-screen window manager \
3that multiplexes a physical terminal between several \
4processes, typically interactive shells."
5HOMEPAGE = "http://www.gnu.org/software/screen/"
6BUGTRACKER = "https://savannah.gnu.org/bugs/?func=additem&group=screen"
7
8SECTION = "console/utils"
9
10LICENSE = "GPLv3+"
11LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
12 file://screen.h;endline=26;md5=3971142989289a8198a544220703c2bf"
13
14DEPENDS = "ncurses \
15 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
16RDEPENDS_${PN} = "base-files"
17
18SRC_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
26SRC_URI[md5sum] = "5bb3b0ff2674e29378c31ad3411170ad"
27SRC_URI[sha256sum] = "fa4049f8aee283de62e283d427f2cfd35d6c369b40f7f45f947dbfd915699d63"
28
29inherit autotools texinfo
30
31PACKAGECONFIG ??= ""
32PACKAGECONFIG[utempter] = "ac_cv_header_utempter_h=yes,ac_cv_header_utempter_h=no,libutempter,"
33
34EXTRA_OECONF = "--with-pty-mode=0620 --with-pty-group=5 \
35 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}"
36
37do_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
43pkg_postinst_${PN} () {
44 grep -q "^${bindir}/screen$" $D${sysconfdir}/shells || echo ${bindir}/screen >> $D${sysconfdir}/shells
45}
46
47pkg_postrm_${PN} () {
48 printf "$(grep -v "^${bindir}/screen$" $D${sysconfdir}/shells)\n" > $D${sysconfdir}/shells
49}