diff options
author | Eray Aslan <eras@gentoo.org> | 2013-02-26 09:54:12 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2013-02-26 09:54:12 +0000 |
commit | 5326533f00e0fa9047b8b7a83e60742b9f4f85df (patch) | |
tree | 938f1f4bdfa7548b1946afaacd9a31a968faaffb /mail-filter/sid-milter | |
parent | Remove old (diff) | |
download | gentoo-2-5326533f00e0fa9047b8b7a83e60742b9f4f85df.tar.gz gentoo-2-5326533f00e0fa9047b8b7a83e60742b9f4f85df.tar.bz2 gentoo-2-5326533f00e0fa9047b8b7a83e60742b9f4f85df.zip |
Remove old
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
Diffstat (limited to 'mail-filter/sid-milter')
-rw-r--r-- | mail-filter/sid-milter/ChangeLog | 6 | ||||
-rwxr-xr-x | mail-filter/sid-milter/files/sid-filter.init | 74 | ||||
-rw-r--r-- | mail-filter/sid-milter/sid-milter-1.0.0-r5.ebuild | 66 |
3 files changed, 5 insertions, 141 deletions
diff --git a/mail-filter/sid-milter/ChangeLog b/mail-filter/sid-milter/ChangeLog index bdcb969cb190..ec65ea32f373 100644 --- a/mail-filter/sid-milter/ChangeLog +++ b/mail-filter/sid-milter/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for mail-filter/sid-milter # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/ChangeLog,v 1.20 2013/02/17 17:37:05 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/ChangeLog,v 1.21 2013/02/26 09:54:11 eras Exp $ + + 26 Feb 2013; Eray Aslan <eras@gentoo.org> -files/sid-filter.init, + -sid-milter-1.0.0-r5.ebuild: + Remove old 17 Feb 2013; Agostino Sarubbo <ago@gentoo.org> sid-milter-1.0.0-r6.ebuild: Stable for x86, wrt bug #457362 diff --git a/mail-filter/sid-milter/files/sid-filter.init b/mail-filter/sid-milter/files/sid-filter.init deleted file mode 100755 index 8ef2a4dbddf3..000000000000 --- a/mail-filter/sid-milter/files/sid-filter.init +++ /dev/null @@ -1,74 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/files/sid-filter.init,v 1.4 2010/09/24 19:59:23 mrness Exp $ - -depend() { - # need net - use dns logger net -} - -parse_opts() { - local filter_opt filter_flag= - for filter_opt in ${SID_FILTER_OPTS}; do - case "${filter_flag}" in - -u) filter_user=${filter_opt} - ;; - -P) filter_pid=${filter_opt} - ;; - esac - [ -n "${filter_user}" -a -n "${filter_pid}" ] && break - filter_flag=${filter_opt} - done - - if [ -z "${filter_user}" ]; then - filter_user=milter - SID_FILTER_OPTS="${SID_FILTER_OPTS} -u ${filter_user}" - fi - if [ -z "${filter_pid}" ]; then - filter_pid="/var/run/sid-filter.pid" - SID_FILTER_OPTS="${SID_FILTER_OPTS} -P ${filter_pid}" - fi -} - -clean_socket() { - local socket_file= svc_pid= - - socket_file="$(echo ${SID_FILTER_OPTS} | sed -e 's/.*local:\(.*\) .*/\1/' | awk '{print $1}')" - svc_pid="$(ps -C sid-filter -o pid=)" - if [[ -z "${svc_pid}" ]] && [[ ! -z "${socket_file}" ]] && [[ -S "${socket_file}" ]]; then - ewarn "Strange, the socket file already exist in \"${socket_file}\"" - ewarn "it will be removed now and re-created by the sid-filter server" - ewarn "BUT please make your checks." - rm -f "${socket_file}" - fi -} - -start() { - local filter_user= filter_pid= - - clean_socket - parse_opts - if ! (touch ${filter_pid} && chown ${filter_user} ${filter_pid}) ; then - eerror "Failed to create pidfile" - return 1 - fi - - ebegin "Starting Sender-ID Filter" - start-stop-daemon --start --exec /usr/bin/sid-filter -- ${SID_FILTER_OPTS} - eend $? -} - -stop() { - local filter_user= filter_pid= - - parse_opts - - ebegin "Stopping Sender-ID Filter" - start-stop-daemon --stop --quiet --name sid-filter --pidfile ${filter_pid} - eend $? - - if [ $? = 0 -a -f "${filter_pid}" ]; then - rm ${filter_pid} - fi -} diff --git a/mail-filter/sid-milter/sid-milter-1.0.0-r5.ebuild b/mail-filter/sid-milter/sid-milter-1.0.0-r5.ebuild deleted file mode 100644 index 61a2dfa7f5fc..000000000000 --- a/mail-filter/sid-milter/sid-milter-1.0.0-r5.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/sid-milter-1.0.0-r5.ebuild,v 1.2 2012/06/05 00:05:52 zmedico Exp $ - -EAPI="2" - -inherit eutils toolchain-funcs user - -DESCRIPTION="A milter-based application to provide Sender-ID verification service" -HOMEPAGE="http://sourceforge.net/projects/sid-milter/" -SRC_URI="mirror://sourceforge/sid-milter/${P}.tar.gz" - -LICENSE="Sendmail-Open-Source" -SLOT="0" -KEYWORDS="~amd64 x86" -IUSE="ipv6" - -DEPEND="dev-libs/openssl - >=sys-libs/db-3.2 - || ( mail-filter/libmilter mail-mta/sendmail )" -RDEPEND="${DEPEND}" - -pkg_setup() { - enewgroup milter - # mail-milter/spamass-milter creates milter user with this home directory - # For consistency reasons, milter user must be created here with this home directory - # even though this package doesn't need a home directory for this user (#280571) - enewuser milter -1 -1 /var/lib/milter milter -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-nopra_on_spf1.patch - epatch "${FILESDIR}"/${P}-as-needed.patch - - local CC="$(tc-getCC)" - local ENVDEF="" - use ipv6 && ENVDEF="${ENVDEF} -DNETINET6" - sed -e "s:@@CC@@:${CC}:" \ - -e "s:@@CFLAGS@@:${CFLAGS}:" \ - -e "s:@@LDFLAGS@@:${LDFLAGS}:" \ - -e "s:@@ENVDEF@@:${ENVDEF}:" \ - "${FILESDIR}/gentoo-config.m4" > "${S}/devtools/Site/site.config.m4" \ - || die "failed to generate site.config.m4" -} - -src_compile() { - emake -j1 || die "emake failed" -} - -src_install() { - dodir /usr/bin - emake -j1 DESTDIR="${D}" SUBDIRS=sid-filter \ - SBINOWN=root SBINGRP=root UBINOWN=root UBINGRP=root \ - install || die "make install failed" - - newinitd "${FILESDIR}/sid-filter.init" sid-filter \ - || die "newinitd failed" - newconfd "${FILESDIR}/sid-filter.conf" sid-filter \ - || die "newconfd failed" - - # man build is broken; do man page installation by hand - doman */*.8 || die "failed to install man pages" - - # some people like docs - dodoc RELEASE_NOTES *.txt sid-filter/README || die "failed to install docs" -} |