summaryrefslogtreecommitdiff
path: root/net-misc/redir
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/redir
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/redir')
-rw-r--r--net-misc/redir/Manifest6
-rw-r--r--net-misc/redir/files/redir-2.2.1-include.patch10
-rw-r--r--net-misc/redir/metadata.xml13
-rw-r--r--net-misc/redir/redir-2.2.1.ebuild36
4 files changed, 65 insertions, 0 deletions
diff --git a/net-misc/redir/Manifest b/net-misc/redir/Manifest
new file mode 100644
index 000000000000..ebb3193b41f4
--- /dev/null
+++ b/net-misc/redir/Manifest
@@ -0,0 +1,6 @@
+AUX redir-2.2.1-include.patch 272 SHA256 565ffded37e95083439cb5cd603af390d8f622ca0a325fd7161c37f37959101d SHA512 b30607a0cbb55d5963512535b8ad519f1f97c1fef751c7fc01ab2515124bb8b7232107bddb888b56ae320dd350353f02da1bcd24d76780ffa9bfdc2ec3710dd9 WHIRLPOOL d526f8bc81239f1d3b02ab6df6b850eae20f3ada6f679781f197ce0432b555890645bdb4e84b0f2fff55e7b876a2e134ecdf4621d3d2df585f13917303283b48
+DIST redir-2.2.1.tar.gz 42247 SHA256 7ea504f835338e448f674ca8637512f511bf74538418ad43ab39039017090e6c SHA512 1e311e9ca81bcd7baec26f22634e43b2881873c80ef58a21aa5807d00ff5298227d2d4882a7cc1e218e55a19e64cf0634f2bef417bb89733ae0b3e23942be423 WHIRLPOOL 08154801b5c080a7633ef674a820488c18e18ca5773bd383ad41e5174bd41823e66e339b1452919bff2768bd462bb906173c5d703e902e8e1261aeb0f6109e4c
+EBUILD redir-2.2.1.ebuild 731 SHA256 59253b14e4d9f7854390d765cada840845d2f1ce838f0b4d22f932b98e711714 SHA512 02324f67b96d590e4d5220d3e63e1cfb37a9800ab778aa62384f4f8481581d27ab5e108b354f7eaa9a2d34f15bc9fcb4512806bf36b77669d163874319b8faa0 WHIRLPOOL 826a5cc0a4023a631a362fff416db661cff96c44fbac304000fcea3a292dc2bd08b8d62e7b0fead467b83d4dec50d0ac5f77e313e8d5a3eff6965aa28dfcbb4e
+MISC ChangeLog 2599 SHA256 3416c68aac34744a35cd7fa2262c9f3c8d57930a8e39ce492f4317a979bc355a SHA512 5b98daa47556d5e22d3ec6de10afd8502cf3bba3ab0ddcaf6c70355ba42f645a4cefca8d97461af65e1f9dd88c597337afa89ad1318a0fe42772493ab30e0cf1 WHIRLPOOL 1bb8e843b8f4d3061a01fc1c9c9a12aa9c1c36440113e5e5bf0ac892c1b0f2cf62096722f03af90fa83c87b4c01190a73b8e4fbb4799dde556485efdfbf742ef
+MISC ChangeLog-2015 1738 SHA256 b0916ff194c6b10672a2d694f91aa3f27b9d639db6838280b4af3f363fbe0081 SHA512 e0ba4d08fbcd4a2d06a924cf10da6c31a88460c3b28103a8068dc742d20419aed131e1cec58ae3b171dc2c23ee9eed04b20522ba574cecbb782b7856db3548a1 WHIRLPOOL b8dc457111c4f80caa502089bf837388819cd6da3f7ab721d0e3de2f9deca7fbfe309cf18b0f9792e7b13fbb514b55f2742fbd8666e866f4f5145094617a727c
+MISC metadata.xml 433 SHA256 9202e65c919d2cdf585d8a8d9e4e3ca4f669bd7875d0966b92b46e46d9da7ca6 SHA512 2ec5ad5a293b5be4802f72a51039ff53d9db84548a666556b45d48534da31bed8e7dc19ba70e71cd7e229ba68a764120c4f625fdb1b3afb9b1b5e9e91df4546d WHIRLPOOL a3f189798d0b580efc6224b372639b368139e65c8d12f750a6d658c88da81517b4595fe57b81ff1faf0c9c6b129619130c9b30b96cb2413491609c7d021d5f13
diff --git a/net-misc/redir/files/redir-2.2.1-include.patch b/net-misc/redir/files/redir-2.2.1-include.patch
new file mode 100644
index 000000000000..5fea475d31a0
--- /dev/null
+++ b/net-misc/redir/files/redir-2.2.1-include.patch
@@ -0,0 +1,10 @@
+--- redir-2.2.1/redir.c.orig 1999-12-26 21:50:06.000000000 +0100
++++ redir-2.2.1/redir.c 2009-10-23 15:01:26.000000000 +0200
+@@ -78,6 +78,7 @@
+ #include <arpa/inet.h>
+ #include <netdb.h>
+ #include <errno.h>
++#include <time.h>
+
+ #ifdef USE_TCP_WRAPPERS
+ #include <tcpd.h>
diff --git a/net-misc/redir/metadata.xml b/net-misc/redir/metadata.xml
new file mode 100644
index 000000000000..6b92650506ba
--- /dev/null
+++ b/net-misc/redir/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>brendan@horan.hk</email>
+ <name>Brendan Hhoran</name>
+ <description>Proxy maintainer, to be assigned all bugs</description>
+ </maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-misc/redir/redir-2.2.1.ebuild b/net-misc/redir/redir-2.2.1.ebuild
new file mode 100644
index 000000000000..bb9c59ba7ec4
--- /dev/null
+++ b/net-misc/redir/redir-2.2.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Redir is a port redirector"
+HOMEPAGE="http://sammy.net/~sammy/hacks/"
+SRC_URI="http://sammy.net/~sammy/hacks/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha ~amd64 ~hppa ~mips sparc x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_configure() {
+ epatch "${FILESDIR}/${P}-include.patch"
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" || \
+ die "emake failed"
+}
+
+src_install() {
+ dobin redir || die "dobin failed"
+ newman redir.man redir.1 || die "doman failed"
+ dodoc CHANGES README transproxy.txt || die "dodoc failed"
+}