mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-ftp/atftp: drop 0.7.5, EAPI=7--
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST atftp-0.7.5.tar.gz 253626 BLAKE2B aa0a0311d29fd52b77f8ae021407221f815a39fe85cabac36ee18dce8918a5b0accda455e2df5fecf34f09e93e583bfbc86162b60a7237bd6d34b0c658ec2970 SHA512 457101136e59f7a1657ce591e9ea678ab9091a59219d41b6c522fad4a3555c5cbcb8c9e0c3267fd871940d99b5f8673ab4ce5ec9737dee52f017e5c80a4e59d7
|
||||
DIST atftp-0.8.0.tar.gz 133417 BLAKE2B 6c0ec29c78f345f24adb65fd162e4572bd5b91e067c8db1ff6600ed2ea9a8461693bb6635c2edf09c77693dc6227689406a97b1d6e86a742ffbe3849ab9d3ee3 SHA512 b700b3e4182970fb494ffabd49e39d3622b1aff5f69882549eff0b52a01c8c47babe51b451c4829f9b833ea2ea7c590a2f3819f8e3508176fa7d1b5c0e152b68
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit autotools flag-o-matic systemd
|
||||
|
||||
DESCRIPTION="Advanced TFTP implementation client/server"
|
||||
HOMEPAGE="https://sourceforge.net/projects/atftp/"
|
||||
SRC_URI="https://downloads.sourceforge.net/atftp/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
IUSE="selinux tcpd readline pcre"
|
||||
|
||||
DEPEND="tcpd? ( sys-apps/tcp-wrappers )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
pcre? ( dev-libs/libpcre )"
|
||||
RDEPEND="${DEPEND}
|
||||
!net-ftp/tftp-hpa
|
||||
!net-ftp/uftpd
|
||||
selinux? ( sec-policy/selinux-tftp )"
|
||||
BDEPEND=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-CFLAGS.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
append-cppflags -D_REENTRANT -DRATE_CONTROL
|
||||
# fix #561720 by restoring pre-GCC5 inline semantics
|
||||
append-cflags -std=gnu89
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable tcpd libwrap) \
|
||||
$(use_enable readline libreadline) \
|
||||
$(use_enable pcre libpcre) \
|
||||
--enable-mtftp
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}"/test || die
|
||||
TEMPDIR=. ./test.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
newinitd "${FILESDIR}"/atftp.init atftp
|
||||
newconfd "${FILESDIR}"/atftp.confd atftp
|
||||
|
||||
systemd_dounit "${FILESDIR}"/atftp.service
|
||||
systemd_install_serviced "${FILESDIR}"/atftp.service.conf
|
||||
|
||||
dodoc README* BUGS FAQ Changelog INSTALL TODO
|
||||
dodoc "${S}"/docs/*
|
||||
|
||||
docinto test
|
||||
cd "${S}"/test || die
|
||||
dodoc load.sh mtftp.conf pcre_pattern.txt test.sh test_suite.txt
|
||||
}
|
||||
Reference in New Issue
Block a user