add gentoo portage overlay requirement

This commit is contained in:
Mario Fetka
2013-11-16 08:34:30 +01:00
parent 199298341f
commit 9cfb5398ad
11 changed files with 242 additions and 6 deletions

View File

@@ -0,0 +1,20 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
depend() {
need net slapd
}
start() {
ebegin "Starting mmc-agent"
eval start-stop-daemon --start --quiet --exec /usr/sbin/mmc-agent --pidfile /var/run/mmc-agent.pid
eend $?
}
stop() {
ebegin "Stopping mmc-agent"
start-stop-daemon --stop --quiet --pidfile /var/run/mmc-agent.pid
eend $?
}

View File

@@ -0,0 +1,34 @@
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2011-07-30
Initial Package Version: 2.3.2
Origin: me
Upstream Status: gentoo specific
Description: wrap mmc alias in define and disable php_flag
diff -uNr mmc-core-3.0.2.orig//web/confs/apache/mmc.conf.in mmc-core-3.0.2/web/confs/apache/mmc.conf.in
--- mmc-core-3.0.2.orig//web/confs/apache/mmc.conf.in 2011-07-30 07:58:33.638000121 +0200
+++ mmc-core-3.0.2/web/confs/apache/mmc.conf.in 2011-07-30 08:00:12.498000123 +0200
@@ -1,11 +1,13 @@
-### Add an alias /mmc on www server root
-Alias /mmc @datadir@/mmc
+<IfDefine MMC>
+ ### Add an alias /mmc on www server root
+ Alias /mmc @datadir@/mmc
-### Allow access to lmc web directory to everyone
-<Directory @datadir@/mmc>
- AllowOverride None
- Order allow,deny
- allow from all
- php_flag short_open_tag on
- php_flag magic_quotes_gpc on
-</Directory>
+ ### Allow access to lmc web directory to everyone
+ <Directory @datadir@/mmc>
+ AllowOverride None
+ Order allow,deny
+ allow from all
+ # php_flag short_open_tag on
+ # php_flag magic_quotes_gpc on
+ </Directory>
+</IfDefine>