diff options
author | Stuart Shelton <stuart@shelton.me> | 2014-08-30 14:21:07 +0100 |
---|---|---|
committer | Stuart Shelton <stuart@shelton.me> | 2014-08-30 14:21:07 +0100 |
commit | 01b5fbb69354a17975ec2b79e6ec5436430f83d5 (patch) | |
tree | c4b4ad8c318d2f4536b58a3977c100ef1fa16ad0 /app-misc | |
parent | Update sys-apps/kmod-16, sys-apps/kmod-17, sys-apps/kmod-18, sys-apps/kmod-18-r1 (diff) | |
download | srcshelton-01b5fbb69354a17975ec2b79e6ec5436430f83d5.tar.gz srcshelton-01b5fbb69354a17975ec2b79e6ec5436430f83d5.tar.bz2 srcshelton-01b5fbb69354a17975ec2b79e6ec5436430f83d5.zip |
Update app-misc/screen-4.2.1-r2
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/screen/Manifest | 2 | ||||
-rw-r--r-- | app-misc/screen/screen-4.2.1-r2.ebuild | 28 |
2 files changed, 18 insertions, 12 deletions
diff --git a/app-misc/screen/Manifest b/app-misc/screen/Manifest index eb10506b..6ab5492e 100644 --- a/app-misc/screen/Manifest +++ b/app-misc/screen/Manifest @@ -15,5 +15,5 @@ AUX screenrc 10412 SHA256 191d91f9fd1e676525a9e1a3bdc5ac73283f948caf74b4bb6e0cfc DIST screen-4.0.3.tar.gz 840602 SHA256 78f0d5b1496084a5902586304d4a73954b2bfe33ea13edceecf21615c39e6c77 SHA512 24c1f598972f3dc9ed49cd2c05852190a0190d22fa01401eee8484627c8dd2815f0a422d9b2697faa8aaa0b3efc6730a94e2d5aa787dbe5e9ec719143176c338 WHIRLPOOL 6774786126eb05749d432593bc2c1febdc57896959220a609feb138bdc16b8da278aea63af1ccfd5c7d38ccaa9e7d28980e9e14d0009d36a54cdbd9e4cb0fca7 DIST screen-4.2.1.tar.gz 1062485 SHA256 5468545047e301d2b3579f9d9ce00466d14a7eec95ce806e3834a3d6b0b9b080 SHA512 30826b2a2fc436483276b90cc4c6679470f7ccb7098c9bb8457d0e534998cd12da02882cf80678465f6540cade170c3fdc6bdfa31b07359ff0d3ffe2d6063710 WHIRLPOOL 7d4209651a016a9ab91aec385532c6ebd7a6d96a60342721f3a53752924c3fb72aa3d648ad665b67fab0a78d6019396abe13e04f556c7e5e9f71bf3238e64cc5 EBUILD screen-4.0.3-r8.ebuild 5176 SHA256 83deaf9ae5eb8aeaf18b26753773fc23dae1596bbb03c2118b7f7800b0556dee SHA512 738bd26e4b6adb904d4caa1f1ece1ba1aaf746a75219e91cd1c394d3590fea77b8eef07b00636fe96f71671813f0872698c8880f188100d936e3285c31659d05 WHIRLPOOL 58c781eddb1f73e215acb3ff95814fc3b97598a84aaf780aecf9aa663ae1d5fbd42ee34103d1a627c72a5b11dadffcb3c64c62e645299d12bacafd093b4c8878 -EBUILD screen-4.2.1-r2.ebuild 3869 SHA256 50caf50331cde72769e0ad04e88f9fc1c50539c0e1d27fcbb88a08b8cdbc8a1d SHA512 00dfe6a7f60c12fe7b5545bcf34401c1cbb617e30325d5745c0caf56075ef13fa2c57a364f4d2a19e6e6d49ab689180cc1f632cc0a1a48338af9aca2b73c6e4d WHIRLPOOL c370928dc33d928c0e1ccc70bc9c19674d6d8cad946b1a80a4c745bb1f4ae42d123645e180902ec323a0a24fc57588845baceb31a66bbfbea9e73b37ff55dc7c +EBUILD screen-4.2.1-r2.ebuild 4166 SHA256 de0006c20938400412b658137fa5467d2333f76508f5b7c2afa905810877b657 SHA512 d8622d6976d73b896d5a2e34f5a7d40ab0829d711282e0e1f829a95e3a1b64b85092fd89d1bc93ca1960cb8faf49782208d6283b6e79f842553b8ffac242f9ec WHIRLPOOL 0d6f0de96c7f80d416944c824c93a40338997d8628891b39b7fdf28b0476b52a2513e6de24222b21dd346350c89e7124a7fd92c7a6dee7b95abab24bce0d3291 EBUILD screen-9999.ebuild 3382 SHA256 0de79b60d87e5a2b7416694b1538abaa5e32d955d4d3fa8b09f95bf97a23edfe SHA512 7840a9b212fbfee02c51013d8fe6d4791d231cd7344e9ab241cbd566f52cbc1636fbce3ba64d307916f3d90571a39438da05f0991f6eaaca72f1439b609a42e7 WHIRLPOOL c38653fb935699b7176b2ddf54d88d84d9cce463955957b7b437ae02951cc81e3eed578882158db2cd3f59b32a7b7d2ba55a21c4d01039296e877dfe87666cd5 diff --git a/app-misc/screen/screen-4.2.1-r2.ebuild b/app-misc/screen/screen-4.2.1-r2.ebuild index 3713c3d2..9702581f 100644 --- a/app-misc/screen/screen-4.2.1-r2.ebuild +++ b/app-misc/screen/screen-4.2.1-r2.ebuild @@ -82,15 +82,14 @@ src_install() { dobin screen - if use multiuser ; then - use prefix || fperms 4755 /usr/bin/screen - tmpfiles_perms="0755" + tmpfiles_perms="0775" + tmpfiles_group="utmp" + if use multiuser && ! use prefix; then + fperms 4755 /usr/bin/screen tmpfiles_group="root" else - fowners root:utmp /usr/bin/screen + use prefix || fowners root:utmp /usr/bin/screen fperms 2755 /usr/bin/screen - tmpfiles_perms="0775" - tmpfiles_group="utmp" fi if use tmpfiles; then @@ -127,13 +126,20 @@ pkg_postinst() { # add /var/run/screen in case it doesn't exist yet. This should solve # problems like bug #508634 where tmpfiles.d isn't in effect. local rundir="${EROOT%/}/var/run/screen" - if [[ ! -d ${rundir} ]] ; then - if use multiuser || use prefix ; then + if [[ ! -d "${rundir}" ]] ; then + tmpfiles_group="utmp" + if use multiuser && ! use prefix ; then tmpfiles_group="root" - else - tmpfiles_group="utmp" fi mkdir -m 0775 "${rundir}" - chgrp ${tmpfiles_group} "${rundir}" + use prefix || chgrp ${tmpfiles_group} "${rundir}" + fi + + if use multiuser && use prefix; then + elog "In order to allow screen to work correctly, please execute:" + elog " chmod 4755 ${EPREFIX}/usr/bin/screen" + elog " chown root:utmp ${EPREFIX}/usr/bin/screen" + elog " chgrp ${tmpfiles_group} ${rundir}" + elog "... as a privileged user" fi } |