public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/dev-zero:master commit in: app-admin/authbind/files/, app-admin/authbind/
@ 2013-04-08  8:32 Tiziano Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Tiziano Müller @ 2013-04-08  8:32 UTC (permalink / raw
  To: gentoo-commits

commit:     de3445c32677dcc059c893a10a49ad0ea1613ad9
Author:     Tiziano Müller <tm <AT> dev-zero <DOT> ch>
AuthorDate: Mon Apr  8 08:32:44 2013 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] dev/dev-zero:master commit in: app-admin/authbind/files/, app-admin/authbind/
@ 2013-10-24  8:23 Tiziano Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Tiziano Müller @ 2013-10-24  8:23 UTC (permalink / raw
  To: gentoo-commits

commit:     1798b9aa89207b911542b61b8fe9d35464560c16
Author:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 24 08:17:29 2013 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Thu Oct 24 08:17:29 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=1798b9aa

Moved to the tree

---
 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 deletions(-)

diff --git a/app-admin/authbind/Manifest b/app-admin/authbind/Manifest
deleted file mode 100644
index a448cc3..0000000
--- a/app-admin/authbind/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-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
deleted file mode 100644
index 891f48a..0000000
--- a/app-admin/authbind/authbind-2.1.1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# 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
deleted file mode 100644
index 2a9eb5f..0000000
--- a/app-admin/authbind/files/authbind-2.1.1-respect-flags.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-24  8:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08  8:32 [gentoo-commits] dev/dev-zero:master commit in: app-admin/authbind/files/, app-admin/authbind/ Tiziano Müller
  -- strict thread matches above, loose matches on Subject: below --
2013-10-24  8:23 Tiziano Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox