diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/authbind |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/authbind')
-rw-r--r-- | app-admin/authbind/Manifest | 6 | ||||
-rw-r--r-- | app-admin/authbind/authbind-2.1.1.ebuild | 51 | ||||
-rw-r--r-- | app-admin/authbind/files/authbind-2.1.1-respect-flags.patch | 26 | ||||
-rw-r--r-- | app-admin/authbind/metadata.xml | 8 |
4 files changed, 91 insertions, 0 deletions
diff --git a/app-admin/authbind/Manifest b/app-admin/authbind/Manifest new file mode 100644 index 000000000000..5137ed4882f3 --- /dev/null +++ b/app-admin/authbind/Manifest @@ -0,0 +1,6 @@ +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 1179 SHA256 822ed1c54f483944ffd30d30fbf5a8af7b5468207d8b8f746a197ca5f50590c4 SHA512 777f23b0e2d3999a73f8262659d92a45c9f99d51e439650bdf50a124288afccdd153de74f97c4b1253cea9029a785f3342ba2c495f6d67a52ebe727504293fce WHIRLPOOL eb088bb786423fbea83136ada01001b2f10c7d1cc8843e213ef24ef71b3370da4001edeb51b4aecbf5285375177eb6d1e3f5948601f777d1f417c93b2e41d1a0 +MISC ChangeLog 2223 SHA256 174e0cb13f7152cef1c782fea0b8b404554940daa1b914d7abb27af08d8c758c SHA512 87080de355da2cea17064d8f862ff35a15dcad67f3471cd7e9dddb4608e26d9a957a51a57037b94fef52a49dd8f204ee7f83e41b887fc6fbe13e0fa5b159e225 WHIRLPOOL daf519a1dec170749578c113a2dbd088a2ad147e2cf7136ca23c4e1c0e8c777263f3dcf7b5d17605f34cce33299bbc2bc8031464be2d6371ef4ff21be78a9c7a +MISC ChangeLog-2015 434 SHA256 1617823b07078d088e7cf5c115ef22d6d3ad5ec9d88687d288539ee2272147c4 SHA512 524b68827cb8f460094262ce07d9a99ef702b490fb5f518dde5195c7153d8a5ed2ad1f2cd95b4aad7f0cbfe2d0bc21ece5ebdc72396ff6cff3fe48fdd6f26566 WHIRLPOOL 402bf1368d16d478e6fc66ebf3969828b7d847fec3020132d497f96258e1cfc233bd658520dc575fecd6ac88173b9bddfa847b4bc17c30918cdb1acf8230c6c9 +MISC metadata.xml 250 SHA256 e950c68e7a4e72f8096556d6bb21fea300438999061af252e040672516b06351 SHA512 a57d332a86b16f67fe2896c47c6cc9ba57f602b65943080289c816a9d0f70b779f61cde882034cc1c2adda79208865dae0bf43d95deea4556e840b785e062343 WHIRLPOOL 7804a583de98e5ebb9478b76dd2a78071f8fe6973d88692ae4ec9107dd1dd7c54fd11baf66339a9ad4267da708ffaae3d8b1d0bf332db2d5db9feac46b6856f1 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 000000000000..c7a9890aa7ce --- /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 + +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 + + ln -s libauthbind.so.* libauthbind.so.$(awk -F= '/MAJOR=/ { print $2 }' < Makefile) + 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 000000000000..2a9eb5f6b84c --- /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 diff --git a/app-admin/authbind/metadata.xml b/app-admin/authbind/metadata.xml new file mode 100644 index 000000000000..5c23291b5215 --- /dev/null +++ b/app-admin/authbind/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dev-zero@gentoo.org</email> + <name>Tiziano Müller</name> + </maintainer> +</pkgmetadata> |