summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2013-06-10 09:12:25 +0000
committerTony Vroon <chainsaw@gentoo.org>2013-06-10 09:12:25 +0000
commit21705e43930152fa6f6f7c208ac0dd1c77432647 (patch)
tree166dd054439f4f1edd91647f0e7b12ca78903fcc /www-apache/mod_auth_xradius
parentebuild prepared by me, needed for flask-restless (diff)
downloadgentoo-2-21705e43930152fa6f6f7c208ac0dd1c77432647.tar.gz
gentoo-2-21705e43930152fa6f6f7c208ac0dd1c77432647.tar.bz2
gentoo-2-21705e43930152fa6f6f7c208ac0dd1c77432647.zip
Initial commit, ebuild & patches by me. As requested by Steve Harrison.
(Portage version: 2.1.12.4/cvs/Linux x86_64, signed Manifest commit with key 0xB5058F9A)
Diffstat (limited to 'www-apache/mod_auth_xradius')
-rw-r--r--www-apache/mod_auth_xradius/ChangeLog11
-rw-r--r--www-apache/mod_auth_xradius/Manifest6
-rw-r--r--www-apache/mod_auth_xradius/files/0.4.6-apache24-api-changes.diff14
-rw-r--r--www-apache/mod_auth_xradius/files/0.4.6-obsolete-autotools-syntax.diff19
-rw-r--r--www-apache/mod_auth_xradius/metadata.xml8
-rw-r--r--www-apache/mod_auth_xradius/mod_auth_xradius-0.4.6.ebuild26
6 files changed, 84 insertions, 0 deletions
diff --git a/www-apache/mod_auth_xradius/ChangeLog b/www-apache/mod_auth_xradius/ChangeLog
new file mode 100644
index 000000000000..cb933bbc2610
--- /dev/null
+++ b/www-apache/mod_auth_xradius/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for www-apache/mod_auth_xradius
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_xradius/ChangeLog,v 1.1 2013/06/10 09:12:25 chainsaw Exp $
+
+*mod_auth_xradius-0.4.6 (10 Jun 2013)
+
+ 10 Jun 2013; Tony Vroon <chainsaw@gentoo.org> +mod_auth_xradius-0.4.6.ebuild,
+ +files/0.4.6-apache24-api-changes.diff,
+ +files/0.4.6-obsolete-autotools-syntax.diff, +metadata.xml:
+ Initial commit, ebuild & patches by me. As requested by Steve Harrison.
+
diff --git a/www-apache/mod_auth_xradius/Manifest b/www-apache/mod_auth_xradius/Manifest
new file mode 100644
index 000000000000..6a9835d3af33
--- /dev/null
+++ b/www-apache/mod_auth_xradius/Manifest
@@ -0,0 +1,6 @@
+AUX 0.4.6-apache24-api-changes.diff 539 SHA256 696cc6a553d5d46a8e5e190e847e5b16bbb514d191ca739b610f4ccc100f531b SHA512 c5392d82592eb01e2f46126baad5f3e35e4fc25d37c9520e34836e60ebb4cf6be7bc0be831efd5ed50fd5c7d538928e48c94524970c5649b51e3ff5ee366bac1 WHIRLPOOL be1d794bc1c87d7fb151f5eaf79893aa0a2fdf8d4df4bd5b858b9a4bcca15c7c01caa172c9276f32251cbfe1b102701e46d6eeecb04f8189f4d6feaa3b6e3da5
+AUX 0.4.6-obsolete-autotools-syntax.diff 435 SHA256 8d3a6e6d38e68b7ce1d7faa086eee39f366c5abfa12faf87768d7131d4b74272 SHA512 00de4870d9ee16ee9554aa0cd46ff9cdabbe0666131d29bc18dd2e7706f94265ee9c525d17409c3bbda4de32ffbe994286822ec8efb20887813a3076d9abb0c9 WHIRLPOOL f908cbe4bbc58c98143f85fe67585e4234beb2bae7c4801b7f69c8b3d71f447aa8347b49aece4ef8f0c70aad40b24ab56f4f56b3f83152aa786d58ec1b425c6b
+DIST mod_auth_xradius-0.4.6.tar.bz2 180591 SHA256 ab45f9986e37ca38ef6b8ae765e2baa647529c848c0d21b49abf60cc1e9fbf0b SHA512 7edb26f988f9842825bec1b04f5127816bd53f76d2284d79d87afef2b5d6e9fa8cb8156c3f5543aeb9b013f65295fa70098ade603f00ce6e90b3b0c3e8c41b6a WHIRLPOOL 305cb5d53ee3fe9db7473761a0b4e179ab042e61f88710f7373c8edcb4bde07a6d3cb67f25444ef4bc2e341b6d775fbf59a139532feb18c4f0a0d9488efc7c54
+EBUILD mod_auth_xradius-0.4.6.ebuild 747 SHA256 41db4b7215705eadd396634be2fff9cf5c30ad16ed6ef37de1d359c0e1e6d76f SHA512 6f0c783d6f14447f4d61cc8635c2d9cc550e9b708e2aeb309708afd99f2db46e362bb449055c52acbeb55162784283dbb911a4968c7c588ecc648f4fb3a3be7f WHIRLPOOL 33e58ebec90e1b24be8bd243d70118edf0b73147b0fd499c6c26fd158d65e6567086db118064f1ad1f1085303f8d9ce1d4b642250b561d9e745804c3163342e8
+MISC ChangeLog 426 SHA256 ae3b50594bb1e9faf37a972a334a0040d7829425c7fd68f58e4715f081846e16 SHA512 814a2117e037b13a5782d0a479ac6ea139a3a2f6143ea790005ca2d88ad6a34de46faf4f355fd8940d16436a24656a0130df60ea15c44ab8812577d8b87d4a2a WHIRLPOOL 1fe3949ab33a613b765da9cfef896b27757e1e46ff00162cdd3029ce53ece7d6621befc838cb40181d4a050f763ad8b2da3281032d9fd53f6dc75066c18adff1
+MISC metadata.xml 237 SHA256 88d9092fd208599a8b524cca9633d9330223e45c34a44e54b2de05edb4738ac7 SHA512 11773ab2b5adaa81f3c8f73413d2f257ea1d1624df689154ee2697412ff14ea8f9851b805c4a474b486abb0a066cfc929f91eb852a208b9536885d467df36af1 WHIRLPOOL 324b778d3103d615af41fd6d1d978beeeeb08f4823a3c81fd453464b4df2ed59b56a481ddd65b4eb740dc75b4dc69133e761199abe6d27333b1fce97d5b5a1be
diff --git a/www-apache/mod_auth_xradius/files/0.4.6-apache24-api-changes.diff b/www-apache/mod_auth_xradius/files/0.4.6-apache24-api-changes.diff
new file mode 100644
index 000000000000..a760bd6ce79e
--- /dev/null
+++ b/www-apache/mod_auth_xradius/files/0.4.6-apache24-api-changes.diff
@@ -0,0 +1,14 @@
+--- src/xradius_cache.c.orig 2013-06-10 10:02:53.263071428 +0100
++++ src/xradius_cache.c 2013-06-10 10:03:45.789072216 +0100
+@@ -143,9 +143,9 @@
+ /* Running as Root */
+ if (geteuid() == 0) {
+ /* Allow the configured Apache use to read/write to the DBM */
+- chown(path1, unixd_config.user_id, -1);
++ chown(path1, ap_unixd_config.user_id, -1);
+ if (path2 != NULL) {
+- chown(path2, unixd_config.user_id, -1);
++ chown(path2, ap_unixd_config.user_id, -1);
+ }
+ }
+ #endif
diff --git a/www-apache/mod_auth_xradius/files/0.4.6-obsolete-autotools-syntax.diff b/www-apache/mod_auth_xradius/files/0.4.6-obsolete-autotools-syntax.diff
new file mode 100644
index 000000000000..affb3181485a
--- /dev/null
+++ b/www-apache/mod_auth_xradius/files/0.4.6-obsolete-autotools-syntax.diff
@@ -0,0 +1,19 @@
+--- configure.ac.orig 2013-06-10 09:56:06.905065330 +0100
++++ configure.ac 2013-06-10 09:56:45.968065916 +0100
+@@ -4,6 +4,7 @@
+ AC_PREREQ(2.53)
+ AC_CONFIG_SRCDIR([src/mod_auth_xradius.c])
+ AC_CONFIG_AUX_DIR(config)
++AC_CONFIG_MACRO_DIR([m4])
+ OOO_MAINTAIN_MODE
+ AM_MAINTAINER_MODE
+ AC_CANONICAL_TARGET
+@@ -15,7 +16,7 @@
+ AC_PROG_CC
+ AC_PROG_LD
+ AC_PROG_INSTALL
+-AC_PROG_RANLIB
++LT_INIT
+
+ AP_VERSION=2.0.40
+ CHECK_APACHE(,$AP_VERSION,
diff --git a/www-apache/mod_auth_xradius/metadata.xml b/www-apache/mod_auth_xradius/metadata.xml
new file mode 100644
index 000000000000..3ed4669f55a4
--- /dev/null
+++ b/www-apache/mod_auth_xradius/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_xradius/mod_auth_xradius-0.4.6.ebuild b/www-apache/mod_auth_xradius/mod_auth_xradius-0.4.6.ebuild
new file mode 100644
index 000000000000..bfdf74e8729b
--- /dev/null
+++ b/www-apache/mod_auth_xradius/mod_auth_xradius-0.4.6.ebuild
@@ -0,0 +1,26 @@
+# 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_xradius/mod_auth_xradius-0.4.6.ebuild,v 1.1 2013/06/10 09:12:25 chainsaw Exp $
+
+EAPI="5"
+
+inherit autotools eutils
+
+DESCRIPTION="Radius authentication for Apache."
+HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_auth_xradius/"
+SRC_URI="http://www.outoforder.cc/downloads/${PN}/${P}.tar.bz2"
+
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+DOCFILES="README"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PV}-obsolete-autotools-syntax.diff"
+ if has_version ">=www-servers/apache-2.4"; then
+ epatch "${FILESDIR}/${PV}-apache24-api-changes.diff"
+ fi
+ AT_M4DIR="m4" eautoreconf
+}