add gentoo portage overlay requirement
This commit is contained in:
20
app-admin/mmc-check-password/files/mmc-agent.initd
Executable file
20
app-admin/mmc-check-password/files/mmc-agent.initd
Executable 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 $?
|
||||
}
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user