diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
commit | e68d405c5d712af4387159df07e226217bdda049 (patch) | |
tree | 009ab0f3d427f0813e62930d71802cb054c07e30 /sys-apps/utempter | |
parent | 401101f9c8077911929d3f2b60a37098460a5d89 (diff) |
gentoo resync : 06.04.2022
Diffstat (limited to 'sys-apps/utempter')
-rw-r--r-- | sys-apps/utempter/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/utempter/utempter-0.5.5.6-r1.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-apps/utempter/Manifest b/sys-apps/utempter/Manifest index 7583a6ae275a..b13f180badb4 100644 --- a/sys-apps/utempter/Manifest +++ b/sys-apps/utempter/Manifest @@ -1,5 +1,6 @@ AUX utempter-0.5.5.6-fix-build-system.patch 1168 BLAKE2B c513d18115a7a78e2c4d381f7ae650aa56de4d0833fa7c610948da072c4a1e85ae6832517012dd0c04ca91f4c3cb51d8b3b332c58b66b0716c63e3576917fe77 SHA512 a2febc07a01e0f9f95c8c846616d8f46e74e3db2ea66af720539f6825019dd05ab5472507210945c5caf84566584ab01824ebf0f16e51e7012f1334fc5a920b4 AUX utempter-0.5.5.6-no_utmpx.patch 666 BLAKE2B 9ee0c3634b87ddd50d50f81811f749f615e4fad8dc27b9fc97cc1b61ffdd64eb5045910457547b2cbc245c593490ab354e3a7f5a5965a8aeebf330c6b32d4889 SHA512 4cdc7616f1b886b74fa39272f502fb9eb303047c93be57122ba32517f49a0274e4f7e02b25ead9dd9b60584610a576cb2d78c6350350b3d8364ccd903c3dafcf DIST utempter-0.5.5-6.src.rpm 21099 BLAKE2B a4a8c53ab31d53ec56d60a16e5c1d3a0a2ec6c73c3c3025c15dfc389da75f969545392b46976017cfcde1d9f9ca974b14786bbf39709aebdda890df13a7866ed SHA512 81eeac830631922f2d1b2099a559b60bfd21818b38a524d3c5f61aec143b3e70e95a9ccc300f649dd81f515837fe3befaba6b93bb2e22767e71eee7acb711655 +EBUILD utempter-0.5.5.6-r1.ebuild 956 BLAKE2B 4eb2d3be6732ee1eb07b62f0bbf711e141a1894f21db30d1279a8f3d7fad2470924a0c1944a4e45d9481e4c3b867ac258d0ac512428dc9a2e6324a8dd3f60186 SHA512 736a438f352cf84381a1de34355013dde0ca6052f16146fa8539c5fc4cc11266bc6f4c15a63b64a877818acd0095ef5be835c76e6faecafedc3ed7b824f95a1b EBUILD utempter-0.5.5.6.ebuild 1176 BLAKE2B f69291ee2133e60d389d9ee368920042f1dba52ec13c37eabd59925a7243a2eb0b6bc3ae2881406b9a9982287bc895400859002c65c83190370fc2f0053deb6c SHA512 9f03b9180d919d9f4f0782fa852f9398f38e307dff7edf0f865d37992ecbd2166c1c1262871e062d196cd127f01dfadb5b4ef186b632c3a66b714e0a0658bd12 MISC metadata.xml 254 BLAKE2B f3a9f843cf94243d1129711770df727fcdc8808bca829ef784819cab6f5410dfa463cfed85182f8228c7de796a674dd602653ad3ef817a62c0c3e7198b23befe SHA512 b9fcd3084a7e197f6138e1ce8b0eff99c4c203c37a7d5c40de207040ba1501ef0e5b2f4e00216a567037bcd6d3394fdec6ff587484c9ba2fca9d04f431733b7c diff --git a/sys-apps/utempter/utempter-0.5.5.6-r1.ebuild b/sys-apps/utempter/utempter-0.5.5.6-r1.ebuild new file mode 100644 index 000000000000..f52de8c53368 --- /dev/null +++ b/sys-apps/utempter/utempter-0.5.5.6-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${P%.*}" +MY_P="${MY_PN}-${PV##*.}" + +inherit flag-o-matic rpm toolchain-funcs + +DESCRIPTION="App that allows non-privileged apps to write utmp (login) info" +HOMEPAGE="https://www.redhat.com/" +SRC_URI="mirror://gentoo/${MY_P}.src.rpm" +S="${WORKDIR}/${MY_PN}" + +LICENSE="|| ( MIT LGPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +BDEPEND="acct-group/utmp" +RDEPEND=" + ${BDEPEND} + !sys-libs/libutempter +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.5.5.6-no_utmpx.patch + "${FILESDIR}"/${PN}-0.5.5.6-fix-build-system.patch +) + +src_prepare() { + default + tc-export CC + append-cflags -Wall +} + +src_install() { + local myemakeargs=( + LIBDIR="/usr/$(get_libdir)" + RPM_BUILD_ROOT="${ED}" + ) + + emake "${myemakeargs[@]}" install + + dobin utmp + + fowners root:utmp /usr/sbin/utempter + fperms 2755 /usr/sbin/utempter +} |