summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/screen/ChangeLog8
-rw-r--r--app-misc/screen/Manifest34
-rw-r--r--app-misc/screen/files/digest-screen-4.0.33
-rw-r--r--app-misc/screen/screen-4.0.2-r5.ebuild4
-rw-r--r--app-misc/screen/screen-4.0.3.ebuild148
5 files changed, 186 insertions, 11 deletions
diff --git a/app-misc/screen/ChangeLog b/app-misc/screen/ChangeLog
index 057f236175ab..cc0e92a29d1b 100644
--- a/app-misc/screen/ChangeLog
+++ b/app-misc/screen/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/screen
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/ChangeLog,v 1.118 2006/10/17 14:50:22 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/ChangeLog,v 1.119 2006/10/25 17:07:52 swegener Exp $
+
+*screen-4.0.3 (25 Oct 2006)
+
+ 25 Oct 2006; Sven Wegener <swegener@gentoo.org> screen-4.0.2-r5.ebuild,
+ +screen-4.0.3.ebuild:
+ Version bump, security bug #152770.
17 Oct 2006; Roy Marples <uberlord@gentoo.org> screen-4.0.2-r5.ebuild:
Added ~sparc-fbsd keyword.
diff --git a/app-misc/screen/Manifest b/app-misc/screen/Manifest
index 8e5b510fce09..5b951ed7c328 100644
--- a/app-misc/screen/Manifest
+++ b/app-misc/screen/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 4.0.2-64bit-time.patch 298 RMD160 3278d227f1f5c5bce8b7369e9c44fd7e35ac804c SHA1 ab4f298c3c46fe9dad550009def0db8c44b13d22 SHA256 d974e14a1d8e32a0a05b211cd76d9335a066c6b85538505f1d95f25209c99057
MD5 a7f6e6bfb5647c6e69a797eaa16acf3d files/4.0.2-64bit-time.patch 298
RMD160 3278d227f1f5c5bce8b7369e9c44fd7e35ac804c files/4.0.2-64bit-time.patch 298
@@ -35,14 +38,19 @@ MD5 3ddd5c55fd7f0891bb953fc229845898 files/screenrc 10357
RMD160 c4c68748b74207f7ee509de9f79262e3fedc66a8 files/screenrc 10357
SHA256 1f454ad8acf59024ad2ad2acba2918a10d9c8fb3305a86ff53cd3049e9cef6cf files/screenrc 10357
DIST screen-4.0.2.tar.gz 840519 RMD160 42aea3d27ed25104f2a48606ea73234b715e480f SHA1 461eb9d5edc211e1480d7b5e94d89c4d9ba3643f SHA256 05d087656d232b38c82379dfc66bf526d08e75e1f4c626acea4a2dda1ebcc845
-EBUILD screen-4.0.2-r5.ebuild 4317 RMD160 39fda09c2f16f4f720c9bc233b6c73d65bfc7f86 SHA1 c03cbb1a761bbbbf030531f89b2af208534ed17c SHA256 a372fa3d915d616c58427bf316f1e65c4051a8a69f585e0f9e4e0c19f1f6b522
-MD5 3cad9529889e3b041808e5baa9b6e426 screen-4.0.2-r5.ebuild 4317
-RMD160 39fda09c2f16f4f720c9bc233b6c73d65bfc7f86 screen-4.0.2-r5.ebuild 4317
-SHA256 a372fa3d915d616c58427bf316f1e65c4051a8a69f585e0f9e4e0c19f1f6b522 screen-4.0.2-r5.ebuild 4317
-MISC ChangeLog 16895 RMD160 1ee0a84442af694e024af6d16306215fa229a5fc SHA1 d2b137d3dbcd96e62beecb64cf7e45284accec12 SHA256 20876d720a6d3881a2d80008e92dc405bbb211d762113f9eaf2f1dcf357cef98
-MD5 cc5c25976289ba3a51c26d5f0d21bcdc ChangeLog 16895
-RMD160 1ee0a84442af694e024af6d16306215fa229a5fc ChangeLog 16895
-SHA256 20876d720a6d3881a2d80008e92dc405bbb211d762113f9eaf2f1dcf357cef98 ChangeLog 16895
+DIST screen-4.0.3.tar.gz 840602 RMD160 8c3903c1642ae30fd9d5706298919428552f7754 SHA1 7bc6e2f0959ffaae6f52d698c26c774e7dec3545 SHA256 78f0d5b1496084a5902586304d4a73954b2bfe33ea13edceecf21615c39e6c77
+EBUILD screen-4.0.2-r5.ebuild 4316 RMD160 d3bc71b17d549d95bf3c80c8bf6e58523d559438 SHA1 3fab1841c3a83b107a693aa66a0d7f057231d836 SHA256 9be24caf361aa76ae483c9ea732dbf2c7521d4aa34e367465b762ea8d607f343
+MD5 09242090e85f7907690d9e75ff359d14 screen-4.0.2-r5.ebuild 4316
+RMD160 d3bc71b17d549d95bf3c80c8bf6e58523d559438 screen-4.0.2-r5.ebuild 4316
+SHA256 9be24caf361aa76ae483c9ea732dbf2c7521d4aa34e367465b762ea8d607f343 screen-4.0.2-r5.ebuild 4316
+EBUILD screen-4.0.3.ebuild 4352 RMD160 566d14384f0275710713bd109d44bde947012bb8 SHA1 2cbb1b0e34b9f55a3862f38f93c85a66ffd799ad SHA256 0a1d2b2b610eb93adc0fc9da7a2ddc98ec933d17451442dd989d25d2a113758f
+MD5 a49132bd78a45ee6750d31c0efd74bb0 screen-4.0.3.ebuild 4352
+RMD160 566d14384f0275710713bd109d44bde947012bb8 screen-4.0.3.ebuild 4352
+SHA256 0a1d2b2b610eb93adc0fc9da7a2ddc98ec933d17451442dd989d25d2a113758f screen-4.0.3.ebuild 4352
+MISC ChangeLog 17061 RMD160 215da40bf6a325ba4c4e4a82b5f42cc2278b57fd SHA1 18bdb077fb410be56524d3191b6a044bf6e66a16 SHA256 3343687d05cc2b41acde45a378c801f1315daf594218a37b57ce8bb821b64c6e
+MD5 919bf61449f88493b91a323ff58a11e7 ChangeLog 17061
+RMD160 215da40bf6a325ba4c4e4a82b5f42cc2278b57fd ChangeLog 17061
+SHA256 3343687d05cc2b41acde45a378c801f1315daf594218a37b57ce8bb821b64c6e ChangeLog 17061
MISC metadata.xml 1525 RMD160 fcd6c6607111333349ac84d9890122e555f3241a SHA1 58684084d4230cc1962b0df579faaa66999c4a4f SHA256 de7b50d1be27be1afd45239960aab8294b6b9a9bfac9d27af7c2117fee9dd000
MD5 537c3754e8f6422e4f7025358173ef2b metadata.xml 1525
RMD160 fcd6c6607111333349ac84d9890122e555f3241a metadata.xml 1525
@@ -50,3 +58,13 @@ SHA256 de7b50d1be27be1afd45239960aab8294b6b9a9bfac9d27af7c2117fee9dd000 metadata
MD5 05937e4e3403cfb8a7a270aa544aa0cc files/digest-screen-4.0.2-r5 238
RMD160 015e02d012127c31fb21b8d73c8c745d45ec8f5f files/digest-screen-4.0.2-r5 238
SHA256 95fa7d46fca3cb7e88ea121b3baf33aad6ba7eb9070385774f0779f2399b4f77 files/digest-screen-4.0.2-r5 238
+MD5 f6a2b2cdc5be7c31bd01954f571723be files/digest-screen-4.0.3 238
+RMD160 e331fb1ac0487e9d81ed72b75e4a24784d8c90cc files/digest-screen-4.0.3 238
+SHA256 3d1d9450757a4993baf5b7b09d9eeaddcc0310e2087eefd35f960c9e106eefab files/digest-screen-4.0.3 238
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFP5n1I1lqEGTUzyQRAvNMAKCp6N9MSN2AI86zD2ldG1N02+4g4wCgjRpL
+Z1B472CTAjNaypnJHN0qbIo=
+=VL2L
+-----END PGP SIGNATURE-----
diff --git a/app-misc/screen/files/digest-screen-4.0.3 b/app-misc/screen/files/digest-screen-4.0.3
new file mode 100644
index 000000000000..d78bf6be25f4
--- /dev/null
+++ b/app-misc/screen/files/digest-screen-4.0.3
@@ -0,0 +1,3 @@
+MD5 8506fd205028a96c741e4037de6e3c42 screen-4.0.3.tar.gz 840602
+RMD160 8c3903c1642ae30fd9d5706298919428552f7754 screen-4.0.3.tar.gz 840602
+SHA256 78f0d5b1496084a5902586304d4a73954b2bfe33ea13edceecf21615c39e6c77 screen-4.0.3.tar.gz 840602
diff --git a/app-misc/screen/screen-4.0.2-r5.ebuild b/app-misc/screen/screen-4.0.2-r5.ebuild
index 70d5dec6ad64..e29bb96fdb1f 100644
--- a/app-misc/screen/screen-4.0.2-r5.ebuild
+++ b/app-misc/screen/screen-4.0.2-r5.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.2-r5.ebuild,v 1.11 2006/10/17 14:50:22 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.2-r5.ebuild,v 1.12 2006/10/25 17:07:52 swegener Exp $
inherit eutils flag-o-matic toolchain-funcs pam autotools
DESCRIPTION="Screen is a full-screen window manager that multiplexes a physical terminal between several processes"
HOMEPAGE="http://www.gnu.org/software/screen/"
-SRC_URI="mirror://gnu/screen/${P}.tar.gz"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
diff --git a/app-misc/screen/screen-4.0.3.ebuild b/app-misc/screen/screen-4.0.3.ebuild
new file mode 100644
index 000000000000..f56f09001fd6
--- /dev/null
+++ b/app-misc/screen/screen-4.0.3.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3.ebuild,v 1.1 2006/10/25 17:07:52 swegener Exp $
+
+inherit eutils flag-o-matic toolchain-funcs pam autotools
+
+DESCRIPTION="Screen is a full-screen window manager that multiplexes a physical terminal between several processes"
+HOMEPAGE="http://www.gnu.org/software/screen/"
+SRC_URI="ftp://ftp.uni-erlangen.de/pub/utilities/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="debug nethack pam selinux multiuser"
+
+RDEPEND=">=sys-libs/ncurses-5.2
+ pam? ( virtual/pam )
+ selinux? (
+ sec-policy/selinux-screen
+ >=sec-policy/selinux-base-policy-20050821
+ )"
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.58"
+
+pkg_setup() {
+ # Make sure utmp group exists, as it's used later on.
+ enewgroup utmp 406
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Bug 34599: integer overflow in 4.0.1
+ # (Nov 29 2003 -solar)
+ epatch "${FILESDIR}"/screen-4.0.1-int-overflow-fix.patch
+
+ # Bug 31070: configure problem which affects alpha
+ # (13 Jan 2004 agriffis)
+ epatch "${FILESDIR}"/screen-4.0.1-vsprintf.patch
+
+ # uclibc doesnt have sys/stropts.h
+ if ! (echo '#include <sys/stropts.h>' | $(tc-getCC) -E - &>/dev/null) ; then
+ epatch "${FILESDIR}"/4.0.2-no-pty.patch
+ fi
+
+ # Don't use utempter even if it is found on the system
+ epatch "${FILESDIR}"/4.0.2-no-utempter.patch
+
+ # Don't link against libelf even if it is found on the system
+ epatch "${FILESDIR}"/4.0.2-no-libelf.patch
+
+ # Patch for time function on 64bit systems
+ epatch "${FILESDIR}"/4.0.2-64bit-time.patch
+
+ # Patch that makes %u work for windowlist -b formats
+ epatch "${FILESDIR}"/4.0.2-windowlist-multiuser-fix.patch
+
+ # Open tty in non-blocking mode
+ epatch "${FILESDIR}"/4.0.2-nonblock.patch
+
+ # Fix manpage.
+ sed -i \
+ -e "s:/usr/local/etc/screenrc:/etc/screenrc:g" \
+ -e "s:/usr/local/screens:/var/run/screen:g" \
+ -e "s:/local/etc/screenrc:/etc/screenrc:g" \
+ -e "s:/etc/utmp:/var/run/utmp:g" \
+ -e "s:/local/screens/S-:/var/run/screen/S-:g" \
+ doc/screen.1 \
+ || die "sed doc/screen.1 failed"
+
+ # configure as delivered with screen is made with autoconf-2.5
+ WANT_AUTOCONF=2.5 eautoconf
+}
+
+src_compile() {
+ addpredict "$(tty)"
+ addpredict "${SSH_TTY}"
+
+ append-flags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
+ append-ldflags $(bindnow-flags)
+
+ use nethack || append-flags "-DNONETHACK"
+ use debug && append-flags "-DDEBUG"
+
+ econf \
+ --with-socket-dir=/var/run/screen \
+ --with-sys-screenrc=/etc/screenrc \
+ --with-pty-mode=0620 \
+ --with-pty-group=5 \
+ --enable-rxvt_osc \
+ --enable-telnet \
+ --enable-colors256 \
+ $(use_enable pam) \
+ || die "econf failed"
+
+ # Second try to fix bug 12683, this time without changing term.h
+ # The last try seemed to break screen at run-time.
+ # (16 Jan 2003 agriffis)
+ LC_ALL=POSIX make term.h || die "Failed making term.h"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin screen || die "dobin failed"
+ keepdir /var/run/screen || die "keepdir failed"
+
+ if use multiuser
+ then
+ fperms 4755 /usr/bin/screen || die "fperms failed"
+ else
+ fowners root:utmp /{usr/bin,var/run}/screen || die "fowners failed"
+ fperms 2755 /usr/bin/screen || die "fperms failed"
+ fi
+
+ insinto /usr/share/terminfo
+ doins terminfo/screencap || die "doins failed"
+ insinto /usr/share/screen/utf8encodings
+ doins utf8encodings/?? || die "doins failed"
+ insinto /etc
+ doins "${FILESDIR}"/screenrc || die "doins failed"
+
+ pamd_mimic_system screen auth || die "pamd_mimic_system failed"
+
+ dodoc \
+ README ChangeLog INSTALL TODO NEWS* patchlevel.h \
+ doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps} \
+ || die "dodoc failed"
+
+ doman doc/screen.1 || die "doman failed"
+ doinfo doc/screen.info* || die "doinfo failed"
+}
+
+pkg_postinst() {
+ if use multiuser
+ then
+ chown root:0 "${ROOT}"/var/run/screen
+ chmod 0755 "${ROOT}"/var/run/screen
+ else
+ chown root:utmp "${ROOT}"/var/run/screen
+ chmod 0775 "${ROOT}"/var/run/screen
+ fi
+
+ einfo "Some dangerous key bindings have been removed or changed to more safe values."
+ einfo "We enable some xterm hacks in our default screenrc, which might break some"
+ einfo "applications. Please check /etc/screenrc for information on these changes."
+}