diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2013-05-08 13:52:24 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2013-05-08 13:52:24 +0000 |
commit | 32baee7af80376c141bfeb77c436a777015df15b (patch) | |
tree | c8584dde893fbf91235b9e8e34f63360b9db8092 /www-apache | |
parent | Drop vulnerable versions, fix bug #458726 again for /var/tmp/nginx and strict... (diff) | |
download | historical-32baee7af80376c141bfeb77c436a777015df15b.tar.gz historical-32baee7af80376c141bfeb77c436a777015df15b.tar.bz2 historical-32baee7af80376c141bfeb77c436a777015df15b.zip |
Initial commit; package requested by Steve Harrison in LINX IT. An initial ebuild was written by Vicente Olivert Riera, to which I added some minor patching and used the eclass a bit more.
Package-Manager: portage-2.1.11.63/cvs/Linux x86_64
Manifest-Sign-Key: 0xB5058F9A
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/mod_auth_radius/Manifest | 14 | ||||
-rw-r--r-- | www-apache/mod_auth_radius/files/1.5.8-includes.patch | 25 | ||||
-rw-r--r-- | www-apache/mod_auth_radius/files/1.5.8-remote_ip-obsolete.patch | 21 | ||||
-rw-r--r-- | www-apache/mod_auth_radius/metadata.xml | 8 | ||||
-rw-r--r-- | www-apache/mod_auth_radius/mod_auth_radius-1.5.8.ebuild | 38 |
5 files changed, 104 insertions, 2 deletions
diff --git a/www-apache/mod_auth_radius/Manifest b/www-apache/mod_auth_radius/Manifest index 36e31151ac33..11f25c720f13 100644 --- a/www-apache/mod_auth_radius/Manifest +++ b/www-apache/mod_auth_radius/Manifest @@ -1,6 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX 1.5.8-includes.patch 719 SHA256 a6e6cd0791f0095986effcbaf4f8f1b1ca2a66f3c26076dd941f7fc5eba4744a SHA512 8c9bd0e4a9afd5ab009b956685bc0c94cef1a50dc112f701994804acd8fe821d1c25367c5bede3e95ad190149d1bd482dea90ff8824bb5a2aa20fa9451e81ad2 WHIRLPOOL d326d79d1bf5ec7222b37c1aa25d8d5afba8944cd478ba29e92e8ac3a49fe6e9e4c51e956f2610cb1706460c6269a06d820c427fed374e1d3a55715e6b237a46 AUX 1.5.8-remote_ip-obsolete.patch 1326 SHA256 b80cf4f9c9c7f5062b7396c106b6b2f5c8962faa30b3f3ead3f39da7b4bac588 SHA512 172b319b90580e08200d787821e28fbd85ffb0dd6fb17566cbad62fd5908be225b7e7b34adc6cb0800f97650de2b0e5bc0cbe7e30f8fdb7ee75674bb7b670db4 WHIRLPOOL 738876f2c52c71d03304be321689a204925df5206711217d6b30840388902e40af48fcced94ca76e5bc924e187a1e59eeb65ed62a75c9859c7a01f7d36d306ef DIST mod_auth_radius-1.5.8.tar 122880 SHA256 6a16cb64c8e3da5ccef5db007d3ab3fa53274bdb37c5f6b1821a12de42aa6d93 SHA512 0fcc43a44ea17b33595a850abb03ff6b92e100dfbeffc82caa9516f6eb7914fb463cb62286d624203a2c7035d05a107dda7b68c5cedf7de3b8be95b9266b6988 WHIRLPOOL 15ffe4db98758e0ef41390f46e97f686ed678b9358347de3b3257ba8d0fac9623935563040a0138c8c81179deb8dca0f998f90441c8b538d45e14548fbc97403 -EBUILD mod_auth_radius-1.5.8.ebuild 700 SHA256 fe48a58db951ec7932a14532c836228dc816e6d2409d459b7f15e09250ad0fd8 SHA512 f00f11beff1e365d8e4073e8797b92b4d3476749487236433f6a7de62ddea49a414e937976542ddc0b33292ae82647585491c8b5d961301fd7560ed6639c006d WHIRLPOOL f700c2d04ce4646098ed869f9c0cf8abb7226ffd1580b7e17fc09f4fd32514161fc0825a22cd0a8edf3867e0326e442bd6efe2c3fd153a890c3a971653934ff7 -MISC ChangeLog 527 SHA256 742023ab0a3b1f4ce9f3020dd0ade5db962e25b65c592c7cb623607c3ff755c3 SHA512 59897ac165dd977736cdfc407673616e854395e107d1804999a667e3a3a926b2a0a930009985eec7784ebcb831bf9de6232cdd9a71180df6329b1a4d1c0bfb61 WHIRLPOOL b54d9ca2b239a08e1a2be55c6ab5c8afbe1ba5005f1eb50bc04008f3380db07ae0da76c1a4c3fceb3c7929108d60d6c9153d0ae3cd807e59421f6dad507743c7 +EBUILD mod_auth_radius-1.5.8.ebuild 819 SHA256 f18c617b10d071d88608e339b97c5b8c949d42369dabf01bc5eb19a8a6b7be47 SHA512 e4e84c3f26037253e9d96fcf0245388115864e6c854fe5b6b9a2bf18477e19c2cf8658591929c441052f60856058d207d1e5b94d3ace46a8575f80942fbd8ca5 WHIRLPOOL b093b7324837a696b6963da548b37438f38dc82cb8f0b19b3385214fb80a09084518c2bc7b9ee129525de241fd4326a323858df1327481f147a7ba3802222f99 +MISC ChangeLog 627 SHA256 1db553a51fcb521e1712cacc4f01792fb0183869a4a8698c4562b5c56451b681 SHA512 cac09359caa056550de10fab2c9909919886c7ab1ce7370614c17b294d2a849a0a49ba57fc514e43ce7b93626789c14b42748a4de97cf0906439accdd14ff875 WHIRLPOOL 6a426e1aa4acdbfd60459e43cb8aff416b3d6363b0a1a864cc2b3f1d1f6a02ea40950491c8f7bd9649fad538cdd9d65d35e33b722c3b7a27518f5cae0677e28b MISC metadata.xml 237 SHA256 88d9092fd208599a8b524cca9633d9330223e45c34a44e54b2de05edb4738ac7 SHA512 11773ab2b5adaa81f3c8f73413d2f257ea1d1624df689154ee2697412ff14ea8f9851b805c4a474b486abb0a066cfc929f91eb852a208b9536885d467df36af1 WHIRLPOOL 324b778d3103d615af41fd6d1d978beeeeb08f4823a3c81fd453464b4df2ed59b56a481ddd65b4eb740dc75b4dc69133e761199abe6d27333b1fce97d5b5a1be +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlGKWJAACgkQp5vW4rUFj5oWJgCfUnoeV53zYj4k0M6Pw0VIID4V +psMAnj9Cml4BpINiRqFjtRSv4H/u0Axb +=u65i +-----END PGP SIGNATURE----- diff --git a/www-apache/mod_auth_radius/files/1.5.8-includes.patch b/www-apache/mod_auth_radius/files/1.5.8-includes.patch new file mode 100644 index 000000000000..b1482c5f9bee --- /dev/null +++ b/www-apache/mod_auth_radius/files/1.5.8-includes.patch @@ -0,0 +1,25 @@ +diff -uNr mod_auth_radius-1.5.8.ORIG/mod_auth_radius-2.0.c mod_auth_radius-1.5.8/mod_auth_radius-2.0.c +--- mod_auth_radius-1.5.8.ORIG/mod_auth_radius-2.0.c 2013-05-08 14:26:19.103330264 +0100 ++++ mod_auth_radius-1.5.8/mod_auth_radius-2.0.c 2013-05-08 14:29:40.331333283 +0100 +@@ -287,15 +287,21 @@ + + */ + ++#include <arpa/inet.h> + #include <netdb.h> + #include <openssl/md5.h> + #include <sys/stat.h> ++#include <sys/types.h> ++#include <unistd.h> ++#include <sys/socket.h> ++#include <netinet/in.h> + + #include "httpd.h" + #include "http_config.h" + #include "http_core.h" + #include "http_log.h" + #include "http_protocol.h" ++#include "http_request.h" + #include "util_md5.h" + #include "apr_general.h" + #include "apr_tables.h" diff --git a/www-apache/mod_auth_radius/files/1.5.8-remote_ip-obsolete.patch b/www-apache/mod_auth_radius/files/1.5.8-remote_ip-obsolete.patch new file mode 100644 index 000000000000..77d0880e8d97 --- /dev/null +++ b/www-apache/mod_auth_radius/files/1.5.8-remote_ip-obsolete.patch @@ -0,0 +1,21 @@ +diff -uNr mod_auth_radius-1.5.8.ORIG/mod_auth_radius-2.0.c mod_auth_radius-1.5.8/mod_auth_radius-2.0.c +--- mod_auth_radius-1.5.8.ORIG/mod_auth_radius-2.0.c 2013-05-08 14:18:02.746322816 +0100 ++++ mod_auth_radius-1.5.8/mod_auth_radius-2.0.c 2013-05-08 14:19:03.589323729 +0100 +@@ -683,7 +683,7 @@ + * benefit here. + */ + apr_snprintf(one, COOKIE_SIZE, "%s%s%s%s%s%08x", scr->secret, +- r->user, passwd, c->remote_ip, hostname, expires); ++ r->user, passwd, c->client_ip, hostname, expires); + + /* if you're REALLY worried about what's going on */ + +@@ -691,7 +691,7 @@ + ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," secret = %s\n", scr->secret); + ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," user = %s\n", r->user); + ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," passwd = %s\n", passwd); +- ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," remote ip = %s\n", c->remote_ip); ++ ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," remote ip = %s\n", c->client_ip); + ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," hostname = %s\n", hostname); + ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," expiry = %08x\n", expires); + #endif diff --git a/www-apache/mod_auth_radius/metadata.xml b/www-apache/mod_auth_radius/metadata.xml new file mode 100644 index 000000000000..3ed4669f55a4 --- /dev/null +++ b/www-apache/mod_auth_radius/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> + <email>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> + </maintainer> +</pkgmetadata> diff --git a/www-apache/mod_auth_radius/mod_auth_radius-1.5.8.ebuild b/www-apache/mod_auth_radius/mod_auth_radius-1.5.8.ebuild new file mode 100644 index 000000000000..8783784e4046 --- /dev/null +++ b/www-apache/mod_auth_radius/mod_auth_radius-1.5.8.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_radius/mod_auth_radius-1.5.8.ebuild,v 1.1 2013/05/08 13:52:15 chainsaw Exp $ + +EAPI="5" + +inherit apache-module base + +DESCRIPTION="Radius authentication for Apache." +HOMEPAGE="http://freeradius.org/mod_auth_radius/" +SRC_URI="ftp://ftp.freeradius.org/pub/radius/${P}.tar" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +APACHE2_MOD_FILE=".libs/mod_auth_radius-2.0.so" +APACHE2_MOD_DEFINE="AUTH_RADIUS" + +APXS2_ARGS="-c ${PN}-2.0.c" + +PATCHES=( + "${FILESDIR}/${PV}-includes.patch" + "${FILESDIR}/${PV}-remote_ip-obsolete.patch" +) + +DOCFILES="README" + +need_apache2 + +src_compile() { + apache-module_src_compile +} + +src_install() { + apache-module_src_install +} |