diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-12 08:41:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-12 08:41:54 +0100 |
commit | 4df3bf9762850b34cd1ead5c80374d1a0fc3362e (patch) | |
tree | 3080c5cb7ad17abcb63776a9f21c4947845546a6 /app-misc/ttysnoop/ttysnoop-0.12d-r1.ebuild | |
parent | 814f4cf860e299a046b649eaee5463427984c09c (diff) |
gentoo resync : 12.07.2021
Diffstat (limited to 'app-misc/ttysnoop/ttysnoop-0.12d-r1.ebuild')
-rw-r--r-- | app-misc/ttysnoop/ttysnoop-0.12d-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-misc/ttysnoop/ttysnoop-0.12d-r1.ebuild b/app-misc/ttysnoop/ttysnoop-0.12d-r1.ebuild new file mode 100644 index 000000000000..d58b8e138ac6 --- /dev/null +++ b/app-misc/ttysnoop/ttysnoop-0.12d-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P="${P}.k26" + +inherit toolchain-funcs + +DESCRIPTION="Tool to snoop on login tty's through another tty-device or pseudo-tty" +HOMEPAGE="http://sysd.org/stas/node/35" +SRC_URI="http://sysd.org/stas/files/active/0/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="virtual/libcrypt:=" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/pinkbyte_masking.patch + "${FILESDIR}"/"${PN}"-makefile.patch +) + +src_configure() { + tc-export CC +} + +src_install() { + dodir /var/spool/ttysnoop + keepdir /var/spool/ttysnoop + + fperms o= /var/spool/ttysnoop + + dosbin ttysnoop ttysnoops + + dodoc README snooptab.dist + + doman ttysnoop.8 + insinto /etc + newins snooptab.dist snooptab +} |