summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2007-07-19 20:41:51 +0000
committerMike Pagano <mpagano@gentoo.org>2007-07-19 20:41:51 +0000
commit9775a102430ecea4eaa03e89bd81a3cf051b429e (patch)
treefc0dcd936ecfb0b9600c380bd9ee1d42fe675caa /net-mail
parentapp-text/ocropus-svn: Added more die messages and fixed some spacing issues (diff)
downloadsunrise-9775a102430ecea4eaa03e89bd81a3cf051b429e.tar.gz
sunrise-9775a102430ecea4eaa03e89bd81a3cf051b429e.tar.bz2
sunrise-9775a102430ecea4eaa03e89bd81a3cf051b429e.zip
Removing simscan package. Package is now in the official tree.
svn path=/sunrise/; revision=4287
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/simscan/ChangeLog25
-rw-r--r--net-mail/simscan/Manifest4
-rw-r--r--net-mail/simscan/metadata.xml5
-rw-r--r--net-mail/simscan/simscan-1.1-r2.ebuild130
4 files changed, 0 insertions, 164 deletions
diff --git a/net-mail/simscan/ChangeLog b/net-mail/simscan/ChangeLog
deleted file mode 100644
index 52d3d5829..000000000
--- a/net-mail/simscan/ChangeLog
+++ /dev/null
@@ -1,25 +0,0 @@
-# ChangeLog for net-mail/simscan
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 05 Apr 2007; Jakub Moc <jakub@gentoo.org> simscan-1.1-r2.ebuild:
- Use bindnow-flags properly
-
- 10 Dec 2006; Jakub Moc <jakub@gentoo.org> simscan-1.1-r2.ebuild:
- Remove RESTRICT="strip"
-
- 03 Nov 2006; Raul Porcel (armin76) <armin76@gmail.com>
- -simscan-1.1-r1.ebuild:
- drop old
-
- 31 Jul 2006; Jakub Moc <jakub@gentoo.org> +simscan-1.1-r2.ebuild:
- Sort use flags alphabetically, shorten src_compile, einfo -> ewarn/elog,
- cosmetics
-
- 21 Jul 2006; David CHANIAL (davixx) <david@chanial.com>
- +simscan-1.1-r1.ebuild:
- new simscan-1.1-r1.ebuild - correcting somes bugs (owners, keepdir)
-
- 21 Jun 2006; David CHANIAL <david@chanial.com> ChangeLog:
- New Ebuild for bug 90605 thanks to Helge Aksdal, Ed Cates, David CHANIAL
-
diff --git a/net-mail/simscan/Manifest b/net-mail/simscan/Manifest
deleted file mode 100644
index a803fc196..000000000
--- a/net-mail/simscan/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST simscan-1.1.tar.gz 130114 RMD160 080ec02382e15a93b09719573951783d907bc26b SHA1 9bc0d085f851e0823539e72da2efd238d406dc63 SHA256 0bf09145b003e93e4986eead18778ce9ae4af691c3a99e180bdd04116c082813
-EBUILD simscan-1.1-r2.ebuild 3313 RMD160 b331475bad69d314c49d9f3fa14a1568a8fc180e SHA1 54eb86bbc5cd77be7a2af38a65867e53f5c51ced SHA256 ec4b25631b89975bafe6b1b86de94ac42527b76eb859ff2718369e73c62112f6
-MISC ChangeLog 850 RMD160 ecb9640e34278425e10e4f5c7e62fe999b11a473 SHA1 68dccc4b70961a54af2553fc1021ef469941ce03 SHA256 8cddf08070edb6f3d3b06858f9bc8c540e05351160e047ea85331cd67bfc1c85
-MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-mail/simscan/metadata.xml b/net-mail/simscan/metadata.xml
deleted file mode 100644
index 7e3286984..000000000
--- a/net-mail/simscan/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>maintainer-wanted</herd>
-</pkgmetadata>
diff --git a/net-mail/simscan/simscan-1.1-r2.ebuild b/net-mail/simscan/simscan-1.1-r2.ebuild
deleted file mode 100644
index 333d5ab7d..000000000
--- a/net-mail/simscan/simscan-1.1-r2.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="Simscan is a simple program that enables qmail-smtpd to reject viruses, spam, and block attachments during the SMTP conversation"
-HOMEPAGE="http://www.inter7.com/?page=simscan"
-SRC_URI="http://www.inter7.com/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="attachment clamav custom-smtp-reject dropmsg passthru per-domain quarantine received regex spamassassin"
-
-DEPEND="clamav? ( app-antivirus/clamav )
- attachment? ( net-mail/ripmime )
- spamassassin? ( mail-filter/spamassassin )
- regex? ( dev-libs/libpcre )"
-RDEPEND="${DEPEND}
- virtual/qmail"
-
-pkg_setup() {
- enewgroup clamav
- enewuser clamav -1 -1 /dev/null clamav
-}
-
-src_compile() {
- local myconf
-
- myconf="${myconf} --enable-user=clamav"
-
- for flag in clamav custom-smtp-reject dropmsg per-domain received ; do
- if use ${flag} ; then
- myconf="${myconf} --enable-${flag}=y"
- else
- myconf="${myconf} --enable-${flag}=n"
- fi
- done
-
- if use attachment ; then
- myconf="${myconf} --enable-attach=y"
- myconf="${myconf} --enable-ripmime=/usr/bin/ripmime"
- else
- myconf="${myconf} --enable-attach=n"
- fi
-
- if use regex ; then
- myconf="${myconf} --enable-regex=y"
- myconf="${myconf} --enable-pcre"
- else
- myconf="${myconf} --enable-regex=n"
- fi
-
- use quarantine && myconf="${myconf} --enable-quarantinedir"
-
- if use spamassassin ; then
- myconf="${myconf} --enable-spam=y"
- if use passthru ; then
- myconf="${myconf} --enable-spam-passthru=y"
- else
- myconf="${myconf} --enable-spam-passthru=n"
- fi
- else
- myconf="${myconf} --enable-spam=n"
- fi
-
- econf ${myconf} || die "econf failed"
- emake simscan_LDFLAGS=$(bindnow-flags) || die "emake failed"
-}
-
-src_install() {
- einfo "Installing documentation and contrib files"
- dodoc AUTHORS README TODO
-
- docinto contrib
- dodoc contrib/*.patch
-
- einfo "Installing binaries"
- exeinto /var/qmail/bin
- doexe simscan
- doexe simscanmk
-
- diropts -m750
- dodir /var/qmail/simscan
- fowners clamav:clamav /var/qmail/simscan /var/qmail/bin/simscan
- fperms 4711 /var/qmail/bin/simscan
- keepdir /var/qmail/simscan
-
- if use per-domain ; then
- einfo "Setting default configuration..."
- echo ':clam=yes,spam=yes' > simcontrol
- insopts -o root -g root -m 644
- insinto /var/qmail/control
- doins simcontrol
- fi
-}
-
-pkg_postinst() {
- einfo ""
-
- if use custom-smtp-reject ; then
- ewarn "Be careful, if you use the \"custom-smtp-reject\" flag you will"
- ewarn "have many problems if qmail was not patched with"
- ewarn "qmail-queue-custom-error.patch"
- ewarn
- ewarn "If your not sure, re-emerge simscan without this flag"
- ewarn
- fi
-
- elog "Now update the simscan configuration files :"
- elog "You have to do that after clamav or spamassassin update"
- elog
- elog "/var/qmail/bin/simscanmk"
- elog "`/var/qmail/bin/simscanmk`"
- elog ""
- elog "/var/qmail/bin/simscanmk -g"
- elog "`/var/qmail/bin/simscanmk -g`"
- elog ""
-
- elog "You must have qmail with QMAILQUEUE patch"
- elog "And, in order use simscan, edit your tcp.qmail-smtpd rules"
- elog "and update as follow (for example only)"
- elog
- elog ":allow,QMAILQUEUE=\"/var/qmail/bin/simscan\""
- elog
-
- elog "Read the documentation and personalize /var/qmail/control/simcontrol"
- elog ""
-}