sys-libs/libutempter: delete libutempter

Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
This commit is contained in:
Dongsu Park 2021-08-18 15:55:25 +02:00
parent 6c0b71225b
commit b2d1a026cf
9 changed files with 0 additions and 637 deletions

View File

@ -1,82 +0,0 @@
# ChangeLog for sys-libs/libutempter
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
# (auto-generated from git log)
*libutempter-1.1.6-r2 (09 Aug 2015)
*libutempter-1.1.6-r1 (09 Aug 2015)
*libutempter-1.1.6 (09 Aug 2015)
*libutempter-1.1.5-r1 (09 Aug 2015)
*libutempter-1.1.5 (09 Aug 2015)
09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org>
+libutempter-1.1.5.ebuild, +libutempter-1.1.5-r1.ebuild,
+libutempter-1.1.6.ebuild, +libutempter-1.1.6-r1.ebuild,
+libutempter-1.1.6-r2.ebuild, +metadata.xml:
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
the bikeshed
24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Use https by default
Convert all URLs for sites supporting encrypted connections from http to
https
Signed-off-by: Justin Lecher <jlec@gentoo.org>
24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
Revert DOCTYPE SYSTEM https changes in metadata.xml
repoman does not yet accept the https version.
This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
Bug: https://bugs.gentoo.org/552720
24 Nov 2015; Mike Frysinger <vapier@gentoo.org> metadata.xml:
standardize various metadata.xml style
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Unify quoting in metadata.xml files for machine processing
Force unified quoting in all metadata.xml files since lxml does not
preserve original use of single and double quotes. Ensuring unified
quoting before the process allows distinguishing the GLEP 67-related
metadata.xml changes from unrelated quoting changes.
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Replace all herds with appropriate projects (GLEP 67)
Replace all uses of herd with appropriate project maintainers, or no
maintainers in case of herds requested to be disbanded.
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Set appropriate maintainer types in metadata.xml (GLEP 67)

View File

@ -1,203 +0,0 @@
# ChangeLog for sys-libs/libutempter
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/ChangeLog,v 1.52 2014/05/06 12:52:04 chainsaw Exp $
*libutempter-1.1.6-r2 (06 May 2014)
06 May 2014; Tony Vroon <chainsaw@gentoo.org> +libutempter-1.1.6-r2.ebuild:
Respect system AR, as requested by Agostino "ago" Sarubbo in bug #484868.
01 Feb 2014; Mike Frysinger <vapier@gentoo.org> libutempter-1.1.6-r1.ebuild:
Mark m68k/s390/sh stable.
01 Feb 2014; Mike Frysinger <vapier@gentoo.org> libutempter-1.1.6-r1.ebuild:
Add arm64 love.
08 Oct 2013; Agostino Sarubbo <ago@gentoo.org> libutempter-1.1.6-r1.ebuild:
Stable for x86, wrt bug #475480
07 Oct 2013; Agostino Sarubbo <ago@gentoo.org> libutempter-1.1.6-r1.ebuild:
Stable for sparc, wrt bug #475480
06 Oct 2013; Agostino Sarubbo <ago@gentoo.org> libutempter-1.1.6-r1.ebuild:
Stable for ia64, wrt bug #475480
05 Oct 2013; Markus Meier <maekke@gentoo.org> libutempter-1.1.6-r1.ebuild:
arm stable, bug #475480
05 Oct 2013; Agostino Sarubbo <ago@gentoo.org> libutempter-1.1.6-r1.ebuild:
Stable for alpha, wrt bug #475480
04 Oct 2013; Agostino Sarubbo <ago@gentoo.org> libutempter-1.1.6-r1.ebuild:
Stable for ppc64, wrt bug #475480
03 Oct 2013; Agostino Sarubbo <ago@gentoo.org> libutempter-1.1.6-r1.ebuild:
Stable for ppc, wrt bug #475480
02 Oct 2013; Jeroen Roovers <jer@gentoo.org> libutempter-1.1.6-r1.ebuild:
Stable for HPPA (bug #475480).
29 Sep 2013; Agostino Sarubbo <ago@gentoo.org> libutempter-1.1.6-r1.ebuild:
Stable for amd64, wrt bug #475480
19 Feb 2013; Zac Medico <zmedico@gentoo.org> libutempter-1.1.6-r1.ebuild:
Add ~arm-linux keyword.
*libutempter-1.1.6-r1 (26 Nov 2012)
26 Nov 2012; Christoph Junghans <ottxor@gentoo.org>
+libutempter-1.1.6-r1.ebuild:
added prefix support (bug #444730)
*libutempter-1.1.6 (28 Aug 2012)
28 Aug 2012; Tim Harder <radhermit@gentoo.org> +libutempter-1.1.6.ebuild:
Version bump.
*libutempter-1.1.5-r1 (24 May 2012)
24 May 2012; Mike Frysinger <vapier@gentoo.org> +libutempter-1.1.5-r1.ebuild:
Rewrite ebuild to EAPI=4, and add static-libs support #378295 by Agostino
Sarubbo.
24 May 2012; Mike Frysinger <vapier@gentoo.org> libutempter-1.1.5.ebuild:
Update inherits to match what is used.
05 Apr 2011; Ulrich Mueller <ulm@gentoo.org> libutempter-1.1.5.ebuild:
Don't PROVIDE virtual/utempter and update blocker, bug 361117.
21 Sep 2009; Rémi Cardona <remi@gentoo.org> -libutempter-1.1.2.1.ebuild:
drop old ebuilds
31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>;
-libutempter-1.1.4.1.ebuild:
Clean up.
25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing seemant from metadata.xml as per #202469.
15 Dec 2007; Samuli Suominen <drac@gentoo.org> libutempter-1.1.5.ebuild:
amd64 stable wrt #202079
14 Dec 2007; Jeroen Roovers <jer@gentoo.org> libutempter-1.1.5.ebuild:
Stable for HPPA (bug #202079).
03 Nov 2007; Fabian Groffen <grobian@gentoo.org>
libutempter-1.1.4.1.ebuild, libutempter-1.1.5.ebuild:
Include elibc_FreeBSD in IUSE
13 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org>
libutempter-1.1.5.ebuild:
ppc. stable
12 Aug 2007; Tom Gall <tgall@gentoo.org> libutempter-1.1.5.ebuild:
stable on ppc64
03 Jul 2007; Raúl Porcel <armin76@gentoo.org> libutempter-1.1.5.ebuild:
alpha stable
25 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org>
libutempter-1.1.5.ebuild:
Stable on sparc
24 Apr 2007; Raúl Porcel <armin76@gentoo.org> libutempter-1.1.5.ebuild:
ia64 + x86 stable
*libutempter-1.1.5 (28 Feb 2007)
28 Feb 2007; Seemant Kulleen <seemant@gentoo.org>
+libutempter-1.1.5.ebuild:
version bump, thanks to Martin von Gagern in bug #168435
28 Feb 2007; Seemant Kulleen <seemant@gentoo.org>
libutempter-1.1.4.1.ebuild:
switch to using tarball instead of an rpm: patch from Martin von Gagern in
bug #167311
14 Oct 2006; Bryan Østergaard <kloeri@gentoo.org>
libutempter-1.1.4.1.ebuild:
Stable on Alpha.
23 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org>
libutempter-1.1.4.1.ebuild:
hppa stable, bug #148504
21 Sep 2006; <blubb@gentoo.org> libutempter-1.1.4.1.ebuild:
stable on amd64
21 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org>
libutempter-1.1.4.1.ebuild:
ppc stable, bug #148504
21 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org>
libutempter-1.1.4.1.ebuild:
Stable on sparc wrt #148504
21 Sep 2006; <ticho@gentoo.org> libutempter-1.1.4.1.ebuild:
Stable on x86, bug #148504.
21 Sep 2006; Brent Baude <ranger@gentoo.org> libutempter-1.1.4.1.ebuild:
Marking libutempter-1.1.4.1 ppc64 stable per bug 148504
21 Sep 2006; Seemant Kulleen <seemant@gentoo.org>
libutempter-1.1.2.1.ebuild, libutempter-1.1.4.1.ebuild:
explicitly set RDEPEND, see bug #142755. This one thanks to Straaken2 in
#gentoo-portage
23 Aug 2006; Carsten Lohrke <carlo@gentoo.org> libutempter-1.1.2.1.ebuild,
libutempter-1.1.4.1.ebuild:
Blocking the virtual is apparently right...
23 Aug 2006; Carsten Lohrke <carlo@gentoo.org> libutempter-1.1.2.1.ebuild,
libutempter-1.1.4.1.ebuild:
Do not block the virtual, but the other packages providing it - and do so at
runtime as well.
07 Jun 2006; Diego Pettenò <flameeyes@gentoo.org>
libutempter-1.1.4.1.ebuild:
Re-add ~x86-fbsd keyword after adding linking with -lutil on FreeBSD.
07 Jun 2006; Seemant Kulleen <seemant@gentoo.org>
libutempter-1.1.2.1.ebuild, libutempter-1.1.4.1.ebuild:
support ROOT at SpankY's request
24 May 2006; Diego Pettenò <flameeyes@gentoo.org>
libutempter-1.1.2.1.ebuild:
Use the right compiler so that cross-distcc does not fail.
13 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
libutempter-1.1.2.1.ebuild:
Add includedir to make sure headers aren't installed in /include.
31 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
libutempter-1.1.2.1.ebuild:
Add ~x86-fbsd keyword.
23 Dec 2005; Michael Hanselmann <hansmi@gentoo.org>
libutempter-1.1.2.1.ebuild:
Stable on ppc.
17 Dec 2005; Ferris McCormick <fmccor@gentoo.org>
libutempter-1.1.2.1.ebuild:
Stable on sparc; it does update utmp entries, as desired (Bug #115663).
17 Dec 2005; Markus Rothe <corsair@gentoo.org> libutempter-1.1.2.1.ebuild:
Stable on ppc64
17 Dec 2005; Bryan Østergaard <kloeri@gentoo.org
libutempter-1.1.2.1.ebuild:
Stable on alpha, bug 115663.
29 Jul 2005; Seemant Kulleen <seemant@gentoo.org>
libutempter-1.1.2.1.ebuild:
ready for stable on x86 and amd64
*libutempter-1.1.2.1 (13 May 2005)
13 May 2005; Seemant Kulleen <seemant@gentoo.org>
+libutempter-1.1.2.1.ebuild:
New package as a replacement for sys-apps/utempter. This seems to be the
package we will move to as the preferred utempter, as it works better for
freebsd, and also mike harris of redhat/freedesktop is rumoured to be
rejumping the development of this. At any rate, at least Flameeyes will
be happy.

View File

@ -1,10 +0,0 @@
DIST libutempter-1.1.5.tar.bz2 14588 SHA256 73d0576b16caeb22874dc80d0ce7a6aeebb3181b117e95c147cd8d29df99e70e SHA512 12012d2bf3efa40b2afb90525883d2398105d75042cd5eac3091dd0b763107406c549038215747adcb3797edc6b2da1efe4bf31d9ab019d9e205d53a7c36492d WHIRLPOOL b61c1e0c84726e7f824ac83bc195c4d29ac236e2bab5790a559bbcacd75a97429c5458d8ff459f6257959b4f92855402273badaae4f69b9982ac26a72285e029
DIST libutempter-1.1.6.tar.bz2 15705 SHA256 b898565f31ced7e5c1fa0a2eaa0f6ff0ed862b5fe375d26375b64bfbdfeac397 SHA512 6ada410b981d157ae20b578de8ce20997ec0446ec6de6859549b080aa65976fc9900d211600dab09dc3d0d109daabad0994a648b093b8781b442ff26ca17fede WHIRLPOOL c94d42d6929754608f9504defec3ab5b4c5c61fd0baa373e07508a11167241c07de4ecf26e14271e2c9914b731afba12ff7930e8ecd0126da1f472dccabdea30
EBUILD libutempter-1.1.5-r1.ebuild 1545 SHA256 8f4086d0366631b397cb99f43a170f424b1fb597f4c0c4aeb0be41ea9caf8166 SHA512 43a967cfc92d6bd3df9a807444f51a4edfd6529f6ce3bd280acfaa263960a17737d790dcb236288f4ada3a00b60190caaba3c527bb26493f22fdce5394fc538b WHIRLPOOL 4df6f230d89feda5b24cb838fce72bdec3a03b7d959aedd5ee7c61c7fc0467b884d41f688e2ef0822b876d8eaaff7daae89dccde0cc214025ad9d1451bd99b55
EBUILD libutempter-1.1.5.ebuild 1433 SHA256 abe41ded6c1645eb209a9ccf1395b5e02d0ec1362b30c65d0efecdb329a2e88e SHA512 a6a02280141c92a887646e9f7f74c2419b37e3bafca0e8fa49e862e891c4a92dba7f8dd77c3cd3f69e97b43f0b4784a374aaf99647d8d83d440a840a27cbc622 WHIRLPOOL b72e57b3175c95891622f3408990b80e082b632a19050d9a2349fd22d7571b8c30dc21554454f792f8a785a58e7896754cf4dca77c9d32bab24188dcc4e46237
EBUILD libutempter-1.1.6-r1.ebuild 1739 SHA256 128aec627b6a9dff15c80721310e9945097b08ce13e3b31375dd2d4eb76c12d5 SHA512 66abac0275c077d14398438508bf11e23e36e86e920cd7a064226148cb3397f209bd34cf0d801ea0404863e5e286b263cb3ef17176425e0dc01e32a69da0b926 WHIRLPOOL 1b768618378062d803f386bd8f050abf6fab1f8358ddef00d893170d33c8996ca17a4068d14391aa88d6b8999943289f518c64a615cab8bf6673a4fc0d0b3bd7
EBUILD libutempter-1.1.6-r2.ebuild 1755 SHA256 e019c7704e147e1600db8ff4527d7b87cc94d42717f140e3efd3b86e265f4e82 SHA512 09d7f6c3537a319e2bf9bca306998e8c033d0241c05dd2699d822a0f1c62a387d867966d94bf415b570296979220bbee82685008da25f6f5bb466cd0ad67d348 WHIRLPOOL dbda69444ca4ac862d5d568202ea885e4f4a9a209fc2fab1295eb33bacf01d956164cfa083f0018174c0d872896ca2248b498f891ca3246a4a4ac52baabe3167
EBUILD libutempter-1.1.6.ebuild 1545 SHA256 8f4086d0366631b397cb99f43a170f424b1fb597f4c0c4aeb0be41ea9caf8166 SHA512 43a967cfc92d6bd3df9a807444f51a4edfd6529f6ce3bd280acfaa263960a17737d790dcb236288f4ada3a00b60190caaba3c527bb26493f22fdce5394fc538b WHIRLPOOL 4df6f230d89feda5b24cb838fce72bdec3a03b7d959aedd5ee7c61c7fc0467b884d41f688e2ef0822b876d8eaaff7daae89dccde0cc214025ad9d1451bd99b55
MISC ChangeLog 3200 SHA256 6fb116509f3cb9faaae2f7c44a97cd68ec2025b65435303347c81e3b76436c62 SHA512 0751ef0a2de20b7c98093874e5f86d269ca6761324b3cda8d8e153f7c7ebab331cc7c1c34711fe1968f37f86cc9aa1f256051cba04f6673548ecfd23a9144496 WHIRLPOOL 2a7e0aceea4fe55630af016847c5b80da26cd7621d6c370ad7efd7d7c4403ce25d457c342b5c6565f64124f35bddf923c201698591fe7daa0b2612f0b3ea4f1b
MISC ChangeLog-2015 7010 SHA256 b55d02cbd8c6d4d38914d9f065a8235c1ebac69ed8e73d5f416a08d02a07058f SHA512 45fab39dfd3e003a40351ce6d583eba0e9ab79188268639b78942de4c0a63244d2fecd68b78f62390853d4bbfdfb9ec00b01894939d5234ed86f4da5ef0e547c WHIRLPOOL 081f3d353fd0687d18681ba3f52f77489301d579442690bcbb411f1c18900cb8d988f174e2547b465c2e6efe4bbc120002b7befec7ca2c925375358734f79992
MISC metadata.xml 344 SHA256 c1ff5b28d97a3d25b8bdd7bdf1f44d583b364107c662ae469624bfdca7aa8efd SHA512 77307533cb1ddb71561957493f7062330c1748f62ab1381f369c5fb864f0e2a6608cfa5c86005b816c2a9a2523bb9a2264c807f1d6c31a5e2bb6177876b94ed9 WHIRLPOOL 91066d3e43d3147d614f2b55a5af5bc346b05b6264d1bc806c8a927609d0b757c2b287643fa389505fd4c959d161a7a36919c7a038fd4e3617de84b07b67204e

View File

@ -1,66 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit user multilib flag-o-matic
DESCRIPTION="Library that allows non-privileged apps to write utmp (login) info, which need root access"
HOMEPAGE="http://altlinux.org/index.php?module=sisyphus&package=libutempter"
SRC_URI="ftp://ftp.altlinux.org/pub/people/ldv/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="static-libs elibc_FreeBSD"
RDEPEND="!sys-apps/utempter"
pkg_setup() {
enewgroup utmp 406
}
src_prepare() {
local args=(
-e "/^libdir /s:/lib:/$(get_libdir):"
-e '/^libexecdir /s:=.*:= $(libdir)/misc:'
-e '/^CFLAGS = $(RPM_OPT_FLAGS)/d'
-e 's:,-stats::'
)
use static-libs || args+=(
-e '/^STATICLIB/d'
-e '/INSTALL.*STATICLIB/d'
)
sed -i "${args[@]}" Makefile || die
}
src_configure() {
use elibc_FreeBSD && append-libs -lutil
tc-export CC
}
src_compile() {
emake LDLIBS="${LIBS}"
}
src_install() {
default
fowners root:utmp /usr/$(get_libdir)/misc/utempter/utempter
fperms 2755 /usr/$(get_libdir)/misc/utempter/utempter
dodir /usr/sbin
dosym ../$(get_libdir)/misc/utempter/utempter /usr/sbin/utempter
}
pkg_postinst() {
if [ -f "${ROOT}/var/log/wtmp" ] ; then
chown root:utmp "${ROOT}/var/log/wtmp"
chmod 664 "${ROOT}/var/log/wtmp"
fi
if [ -f "${ROOT}/var/run/utmp" ] ; then
chown root:utmp "${ROOT}/var/run/utmp"
chmod 664 "${ROOT}/var/run/utmp"
fi
}

View File

@ -1,58 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit user multilib flag-o-matic
DESCRIPTION="Library that allows non-privileged apps to write utmp (login) info, which need root access"
HOMEPAGE="http://altlinux.org/index.php?module=sisyphus&package=libutempter"
SRC_URI="ftp://ftp.altlinux.org/pub/people/ldv/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="elibc_FreeBSD"
RDEPEND="!sys-apps/utempter"
pkg_setup() {
enewgroup utmp 406
}
src_compile() {
use elibc_FreeBSD && append-flags -lutil
emake \
CC="$(tc-getCC)" \
RPM_OPT_FLAGS="${CFLAGS}" \
libdir=/usr/$(get_libdir) \
libexecdir=/usr/$(get_libdir)/misc || die
}
src_install() {
make \
DESTDIR="${D}" \
libdir=/usr/$(get_libdir) \
libexecdir=/usr/$(get_libdir)/misc \
includedir=/usr/include \
install || die
fowners root:utmp /usr/$(get_libdir)/misc/utempter/utempter
fperms 2755 /usr/$(get_libdir)/misc/utempter/utempter
dodir /usr/sbin
dosym ../$(get_libdir)/misc/utempter/utempter /usr/sbin/utempter
dodoc README
}
pkg_postinst() {
if [ -f "${ROOT}/var/log/wtmp" ]
then
chown root:utmp "${ROOT}/var/log/wtmp"
chmod 664 "${ROOT}/var/log/wtmp"
fi
if [ -f "${ROOT}/var/run/utmp" ]
then
chown root:utmp "${ROOT}/var/run/utmp"
chmod 664 "${ROOT}/var/run/utmp"
fi
}

View File

@ -1,70 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit user multilib flag-o-matic
DESCRIPTION="Library that allows non-privileged apps to write utmp (login) info, which need root access"
HOMEPAGE="http://altlinux.org/index.php?module=sisyphus&package=libutempter"
SRC_URI="ftp://ftp.altlinux.org/pub/people/ldv/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
IUSE="static-libs elibc_FreeBSD"
RDEPEND="!sys-apps/utempter"
pkg_setup() {
enewgroup utmp 406
}
src_prepare() {
local args=(
-e "/^libdir /s:/usr/lib:${EPREFIX}/usr/$(get_libdir):"
-e '/^libexecdir /s:=.*:= $(libdir)/misc:'
-e '/^CFLAGS = $(RPM_OPT_FLAGS)/d'
-e 's:,-stats::'
-e "/^includedir /s:/usr/include:${EPREFIX}/usr/include:"
-e "/^mandir /s:=.*:= ${EPREFIX}/usr/share/man:"
)
use static-libs || args+=(
-e '/^STATICLIB/d'
-e '/INSTALL.*STATICLIB/d'
)
sed -i "${args[@]}" Makefile || die
}
src_configure() {
use elibc_FreeBSD && append-libs -lutil
tc-export CC
}
src_compile() {
emake LDLIBS="${LIBS}"
}
src_install() {
default
if ! use prefix ; then
fowners root:utmp /usr/$(get_libdir)/misc/utempter/utempter
fperms 2755 /usr/$(get_libdir)/misc/utempter/utempter
fi
dodir /usr/sbin
dosym ../$(get_libdir)/misc/utempter/utempter /usr/sbin/utempter
}
pkg_postinst() {
if [ -f "${EROOT}/var/log/wtmp" ] ; then
chown root:utmp "${EROOT}/var/log/wtmp"
chmod 664 "${EROOT}/var/log/wtmp"
fi
if [ -f "${EROOT}/var/run/utmp" ] ; then
chown root:utmp "${EROOT}/var/run/utmp"
chmod 664 "${EROOT}/var/run/utmp"
fi
}

View File

@ -1,70 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit user multilib flag-o-matic
DESCRIPTION="Library that allows non-privileged apps to write utmp (login) info, which need root access"
HOMEPAGE="http://altlinux.org/index.php?module=sisyphus&package=libutempter"
SRC_URI="ftp://ftp.altlinux.org/pub/people/ldv/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
IUSE="static-libs elibc_FreeBSD"
RDEPEND="!sys-apps/utempter"
pkg_setup() {
enewgroup utmp 406
}
src_prepare() {
local args=(
-e "/^libdir /s:/usr/lib:${EPREFIX}/usr/$(get_libdir):"
-e '/^libexecdir /s:=.*:= $(libdir)/misc:'
-e '/^CFLAGS = $(RPM_OPT_FLAGS)/d'
-e 's:,-stats::'
-e "/^includedir /s:/usr/include:${EPREFIX}/usr/include:"
-e "/^mandir /s:=.*:= ${EPREFIX}/usr/share/man:"
)
use static-libs || args+=(
-e '/^STATICLIB/d'
-e '/INSTALL.*STATICLIB/d'
)
sed -i "${args[@]}" Makefile || die
}
src_configure() {
use elibc_FreeBSD && append-libs -lutil
tc-export AR CC
}
src_compile() {
emake LDLIBS="${LIBS}"
}
src_install() {
default
if ! use prefix ; then
fowners root:utmp /usr/$(get_libdir)/misc/utempter/utempter
fperms 2755 /usr/$(get_libdir)/misc/utempter/utempter
fi
dodir /usr/sbin
dosym ../$(get_libdir)/misc/utempter/utempter /usr/sbin/utempter
}
pkg_postinst() {
if [ -f "${EROOT}/var/log/wtmp" ] ; then
chown root:utmp "${EROOT}/var/log/wtmp"
chmod 664 "${EROOT}/var/log/wtmp"
fi
if [ -f "${EROOT}/var/run/utmp" ] ; then
chown root:utmp "${EROOT}/var/run/utmp"
chmod 664 "${EROOT}/var/run/utmp"
fi
}

View File

@ -1,66 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit user multilib flag-o-matic
DESCRIPTION="Library that allows non-privileged apps to write utmp (login) info, which need root access"
HOMEPAGE="http://altlinux.org/index.php?module=sisyphus&package=libutempter"
SRC_URI="ftp://ftp.altlinux.org/pub/people/ldv/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="static-libs elibc_FreeBSD"
RDEPEND="!sys-apps/utempter"
pkg_setup() {
enewgroup utmp 406
}
src_prepare() {
local args=(
-e "/^libdir /s:/lib:/$(get_libdir):"
-e '/^libexecdir /s:=.*:= $(libdir)/misc:'
-e '/^CFLAGS = $(RPM_OPT_FLAGS)/d'
-e 's:,-stats::'
)
use static-libs || args+=(
-e '/^STATICLIB/d'
-e '/INSTALL.*STATICLIB/d'
)
sed -i "${args[@]}" Makefile || die
}
src_configure() {
use elibc_FreeBSD && append-libs -lutil
tc-export CC
}
src_compile() {
emake LDLIBS="${LIBS}"
}
src_install() {
default
fowners root:utmp /usr/$(get_libdir)/misc/utempter/utempter
fperms 2755 /usr/$(get_libdir)/misc/utempter/utempter
dodir /usr/sbin
dosym ../$(get_libdir)/misc/utempter/utempter /usr/sbin/utempter
}
pkg_postinst() {
if [ -f "${ROOT}/var/log/wtmp" ] ; then
chown root:utmp "${ROOT}/var/log/wtmp"
chmod 664 "${ROOT}/var/log/wtmp"
fi
if [ -f "${ROOT}/var/run/utmp" ] ; then
chown root:utmp "${ROOT}/var/run/utmp"
chmod 664 "${ROOT}/var/run/utmp"
fi
}

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>base-system@gentoo.org</email>
<name>Gentoo Base System</name>
</maintainer>
<maintainer type="project">
<email>x11@gentoo.org</email>
<name>X11</name>
</maintainer>
</pkgmetadata>