summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/mail-filter/dcc/dcc-1.3.163.exheres-06
-rw-r--r--packages/mail-filter/dcc/dcc.exlib66
2 files changed, 72 insertions, 0 deletions
diff --git a/packages/mail-filter/dcc/dcc-1.3.163.exheres-0 b/packages/mail-filter/dcc/dcc-1.3.163.exheres-0
new file mode 100644
index 0000000..59e80f9
--- /dev/null
+++ b/packages/mail-filter/dcc/dcc-1.3.163.exheres-0
@@ -0,0 +1,6 @@
+# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
+# Distributed under the terms of the GNU General Public License v2
+
+require dcc
+
+PLATFORMS="~amd64 ~x86"
diff --git a/packages/mail-filter/dcc/dcc.exlib b/packages/mail-filter/dcc/dcc.exlib
new file mode 100644
index 0000000..7a246a9
--- /dev/null
+++ b/packages/mail-filter/dcc/dcc.exlib
@@ -0,0 +1,66 @@
+# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
+# Distributed under the terms of the GNU General Public License v2
+
+SUMMARY="Distributed Checksum Clearinghouse"
+HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
+DOWNLOADS="http://www.rhyolite.com/anti-spam/dcc/source/old/${PNV}.tar.Z"
+
+LICENCES="DCC GPL-2"
+SLOT="0"
+
+MYOPTIONS="
+ cgi
+ milter
+"
+
+DEPENDENCIES="
+ build:
+ sys-apps/sed
+ build+run:
+ milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
+"
+
+DEFAULT_SRC_CONFIGURE_PARAMS=(
+ --hates=build
+ --hates=host
+ --hates=prefix
+ --hates=sbindir
+ --hates=libdir
+ --hates=datadir
+ --hates=datarootdir
+ --hates=docdir
+ --hates=infodir
+ --hates=sysconfdir
+ --hates=localstatedir
+ --hates=disable-dependency-tracking
+ --hates=disable-silent-rules
+ --hates=enable-fast-install
+ --homedir=/var/dcc
+ --mandir=/usr/share/man
+ --with-updatedcc_pfile=/var/dcc/updatecc.pfile
+ --with-DDC-MD5
+ --with-uid=root
+ --enable-server
+ --enable-dccifd
+ --with-rundir=/var/run/dcc
+ --with-db-memory=64
+ --with-max-db-mem=128
+ --with-max-log-size=0
+ --enable-ipv6
+)
+
+DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
+ 'cgi cgibin /var/www/localhost/cgi-bin/dcc'
+ 'milter sendmail'
+)
+
+DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
+ 'milter dccm'
+)
+
+DEFAULT_SRC_COMPILE_PARAMS=(
+ DESTDIR="${IMAGE}"
+ DCC_BINDIR="${IMAGE}"/usr/$(exhost --target)/bin
+ MANDIR="${IMAGE}"/usr/share/man
+ DCC_HOMEDIR="${IMAGE}"/var/dcc
+)