summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUltrabug <ultrabug@ultrabug.net>2011-01-06 14:13:11 +0100
committerUltrabug <ultrabug@ultrabug.net>2011-01-06 14:13:11 +0100
commit4c16ddd05f44e2a82d259c95b5f2671ad250230a (patch)
tree42188e14880c87735f0e32b432cc774faa77a078 /mail-filter
parentMerge branch 'master' of git+ssh://git.overlays.gentoo.org/dev/scarabeus (diff)
downloadscarabeus-4c16ddd05f44e2a82d259c95b5f2671ad250230a.tar.gz
scarabeus-4c16ddd05f44e2a82d259c95b5f2671ad250230a.tar.bz2
scarabeus-4c16ddd05f44e2a82d259c95b5f2671ad250230a.zip
moved to ultrabug.git
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/dkimproxy/Manifest8
-rw-r--r--mail-filter/dkimproxy/dkimproxy-1.2.ebuild56
-rw-r--r--mail-filter/dkimproxy/files/dkimproxy.in-confd6
-rw-r--r--mail-filter/dkimproxy/files/dkimproxy.in-initd33
-rw-r--r--mail-filter/dkimproxy/files/dkimproxy.out-confd5
-rw-r--r--mail-filter/dkimproxy/files/dkimproxy.out-initd33
-rw-r--r--mail-filter/dkimproxy/files/dkimproxy_in.conf.gentoo11
-rw-r--r--mail-filter/dkimproxy/files/dkimproxy_out.conf.gentoo27
8 files changed, 0 insertions, 179 deletions
diff --git a/mail-filter/dkimproxy/Manifest b/mail-filter/dkimproxy/Manifest
deleted file mode 100644
index 560e731..0000000
--- a/mail-filter/dkimproxy/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX dkimproxy.in-confd 270 RMD160 9d53c14f809e32036bf1557bd6d7e8263676a13c SHA1 562e93cfb7823a730cecb0017bd5d80ba40a0164 SHA256 412164bf750e7b0971471c066b430f670d0bb34e55af1e673c3b3a4197419952
-AUX dkimproxy.in-initd 702 RMD160 0121cd313f70041a9ca475c52ec9791000bb8b2b SHA1 4b2bc557a27f668ed24937b93b39170970c9b0eb SHA256 ffd12776c7841f86fbbd7909edeccf0ade26dafa41b0ed39b70ba35d02838b54
-AUX dkimproxy.out-confd 209 RMD160 f7d09fbf163bed7f787c0e6d9422d3fefd4e1ee0 SHA1 6da1683681541265ae07631e5f7bc3982d3d2021 SHA256 bd2ce38b91e1cc9a0d6549065cf061a7a6779c81c5a9a2ec15ccf3be960fe0bc
-AUX dkimproxy.out-initd 708 RMD160 4016db07277e1c6e5c8b0bf95b02880b9a8889b6 SHA1 8a5fc96c4bf86273e4de7d795ac6d868934a1042 SHA256 c0485d0c2400f5a9fa2810ef92dcbcac99ffe488ffecd4e92c15fdcd890fc83f
-AUX dkimproxy_in.conf.gentoo 256 RMD160 74a36587c20a5e3e32a57c89d11c9441b72d6044 SHA1 f53f6ba805499fdd7e22cc96e2aa5ca5763798b8 SHA256 3b1668d76b5e0d623bfd803d86b0a3f042d51b365c7355ff082502ce537ad07c
-AUX dkimproxy_out.conf.gentoo 733 RMD160 1f5f6320adf042ee2914bcd8ec4fce14dc9c0503 SHA1 5749ee03ca0e6d0919dc5dfd7d101b9dfbaaac1f SHA256 e753ea1daa686d73b4523ac65ccfbd3a3f08d58a139112dfceb06ca5f6f6deff
-DIST dkimproxy-1.2.tar.gz 96971 RMD160 4e4f2ec6f350186000c06d302867626e91c7d0a8 SHA1 470a6cd1f12213f10a6db86ae5340b72940a47f8 SHA256 4ae76367e2cecc85c3bce15513bf110b96251acd3d5e4278fbf6c9c5f9d3b7be
-EBUILD dkimproxy-1.2.ebuild 1750 RMD160 a27dcbf94f0ef3658c925bd5a40f5c2ff78c25fc SHA1 c52923682f6545ad806bd860de57e8d3a0964da1 SHA256 1f6009bee30f65a0a7037ae26abcda9495ac86200b2b000dfa6a24c711055306
diff --git a/mail-filter/dkimproxy/dkimproxy-1.2.ebuild b/mail-filter/dkimproxy/dkimproxy-1.2.ebuild
deleted file mode 100644
index 77488b6..0000000
--- a/mail-filter/dkimproxy/dkimproxy-1.2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-inherit base
-
-DESCRIPTION="SMTP proxy for signing/verifying DKIM and Domainkey signatures"
-HOMEPAGE="http://dkimproxy.sourceforge.net/"
-SRC_URI="http://downloads.sourceforge.net/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-perl/Mail-DKIM
- dev-perl/net-server
- dev-perl/Error
-"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
- # create a dkfilter user for enhanced security
- enewgroup dkfilter
- enewuser dkfilter -1 -1 /dev/null dkfilter
-}
-
-src_install() {
- base_src_install
-
- dodoc AUTHORS README || die
- newinitd "${FILESDIR}/dkimproxy.out-initd" dkimproxy.out || die
- newinitd "${FILESDIR}/dkimproxy.in-initd" dkimproxy.in || die
- newconfd "${FILESDIR}/dkimproxy.out-confd" dkimproxy.out || die
- newconfd "${FILESDIR}/dkimproxy.in-confd" dkimproxy.in || die
-
- rm -f "${D}/etc/dkimproxy_in.conf.example" || die
- rm -f "${D}/etc/dkimproxy_out.conf.example" || die
- insinto /etc
- newins "${FILESDIR}/dkimproxy_in.conf.gentoo" dkimproxy_in.conf || die
- newins "${FILESDIR}/dkimproxy_out.conf.gentoo" dkimproxy_out.conf || die
- keepdir /etc/ssl/${PN}
-}
-
-pkg_postinst() {
- CONFDIR="/etc/ssl/${PN}"
- if [[ ! -f "${CONFDIR}/dkimproxy.private.key" ]]; then
- openssl genrsa -out "${CONFDIR}/dkimproxy.private.key" 1024 &>/dev/null || die
- openssl rsa -in "${CONFDIR}/dkimproxy.private.key" -out "${CONFDIR}/dkimproxy.public.key" -pubout -outform PEM || die
- chown root:dkfilter "${CONFDIR}/dkimproxy.private.key" "${CONFDIR}/dkimproxy.public.key"
- chmod 0640 "${CONFDIR}/dkimproxy.private.key" "${CONFDIR}/dkimproxy.public.key"
- elog "Autogenerated sample signing keys in ${CONFDIR}."
- fi
-}
diff --git a/mail-filter/dkimproxy/files/dkimproxy.in-confd b/mail-filter/dkimproxy/files/dkimproxy.in-confd
deleted file mode 100644
index c609384..0000000
--- a/mail-filter/dkimproxy/files/dkimproxy.in-confd
+++ /dev/null
@@ -1,6 +0,0 @@
-# Give extra options to dkimproxy.in.
-# Examples:
-# DKIMPROXY_IN_OPTS="--reject-error" # reject email if the verification process fails
-# DKIMPROXY_IN_OPTS="--reject-fail" # reject email if the signature is incorrect
-
-DKIMPROXY_IN_OPTS="--user=dkfilter --group=dkfilter" \ No newline at end of file
diff --git a/mail-filter/dkimproxy/files/dkimproxy.in-initd b/mail-filter/dkimproxy/files/dkimproxy.in-initd
deleted file mode 100644
index a8866a8..0000000
--- a/mail-filter/dkimproxy/files/dkimproxy.in-initd
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-PIDFILE=/var/run/dkimproxy_in.pid
-CONFIGFILE=/etc/dkimproxy_in.conf
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [ ! -f ${CONFIGFILE} ]; then
- eerror "Missing configuration file ${CONFIGFILE}"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting dkimproxy.in"
- start-stop-daemon --start -q --exec /usr/bin/dkimproxy.in \
- --pidfile "${PIDFILE}" --make-pidfile --background \
- -- --conf_file=${CONFIGFILE} ${DKIMPROXY_IN_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping dkimproxy.in"
- start-stop-daemon --stop -q --pidfile "${PIDFILE}"
- eend $?
-}
diff --git a/mail-filter/dkimproxy/files/dkimproxy.out-confd b/mail-filter/dkimproxy/files/dkimproxy.out-confd
deleted file mode 100644
index 0599b6f..0000000
--- a/mail-filter/dkimproxy/files/dkimproxy.out-confd
+++ /dev/null
@@ -1,5 +0,0 @@
-# Give extra options to dkimproxy.out
-# Example to soft bounce emails if an error occurs during the signing process:
-# DKIMPROXY_OUT_OPTS="--reject-error"
-
-DKIMPROXY_OUT_OPTS="--user=dkfilter --group=dkfilter" \ No newline at end of file
diff --git a/mail-filter/dkimproxy/files/dkimproxy.out-initd b/mail-filter/dkimproxy/files/dkimproxy.out-initd
deleted file mode 100644
index 8e3cc59..0000000
--- a/mail-filter/dkimproxy/files/dkimproxy.out-initd
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-PIDFILE=/var/run/dkimproxy_out.pid
-CONFIGFILE=/etc/dkimproxy_out.conf
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [ ! -f ${CONFIGFILE} ]; then
- eerror "Missing configuration file ${CONFIGFILE}"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting dkimproxy.out"
- start-stop-daemon --start -q --exec /usr/bin/dkimproxy.out \
- --pidfile "${PIDFILE}" --make-pidfile --background \
- -- --conf_file=${CONFIGFILE} ${DKIMPROXY_OUT_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping dkimproxy.out"
- start-stop-daemon --stop -q --pidfile "${PIDFILE}"
- eend $?
-}
diff --git a/mail-filter/dkimproxy/files/dkimproxy_in.conf.gentoo b/mail-filter/dkimproxy/files/dkimproxy_in.conf.gentoo
deleted file mode 100644
index a24ab2f..0000000
--- a/mail-filter/dkimproxy/files/dkimproxy_in.conf.gentoo
+++ /dev/null
@@ -1,11 +0,0 @@
-# specify what address/port DKIMproxy should listen on
-listen 127.0.0.1:10025
-
-# specify what address/port DKIMproxy forwards mail to
-relay 127.0.0.1:10026
-
-# performance tuning
-min_servers 10
-min_spare_servers 5
-max_spare_servers 20
-max_servers 50
diff --git a/mail-filter/dkimproxy/files/dkimproxy_out.conf.gentoo b/mail-filter/dkimproxy/files/dkimproxy_out.conf.gentoo
deleted file mode 100644
index 3488a36..0000000
--- a/mail-filter/dkimproxy/files/dkimproxy_out.conf.gentoo
+++ /dev/null
@@ -1,27 +0,0 @@
-# specify what address/port DKIMproxy should listen on
-listen 127.0.0.1:10027
-
-# specify what address/port DKIMproxy forwards mail to
-relay 127.0.0.1:10028
-
-# specify what domains DKIMproxy can sign for (comma-separated, no spaces)
-domain example.org
-
-# specify what signatures to add
-signature dkim(c=relaxed)
-signature domainkeys(c=nofws)
-
-# specify location of the private key
-keyfile /etc/ssl/dkimproxy/dkimproxy.private.key
-
-# specify the selector (i.e. the name of the key record put in DNS)
-selector selector1
-
-# performance tuning
-min_servers 10
-min_spare_servers 5
-max_spare_servers 20
-max_servers 50
-
-# optionally, you can specify a file to load domain-specific configurations
-# sender_map /path/to/sender_map