summaryrefslogtreecommitdiffstats
path: root/net-mail
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /net-mail
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/biff/Manifest3
-rw-r--r--net-mail/biff/biff-0.17.ebuild36
-rw-r--r--net-mail/biff/files/biff+comsat-0.10-nobr.patch.bz2bin0 -> 270 bytes
-rw-r--r--net-mail/biff/files/biff+comsat-0.17.tar.bz2bin0 -> 13299 bytes
-rw-r--r--net-mail/ezmlm-idx/Manifest2
-rw-r--r--net-mail/ezmlm-idx/ezmlm-idx-7.1.1.ebuild65
-rw-r--r--net-mail/qmail-usergen/Manifest3
-rwxr-xr-xnet-mail/qmail-usergen/files/qmail.sh29
-rw-r--r--net-mail/qmail-usergen/files/users/exclude14
-rw-r--r--net-mail/qmail-usergen/qmail-usergen-0.1.ebuild18
10 files changed, 170 insertions, 0 deletions
diff --git a/net-mail/biff/Manifest b/net-mail/biff/Manifest
new file mode 100644
index 0000000..2c0be80
--- /dev/null
+++ b/net-mail/biff/Manifest
@@ -0,0 +1,3 @@
+AUX biff+comsat-0.10-nobr.patch.bz2 270 RMD160 50622d22b1efecb592838cd980a784adbf5e2cda SHA1 49adb6d3a6142a8062357af0bab4ed7e06b6c6b7 SHA256 9751f7003d3d202b7787b363505c93848905adb4f90f1358756d01b092fb859c
+AUX biff+comsat-0.17.tar.bz2 13299 RMD160 d20b510ff5940d00aa3fd60cf48736866caab235 SHA1 896c9c0094d029439119c56399f43b11c053f757 SHA256 018b3b27e8427a3cc45ddb132cd5c68f8e7192895633d53c4352e0e5c8922a81
+EBUILD biff-0.17.ebuild 854 RMD160 6892816b369cb3475f8b736a36847ef45381d464 SHA1 f64c83e8eff3d5095a883688c6964ad06e60e434 SHA256 2ebdd349c74c9fb57f0009dcb5470dae0d29915d9d1cffef7ed0c009b4e30e51
diff --git a/net-mail/biff/biff-0.17.ebuild b/net-mail/biff/biff-0.17.ebuild
new file mode 100644
index 0000000..b311230
--- /dev/null
+++ b/net-mail/biff/biff-0.17.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/gnubiff/gnubiff-2.1.3.ebuild,v 1.4 2005/10/02 11:42:12 agriffis Exp $
+
+inherit eutils
+
+DESCRIPTION="A mail notification program"
+LICENSE="GPL"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+src_unpack() {
+ tar xjf "${FILESDIR}"/biff+comsat-0.17.tar.bz2
+ cd biff+comsat-0.17
+ epatch "${FILESDIR}"/biff+comsat-0.10-nobr.patch.bz2
+}
+
+src_compile() {
+ cd "${WORKDIR}"/biff+comsat-0.17
+ sh configure
+ perl -pi -e '
+ s,^CC=.*$,CC=cc,;
+ s,-O2,\$(RPM_OPT_FLAGS),;
+ s,^BINDIR=.*$,BINDIR=/usr/bin,;
+ s,^MANDIR=.*$,MANDIR=/usr/share/man,;
+ s,^SBINDIR=.*$,SBINDIR=/usr/sbin,;
+ ' MCONFIG
+
+ emake -C biff || die
+}
+
+src_install() {
+ cd "${WORKDIR}"/biff+comsat-0.17
+ dobin biff/biff
+ doman biff/biff.1
+}
diff --git a/net-mail/biff/files/biff+comsat-0.10-nobr.patch.bz2 b/net-mail/biff/files/biff+comsat-0.10-nobr.patch.bz2
new file mode 100644
index 0000000..23685a3
--- /dev/null
+++ b/net-mail/biff/files/biff+comsat-0.10-nobr.patch.bz2
Binary files differ
diff --git a/net-mail/biff/files/biff+comsat-0.17.tar.bz2 b/net-mail/biff/files/biff+comsat-0.17.tar.bz2
new file mode 100644
index 0000000..6b7d08e
--- /dev/null
+++ b/net-mail/biff/files/biff+comsat-0.17.tar.bz2
Binary files differ
diff --git a/net-mail/ezmlm-idx/Manifest b/net-mail/ezmlm-idx/Manifest
new file mode 100644
index 0000000..406b745
--- /dev/null
+++ b/net-mail/ezmlm-idx/Manifest
@@ -0,0 +1,2 @@
+DIST ezmlm-idx-7.1.1.tar.gz 718954 RMD160 8e10cd73d7cabc9cb75722816162fb32a99e3d51 SHA1 3e03b14c344e0b10d707d4e9e6859b8bda01711e SHA256 0d2a9d99fa410cc26c9d00c000ede4977b606ba9fd483c5a7a00b87bf8db2383
+EBUILD ezmlm-idx-7.1.1.ebuild 1793 RMD160 0183abddadf5608231bed0d336feedb5c23d334c SHA1 0dc9bc7643665ef844c822d7c2e851b33b654ff3 SHA256 eed8098cab37ce7fc7e8baa47927e93d1453f62a29d1112c04543d3870a9e6f6
diff --git a/net-mail/ezmlm-idx/ezmlm-idx-7.1.1.ebuild b/net-mail/ezmlm-idx/ezmlm-idx-7.1.1.ebuild
new file mode 100644
index 0000000..017efb2
--- /dev/null
+++ b/net-mail/ezmlm-idx/ezmlm-idx-7.1.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r2.ebuild,v 1.1 2010/10/01 02:57:34 robbat2 Exp $
+
+inherit qmail multilib
+
+DESCRIPTION="Simple yet powerful mailing list manager for qmail"
+HOMEPAGE="http://www.ezmlm.org"
+SRC_URI="http://www.ezmlm.org/archive/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~hppa ~mips ~ppc ~sparc x86"
+IUSE="mysql postgres"
+
+DEPEND="mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql-base )"
+RDEPEND="${DEPEND}
+ virtual/qmail"
+
+pkg_setup() {
+ if use mysql && use postgres; then
+ die "cannot build mysql and pgsql support at the same time"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}" || die
+
+ echo /usr/bin > conf-bin
+ echo /usr/$(get_libdir)/ezmlm > conf-lib
+ echo /etc/ezmlm > conf-etc
+ echo /usr/share/man > conf-man
+ echo ${QMAIL_HOME} > conf-qmail
+
+ echo $(tc-getCC) ${CFLAGS} -I/usr/include/{my,postgre}sql > conf-cc
+ echo $(tc-getCC) ${CFLAGS} -Wl,-E > conf-ld
+
+ # fix DESTDIR and skip cat man-pages
+ sed -e "s:\(/install\) \(\"\`head\):\1 ${D}\2:" \
+ -e "s:\(./install.*\) < MAN$:grep -v \:/cat MAN | \1:" \
+ -e "s:\(\"\`head -n 1 conf-etc\`\"\):${D}\1:" \
+ -e "s:\(\"\`head -n 1 conf-bin\`\"\):${D}\1:" \
+ -e "s:\(\"\`head -n 1 conf-lib\`\"\):${D}\1:" \
+ -e "s:\(\"\`head -n 1 conf-man\`\"\):${D}\1:" \
+ -i Makefile
+}
+
+src_compile() {
+ emake it man || die "make failed"
+
+ if use mysql; then
+ emake mysql || die "make mysql failed"
+ elif use postgres; then
+ emake pgsql || die "make pgsql failed"
+ fi
+}
+
+src_install () {
+ dodir /usr/bin /usr/$(get_libdir)/ezmlm /etc/ezmlm /usr/share/man
+ dobin ezmlm-{cgi,checksub,import,rmtab}
+
+ make DESTDIR="${D}" install || die "make setup failed"
+}
diff --git a/net-mail/qmail-usergen/Manifest b/net-mail/qmail-usergen/Manifest
new file mode 100644
index 0000000..b96860b
--- /dev/null
+++ b/net-mail/qmail-usergen/Manifest
@@ -0,0 +1,3 @@
+AUX qmail.sh 838 RMD160 d938fc6d08b015ac62abbf706bac9561ad9a6fd5 SHA1 1a738101126db488e8736dc790fe12caa579ff8c SHA256 92b9a6b9d244164246945da348489b47f903e656badd841376f03eaf72299a5d
+AUX users/exclude 90 RMD160 d100de545be02dfcc80e3ee58ebdea1fb050b4cb SHA1 05d94e4079e9b234338fa4a34007747e51de6d25 SHA256 8aadcc187e5cc9740df1904f1983de8863b6472c81e90c9a54eb04c21e61900c
+EBUILD qmail-usergen-0.1.ebuild 427 RMD160 18c9565e39149dba52cfe69b623c96187bb85957 SHA1 68bf40373e5fde0852d6a61086807d15ffcf65ee SHA256 8c0f0c5b1806c95a414cc13ddc60eedc7bb114a44db7ae0e15cd5e04425f8178
diff --git a/net-mail/qmail-usergen/files/qmail.sh b/net-mail/qmail-usergen/files/qmail.sh
new file mode 100755
index 0000000..e9f3490
--- /dev/null
+++ b/net-mail/qmail-usergen/files/qmail.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+QMAILHOME=/var/qmail
+
+touch $QMAILHOME/users/assign.passwd
+touch $QMAILHOME/users/assign
+
+# create assign.nopasswd file
+( cat $QMAILHOME/users/assign.passwd && cat $QMAILHOME/users/assign ) \
+ | sort | uniq -u > $QMAILHOME/users/assign.nopasswd
+
+# create the assign file from passwd entries (using getent)
+getent passwd | $QMAILHOME/bin/qmail-pw2u > $QMAILHOME/users/assign.passwd
+
+# merge assign.nopasswd and assign.passwd in assign
+( cat $QMAILHOME/users/assign.nopasswd && cat $QMAILHOME/users/assign.passwd) \
+ | sort -k 2 | uniq | grep -v "^.$" > $QMAILHOME/users/assign
+
+# Fix for vpopmail
+#( cat $QMAILHOME/users/assign.nopasswd && cat $QMAILHOME/users/assign.passwd \
+# | sort -k 2 | uniq ) | grep -v "^.$" > $QMAILHOME/users/assign
+
+
+echo "." >> $QMAILHOME/users/assign
+
+
+
+# make cdb file
+$QMAILHOME/bin/qmail-newu
diff --git a/net-mail/qmail-usergen/files/users/exclude b/net-mail/qmail-usergen/files/users/exclude
new file mode 100644
index 0000000..f4af044
--- /dev/null
+++ b/net-mail/qmail-usergen/files/users/exclude
@@ -0,0 +1,14 @@
+ldap
+xfs
+rpm
+apache
+postgres
+mysql
+named
+squid
+ftp
+portage
+vpopmail
+firebird
+snort
+jabber
diff --git a/net-mail/qmail-usergen/qmail-usergen-0.1.ebuild b/net-mail/qmail-usergen/qmail-usergen-0.1.ebuild
new file mode 100644
index 0000000..1f26a15
--- /dev/null
+++ b/net-mail/qmail-usergen/qmail-usergen-0.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+DESCRIPTION="Script to generate user tables for qmail"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+
+src_install() {
+ dodir /etc/cron.hourly
+ install -c -m 755 ${FILESDIR}/qmail.sh ${D}/etc/cron.hourly
+
+ dodir /var/qmail/users
+ install -c -m 644 ${FILESDIR}/users/* ${D}/var/qmail/users
+}