From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PrvSo-0004Pr-Pg for garchives@archives.gentoo.org; Tue, 22 Feb 2011 16:51:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6F321C020; Tue, 22 Feb 2011 16:51:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 896651C020 for ; Tue, 22 Feb 2011 16:51:43 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B9DB01B40E7 for ; Tue, 22 Feb 2011 16:51:42 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2290) id 5D91F20054; Tue, 22 Feb 2011 16:51:41 +0000 (UTC) From: "Kevin McCarthy (signals)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, signals@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libbsd: metadata.xml ChangeLog libbsd-0.2.0.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: metadata.xml ChangeLog libbsd-0.2.0.ebuild X-VCS-Directories: dev-libs/libbsd X-VCS-Committer: signals X-VCS-Committer-Name: Kevin McCarthy Content-Type: text/plain; charset=utf8 Message-Id: <20110222165141.5D91F20054@flycatcher.gentoo.org> Date: Tue, 22 Feb 2011 16:51:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 654379f493217d79ee45912aa7cf5595 signals 11/02/22 16:51:41 Added: metadata.xml ChangeLog libbsd-0.2.0.ebuild Log: New ebuild for libbsd =20 (Portage version: 2.2.0_alpha24/cvs/Linux x86_64) Revision Changes Path 1.1 dev-libs/libbsd/metadata.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libbsd/me= tadata.xml?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libbsd/me= tadata.xml?rev=3D1.1&content-type=3Dtext/plain Index: metadata.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D no-herd signals@gentoo.org Kevin McCarthy 1.1 dev-libs/libbsd/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libbsd/Ch= angeLog?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libbsd/Ch= angeLog?rev=3D1.1&content-type=3Dtext/plain Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # ChangeLog for dev-libs/libbsd # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libbsd/ChangeLog,v 1.1 2011/0= 2/22 16:51:41 signals Exp $ *libbsd-0.2.0 (22 Feb 2011) 22 Feb 2011; signals +libbsd-0.2.0.ebuild, +files/libbsd-0.2.0-arc4random-prototypes.patch, +files/libbsd-0.2.0-move-nlist.patch, +metadata.xml: New ebuild for libbsd. Ebuild by Kevin McCarthy. See bug #354271 1.1 dev-libs/libbsd/libbsd-0.2.0.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libbsd/li= bbsd-0.2.0.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libbsd/li= bbsd-0.2.0.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: libbsd-0.2.0.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libbsd/libbsd-0.2.0.ebuild,v = 1.1 2011/02/22 16:51:41 signals Exp $ EAPI=3D4 inherit eutils multilib toolchain-funcs DESCRIPTION=3D"A BSD compatibility library" HOMEPAGE=3D"http://libbsd.freedesktop.org/wiki/" SRC_URI=3D"http://libbsd.freedesktop.org/releases/${P}.tar.gz" LICENSE=3D"BSD BSD-2 BSD-4 ISC" SLOT=3D"0" KEYWORDS=3D"~amd64 ~x86" IUSE=3D"" pkg_setup() { mylibbsdconf=3D( libdir=3D/usr/$(get_libdir) usrlibdir=3D/usr/$(get_libdir) pkgconfigdir=3D/usr/$(get_libdir)/pkgconfig ) if ! has_version "dev-libs/libbsd"; then if [[ -e ${ROOT}/usr/$(get_libdir)/libbsd.a ]]; then eerror eerror "Sorry, you will need to rebuild sys-libs/glibc before" eerror "installing dev-libs/libbsd. (emerge -1 sys-libs/glibc)" eerror die "Unable to install until glibc rebuilt." fi fi } src_prepare() { mv include/nlist.h include/bsd/nlist.h epatch "${FILESDIR}"/${P}-arc4random-prototypes.patch \ "${FILESDIR}"/${P}-move-nlist.patch sed -i \ -e 's/gcc /$(CC) ${LDFLAGS} /' \ -e 's/^ ar / $(AR) /' \ Makefile || die "Fix Makefile" # Fix header paths in manpages. Has to be done in steps because # not every reference in every man page is wrong. sed -i \ -e 's^\.In stdio.h^.In bsd/stdio.h^' \ src/fgetln.3 \ src/fmtcheck.3 || die "Fix stdio.h man pages" sed -i \ -e 's^\.In stdlib.h^.In bsd/stdlib.h^' \ src/humanize_number.3 \ src/strtonum.3 \ src/arc4random.3 || die "Fix stdlib.h man pages" sed -i \ -e 's^\.In unistd.h^.In bsd/unistd.h^' \ src/setmode.3 || die "Fix unistd.h man pages" sed -i \ -e 's^\.In string.h^.In bsd/string.h^' \ src/strlcpy.3 \ src/strmode.3 || die "Fix string.h man pages" sed -i \ -e 's^\.Fd #include ^.Fd #include ^' \ src/mdX.3 || die "Fix md5.h man pages" sed -i \ -e 's^\.Fd #include ^.Fd #include ^' \ src/readpassphrase.3 || die "Fix readpassphrase man page" sed -i \ -e 's^\.In nlist.h^.In bsd/nlist.h^' \ src/nlist.3 } src_compile() { tc-export CC AR emake ${mylibbsdconf[@]} } src_install() { emake DESTDIR=3D"${D}" ${mylibbsdconf[@]} install dodoc ChangeLog README TODO Versions }