From 0597b11124741f43f8dd10d7a6c85afc74f7d908 Mon Sep 17 00:00:00 2001 From: Seemant Kulleen Date: Wed, 28 Feb 2007 15:47:43 +0000 Subject: [PATCH] version bump, thanks to Martin von Gagern in bug #168435 Package-Manager: portage-2.1.2-r12 --- sys-libs/libutempter/ChangeLog | 8 ++- sys-libs/libutempter/Manifest | 16 +++-- .../files/digest-libutempter-1.1.5 | 3 + sys-libs/libutempter/libutempter-1.1.5.ebuild | 62 +++++++++++++++++++ 4 files changed, 84 insertions(+), 5 deletions(-) create mode 100644 sys-libs/libutempter/files/digest-libutempter-1.1.5 create mode 100644 sys-libs/libutempter/libutempter-1.1.5.ebuild diff --git a/sys-libs/libutempter/ChangeLog b/sys-libs/libutempter/ChangeLog index 0f757fbb2b56..0e897e3d9dc8 100644 --- a/sys-libs/libutempter/ChangeLog +++ b/sys-libs/libutempter/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-libs/libutempter # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/ChangeLog,v 1.22 2007/02/28 15:37:55 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/ChangeLog,v 1.23 2007/02/28 15:47:43 seemant Exp $ + +*libutempter-1.1.5 (28 Feb 2007) + + 28 Feb 2007; Seemant Kulleen + +libutempter-1.1.5.ebuild: + version bump, thanks to Martin von Gagern in bug #168435 28 Feb 2007; Seemant Kulleen libutempter-1.1.4.1.ebuild: diff --git a/sys-libs/libutempter/Manifest b/sys-libs/libutempter/Manifest index b518879ae961..917cd75b9e82 100644 --- a/sys-libs/libutempter/Manifest +++ b/sys-libs/libutempter/Manifest @@ -1,5 +1,6 @@ DIST libutempter-1.1.2-alt1.src.rpm 20125 RMD160 084e82c6a7f8b08f35534e5e8dc3e766cc88a098 SHA1 eb4c425ad736564d429f0d90bc9effdefd8b45f0 SHA256 918e4b02fe0fb6cf31d3de1c9867e1df0935ee6a5d011d26192db6f1d89a93f6 DIST libutempter-1.1.4.tar.bz2 14583 RMD160 380718e5531d7b396784e2e7298f25ef12606c2d SHA1 d35839d669e614e6259d51bc8db04ae0776fc583 SHA256 ca09ab18a8d29a5f0af1ce04e19924839f108f0cadbba90dd3e3a33c4dbf092c +DIST libutempter-1.1.5.tar.bz2 14588 RMD160 f96bbbab0a5e45732e82bcef2a5d43e9cbdfb7a6 SHA1 fd250c317c92a300508365593bf68fbd5f2b9e9a SHA256 73d0576b16caeb22874dc80d0ce7a6aeebb3181b117e95c147cd8d29df99e70e DIST libutempter-patches-1.tar.bz2 1968 RMD160 bb64e7d1b28c0fe235e61a9a79a554af8ca4b9fe SHA1 cf47ad2390d86cbe38b0de9a6055a437a9996793 SHA256 3acea214f5773f3cc842c1e1b716e6f1808edc9a8cdfa60cb4909b9eac17795c EBUILD libutempter-1.1.2.1.ebuild 1953 RMD160 49429f486aecc2e1084d8faf564a036e5c54dd08 SHA1 e5b8a4ff2d5aa432260cc9ed3bf753d0617fdebf SHA256 03ec1d31486ee7086c2e69d2654fd94328d8d8d9dd4672cbd5a7445c73c21147 MD5 877f0084b5b993d98f103abeaf6d1776 libutempter-1.1.2.1.ebuild 1953 @@ -9,10 +10,14 @@ EBUILD libutempter-1.1.4.1.ebuild 1670 RMD160 fa9497ecbc4138f912ac4a07ef9d12e594 MD5 250a1143d83b42fca16fb5d09f2f93c8 libutempter-1.1.4.1.ebuild 1670 RMD160 fa9497ecbc4138f912ac4a07ef9d12e594464c5d libutempter-1.1.4.1.ebuild 1670 SHA256 6564d0c0a44bb495cc1334571afc2f0a6867e0c17991fd31606f9f58476c3272 libutempter-1.1.4.1.ebuild 1670 -MISC ChangeLog 3432 RMD160 fafe1783e20debf2fe07827cb148b20f06fc9bbf SHA1 a8afb67c9358909f8b65b0c9224692d94f257933 SHA256 aa06643200c96895819d142f18ae5ba0b1019624d076e5b11785c091ceeca922 -MD5 f60a7035e448fd4b4d2f646568edfa00 ChangeLog 3432 -RMD160 fafe1783e20debf2fe07827cb148b20f06fc9bbf ChangeLog 3432 -SHA256 aa06643200c96895819d142f18ae5ba0b1019624d076e5b11785c091ceeca922 ChangeLog 3432 +EBUILD libutempter-1.1.5.ebuild 1622 RMD160 de8b393b909ebf1971ce7a2e276ea65ba7c74154 SHA1 9b11b0c920e8b85da6790c77d3d6d17755fd2eee SHA256 0434fe0100d80a8dc5c57f9b1f5cf901af9fa8a5e43160e34b1e0513c454acd2 +MD5 748bf78d32bf36619cc4ad61cbc675d0 libutempter-1.1.5.ebuild 1622 +RMD160 de8b393b909ebf1971ce7a2e276ea65ba7c74154 libutempter-1.1.5.ebuild 1622 +SHA256 0434fe0100d80a8dc5c57f9b1f5cf901af9fa8a5e43160e34b1e0513c454acd2 libutempter-1.1.5.ebuild 1622 +MISC ChangeLog 3607 RMD160 7000932a06825b403dcf46ee6312019056713e96 SHA1 08f6ace91e4f9767cd2052c3fab168bf16c56ec0 SHA256 9f95329dd74d2002e7353f7657c9a85bf8fc7330a2adb22a9f2b24200d13fd59 +MD5 652266df48ced17029a6ab17cd274159 ChangeLog 3607 +RMD160 7000932a06825b403dcf46ee6312019056713e96 ChangeLog 3607 +SHA256 9f95329dd74d2002e7353f7657c9a85bf8fc7330a2adb22a9f2b24200d13fd59 ChangeLog 3607 MISC metadata.xml 244 RMD160 415c1bf42e8ab1f05cac23f6275c74e9602abee5 SHA1 c0a3a4fd62a76291614a7f8550c3620972e61c76 SHA256 6f6a659e9423f9dabea4b7fd68a790fe05b4bdd88cf958f9b7066b96bc92ccce MD5 67151bd8a182cc399f96428ba4721783 metadata.xml 244 RMD160 415c1bf42e8ab1f05cac23f6275c74e9602abee5 metadata.xml 244 @@ -23,3 +28,6 @@ SHA256 15cb631ee02ceb4784384530618103ed952857a2ee62a90ca4dc78cff86c439a files/di MD5 9be2840bf54f023a153363d78467a87b files/digest-libutempter-1.1.4.1 253 RMD160 8f461a3f82191874625c32a9dbd73b24f7095aa6 files/digest-libutempter-1.1.4.1 253 SHA256 9df33911c6a6fa1ddfa14b803a4a0bfb6e64e21368865813ae3bdeb73704831e files/digest-libutempter-1.1.4.1 253 +MD5 e93a30e7254757dbe49838ab86bba6cb files/digest-libutempter-1.1.5 253 +RMD160 fd671aabda713d8425bf08f05d2b2040f9d34ac5 files/digest-libutempter-1.1.5 253 +SHA256 410355bad08c3d16382785d13de3b821e42768d5b0d33e1724dfccb1ce47edd8 files/digest-libutempter-1.1.5 253 diff --git a/sys-libs/libutempter/files/digest-libutempter-1.1.5 b/sys-libs/libutempter/files/digest-libutempter-1.1.5 new file mode 100644 index 000000000000..9dbb2b49ffa4 --- /dev/null +++ b/sys-libs/libutempter/files/digest-libutempter-1.1.5 @@ -0,0 +1,3 @@ +MD5 d62a93ba9f3796a91cf03be5ef25a9a1 libutempter-1.1.5.tar.bz2 14588 +RMD160 f96bbbab0a5e45732e82bcef2a5d43e9cbdfb7a6 libutempter-1.1.5.tar.bz2 14588 +SHA256 73d0576b16caeb22874dc80d0ce7a6aeebb3181b117e95c147cd8d29df99e70e libutempter-1.1.5.tar.bz2 14588 diff --git a/sys-libs/libutempter/libutempter-1.1.5.ebuild b/sys-libs/libutempter/libutempter-1.1.5.ebuild new file mode 100644 index 000000000000..cdb45a4b374f --- /dev/null +++ b/sys-libs/libutempter/libutempter-1.1.5.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/libutempter-1.1.5.ebuild,v 1.1 2007/02/28 15:47:43 seemant Exp $ + +inherit eutils flag-o-matic versionator toolchain-funcs + +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="" + +DEPEND="!virtual/utempter" +RDEPEND="!virtual/utempter" + +PROVIDE="virtual/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 +} -- 2.26.2