From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 908A4138F38 for ; Sat, 22 Feb 2014 20:40:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B841E0AC0; Sat, 22 Feb 2014 20:40:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8C593E0AC0 for ; Sat, 22 Feb 2014 20:40:33 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 690C633FA80 for ; Sat, 22 Feb 2014 20:40:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id B130D188A2 for ; Sat, 22 Feb 2014 20:40:28 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1393101682.b1e6c1738a4a75e4fed4cd777a58337b1abdf9da.blueness@gentoo> Subject: [gentoo-commits] proj/hardened-dev:musl commit in: sys-libs/talloc/files/, sys-libs/talloc/ X-VCS-Repository: proj/hardened-dev X-VCS-Files: sys-libs/talloc/files/talloc-remove-check-bsd-strtoll.patch sys-libs/talloc/metadata.xml sys-libs/talloc/talloc-2.0.8-r99.ebuild sys-libs/talloc/talloc-2.1.0-r99.ebuild X-VCS-Directories: sys-libs/talloc/files/ sys-libs/talloc/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: b1e6c1738a4a75e4fed4cd777a58337b1abdf9da X-VCS-Branch: musl Date: Sat, 22 Feb 2014 20:40:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1ed8b662-fc23-4093-bdbc-f6cc711eb0d1 X-Archives-Hash: 59237a6f365c448aae2e180aadf4326f commit: b1e6c1738a4a75e4fed4cd777a58337b1abdf9da Author: Anthony G. Basile gentoo org> AuthorDate: Sat Feb 22 20:41:22 2014 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Feb 22 20:41:22 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=b1e6c173 sys-libs/talloc: remove BSD strtoll check Package-Manager: portage-2.2.7 RepoMan-Options: --force --- .../files/talloc-remove-check-bsd-strtoll.patch | 24 ++++++++ sys-libs/talloc/metadata.xml | 12 ++++ sys-libs/talloc/talloc-2.0.8-r99.ebuild | 67 ++++++++++++++++++++++ sys-libs/talloc/talloc-2.1.0-r99.ebuild | 67 ++++++++++++++++++++++ 4 files changed, 170 insertions(+) diff --git a/sys-libs/talloc/files/talloc-remove-check-bsd-strtoll.patch b/sys-libs/talloc/files/talloc-remove-check-bsd-strtoll.patch new file mode 100644 index 0000000..f872ef5 --- /dev/null +++ b/sys-libs/talloc/files/talloc-remove-check-bsd-strtoll.patch @@ -0,0 +1,24 @@ +diff -Naur talloc-2.1.0.orig/lib/replace/wscript talloc-2.1.0/lib/replace/wscript +--- talloc-2.1.0.orig/lib/replace/wscript 2013-09-08 12:24:14.000000000 +0000 ++++ talloc-2.1.0/lib/replace/wscript 2014-02-22 19:46:36.033471201 +0000 +@@ -272,20 +272,6 @@ + + #Some OS (ie. freebsd) return EINVAL if the convertion could not be done, it's not what we expect + #Let's detect those cases +- if conf.CONFIG_SET('HAVE_STRTOLL'): +- conf.CHECK_CODE(''' +- long long nb = strtoll("Text", NULL, 0); +- if (errno == EINVAL) { +- return 0; +- } else { +- return 1; +- } +- ''', +- msg="Checking correct behavior of strtoll", +- headers = 'errno.h', +- execute = True, +- define = 'HAVE_BSD_STRTOLL', +- ) + conf.CHECK_FUNCS('if_nametoindex strerror_r') + conf.CHECK_FUNCS('getdirentries getdents syslog') + conf.CHECK_FUNCS('gai_strerror get_current_dir_name') diff --git a/sys-libs/talloc/metadata.xml b/sys-libs/talloc/metadata.xml new file mode 100644 index 0000000..be0176a --- /dev/null +++ b/sys-libs/talloc/metadata.xml @@ -0,0 +1,12 @@ + + + + samba + + patrick@gentoo.org + Patrick Lauer + + + Enable extra compatibility stuff + + diff --git a/sys-libs/talloc/talloc-2.0.8-r99.ebuild b/sys-libs/talloc/talloc-2.0.8-r99.ebuild new file mode 100644 index 0000000..cba1d89 --- /dev/null +++ b/sys-libs/talloc/talloc-2.0.8-r99.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/talloc/talloc-2.0.8-r1.ebuild,v 1.3 2013/08/25 20:01:47 maekke Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_REQ_USE="threads" + +inherit eutils waf-utils python-single-r1 multilib + +DESCRIPTION="Samba talloc library" +HOMEPAGE="http://talloc.samba.org/" +SRC_URI="http://samba.org/ftp/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 arm x86" +IUSE="compat python" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + !!