36b83a3cada1a68e1d360e7c4fdd20c4b1b7bce3
Hanno Böck update screen

Hanno Böck authored 2 years ago

app-misc/screen/screen-4.9.0.ebuild      1) # Copyright 1999-2022 Gentoo Authors
Hanno Böck screen update

Hanno Böck authored 3 years ago

app-misc/screen/screen-4.8.0-r2.ebuild   2) # Distributed under the terms of the GNU General Public License v2
app-misc/screen/screen-4.8.0-r2.ebuild   3) 
app-misc/screen/screen-4.8.0-r2.ebuild   4) EAPI=7
app-misc/screen/screen-4.8.0-r2.ebuild   5) 
Hanno Böck update screen

Hanno Böck authored 2 years ago

app-misc/screen/screen-4.9.0.ebuild      6) inherit autotools flag-o-matic pam tmpfiles
Hanno Böck screen update

Hanno Böck authored 3 years ago

app-misc/screen/screen-4.8.0-r2.ebuild   7) 
app-misc/screen/screen-4.8.0-r2.ebuild   8) DESCRIPTION="screen manager with VT100/ANSI terminal emulation"
app-misc/screen/screen-4.8.0-r2.ebuild   9) HOMEPAGE="https://www.gnu.org/software/screen/"
app-misc/screen/screen-4.8.0-r2.ebuild  10) 
Hanno Böck update screen

Hanno Böck authored 2 years ago

app-misc/screen/screen-4.9.0.ebuild     11) if [[ ${PV} != 9999 ]] ; then
Hanno Böck screen update

Hanno Böck authored 3 years ago

app-misc/screen/screen-4.8.0-r2.ebuild  12) 	SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
app-misc/screen/screen-4.8.0-r2.ebuild  13) 	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
app-misc/screen/screen-4.8.0-r2.ebuild  14) else
app-misc/screen/screen-4.8.0-r2.ebuild  15) 	inherit git-r3
app-misc/screen/screen-4.8.0-r2.ebuild  16) 	EGIT_REPO_URI="https://git.savannah.gnu.org/git/screen.git"
app-misc/screen/screen-4.8.0-r2.ebuild  17) 	EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" # needed for setting S later on
app-misc/screen/screen-4.8.0-r2.ebuild  18) 	S="${WORKDIR}"/${P}/src
app-misc/screen/screen-4.8.0-r2.ebuild  19) fi
app-misc/screen/screen-4.8.0-r2.ebuild  20) 
app-misc/screen/screen-4.8.0-r2.ebuild  21) LICENSE="GPL-2"
app-misc/screen/screen-4.8.0-r2.ebuild  22) SLOT="0"
app-misc/screen/screen-4.8.0-r2.ebuild  23) IUSE="debug nethack pam selinux multiuser"
app-misc/screen/screen-4.8.0-r2.ebuild  24) 
Hanno Böck update screen

Hanno Böck authored 2 years ago

app-misc/screen/screen-4.9.0.ebuild     25) DEPEND=">=sys-libs/ncurses-5.2:=
app-misc/screen/screen-4.9.0.ebuild     26) 	virtual/libcrypt:=
Hanno Böck screen update

Hanno Böck authored 3 years ago

app-misc/screen/screen-4.8.0-r2.ebuild  27) 	pam? ( sys-libs/pam )"
Hanno Böck update screen

Hanno Böck authored 2 years ago

app-misc/screen/screen-4.9.0.ebuild     28) RDEPEND="${DEPEND}
Hanno Böck screen update

Hanno Böck authored 3 years ago

app-misc/screen/screen-4.8.0-r2.ebuild  29) 	acct-group/utmp
app-misc/screen/screen-4.8.0-r2.ebuild  30) 	selinux? ( sec-policy/selinux-screen )"
Hanno Böck update screen

Hanno Böck authored 2 years ago

app-misc/screen/screen-4.9.0.ebuild     31) BDEPEND="sys-apps/texinfo"
Hanno Böck screen update

Hanno Böck authored 3 years ago

app-misc/screen/screen-4.8.0-r2.ebuild  32) 
app-misc/screen/screen-4.8.0-r2.ebuild  33) PATCHES=(
app-misc/screen/screen-4.8.0-r2.ebuild  34) 	# Don't use utempter even if it is found on the system.
app-misc/screen/screen-4.8.0-r2.ebuild  35) 	"${FILESDIR}"/${PN}-4.3.0-no-utempter.patch
app-misc/screen/screen-4.8.0-r2.ebuild  36) 	"${FILESDIR}"/${PN}-4.6.2-utmp-exit.patch
app-misc/screen/screen-4.8.0-r2.ebuild  37) )
app-misc/screen/screen-4.8.0-r2.ebuild  38) 
app-misc/screen/screen-4.8.0-r2.ebuild  39) src_prepare() {
app-misc/screen/screen-4.8.0-r2.ebuild  40) 	default
app-misc/screen/screen-4.8.0-r2.ebuild  41) 
app-misc/screen/screen-4.8.0-r2.ebuild  42) 	# sched.h is a system header and causes problems with some C libraries
app-misc/screen/screen-4.8.0-r2.ebuild  43) 	mv sched.h _sched.h || die
app-misc/screen/screen-4.8.0-r2.ebuild  44) 	sed -i '/include/ s:sched.h:_sched.h:' screen.h || die
app-misc/screen/screen-4.8.0-r2.ebuild  45) 
Hanno Böck update screen

Hanno Böck authored 2 years ago

app-misc/screen/screen-4.9.0.ebuild     46) 	# Fix manpage
Hanno Böck screen update

Hanno Böck authored 3 years ago

app-misc/screen/screen-4.8.0-r2.ebuild  47) 	sed -i \
app-misc/screen/screen-4.8.0-r2.ebuild  48) 		-e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
app-misc/screen/screen-4.8.0-r2.ebuild  49) 		-e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \
app-misc/screen/screen-4.8.0-r2.ebuild  50) 		-e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
app-misc/screen/screen-4.8.0-r2.ebuild  51) 		-e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \
app-misc/screen/screen-4.8.0-r2.ebuild  52) 		-e "s:/local/screens/S\\\-:${EPREFIX}/tmp/screen/S\\\-:g" \
app-misc/screen/screen-4.8.0-r2.ebuild  53) 		doc/screen.1 || die
app-misc/screen/screen-4.8.0-r2.ebuild  54) 
Hanno Böck update screen

Hanno Böck authored 2 years ago

app-misc/screen/screen-4.9.0.ebuild     55) 	if [[ ${CHOST} == *-darwin* ]] || use elibc_musl; then
Hanno Böck screen update

Hanno Böck authored 3 years ago

app-misc/screen/screen-4.8.0-r2.ebuild  56) 		sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die
app-misc/screen/screen-4.8.0-r2.ebuild  57) 	fi
app-misc/screen/screen-4.8.0-r2.ebuild  58) 
app-misc/screen/screen-4.8.0-r2.ebuild  59) 	# disable musl dummy headers for utmp[x]
app-misc/screen/screen-4.8.0-r2.ebuild  60) 	use elibc_musl && append-cppflags "-D_UTMP_H -D_UTMPX_H"
app-misc/screen/screen-4.8.0-r2.ebuild  61) 
app-misc/screen/screen-4.8.0-r2.ebuild  62) 	# reconfigure
app-misc/screen/screen-4.8.0-r2.ebuild  63) 	eautoreconf
app-misc/screen/screen-4.8.0-r2.ebuild  64) }
app-misc/screen/screen-4.8.0-r2.ebuild  65) 
app-misc/screen/screen-4.8.0-r2.ebuild  66) src_configure() {
app-misc/screen/screen-4.8.0-r2.ebuild  67) 	append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
app-misc/screen/screen-4.8.0-r2.ebuild  68) 
Hanno Böck update screen

Hanno Böck authored 2 years ago

app-misc/screen/screen-4.9.0.ebuild     69) 	if [[ ${CHOST} == *-solaris* ]]; then
Hanno Böck screen update

Hanno Böck authored 3 years ago

app-misc/screen/screen-4.8.0-r2.ebuild  70) 		# enable msg_header by upping the feature standard compatible
app-misc/screen/screen-4.8.0-r2.ebuild  71) 		# with c99 mode
app-misc/screen/screen-4.8.0-r2.ebuild  72) 		append-cppflags -D_XOPEN_SOURCE=600
app-misc/screen/screen-4.8.0-r2.ebuild  73) 	fi
app-misc/screen/screen-4.8.0-r2.ebuild  74) 
app-misc/screen/screen-4.8.0-r2.ebuild  75) 	use nethack || append-cppflags "-DNONETHACK"
app-misc/screen/screen-4.8.0-r2.ebuild  76) 	use debug && append-cppflags "-DDEBUG"
app-misc/screen/screen-4.8.0-r2.ebuild  77) 
app-misc/screen/screen-4.8.0-r2.ebuild  78) 	local myeconfargs=(
app-misc/screen/screen-4.8.0-r2.ebuild  79) 		--with-sys-screenrc="${EPREFIX}/etc/screenrc"
app-misc/screen/screen-4.8.0-r2.ebuild  80) 		--with-pty-mode=0620
app-misc/screen/screen-4.8.0-r2.ebuild  81) 		--with-pty-group=5
app-misc/screen/screen-4.8.0-r2.ebuild  82) 		--enable-rxvt_osc
app-misc/screen/screen-4.8.0-r2.ebuild  83) 		--enable-telnet
app-misc/screen/screen-4.8.0-r2.ebuild  84) 		--enable-colors256
app-misc/screen/screen-4.8.0-r2.ebuild  85) 		$(use_enable pam)
app-misc/screen/screen-4.8.0-r2.ebuild  86) 	)
app-misc/screen/screen-4.8.0-r2.ebuild  87) 	econf "${myeconfargs[@]}"
app-misc/screen/screen-4.8.0-r2.ebuild  88) }
app-misc/screen/screen-4.8.0-r2.ebuild  89) 
app-misc/screen/screen-4.8.0-r2.ebuild  90) src_compile() {
app-misc/screen/screen-4.8.0-r2.ebuild  91) 	LC_ALL=POSIX emake comm.h term.h
app-misc/screen/screen-4.8.0-r2.ebuild  92) 	emake osdef.h
app-misc/screen/screen-4.8.0-r2.ebuild  93) 
app-misc/screen/screen-4.8.0-r2.ebuild  94) 	emake -C doc screen.info
app-misc/screen/screen-4.8.0-r2.ebuild  95) 	default
app-misc/screen/screen-4.8.0-r2.ebuild  96) }
app-misc/screen/screen-4.8.0-r2.ebuild  97) 
app-misc/screen/screen-4.8.0-r2.ebuild  98) src_install() {
app-misc/screen/screen-4.8.0-r2.ebuild  99) 	local DOCS=(
app-misc/screen/screen-4.8.0-r2.ebuild 100) 		README ChangeLog INSTALL TODO NEWS* patchlevel.h
app-misc/screen/screen-4.8.0-r2.ebuild 101) 		doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps}
app-misc/screen/screen-4.8.0-r2.ebuild 102) 	)
app-misc/screen/screen-4.8.0-r2.ebuild 103) 
app-misc/screen/screen-4.8.0-r2.ebuild 104) 	emake DESTDIR="${D}" SCREEN="${P}" install
app-misc/screen/screen-4.8.0-r2.ebuild 105) 
app-misc/screen/screen-4.8.0-r2.ebuild 106) 	local tmpfiles_perms tmpfiles_group
app-misc/screen/screen-4.8.0-r2.ebuild 107) 
app-misc/screen/screen-4.8.0-r2.ebuild 108) 	if use multiuser || use prefix ; then
app-misc/screen/screen-4.8.0-r2.ebuild 109) 		fperms 4755 /usr/bin/${P}
app-misc/screen/screen-4.8.0-r2.ebuild 110) 		tmpfiles_perms="0755"
app-misc/screen/screen-4.8.0-r2.ebuild 111) 		tmpfiles_group="root"
app-misc/screen/screen-4.8.0-r2.ebuild 112) 	else
app-misc/screen/screen-4.8.0-r2.ebuild 113) 		fowners root:utmp /usr/bin/${P}
app-misc/screen/screen-4.8.0-r2.ebuild 114) 		fperms 2755 /usr/bin/${P}
app-misc/screen/screen-4.8.0-r2.ebuild 115) 		tmpfiles_perms="0775"
app-misc/screen/screen-4.8.0-r2.ebuild 116) 		tmpfiles_group="utmp"
app-misc/screen/screen-4.8.0-r2.ebuild 117) 	fi
app-misc/screen/screen-4.8.0-r2.ebuild 118) 
app-misc/screen/screen-4.8.0-r2.ebuild 119) 	newtmpfiles - screen.conf <<<"d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}"
app-misc/screen/screen-4.8.0-r2.ebuild 120) 
app-misc/screen/screen-4.8.0-r2.ebuild 121) 	insinto /usr/share/${PN}
app-misc/screen/screen-4.8.0-r2.ebuild 122) 	doins terminfo/{screencap,screeninfo.src}
app-misc/screen/screen-4.8.0-r2.ebuild 123) 
app-misc/screen/screen-4.8.0-r2.ebuild 124) 	insinto /etc
app-misc/screen/screen-4.8.0-r2.ebuild 125) 	doins "${FILESDIR}"/screenrc
app-misc/screen/screen-4.8.0-r2.ebuild 126) 
app-misc/screen/screen-4.8.0-r2.ebuild 127) 	if use pam; then
app-misc/screen/screen-4.8.0-r2.ebuild 128) 		pamd_mimic_system screen auth
app-misc/screen/screen-4.8.0-r2.ebuild 129) 	fi
app-misc/screen/screen-4.8.0-r2.ebuild 130) 
app-misc/screen/screen-4.8.0-r2.ebuild 131) 	dodoc "${DOCS[@]}"
app-misc/screen/screen-4.8.0-r2.ebuild 132) }
app-misc/screen/screen-4.8.0-r2.ebuild 133) 
app-misc/screen/screen-4.8.0-r2.ebuild 134) pkg_postinst() {
Hanno Böck update screen

Hanno Böck authored 2 years ago

app-misc/screen/screen-4.9.0.ebuild    135) 	if [[ -z ${REPLACING_VERSIONS} ]]; then
Hanno Böck screen update

Hanno Böck authored 3 years ago

app-misc/screen/screen-4.8.0-r2.ebuild 136) 		elog "Some dangerous key bindings have been removed or changed to more safe values."
app-misc/screen/screen-4.8.0-r2.ebuild 137) 		elog "We enable some xterm hacks in our default screenrc, which might break some"
app-misc/screen/screen-4.8.0-r2.ebuild 138) 		elog "applications. Please check /etc/screenrc for information on these changes."
app-misc/screen/screen-4.8.0-r2.ebuild 139) 	fi
app-misc/screen/screen-4.8.0-r2.ebuild 140) 
Hanno Böck update screen

Hanno Böck authored 2 years ago

app-misc/screen/screen-4.9.0.ebuild    141) 	tmpfiles_process screen.conf
Hanno Böck screen update

Hanno Böck authored 3 years ago

app-misc/screen/screen-4.8.0-r2.ebuild 142) 
Hanno Böck update screen

Hanno Böck authored 2 years ago

app-misc/screen/screen-4.9.0.ebuild    143) 	ewarn "This revision changes the screen socket location to ${EROOT}/tmp/${PN}"