maybe chmod 0644 'idnalias.conf.sample'
maybe chmod 0755 'init.d'
maybe chmod 0755 'init.d/amavisd'
+maybe chmod 0755 'init.d/amavisd-snmp'
maybe chmod 0755 'init.d/apache2'
maybe chmod 0755 'init.d/atd'
maybe chmod 0755 'init.d/auditd'
maybe chmod 0644 'openldap/schema/sudo.schema'
maybe chgrp 'ldap' 'openldap/slapd.conf'
maybe chmod 0640 'openldap/slapd.conf'
-maybe chmod 0600 'openldap/slapd.conf.default'
+maybe chgrp 'ldap' 'openldap/slapd.conf.default'
+maybe chmod 0640 'openldap/slapd.conf.default'
maybe chmod 0600 'openldap/slapd.ldif'
maybe chmod 0600 'openldap/slapd.ldif.default'
maybe chmod 0755 'openldap/ssl'
-#!/sbin/runscript
+#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/files/amavisd.initd-r1,v 1.1 2012/11/07 12:55:15 eras Exp $
+# $Id$
extra_started_commands="reload"
extra_commands="debug debug_sa"
--- /dev/null
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+name="amavisd-snmp"
+pidfile="/run/amavis/${name}.pid"
+command="/usr/sbin/${name}-subagent"
+command_args="${amavis_snmp_args} -P ${pidfile}"
+start_stop_daemon_args="--interpreted"
+
+update_command() {
+ if [[ -x ${command}-zmq && ! $amavisd_snmp_command ]]; then
+ command="${command}-zmq"
+ elif [[ $amavisd_snmp_command ]]; then
+ command="$amavisd_snmp_command"
+ fi
+}
+
+depend() {
+ use logger
+ before amavisd-new snmpd
+ update_command
+ if [[ ${command##*-} == "zmq" ]]; then
+ need amavis-mc
+ fi
+}
+
+start_pre() {
+ update_command
+ checkpath -d -o amavis /run/amavis
+}
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}
SINGLE-VALUE )
+#dn: cn=schema
+#changetype: modify
+#add: attributetypes
+attributetype ( 1.3.6.1.4.1.15312.2.2.1.47
+ NAME 'amavisDisclaimerOptions'
+ DESC 'Altermime disclaimer map data'
+ EQUALITY caseIgnoreIA5Match
+ SUBSTR caseIgnoreIA5SubstringsMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}
+ SINGLE-VALUE )
+
# Classes
#---------
amavisSpamTag3Level $ amavisSpamSubjectTag3 $
amavisUncheckedQuarantineTo $ amavisCleanQuarantineTo $
amavisUncheckedLover $ amavisForwardMethod $
- amavisSaUserConf $ amavisSaUserName $
+ amavisSaUserConf $ amavisSaUserName $ amavisDisclaimerOptions $
cn $ description ) )
#--------------------------------------------------------------------------