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 15C331381F3 for ; Mon, 8 Apr 2013 08:33:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9045E0A5D; Mon, 8 Apr 2013 08:32:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2E7C6E0A5D for ; Mon, 8 Apr 2013 08:32:58 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1A9BE33DBBD for ; Mon, 8 Apr 2013 08:32:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B5F75E42E2 for ; Mon, 8 Apr 2013 08:32:54 +0000 (UTC) From: "Tiziano Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tiziano Müller" Message-ID: <1365409964.de3445c32677dcc059c893a10a49ad0ea1613ad9.dev-zero@gentoo> Subject: [gentoo-commits] dev/dev-zero:master commit in: app-admin/authbind/files/, app-admin/authbind/ X-VCS-Repository: dev/dev-zero X-VCS-Files: app-admin/authbind/Manifest app-admin/authbind/authbind-2.1.1.ebuild app-admin/authbind/files/authbind-2.1.1-respect-flags.patch X-VCS-Directories: app-admin/authbind/files/ app-admin/authbind/ X-VCS-Committer: dev-zero X-VCS-Committer-Name: Tiziano Müller X-VCS-Revision: de3445c32677dcc059c893a10a49ad0ea1613ad9 X-VCS-Branch: master Date: Mon, 8 Apr 2013 08:32:54 +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: 4573d5e5-6203-4368-bc3a-0f6cd075f2af X-Archives-Hash: b93a0a0f7e63558e67b3c1a796db5d5d commit: de3445c32677dcc059c893a10a49ad0ea1613ad9 Author: Tiziano Müller dev-zero ch> AuthorDate: Mon Apr 8 08:32:44 2013 +0000 Commit: Tiziano Müller gentoo org> CommitDate: Mon Apr 8 08:32:44 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=de3445c3 Initial commit. --- app-admin/authbind/Manifest | 3 + app-admin/authbind/authbind-2.1.1.ebuild | 51 ++++++++++++++++++++ .../files/authbind-2.1.1-respect-flags.patch | 26 ++++++++++ 3 files changed, 80 insertions(+), 0 deletions(-) diff --git a/app-admin/authbind/Manifest b/app-admin/authbind/Manifest new file mode 100644 index 0000000..a448cc3 --- /dev/null +++ b/app-admin/authbind/Manifest @@ -0,0 +1,3 @@ +AUX authbind-2.1.1-respect-flags.patch 808 SHA256 675d15902e9c7de3ec83c5ff79d4161fa96d58fd4ba788a58862856b21e4b904 SHA512 5c22805ee442cfa76e59e11a7614acaddfc6c38a316c290e147a159a221baf3ca44b44135bf4862031faacbc1c913c97a8a95f000ffcd33688021ece7df19750 WHIRLPOOL dc481f30197f285b0b4dd5689bcc4925eb84f126b76fe206d431b57859707ed5b21e8c9fad554a340b8c22d9599dc614202ca4cbf15e3693273e99f0095b6f73 +DIST authbind_2.1.1.tar.gz 14407 SHA256 65b26b83b7ca5aa713524e0aff439f71a0ba8970913768457a22239540a9c73a SHA512 f3a45fcf1d8d6e6762bc1cef7a1b89f211e4af56c68b4c6c5e508a2f7ee039499b8b2f11ce8aeb94822d20377d309035760fa7b58aabaa4e87417ca25811c812 WHIRLPOOL 55098ccd252073403ef88546559bb5fcb268daed06501e82e1b79ab0ce63ea4eaff7335fb40a9d07342947a41e14a1432b53d082f1d8bca9d61bd8b17cabe0d1 +EBUILD authbind-2.1.1.ebuild 1107 SHA256 4446dd855864e30082b36c9fa815fdb8c35d6e03c3127f6b6c1e3b753c08e6fc SHA512 f6d182ced516f43ea1b0889bae7532ad0e458f21766805a98dd1bdf05bbfdfef96c69bc35640c6b8a3d3d7c56dae4e048fca272140e337edd3e7e98278521b28 WHIRLPOOL 6660755b8abd24a1d14f5c9e5b2b145f71f6208ad3aa7dd7713ffcf6bcbe3fc49a45cdb329c80ce41048d6ce234b4740d2be30522e11069b531b3a66eaab10bf diff --git a/app-admin/authbind/authbind-2.1.1.ebuild b/app-admin/authbind/authbind-2.1.1.ebuild new file mode 100644 index 0000000..891f48a --- /dev/null +++ b/app-admin/authbind/authbind-2.1.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils multilib flag-o-matic + +DESCRIPTION="Bind sockets to privileged ports without root" +HOMEPAGE="http://www.chiark.greenend.org.uk/ucgi/~ian/git/authbind.git/" +SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}/${P}-respect-flags.patch" +} + +src_configure() { + sed -i \ + -e "s|^prefix=.*|prefix=/usr|" \ + -e "s|^lib_dir=.*|lib_dir=\$(prefix)/$(get_libdir)|" \ + -e "s|^libexec_dir=.*|libexec_dir=\$(prefix)/libexec/authbind|" \ + -e "s|^SHARED_LDFLAGS=.*|SHARED_LDFLAGS=$(raw-ldflags)|" \ + Makefile || die "sed failed" + + sed -i \ + -e 's|/usr/lib|/usr/libexec|' \ + authbind-helper.8 || die "sed failed" +} + +src_install() { + dobin authbind + doman authbind.1 authbind-helper.8 + + dolib.so libauthbind.so* + + exeinto /usr/libexec/authbind + exeopts -m4755 + doexe helper + + keepdir /etc/authbind/by{addr,port,uid} + + dodoc debian/changelog +} diff --git a/app-admin/authbind/files/authbind-2.1.1-respect-flags.patch b/app-admin/authbind/files/authbind-2.1.1-respect-flags.patch new file mode 100644 index 0000000..2a9eb5f --- /dev/null +++ b/app-admin/authbind/files/authbind-2.1.1-respect-flags.patch @@ -0,0 +1,26 @@ +diff --git a/Makefile b/Makefile +index c1eed73..932ea60 100644 +--- a/Makefile ++++ b/Makefile +@@ -34,10 +34,9 @@ INSTALL_PROGRAM ?= install -o root -g root -m 755 -s + INSTALL_DIR ?= install -o root -g root -m 755 -d + STRIP ?= strip + +-OPTIMISE= -O2 +-LDFLAGS= -g + LIBS= -ldl -lc +-CFLAGS= -g $(OPTIMISE) \ ++SHARED_LDFLAGS= ++CFLAGS+= \ + -Wall -Wwrite-strings -Wpointer-arith -Wimplicit \ + -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes + CPPFLAGS= -DMAJOR_VER='"$(MAJOR)"' -DMINOR_VER='"$(MINOR)"' \ +@@ -82,7 +81,7 @@ helper: helper.o + helper.o authbind.o: authbind.h + + $(LIBTARGET): libauthbind.o +- ld -shared -soname $(LIBCANON) -o $@ $< $(LIBS) ++ $(LD) $(SHARED_LDFLAGS) -shared -soname $(LIBCANON) -o $@ $< $(LIBS) + + clean distclean: + rm -f $(TARGETS) *.o *~ ./#*# *.bak *.new core