diff options
author | Eray Aslan <eras@gentoo.org> | 2013-02-16 08:50:58 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2013-02-16 08:50:58 +0000 |
commit | 7eb1c3a04145d76008c553450f129f66c0933e31 (patch) | |
tree | 51f6a4c6295cebb19280cb357d59bbae4d6b9b72 /net-mail | |
parent | Don't show elog messages always (#457596) (diff) | |
download | gentoo-2-7eb1c3a04145d76008c553450f129f66c0933e31.tar.gz gentoo-2-7eb1c3a04145d76008c553450f129f66c0933e31.tar.bz2 gentoo-2-7eb1c3a04145d76008c553450f129f66c0933e31.zip |
Remove old
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/popa3d/ChangeLog | 5 | ||||
-rw-r--r-- | net-mail/popa3d/popa3d-1.0.2.ebuild | 201 |
2 files changed, 4 insertions, 202 deletions
diff --git a/net-mail/popa3d/ChangeLog b/net-mail/popa3d/ChangeLog index b195b89e9dae..e516d30b1b65 100644 --- a/net-mail/popa3d/ChangeLog +++ b/net-mail/popa3d/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-mail/popa3d # Copyright 2000-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/popa3d/ChangeLog,v 1.40 2013/02/15 22:46:11 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/popa3d/ChangeLog,v 1.41 2013/02/16 08:50:58 eras Exp $ + + 16 Feb 2013; Eray Aslan <eras@gentoo.org> -popa3d-1.0.2.ebuild: + Remove old 15 Feb 2013; Agostino Sarubbo <ago@gentoo.org> popa3d-1.0.2-r1.ebuild: Stable for sparc, wrt bug #457436 diff --git a/net-mail/popa3d/popa3d-1.0.2.ebuild b/net-mail/popa3d/popa3d-1.0.2.ebuild deleted file mode 100644 index 56b8efb07730..000000000000 --- a/net-mail/popa3d/popa3d-1.0.2.ebuild +++ /dev/null @@ -1,201 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/popa3d/popa3d-1.0.2.ebuild,v 1.8 2013/01/03 09:13:48 eras Exp $ - -inherit eutils toolchain-funcs user - -# -# Mailbox format is determined by the 'mbox' and 'maildir' -# system USE flags. -# -# Mailbox path configuration denoted by the system USE -# flags. -# -# USE flag 'maildir' denotes ~/.maildir -# USE flag 'mbox' denotes /var/mail/username -# -# You can overwrite this by setting the POPA3D_HOME_MAILBOX -# environmental variable (see below) before emerge. -# -# Environmental variables. -# -# POPA3D_HOME_MAILBOX -# -# Overwrite the local user mailbox path. For example -# if you want qmail-styled ~/Mailbox you can set it -# to "Mailbox". For the traditional (although not in -# gentoo Maildir) set it to "Maildir". -# -# POPA3D_VIRTUAL_ONLY -# -# Set this field to "YES" if you dont want local users -# to have POP access. Setting this makes the POPA3D_HOME_MAILBOX -# variable effectively useless. -# -# POPA3D_VIRTUAL_HOME_PATH -# -# Set this field to the base virtual home path. For more information -# read the virtual guide here: http://forums.gentoo.org/viewtopic.php?t=82386 -# -###### -# 12/07/2005 - port001 -# Version 1.0 introduced some increased default values for a number of -# configuration paramaters. These values are way too high for most systems. -MAX_SESSIONS=100 # Default is 500 -MAX_SESSIONS_PER_SOURCE=10 # Default is 50 - -MAX_MAILBOX_MESSAGES=100000 # Default is 2097152 -MAX_MAILBOX_OPEN_BYTES=100000000 # Default is 2147483647 -MAX_MAILBOX_WORK_BYTES=150000000 # Default is 2147483647 -###### - -IUSE="pam mbox maildir" - -DESCRIPTION="A security oriented POP3 server." -HOMEPAGE="http://www.openwall.com/popa3d/" - -SRC_URI="http://www.openwall.com/popa3d/${P}.tar.gz - mirror://gentoo/popa3d-0.6.3-vname-2.diff.gz - maildir? ( mirror://gentoo/popa3d-0.5.9-maildir-2.diff.gz )" - -LICENSE="Openwall" -SLOT="0" -KEYWORDS="~amd64 ppc sparc x86" - -DEPEND=">=sys-apps/sed-4 - pam? ( >=sys-libs/pam-0.72 - >=net-mail/mailbase-0.00-r8 )" -RDEPEND="${DEPEND}" - -pkg_setup() { - - if use pam && ! built_with_use net-mail/mailbase pam ; then - echo - eerror - eerror "${PN} needs net-mail/mailbase to be built with the pam USE flag" - eerror "activated. Please rebuild net-mail/mailbase with pam" - eerror - die "mailbase has to be built with pam flag" - fi - - if use mbox && use maildir ; then - echo - eerror - eerror "You must choose between mbox or maildir," - eerror "both cannot be used together." - eerror - die "Both mbox and maildir specified." - fi - - echo - ewarn - ewarn "You can customize this ebuild with environmental variables." - ewarn "If you don't set any I'll assume sensible defaults." - ewarn - ewarn "See inside this ebuild for details." - ewarn - echo - epause 5 - - enewgroup popa3d - enewuser popa3d -1 -1 -1 popa3d -} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${DISTDIR}"/popa3d-0.6.3-vname-2.diff.gz - - use maildir && epatch "${DISTDIR}"/popa3d-0.5.9-maildir-2.diff.gz -} - -src_compile() { - sed -i \ - -e "s:^\(#define MAX_SESSIONS\) .*$:\1 ${MAX_SESSIONS}:" \ - -e "s:^\(#define MAX_SESSIONS_PER_SOURCE\).*$:\1 ${MAX_SESSIONS_PER_SOURCE}:" \ - -e "s:^\(#define MAX_MAILBOX_MESSAGES\).*$:\1 ${MAX_MAILBOX_MESSAGES}:" \ - -e "s:^\(#define MAX_MAILBOX_OPEN_BYTES\).*$:\1 ${MAX_MAILBOX_OPEN_BYTES}:" \ - -e "s:^\(#define MAX_MAILBOX_WORK_BYTES\).*$:\1 ${MAX_MAILBOX_WORK_BYTES}:" \ - params.h || die "sed on params.h failed (1)" - - if use maildir ; then - einfo "Mailbox format is: MAILDIR." - if [[ -z ${POPA3D_HOME_MAILBOX} ]] ; then - POPA3D_HOME_MAILBOX=".maildir" - fi - else - einfo "Mailbox format is: MAILBOX." - fi - - if [[ -n ${POPA3D_HOME_MAILBOX} ]] ; then - einfo "Mailbox path: ~/${POPA3D_HOME_MAILBOX}" - epause 2 - sed -i \ - -e "s:^\(#define MAIL_SPOOL_PATH.*\)$://\1:" \ - -e "s:^\(#define HOME_MAILBOX_NAME\).*$:\1 \"${POPA3D_HOME_MAILBOX}\":" \ - params.h || die "sed on params.h failed (2)" - else - einfo "Mailbox path: /var/mail/username" - fi - - if [[ ${POPA3D_VIRTUAL_ONLY} = "YES" ]] ; then - einfo "Virtual only, no local system users" - sed -i -e "s:^\(#define VIRTUAL_ONLY\).*$:\1 1:" params.h - fi - - if [[ -n ${POPA3D_VIRTUAL_HOME_PATH} ]] ; then - einfo "Virtual home path set to: ${POPA3D_VIRTUAL_HOME_PATH}" - sed -i \ - -e "s:^\(#define VIRTUAL_HOME_PATH\).*$:\1 \"$POPA3D_VIRTUAL_HOME_PATH\":" \ - params.h || die "sed on params.h failed (3)" - fi - - if [[ ${POPA3D_VIRTUAL_ONLY} = "YES" ]] ; then - einfo "Authentication method: Virtual." - elif use pam ; then - einfo "Authentication method: PAM." - LIBS="${LIBS} -lpam" - sed -i \ - -e "s:^\(#define AUTH_SHADOW\)[[:blank:]].*$:\1 0:" \ - -e "s:^\(#define AUTH_PAM\)[[:blank:]].*$:\1 1:" \ - params.h || die "sed on params.h failed (4)" - else - einfo "Authentication method: Shadow." - fi - - sed -i \ - -e "s:^\(#define POP_STANDALONE\).*$:\1 1:" \ - -e "s:^\(#define POP_VIRTUAL\).*$:\1 1:" \ - -e "s:^\(#define VIRTUAL_VNAME\).*$:\1 1:" \ - params.h || die "sed on params.h failed (5)" - - sed -i \ - -e '/^CC =/d' \ - -e '/^CFLAGS =/d' \ - -e '/^LDFLAGS =/d' \ - Makefile || die "Makefile cleaning failed" - - emake LIBS="${LIBS} -lcrypt" \ - CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - CC=$(tc-getCC) || die "emake failed" -} - -src_install() { - into /usr - - dosbin popa3d - doman popa3d.8 - dodoc DESIGN INSTALL CHANGES VIRTUAL CONTACT - - diropts -m 755 - dodir /var/empty - keepdir /var/empty - - newinitd "${FILESDIR}"/popa3d-initrc popa3d - - if use pam ; then - dodir /etc/pam.d/ - dosym /etc/pam.d/pop /etc/pam.d/popa3d - fi -} |