summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2008-07-08 19:57:43 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2008-07-08 19:57:43 +0000
commit8f53f1071bbf7eb7acb90a5a53e5af09f77f4278 (patch)
tree9c74e41e2eb884272acddae82e90bbd9c2584cf7 /net-proxy
parentStable for HPPA (bug #230816). (diff)
downloadhistorical-8f53f1071bbf7eb7acb90a5a53e5af09f77f4278.tar.gz
historical-8f53f1071bbf7eb7acb90a5a53e5af09f77f4278.tar.bz2
historical-8f53f1071bbf7eb7acb90a5a53e5af09f77f4278.zip
New ebuild.
Package-Manager: portage-2.1.5.2
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/ratproxy/ChangeLog10
-rw-r--r--net-proxy/ratproxy/Manifest15
-rw-r--r--net-proxy/ratproxy/files/ratproxy-Makefile.patch19
-rw-r--r--net-proxy/ratproxy/metadata.xml22
-rw-r--r--net-proxy/ratproxy/ratproxy-1.51.ebuild40
5 files changed, 106 insertions, 0 deletions
diff --git a/net-proxy/ratproxy/ChangeLog b/net-proxy/ratproxy/ChangeLog
new file mode 100644
index 000000000000..b97c9fd1f6a6
--- /dev/null
+++ b/net-proxy/ratproxy/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-proxy/ratproxy
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ratproxy/ChangeLog,v 1.1 2008/07/08 19:57:42 drizzt Exp $
+
+*ratproxy-1.51 (08 Jul 2008)
+
+ 08 Jul 2008; Timothy Redaelli <drizzt@gentoo.org>
+ +files/ratproxy-Makefile.patch, +metadata.xml, +ratproxy-1.51.ebuild:
+ New ebuild.
+
diff --git a/net-proxy/ratproxy/Manifest b/net-proxy/ratproxy/Manifest
new file mode 100644
index 000000000000..5fdf954b2f52
--- /dev/null
+++ b/net-proxy/ratproxy/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX ratproxy-Makefile.patch 678 RMD160 a65d318407c25ae040d78f91533c1c41476cc61c SHA1 f711a53fa4168e3694286b5d3760e0a1551cf5cf SHA256 0ef77aa04ea37e6fda98e7c565f0dc3304caa2c87f4545573156af9e73be05d8
+DIST ratproxy-1.51.tar.gz 168409 RMD160 7f8c70ad9d51a54e697606216e6a1c74faf60d4f SHA1 d2ed8a65e59c2cbb225b82921d37e128a934689c SHA256 f58a40d021988874c1bac177413c7b07b985721ff1282cd6734623c08fed634b
+EBUILD ratproxy-1.51.ebuild 884 RMD160 822e3295e911f6d90542dc770f609ff87161fa1b SHA1 bcdcec2e010f04ec03f3203f69d3893075324dfb SHA256 23795f7ca224f9b6b2be856fb36d4eb3dddc873dc9a2fbd82ceea88e32797080
+MISC ChangeLog 378 RMD160 bf7155c7e8dc2b9abe681408f2055727eee3bc40 SHA1 cd46a7cf1190da838137e4f44fb4d518875e9df2 SHA256 f1a86fe0f1d406d6cf810a98962243b5e95888258dccbb2f5f42d926e7248cb1
+MISC metadata.xml 845 RMD160 2f4e25b58d644b6480310855f5886703b379a7f8 SHA1 79ba0b58b97376c496795158b2c04a2a2d15f295 SHA256 bc0fea0e4b488e677927f8ca3e60a8b573ad7dcb16f40688414f0800a6121386
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFIc8a8faz7Jd2SSKIRAh79AJ9nIAdP9e2LhOhPOVvLr7JSK66nzgCfXrHc
+CQvnhZXn0CQQDsguhpZX7B8=
+=MS66
+-----END PGP SIGNATURE-----
diff --git a/net-proxy/ratproxy/files/ratproxy-Makefile.patch b/net-proxy/ratproxy/files/ratproxy-Makefile.patch
new file mode 100644
index 000000000000..323b52d1ff13
--- /dev/null
+++ b/net-proxy/ratproxy/files/ratproxy-Makefile.patch
@@ -0,0 +1,19 @@
+--- Makefile.bak 2008-07-08 21:34:10.000000000 +0200
++++ Makefile 2008-07-08 21:35:34.000000000 +0200
+@@ -20,13 +20,13 @@
+ #
+
+ PROGNAME = ratproxy
+-CFLAGS = -Wall -O3 -Wno-pointer-sign -D_GNU_SOURCE
+-LDFLAGS = -lcrypto -lssl
++CFLAGS += -Wall -Wno-pointer-sign -D_GNU_SOURCE
++LIBS = -lcrypto -lssl
+
+ all: $(PROGNAME) flare-check
+
+ $(PROGNAME): $(PROGNAME).c http.c mime.c ssl.c http.h mime.h ssl.h nlist.h config.h debug.h types.h string-inl.h
+- $(CC) $(PROGNAME).c -o $(PROGNAME) $(CFLAGS) http.c mime.c ssl.c $(LDFLAGS)
++ $(CC) $(PROGNAME).c -o $(PROGNAME) $(CFLAGS) $(LDFLAGS) http.c mime.c ssl.c $(LIBS)
+
+ flare-check:
+ @flare-dist/flare 2>&1 | grep -qF Igor || ( \
diff --git a/net-proxy/ratproxy/metadata.xml b/net-proxy/ratproxy/metadata.xml
new file mode 100644
index 000000000000..3e027fcffc0b
--- /dev/null
+++ b/net-proxy/ratproxy/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>drizzt@gentoo.org</email>
+ <name>Timothy Redaelli</name>
+ </maintainer>
+ <longdescription lang="en">
+ A semi-automated, largely passive web application security audit tool,
+ optimized for an accurate and sensitive detection, and automatic
+ annotation, of potential problems and security-relevant design patterns
+ based on the observation of existing, user-initiated traffic in complex
+ web 2.0 environments.
+
+ Detects and prioritizes broad classes of security problems, such as
+ dynamic cross-site trust model considerations, script inclusion issues,
+ content serving problems, insufficient XSRF and XSS defenses, and much
+ more.
+ </longdescription>
+</pkgmetadata>
+
diff --git a/net-proxy/ratproxy/ratproxy-1.51.ebuild b/net-proxy/ratproxy/ratproxy-1.51.ebuild
new file mode 100644
index 000000000000..6e4ed2ad699f
--- /dev/null
+++ b/net-proxy/ratproxy/ratproxy-1.51.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ratproxy/ratproxy-1.51.ebuild,v 1.1 2008/07/08 19:57:42 drizzt Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="A semi-automated, largely passive web application security audit tool."
+HOMEPAGE="http://code.google.com/p/ratproxy/"
+SRC_URI="http://ratproxy.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-libs/openssl"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i -e "s:keyfile\.pem:/usr/share/${PN}/&:" ssl.c
+ epatch "${FILESDIR}"/${PN}-Makefile.patch
+}
+
+src_compile() {
+ tc-export CC
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin ${PN} || die "install failed"
+ dodoc doc/*
+ insinto /usr/share/${PN}
+ doins keyfile.pem
+}