diff options
author | Martin Dummer <martin.dummer@gmx.net> | 2019-04-22 12:11:17 +0200 |
---|---|---|
committer | Tobias Klausmann <klausman@gentoo.org> | 2019-04-23 10:09:09 +0200 |
commit | a381735043aa3af0fb344388d12148b857d57847 (patch) | |
tree | ec65acede0312b5bd6266ec8eb258b25d64d7856 /net-ftp/atftp | |
parent | dev-libs/libfilezilla: Bump to version 0.16.0 (diff) | |
download | gentoo-a381735043aa3af0fb344388d12148b857d57847.tar.gz gentoo-a381735043aa3af0fb344388d12148b857d57847.tar.bz2 gentoo-a381735043aa3af0fb344388d12148b857d57847.zip |
net-ftp/atftp: version bump to 0.7.2
new version 0.7.2, includes all patches from debian & gentoo
add proxy-maintainer
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Closes: https://bugs.gentoo.org/513486
Closes: https://bugs.gentoo.org/636150
Package-Manager: Portage-2.3.63, Repoman-2.3.12
Signed-off-by: Tobias Klausmann <klausman@gentoo.org>
Diffstat (limited to 'net-ftp/atftp')
-rw-r--r-- | net-ftp/atftp/Manifest | 1 | ||||
-rw-r--r-- | net-ftp/atftp/atftp-0.7.2.ebuild | 68 | ||||
-rw-r--r-- | net-ftp/atftp/files/atftp-0.7.2-CFLAGS.patch | 32 | ||||
-rwxr-xr-x[-rw-r--r--] | net-ftp/atftp/files/atftp.init | 0 | ||||
-rw-r--r-- | net-ftp/atftp/metadata.xml | 13 |
5 files changed, 111 insertions, 3 deletions
diff --git a/net-ftp/atftp/Manifest b/net-ftp/atftp/Manifest index 08fdd38b0b56..0b5c7deb1067 100644 --- a/net-ftp/atftp/Manifest +++ b/net-ftp/atftp/Manifest @@ -1,3 +1,4 @@ +DIST atftp-0.7.2.tar.gz 248038 BLAKE2B 3ca44624bf989009c2ebd0ae97927b0784e3c617a79a1bd00212a72a185302cf84f51c8bcda2012981d67cfed4d241b70f8719e78155207608f07a2227e6c437 SHA512 d602bb69451175a36e619abcff412ab1f6d0e7baf8c3f9a2b32081530fbc5816157404b80d42a8b6caa89cc83675b5cbeefcd57a5d98b8f5b43c6254b20ef28b DIST atftp-0.7.dfsg.tar.gz 187992 BLAKE2B 8196c333ea8042879196ca9f9c656b4d60a332ed1d64a5738870e1d4fd5f108716da6769bf52759626ad3efce11946b5d6285ac9fbe46cb63e6e2d051fc7aeb3 SHA512 40d231c0bc0478fedb3eff9b4c540c62dd9bd6c40d9738e2db1813797a5d48e201720d43a48970ce250f1bb5b15460bb9b3d631c06f96c1a74775ecfb6d13f82 DIST atftp-0.7.tar.gz 202234 BLAKE2B 65ff486b6ef2b42b2a4737f121c2c36e8ff73838f3c10592c11020acdf2afdf0883fda8b39613e1cc35b47141fd29543a7ef2c3e2ead857033ad4f7181c91d04 SHA512 81c51b613a640f7db4d26da0fb891bda345d11d3f39e0af37f393d2abf619094c1de83f92f04ac75367f546cc70e37d7d47c1535c241c941036fd4df7863a440 DIST atftp_0.7-11.diff.gz 26055 BLAKE2B c9be58836b5a7e3943dd28dd4661abab5e86b1941c9a2b58786eebe702ab515cf1bc08bf44c8ab4157584a437e861e24eb0c833c1fa1bc774f7f8a2134b6cd27 SHA512 28747f8f3ef2fc3b122361f682fe26ba93acf09b190f61efb3cfcbb6bdeef78cfe1348aeaf1699003a7e02586579be670d85b65baad1b1165a4bec9a9279adb5 diff --git a/net-ftp/atftp/atftp-0.7.2.ebuild b/net-ftp/atftp/atftp-0.7.2.ebuild new file mode 100644 index 000000000000..7f0d4df1b2b5 --- /dev/null +++ b/net-ftp/atftp/atftp-0.7.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 2019 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="mirror://sourceforge/atftp/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~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/netkit-tftp + !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 + # Try to run the tests + ./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 +} diff --git a/net-ftp/atftp/files/atftp-0.7.2-CFLAGS.patch b/net-ftp/atftp/files/atftp-0.7.2-CFLAGS.patch new file mode 100644 index 000000000000..749f8e8e6d38 --- /dev/null +++ b/net-ftp/atftp/files/atftp-0.7.2-CFLAGS.patch @@ -0,0 +1,32 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -69,29 +69,6 @@ + dnl Check for AIX + AC_AIX + +-CFLAGS="$CFLAGS -g -Wall -D_REENTRANT" +- +-if test x$debug = xtrue; then +- CFLAGS="$CFLAGS -O0 -DDEBUG" +-else +- if test -n "$auto_cflags"; then +- if test -n "$GCC"; then +- CFLAGS="$CFLAGS -g -O2 -Wall -Wno-implicit" +- else +- case "$host_os" in +- *hpux*) CFLAGS="$CFLAGS +O3" +- ;; +- *ultrix* | *osf*) CFLAGS="$CFLAGS -O -Olimit 2000" +- ;; +- *) CFLAGS="$CFLAGS -O2" +- ;; +- esac +- fi +- else +- CFLAGS="$CFLAGS -O2" +- fi +-fi +- + AC_PROG_MAKE_SET + AC_PROG_INSTALL + diff --git a/net-ftp/atftp/files/atftp.init b/net-ftp/atftp/files/atftp.init index 8ab499127ba4..8ab499127ba4 100644..100755 --- a/net-ftp/atftp/files/atftp.init +++ b/net-ftp/atftp/files/atftp.init diff --git a/net-ftp/atftp/metadata.xml b/net-ftp/atftp/metadata.xml index cf1190698b2e..13613cc65e2b 100644 --- a/net-ftp/atftp/metadata.xml +++ b/net-ftp/atftp/metadata.xml @@ -1,7 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="person"> -<email>klausman@gentoo.org</email> -</maintainer> + <maintainer type="person"> + <email>klausman@gentoo.org</email> + </maintainer> + <maintainer type="person"> + <email>martin.dummer@gmx.net</email> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> </pkgmetadata> |