net-mail/bincimap: Remove last-rited pkg

Closes: https://bugs.gentoo.org/588032
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2019-05-28 15:35:27 +02:00
parent 30a7ed2d86
commit 6f261da8b0
8 changed files with 0 additions and 323 deletions
-1
View File
@@ -1 +0,0 @@
DIST bincimap-1.2.13final.tar.bz2 416152 BLAKE2B 7397442baa9c3668c59a17c99b3531fcc920675ff5a73a025be6f5785448874e42ee91ef7e5c1c318ca248db2422f2ff0b3c5494a8e832fe2522808189fd1e65 SHA512 06c0487d214581293b45a2f189979ceecae5e02b74a8d22381e51aef9fb1ad595628d2aa94e7dbdac0ad544747138735aa61b00c50d83090bed4c41e11c3d2dc
-101
View File
@@ -1,101 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils
DESCRIPTION="IMAP server for Maildir"
SRC_URI="http://www.bincimap.org/dl/tarballs/1.2/${P}final.tar.bz2"
HOMEPAGE="http://freshmeat.net/projects/bincimap/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
IUSE="libressl ssl"
DEPEND="ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
)"
RDEPEND="${DEPEND}
virtual/daemontools
sys-apps/ucspi-tcp
net-mail/checkpassword"
# get rid of old style virtual - bug 350792
# all blockers really needed?
RDEPEND="${RDEPEND}
!mail-mta/courier
!net-mail/courier-imap
!net-mail/cyrus-imapd
!net-mail/uw-imap"
S="${WORKDIR}/${P}final"
src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.diff
epatch "${FILESDIR}"/${PN}-1.2-gcc43.patch
epatch "${FILESDIR}"/${P}-glibc-2.10.patch
}
src_configure() {
econf $(use_enable ssl) --sysconfdir=/etc/bincimap
}
src_compile() {
emake localstatedir=/etc/bincimap
}
src_install () {
emake DESTDIR="${D}" localstatedir=/etc/bincimap prefix=/usr install
keepdir /var/log/bincimap || die
use ssl && keepdir /var/log/bincimap-ssl || die
dodoc AUTHORS ChangeLog INSTALL \
NEWS README README.SSL TODO
dohtml doc/*.{html,css}
rm -rf "${D}"/usr/share/doc/"${PN}"
# backward compatibility
dosym /etc/bincimap/service/bincimap /etc/bincimap/service/imap
dosym /etc/bincimap/service/bincimaps /etc/bincimap/service/imaps
}
pkg_postinst() {
elog "To start bicimap at boot you have to enable the /etc/init.d/svscan rc file"
elog "and create the following link:"
elog "ln -s /etc/bincimap/service/bincimap /service/bincimap"
elog
if use ssl; then
elog "If you want to use ssl connections, create the following link:"
elog "ln -s /etc/bincimap/service/bincimaps /service/bincimaps"
elog
elog "And this command will setup bincimap-ssl on your system."
elog "emerge --config =${CATEGORY}/${PF}"
elog
fi
elog "NOTE: Default Maildir path is '~/.maildir'. If you want to modify it,"
elog "edit /etc/bincimap/bincimap.conf"
elog
}
pkg_config() {
if use ssl; then
local pemfile=/etc/bincimap/bincimap.pem
if [ ! -f $pemfile ]; then
echo "Creating a self-signed ssl-cert:"
/usr/bin/openssl req -new -x509 -nodes -out $pemfile -days 366 -keyout $pemfile
chmod 640 $pemfile
einfo "If You want to have a signed cert, do the following:"
einfo "openssl req -new -nodes -out req.pem \\"
einfo "-keyout $pemfile"
einfo "chmod 640 $pemfile"
einfo "Send req.pem to your CA to obtain signed_req.pem, and do:"
einfo "cat signed_req.pem >> $pemfile"
fi
fi
}
-100
View File
@@ -1,100 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=0
inherit eutils
DESCRIPTION="IMAP server for Maildir"
SRC_URI="http://www.bincimap.org/dl/tarballs/1.2/${P}final.tar.bz2"
HOMEPAGE="http://freshmeat.net/projects/bincimap/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~hppa ~ppc x86"
IUSE="ssl"
DEPEND="ssl? ( dev-libs/openssl )"
RDEPEND="${DEPEND}
virtual/daemontools
sys-apps/ucspi-tcp
net-mail/checkpassword"
# get rid of old style virtual - bug 350792
# all blockers really needed?
RDEPEND="${RDEPEND}
!mail-mta/courier
!net-mail/courier-imap
!net-mail/cyrus-imapd
!net-mail/uw-imap"
S="${WORKDIR}/${P}final"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gentoo.diff
epatch "${FILESDIR}"/${PN}-1.2-gcc43.patch
epatch "${FILESDIR}"/${P}-glibc-2.10.patch
}
src_compile() {
econf $(use_enable ssl) --sysconfdir=/etc/bincimap || die
emake localstatedir=/etc/bincimap || die
}
src_install () {
make DESTDIR="${D}" localstatedir=/etc/bincimap prefix=/usr install || die
keepdir /var/log/bincimap || die
if use ssl; then
keepdir /var/log/bincimap-ssl || die
fi
dodoc AUTHORS ChangeLog INSTALL \
NEWS README README.SSL TODO
dohtml doc/*.{html,css}
rm -rf "${D}"/usr/share/doc/"${PN}"
# backward compatibility
dosym /etc/bincimap/service/bincimap /etc/bincimap/service/imap
dosym /etc/bincimap/service/bincimaps /etc/bincimap/service/imaps
}
pkg_postinst() {
elog "To start bicimap at boot you have to enable the /etc/init.d/svscan rc file"
elog "and create the following link:"
elog "ln -s /etc/bincimap/service/bincimap /service/bincimap"
elog
if use ssl; then
elog "If you want to use ssl connections, create the following link:"
elog "ln -s /etc/bincimap/service/bincimaps /service/bincimaps"
elog
elog "And this command will setup bincimap-ssl on your system."
elog "emerge --config =${CATEGORY}/${PF}"
elog
fi
elog "NOTE: Default Maildir path is '~/.maildir'. If you want to modify it,"
elog "edit /etc/bincimap/bincimap.conf"
elog
}
pkg_config() {
if use ssl; then
local pemfile=/etc/bincimap/bincimap.pem
if [ ! -f $pemfile ]; then
echo "Creating a self-signed ssl-cert:"
/usr/bin/openssl req -new -x509 -nodes -out $pemfile -days 366 -keyout $pemfile
chmod 640 $pemfile
einfo "If You want to have a signed cert, do the following:"
einfo "openssl req -new -nodes -out req.pem \\"
einfo "-keyout $pemfile"
einfo "chmod 640 $pemfile"
einfo "Send req.pem to your CA to obtain signed_req.pem, and do:"
einfo "cat signed_req.pem >> $pemfile"
fi
fi
}
@@ -1,64 +0,0 @@
diff -NrU5 bincimap-1.2.13final.orig/src/convert.cc bincimap-1.2.13final/src/convert.cc
--- bincimap-1.2.13final.orig/src/convert.cc 2005-01-08 11:20:48.000000000 +0100
+++ bincimap-1.2.13final/src/convert.cc 2008-05-07 12:32:33.000000000 +0200
@@ -37,10 +37,12 @@
#include "convert.h"
#include "io.h"
#include <string>
+#include <cstring>
+
using namespace ::std;
using namespace Binc;
//------------------------------------------------------------------------
BincStream::BincStream(void)
diff -NrU5 bincimap-1.2.13final.orig/src/convert.h bincimap-1.2.13final/src/convert.h
--- bincimap-1.2.13final.orig/src/convert.h 2005-02-08 21:30:22.000000000 +0100
+++ bincimap-1.2.13final/src/convert.h 2008-05-07 12:32:33.000000000 +0200
@@ -35,10 +35,11 @@
#include <config.h>
#endif
#ifndef convert_h_included
#define convert_h_included
+#include <cstdlib>
#include <string>
#include <vector>
#include <iomanip>
#include <iostream>
@@ -46,10 +47,12 @@
#include <sys/stat.h>
#include "address.h"
#include "depot.h"
+#include <cstring>
+
namespace Binc {
//----------------------------------------------------------------------
inline std::string toString(int i_in)
{
diff -NrU5 bincimap-1.2.13final.orig/src/tools.cc bincimap-1.2.13final/src/tools.cc
--- bincimap-1.2.13final.orig/src/tools.cc 2005-01-08 11:20:48.000000000 +0100
+++ bincimap-1.2.13final/src/tools.cc 2008-05-07 12:32:33.000000000 +0200
@@ -33,13 +33,16 @@
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <errno.h>
+#include <cstdlib>
#include "tools.h"
+#include <cstring>
+
using namespace ::std;
using namespace Binc;
//------------------------------------------------------------------------
Tools::Tools(void)
@@ -1,32 +0,0 @@
diff -Naru bincimap-1.2.13final.org/conf/bincimap.conf bincimap-1.2.13final/conf/bincimap.conf
--- bincimap-1.2.13final.org/conf/bincimap.conf 2004-04-18 20:23:28.000000000 +0100
+++ bincimap-1.2.13final/conf/bincimap.conf 2004-04-24 13:53:10.011618795 +0100
@@ -56,7 +56,7 @@
type = "Maildir", /* only Maildir
* support */
- path = "Maildir", /* default path */
+ path = ".maildir", /* default path */
auto create inbox = "yes", /* create INBOX in
* given format if
diff -Naru bincimap-1.2.13final.org/service/log/run-ssl.in bincimap-1.2.13final/service/log/run-ssl.in
--- bincimap-1.2.13final.org/service/log/run-ssl.in 2004-03-02 20:16:02.000000000 +0000
+++ bincimap-1.2.13final/service/log/run-ssl.in 2004-04-24 13:52:30.562843106 +0100
@@ -14,5 +14,5 @@
exec 2>&1
-exec multilog t n5 s1048576 @localstatedir@/log/bincimap-ssl
+exec multilog t n5 s1048576 /var/log/bincimap-ssl
diff -Naru bincimap-1.2.13final.org/service/log/run.in bincimap-1.2.13final/service/log/run.in
--- bincimap-1.2.13final.org/service/log/run.in 2004-03-02 20:16:02.000000000 +0000
+++ bincimap-1.2.13final/service/log/run.in 2004-04-24 13:52:37.988613029 +0100
@@ -14,5 +14,5 @@
exec 2>&1
-exec multilog t n5 s1048576 @localstatedir@/log/bincimap
+exec multilog t n5 s1048576 /var/log/bincimap
@@ -1,12 +0,0 @@
diff -ur bincimap-1.2.13final.orig/src/convert.h bincimap-1.2.13final/src/convert.h
--- bincimap-1.2.13final.orig/src/convert.h 2005-02-08 22:30:22.000000000 +0200
+++ bincimap-1.2.13final/src/convert.h 2009-08-08 10:38:08.000000000 +0300
@@ -111,7 +111,7 @@
unsigned char c = *i;
unsigned char d = *(i + 1);
- char *t;
+ const char *t;
if ((t = strchr(hexchars, c)) == 0)
return "out of range";
n = (t - hexchars) << 4;
-8
View File
@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="freshmeat">bincimap</remote-id>
</upstream>
</pkgmetadata>
-5
View File
@@ -361,11 +361,6 @@ app-admin/lsat
# Removal in 30 days. Bug#684268.
app-crypt/bestcrypt
# Michał Górny <mgorny@gentoo.org> (24 Apr 2019)
# Unmainained since 2011. Ebuild broken since 2016. Last release
# in 2005. Removal in 30 days. Bug #588032.
net-mail/bincimap
# Michał Górny <mgorny@gentoo.org> (24 Apr 2019)
# Unmaintained. Vulnerable init.d script. Missing dependencies causing
# build failures (#514412, #544942). Insecure format strings (#520574).