]> gitweb.michael.orlitzky.com - mjo-overlay.git/commitdiff
www-apache/mod_log_rotate: new package with apache-2.4 support.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 10 Feb 2015 17:22:55 +0000 (12:22 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 10 Feb 2015 17:22:55 +0000 (12:22 -0500)
www-apache/mod_log_rotate/Manifest [new file with mode: 0644]
www-apache/mod_log_rotate/files/10_mod_log_rotate.conf [new file with mode: 0644]
www-apache/mod_log_rotate/metadata.xml [new file with mode: 0644]
www-apache/mod_log_rotate/mod_log_rotate-1.01.ebuild [new file with mode: 0644]

diff --git a/www-apache/mod_log_rotate/Manifest b/www-apache/mod_log_rotate/Manifest
new file mode 100644 (file)
index 0000000..8447b9e
--- /dev/null
@@ -0,0 +1,4 @@
+AUX 10_mod_log_rotate.conf 132 SHA256 446b30c718fea4d9209c5658d2dd64414412bfda793d032c89ef3b50b8f7624a SHA512 70f973aba76042486bc9ca71365bc2c0e1e78266956418d3804ba4af4a6a491373e62da96b40a7ad1a5f24ab75692419214565e4e579ba75ec5a1259dbdbed27 WHIRLPOOL ee33a7f38abebbe4ff88e97a277894c1a856984bd63ef3ded03b267dbe6efaa20f240538be87dc09f17db19270d706a59b907685fa9f923ad99c74cebb8eefc2
+DIST 1.01.tar.gz 9772 SHA256 c87465630591b938b2263abc566354befd263aea31ad045752a006de57584432 SHA512 7da606ae8ce5e0f2ade16fdffffc57fa9549b4b5e9529eb3149ff7390caa64f7ec065aa7416b5c8ab751e2b3eaf35cf79c96b8c7e68e1165a46851547781c076 WHIRLPOOL cfdd957f86f964b2c6dc0deb3c838d67a899d8e7ce6c4a9421930c77a6cbd2755aa4903acae371b3a36bada6dccdbdd876a41dc369610cadca04ff5ed875d7f6
+EBUILD mod_log_rotate-1.01.ebuild 492 SHA256 ac6ce22114d36f5c420156b56851daa0da81f5ea6ab41d2a68ee372c854eae08 SHA512 6368700b8da89bc3d50b42cacf3152e6f244eaf0c607173addd6f558f6afa130fc70268148176c0b5945de8f535d38bd37a172049b05b087d084e643f2656f17 WHIRLPOOL e11731e4822906bc02176b23b203b91d79c7c8bf27d390cca2fbe7867f03a8bbd7505043fd33a5dd5006a94aa985179e819481a3804f8a3944ac27f69735ef67
+MISC metadata.xml 208 SHA256 98f8aa3fb70533eeab6b09d5bc30bd8f649ec13d9b04363490082fb87bb6032e SHA512 d5a7f3cb2fe57f8d7783ba358068648b122d9f5de81a17bff61ce600e42b6487e6f7e2a62c8be95cc7021cb3ea88716824b1ad0565da922ea753bea2417b3d3d WHIRLPOOL e38a6cdef2acb3efdc182efde482593790f773ab3bb9b66cced3af47e4ab39368757e17c4352c6cacaefa338341db88c3bcc3ffcd32aabd7984c5b19051a7bb7
diff --git a/www-apache/mod_log_rotate/files/10_mod_log_rotate.conf b/www-apache/mod_log_rotate/files/10_mod_log_rotate.conf
new file mode 100644 (file)
index 0000000..eb17b46
--- /dev/null
@@ -0,0 +1,6 @@
+<IfDefine LOG_ROTATE>
+LoadModule log_rotate_module modules/mod_log_rotate.so
+RotateLogs On
+</IfDefine>
+
+# vim: ts=4 filetype=apache
diff --git a/www-apache/mod_log_rotate/metadata.xml b/www-apache/mod_log_rotate/metadata.xml
new file mode 100644 (file)
index 0000000..4538a68
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer><email>maintainer-needed@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/www-apache/mod_log_rotate/mod_log_rotate-1.01.ebuild b/www-apache/mod_log_rotate/mod_log_rotate-1.01.ebuild
new file mode 100644 (file)
index 0000000..cae54b5
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit apache-module
+
+DESCRIPTION="Log rotation support for mod_log_config based on strftime(3)"
+HOMEPAGE="https://github.com/JBlond/${PN}"
+SRC_URI="https://github.com/JBlond/${PN}/archive/${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+APACHE2_MOD_CONF="10_${PN}"
+APACHE2_MOD_DEFINE="LOG_ROTATE"
+
+need_apache2