diff options
author | Timothy Redaelli <drizzt@gentoo.org> | 2008-07-08 19:57:43 +0000 |
---|---|---|
committer | Timothy Redaelli <drizzt@gentoo.org> | 2008-07-08 19:57:43 +0000 |
commit | 1a8399cea78a3f92a0d22001f320ebf944067433 (patch) | |
tree | d406fff447f9267eaeb0bc0303c8e7b67d19834d /net-proxy | |
parent | Stable for HPPA (bug #230816). (diff) | |
download | gentoo-2-1a8399cea78a3f92a0d22001f320ebf944067433.tar.gz gentoo-2-1a8399cea78a3f92a0d22001f320ebf944067433.tar.bz2 gentoo-2-1a8399cea78a3f92a0d22001f320ebf944067433.zip |
New ebuild.
(Portage version: 2.1.5.2)
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/ratproxy/ChangeLog | 10 | ||||
-rw-r--r-- | net-proxy/ratproxy/Manifest | 5 | ||||
-rw-r--r-- | net-proxy/ratproxy/files/ratproxy-Makefile.patch | 19 | ||||
-rw-r--r-- | net-proxy/ratproxy/metadata.xml | 22 | ||||
-rw-r--r-- | net-proxy/ratproxy/ratproxy-1.51.ebuild | 40 |
5 files changed, 96 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..5479f3a38f33 --- /dev/null +++ b/net-proxy/ratproxy/Manifest @@ -0,0 +1,5 @@ +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 783 RMD160 c46478b9f41fa4e3e8d02e3d2ce7cb5faae6bde7 SHA1 fbcba57003cada98785874706b25ff16d58fd5dd SHA256 ce264e1a7c147d6b4eec9481d2bc49a1fd65ce811b16466d20a29ba5873375b5 +MISC ChangeLog 288 RMD160 230a53f36d72e9738e4dea1b90509107aa47721d SHA1 2eb246780ab4358f83fae130edca65c758746c0c SHA256 bc3615ea2cd574ad75b1e588ac5bc564fee4693085e7f959ec9b71bf772e5743 +MISC metadata.xml 845 RMD160 2f4e25b58d644b6480310855f5886703b379a7f8 SHA1 79ba0b58b97376c496795158b2c04a2a2d15f295 SHA256 bc0fea0e4b488e677927f8ca3e60a8b573ad7dcb16f40688414f0800a6121386 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 +} |