summaryrefslogtreecommitdiff
path: root/dev-libs/libptytty
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
commit2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch)
treec8af0fd04194aed03cf067d44e53c7edd3e9ab84 /dev-libs/libptytty
parente9d044d4b9b71200a96adfa280848858c0f468c9 (diff)
gentoo resync : 05.12.2021
Diffstat (limited to 'dev-libs/libptytty')
-rw-r--r--dev-libs/libptytty/Manifest4
-rw-r--r--dev-libs/libptytty/files/libptytty-2.0-rundir.patch10
-rw-r--r--dev-libs/libptytty/libptytty-2.0.ebuild20
-rw-r--r--dev-libs/libptytty/metadata.xml8
4 files changed, 42 insertions, 0 deletions
diff --git a/dev-libs/libptytty/Manifest b/dev-libs/libptytty/Manifest
new file mode 100644
index 000000000000..725214bed41d
--- /dev/null
+++ b/dev-libs/libptytty/Manifest
@@ -0,0 +1,4 @@
+AUX libptytty-2.0-rundir.patch 183 BLAKE2B 51316869ccd9b490b3087ac1a825d7a7e570a79fe7e5758e76be756b8135a0af2b4a518baefd19f8c0e8f71b95488035f28b6bab9b42eae473f644ca2f8bff83 SHA512 266fd3df8aa88894f832ecff15e88e4f08cc2b188ce585a779b58d19bcdac83b8e7ea921cd96226ea74c402a4e7fc873a7764029af72a81c5ddea7efd307eb51
+DIST libptytty-2.0.tar.gz 45673 BLAKE2B 81112267157c1ba785052b2e1667c4af251991816005375d44efd1c4d9c58cc5e59324df35e556d45e46df6bceccc654d71e6c264dae5a15ea100cc9db63c5a6 SHA512 9cca5fddbcc4025c2bbe043e3367ac902d0024a34301258dafcf0de70935c055279d88227168d112d0e4c0dc37f1f49e1ea587bd6bddf0b9d92400657bc7be08
+EBUILD libptytty-2.0.ebuild 500 BLAKE2B fd3ae2dd4821f3fd63ef5bed143d7aff4cd74e3dfe476b42f0d9446b04895791897312d2b06b75b190878a099e3794f83f559ecee655f553e1dc57238cbfb1a6 SHA512 bf846e5df6c177a3dcbb55a927805f9b83334cbe26ee144a68ca591a938a922d0763cf3a98f7888cc2a6b79acc402f5920fffd5e3c5c98d2d9fbc7a815cd1a89
+MISC metadata.xml 246 BLAKE2B f808bbbcb9c53d005d1a1667cd6217a601a3bd3bd2267121c0043a870ae44bb91bb27bc9825d5d6eafe01b73fe58a553655aa252737c0b066f2286ff9415d65e SHA512 b620abb7732628010a8a3792d40bde878492be97ce14c99c4d2466240df2f25edf7734ad4d210bc954f27323f0e26698e660766c65be5868646a3866020373fd
diff --git a/dev-libs/libptytty/files/libptytty-2.0-rundir.patch b/dev-libs/libptytty/files/libptytty-2.0-rundir.patch
new file mode 100644
index 000000000000..d098811334c9
--- /dev/null
+++ b/dev-libs/libptytty/files/libptytty-2.0-rundir.patch
@@ -0,0 +1,10 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -151,6 +151,7 @@
+ PT_FIND_FILE(
+ utmp
+ PT_UTMP_FILE
++ "/run/utmp"
+ "/var/run/utmp"
+ "/var/adm/utmp"
+ "/etc/utmp"
diff --git a/dev-libs/libptytty/libptytty-2.0.ebuild b/dev-libs/libptytty/libptytty-2.0.ebuild
new file mode 100644
index 000000000000..5494e30f17a7
--- /dev/null
+++ b/dev-libs/libptytty/libptytty-2.0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="A library for mostly OS-independent handling of pty/tty/utmp/wtmp/lastlog"
+HOMEPAGE="http://software.schmorp.de/pkg/libptytty.html"
+SRC_URI="http://dist.schmorp.de/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.0-rundir.patch
+)
+
+DOCS=( Changes README )
diff --git a/dev-libs/libptytty/metadata.xml b/dev-libs/libptytty/metadata.xml
new file mode 100644
index 000000000000..beac02a9af14
--- /dev/null
+++ b/dev-libs/libptytty/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+</pkgmetadata>