mail-filter/spamassassin-olemacro: removed old ebuild
Please note this is now integrated into Spamassassin trunk
This commit is contained in:
parent
8ade04fa29
commit
38b971fa0a
2 changed files with 0 additions and 51 deletions
|
@ -1 +0,0 @@
|
|||
EBUILD spamassassin-olemacro-9999.ebuild 1123 BLAKE2B 364532cdfa3a8cc4e8842b82c883fae387c8c4e339c3d525f26a127dd6b1572e3c0562bbd1f5deab3e9652f534ca5f3336356bea0634a0e0e5a1e9c71a7a3520 SHA512 e64fffa1021e6b8dc3b4b69a6b586aebdf5b020309a56b758f9ddea21e58c6f9634e0952bf0193960e5fb056c3b38a7530a3c17a3b853cbf304696e8df0f3dff
|
|
@ -1,50 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module git-r3
|
||||
|
||||
MY_PN="OLEMacro"
|
||||
DESCRIPTION="SpamAssassin plugin that that searches attached documents for an OLE Macro"
|
||||
HOMEPAGE="https://github.com/fmbla/spamassassin-olemacro"
|
||||
|
||||
#EGIT_REPO_URI="https://github.com/fmbla/spamassassin-olemacro.git"
|
||||
EGIT_REPO_URI="https://github.com/KenjiBrown/spamassassin-olemacro.git"
|
||||
EGIT_BRANCH="master"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=mail-filter/spamassassin-3.0.0"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
#S="${WORKDIR}"
|
||||
|
||||
src_compile() {
|
||||
# make sure it doesn't try to look for the .pm in the same dir as the .cf
|
||||
sed -rie 's/^(loadplugin.+)[ ]+OLEMacro.pm/\1/' OLEMacro.pre
|
||||
}
|
||||
|
||||
src_install() {
|
||||
perl_set_version
|
||||
|
||||
local plugin_dir=${VENDOR_LIB}/Mail/SpamAssassin/Plugin
|
||||
|
||||
insinto ${plugin_dir}
|
||||
doins ${MY_PN}.pm
|
||||
|
||||
insinto /etc/mail/spamassassin/
|
||||
doins ${MY_PN}.cf
|
||||
doins ${MY_PN}.pre
|
||||
|
||||
dodoc README.md
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "You need to restart spamassassin (as root) before this plugin will work:"
|
||||
elog "/etc/init.d/spamd restart"
|
||||
echo
|
||||
}
|
Loading…
Reference in a new issue