summaryrefslogtreecommitdiff
path: root/mail-filter/dcc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:52:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:52:04 +0100
commit71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /mail-filter/dcc
parent6612a728ea11526a849618ec515ad57131d64416 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'mail-filter/dcc')
-rw-r--r--mail-filter/dcc/Manifest3
-rw-r--r--mail-filter/dcc/files/dcc-1.3.140-configure-fix.patch17
-rw-r--r--mail-filter/dcc/files/dcc.initd135
-rw-r--r--mail-filter/dcc/files/dcc.initd-1.3.140100
4 files changed, 0 insertions, 255 deletions
diff --git a/mail-filter/dcc/Manifest b/mail-filter/dcc/Manifest
index 9b0b6525dc6a..e64ae8a892e1 100644
--- a/mail-filter/dcc/Manifest
+++ b/mail-filter/dcc/Manifest
@@ -1,8 +1,5 @@
-AUX dcc-1.3.140-configure-fix.patch 426 BLAKE2B 25d25ac4a82b59a39559b7ffe45231f1f44ad9b610992722ea3eae525a20d94e29b3c9a46b46381e2983a78070978e1e6467327e7286eaa576007742ed3499eb SHA512 e6057fef60053a07013c5575422e46ad50004583385650f5b95593bbb45949779fe65c10776952eaa3edaa504d24a1243fa6be8026873b63a915bfccb0b8740a
AUX dcc-1.3.140-freebsd.patch 381 BLAKE2B 4324c87a09de1027b7df46bab82efbea28ae4f92d2a261d0ba44707a67b07b1d57d7aafad7be3e0bcf263928839b669151b2f7edd1413ab677337c4fe6376043 SHA512 b622085c54246cb38185262f851d611bad6e636d91a4a94ec7b966565a7d01a1a2a0445616eb3086f6c1d62a6c865e7248fcc828efbaaa70cdc7bbe2975c01d4
AUX dcc.confd 274 BLAKE2B 757f3e751028b0c35c166f708c328b506721549267bf1e87e841b746f5d35a6bcbeab6dcebe5deb1c4207b8b11dc0db34925cb93410b556508105cc4c64b6132 SHA512 15b7e4ded3e56e9d15509305df244e29ec7a6c3c163c49a4597e16274317d88f5aff5522984a2a3002f838d0220d04c2ea3def8d771712a11685408a4983d3b4
-AUX dcc.initd 3013 BLAKE2B b1ab4903350233bc79113ca3ab9c28f04d6a4f76755d53b583c0111553c1a6964a4e634bc442769f53779cf8d22b94648f6b95f2839ebbfb8f9ffd1af954175a SHA512 67127b752526edda0ef036d4874b73b6dc3d1c13fbcb29f301acccc4cee1dc2dafc32af1f61003cbb2f874b2853aec1075d04e730f90083ae452ad7c5525396c
-AUX dcc.initd-1.3.140 2693 BLAKE2B 4d39ab7127de001308f7c9c4e96fd3d78bc4bb8561e05e2eac349df596765762ba4670904c28dbd926ede065faca54c1e1dde46ecd33e64dd7b7fcd67c8d770b SHA512 70a012699b6a66dfe085a6a77497cc9c2b88b32dee51b1a691a8ed70cb467bb7308bb9ea9594f5582adb23199638401e6454e8760bb293019cd81ab538daf20a
AUX dcc.initd-1.3.154 2793 BLAKE2B 6ad77dfe2a80070c969ed71b0517fdbc0ad0bf2bcc96207fa80a7331d15ba77ac8b5e369c2bec5e164819da876e2ba022f31db3a455d72a6e52387a014d8de38 SHA512 e171e4333d735aa7da99ae322ce04954554a6738b943ca085e51707dd0bf231f7c170211f019027ddf01ec750ed1b8728b5d54b48dee6ee7fc37f8a810aded01
DIST dcc-1.3.154.tar.Z 1711292 BLAKE2B 3e53488e718b13a1c36c1531f552ee811f42b274f4c24f26b484bd2b184fa3c34e0241be82aad1f6fa1a7a485fc172efdfea1dd7938fe190d9bbffa711f20abf SHA512 703bd3de44ccff3f318239dc2ca26a285f83ae0340a91391bcc5b719c298e77c8122d1502665350ddfc9fb14f12d9b6a56cba422ff8985db9cee6c91091fb987
DIST dcc-1.3.158.tar.Z 1714175 BLAKE2B 19e11e9e78268e76bf97f16ad6f03f0bb114ec9fbc9b1f8bb6ca7ce72fa419b1e50a6d35ee32ed5352b13da96002d313c00a07395317d33082eb69c9ae60008e SHA512 24fba5ea713e8df1468644508c323d64b3868685716b7cc02263933476940a807cfc4593432a9195371308c83d4ea93653e89634681d95dcb32f5d65c7274599
diff --git a/mail-filter/dcc/files/dcc-1.3.140-configure-fix.patch b/mail-filter/dcc/files/dcc-1.3.140-configure-fix.patch
deleted file mode 100644
index 41620929c61e..000000000000
--- a/mail-filter/dcc/files/dcc-1.3.140-configure-fix.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Avoid installing into /no/.
-
-Signed-off-by: Lars Wendler (Polynomial-C) <polynomial-c@gentoo.org>
-X-Gentoo-Bug: 388383
-X-Gentoo-Bug-URL: https://bugs.gentoo.org/388383
-
---- dcc-1.3.140/configure
-+++ dcc-1.3.140/configure
-@@ -3256,7 +3256,7 @@
- withval="$with_cgibin"
- :
- fi
--if test -n "$with_cgibin" -a "$with_cgi_bin" != no; then
-+if test -n "$with_cgibin" -a "$with_cgibin" != no; then
- cgibin="$with_cgibin"
- fi
-
diff --git a/mail-filter/dcc/files/dcc.initd b/mail-filter/dcc/files/dcc.initd
deleted file mode 100644
index 1e64a16c6306..000000000000
--- a/mail-filter/dcc/files/dcc.initd
+++ /dev/null
@@ -1,135 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- use logger
- need net
- before mta
-}
-
-checkconfig() {
- if [[ ! -f "/etc/dcc/dcc_conf" || ! -r "/etc/dcc/dcc_conf" ]]
- then
- eerror "You need a DCC configuration in /etc/dcc/dcc_conf"
- return 1
- else
- source "/etc/dcc/dcc_conf"
- fi
-}
-
-start() {
- checkconfig || return 1
-
- if [[ "${START_DCC_DCCD}" == "yes" ]]
- then
- if [[ "${DCCD_ENABLE}" != "on" ]]
- then
- einfo "DCCD_ENABLE is not setto 'on' in dcc_conf"
- else
- if [[ -x "${DCC_LIBEXEC}/start-dccd" ]]
- then
- ebegin "Starting dccd"
- ${DCC_LIBEXEC}/start-dccd >/dev/null 2>&1
- eend ${?}
- else
- eerror "You enabled DCCD but start-dccd is missing or not executable"
- fi
- fi
- fi
-
- if [[ "${START_DCC_GREY}" == "yes" ]]
- then
- if [[ "${GREY_ENABLE}" != "on" ]]
- then
- einfo "GREY_ENABLE is not set to 'on' in dcc_conf"
- else
- if [[ -x "${DCC_LIBEXEC}/start-grey" ]]
- then
- ebegin "Starting grey"
- ${DCC_LIBEXEC}/start-grey >/dev/null 2>&1
- eend ${?}
- else
- eerror "You enabled GREY but start-grey is missing or not executable"
- fi
- fi
- fi
-
- if [[ "${START_DCC_DCCM}" == "yes" ]]
- then
- if [[ "${DCCM_ENABLE}" != "on" ]]
- then
- einfo "DCCM_ENABLE is not set to 'on' in dcc_conf"
- else
- if [[ -x "${DCC_LIBEXEC}/start-dccm" ]]
- then
- ebegin "Starting dccm"
- ${DCC_LIBEXEC}/start-dccm >/dev/null 2>&1
- eend ${?}
- for ((dccmtimeout=0 ; dccmtimeout <= 20 ; dccmtimeout++))
- do
- if [[ ! -S "${DCC_RUNDIR}/dccm" || ! -r "${DCC_RUNDIR}/dccm" ]]
- then
- sleep 1
- else
- break
- fi
- done
- chown ${SOCKET_USER:-milter}:${SOCKET_GROUP:-milter} ${DCC_RUNDIR}/dccm 1>/dev/null 2>&1
- chmod ${SOCKET_MODE:-664} ${DCC_RUNDIR}/dccm 1>/dev/null 2>&1
- sed -i -e "s:^\-::" ${DCC_RUNDIR}/dccm.pid
- else
- eerror "You enabled DCCM but start-dccm is missing or not executable"
- fi
- fi
- fi
-
- if [[ "${START_DCC_DCCIF}" == "yes" ]]
- then
- if [[ "${DCCIFD_ENABLE}" != "on" ]]
- then
- einfo "DCCIFD_ENABLE is not set to 'on' in dcc_conf"
- else
- if [[ -x "${DCC_LIBEXEC}/start-dccifd" ]]
- then
- ebegin "Starting dccif"
- ${DCC_LIBEXEC}/start-dccifd >/dev/null 2>&1
- eend ${?}
- else
- eerror "You enabled DCCIF but start-dccif is missing or not executable"
- fi
- fi
- fi
-}
-
-stop() {
- checkconfig || return 1
-
- if [[ -r "${DCC_RUNDIR}/dccifd.pid" ]]
- then
- ebegin "Stopping dccif"
- kill -15 $(< ${DCC_RUNDIR}/dccifd.pid) 2>/dev/null
- eend ${?}
- fi
-
- if [[ -r "${DCC_RUNDIR}/dccm.pid" ]]
- then
- ebegin "Stopping dccm"
- kill -15 $(< ${DCC_RUNDIR}/dccm.pid) 2>/dev/null
- eend ${?}
- fi
-
- if (pidof dccd >/dev/null 2>&1) && [[ -x "${DCC_LIBEXEC}/stop-dccd" ]]
- then
- ebegin "Stopping dccd"
- ${DCC_LIBEXEC}/stop-dccd >/dev/null 2>&1
- eend ${?}
- fi
-
- if (pidof dccd >/dev/null 2>&1) && [[ -x "${DCC_LIBEXEC}/stop-dccd" ]]
- then
- ebegin "Stopping grey"
- ${DCC_LIBEXEC}/stop-dccd -G >/dev/null 2>&1
- eend ${?}
- fi
-}
diff --git a/mail-filter/dcc/files/dcc.initd-1.3.140 b/mail-filter/dcc/files/dcc.initd-1.3.140
deleted file mode 100644
index 8fc4ac3540c3..000000000000
--- a/mail-filter/dcc/files/dcc.initd-1.3.140
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- use logger
- need net
- before mta
-}
-
-checkconfig() {
- if [ ! -f "/etc/dcc/dcc_conf" ]; then
- eerror "You need a DCC configuration in /etc/dcc/dcc_conf"
- return 1
- fi
- for i in DCCD_ENABLE GREY_ENABLE DCCM_ENABLE DCCIFD_ENABLE DCC_LIBEXEC DCC_RUNDIR \
- SOCKET_USER SOCKET_GROUP SOCKET_MODE; do
- read -r ${i} <<-EOF
- $( grep ^[[:space:]]*${i} /etc/dcc/dcc_conf | sed s/.*=// )
- EOF
- done
- DCC_RUNDIR="${DCC_RUNDIR:-/var/run/dcc}"
- if [ ! -d "${DCC_RUNDIR}" ]; then
- checkpath -q -d -o root:root -m 0755 "${DCC_RUNDIR}" || return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- local atleastone="${DCCD_ENABLE}${GREY_ENABLE}${DCCM_ENABLE}${DCCIFD_ENABLE}"
- atleastone=$( echo ${atleastone} | tr -d 'off' )
- if [ -z "${atleastone}" ]; then
- eend 1 "At least one service should be 'on' in /etc/dcc/dcc_conf"
- return 1
- fi
-
- if [ "${DCCD_ENABLE}" = "on" ] && [ -x "${DCC_LIBEXEC}/start-dccd" ]; then
- ebegin "Starting dccd"
- ${DCC_LIBEXEC}/start-dccd >/dev/null 2>&1
- eend ${?}
- fi
-
- if [ "${GREY_ENABLE}" = "on" ] && [ -x "${DCC_LIBEXEC}/start-grey" ]; then
- ebegin "Starting grey"
- ${DCC_LIBEXEC}/start-grey >/dev/null 2>&1
- eend ${?}
- fi
-
- if [ "${DCCM_ENABLE}" = "on" ] && [ -x "${DCC_LIBEXEC}/start-dccm" ]; then
- ebegin "Starting dccm"
- ${DCC_LIBEXEC}/start-dccm >/dev/null 2>&1
- eend ${?}
- local dccmtimeout=0
- while [ ${dcctimeout} -le 20 ] ; do
- if [ -S "${DCC_RUNDIR}/dccm" ] || [ -r "${DCC_RUNDIR}/dccm" ]; then
- break
- else
- sleep 1
- dcctimeout=$(($dcctimeout + 1))
- fi
- done
- chown ${SOCKET_USER:-milter}:${SOCKET_GROUP:-milter} ${DCC_RUNDIR}/dccm 1>/dev/null 2>&1
- chmod ${SOCKET_MODE:-664} ${DCC_RUNDIR}/dccm 1>/dev/null 2>&1
- sed -i -e "s:^\-::" ${DCC_RUNDIR}/dccm.pid 1>/dev/null 2>&1 || return 1
- fi
-
- if [ "${DCCIFD_ENABLE}" = "on" ] && [ -x "${DCC_LIBEXEC}/start-dccifd" ]; then
- ebegin "Starting dccif"
- ${DCC_LIBEXEC}/start-dccifd >/dev/null 2>&1
- eend ${?}
- fi
-}
-
-stop() {
- checkconfig || return 1
-
- if [ -r "${DCC_RUNDIR}/dccifd.pid" ]; then
- ebegin "Stopping dccif"
- kill -15 $(< ${DCC_RUNDIR}/dccifd.pid) 2>/dev/null
- eend ${?}
- fi
-
- if [ -r "${DCC_RUNDIR}/dccm.pid" ]; then
- ebegin "Stopping dccm"
- kill -15 $(< ${DCC_RUNDIR}/dccm.pid) 2>/dev/null
- eend ${?}
- fi
-
- if (pidof dccd >/dev/null 2>&1) && [ -x "${DCC_LIBEXEC}/stop-dccd" ]; then
- ebegin "Stopping dccd"
- ${DCC_LIBEXEC}/stop-dccd >/dev/null 2>&1
- eend ${?}
- fi
-
- if (pidof dccd >/dev/null 2>&1) && [ -x "${DCC_LIBEXEC}/stop-dccd" ]; then
- ebegin "Stopping grey"
- ${DCC_LIBEXEC}/stop-dccd -G >/dev/null 2>&1
- eend ${?}
- fi
-}