net-ftp/ftpbase: drop old version

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2021-08-22 23:21:20 +02:00
parent 91ed44a14d
commit c83c5db8d1
2 changed files with 0 additions and 53 deletions

View File

@@ -1,17 +0,0 @@
# Provided by ftpbase (dont remove this line!)
# Standard pam.d file for ftp service packages.
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth required pam_stack.so service=system-auth
# If this is enabled, anonymous logins will fail because the 'ftp' user does
# not have a "valid" shell, as listed in /etc/shells.
#
# If you enable this, it is recommended that you do *not* give the 'ftp'
# user a real shell. Instead, give the 'ftp' user /bin/false for a shell and
# add /bin/false to /etc/shells.
# auth required pam_shells.so
account required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth

View File

@@ -1,36 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit pam
DESCRIPTION="FTP layout package"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
IUSE="pam"
DEPEND="pam? ( sys-libs/pam )
!<net-ftp/proftpd-1.2.10-r6
!<net-ftp/pure-ftpd-1.0.20-r2
!<net-ftp/vsftpd-2.0.3-r1"
RDEPEND="
acct-group/ftp
acct-user/ftp"
S=${WORKDIR}
src_install() {
# The ftpusers file is a list of people who are NOT allowed
# to use the ftp service.
insinto /etc
doins "${FILESDIR}/ftpusers"
if use pam; then
newpamd "${FILESDIR}"/ftp-pamd-include ftp
fi
}