diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2011-09-28 09:47:22 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2011-09-28 09:47:22 +0000 |
commit | d45ec5dd3baaef33ca5e5cefb21e000eb2d3d4cf (patch) | |
tree | ad245a867315d43bded01e5375f7d4a248a69e06 /net-ftp/proftpd | |
parent | Marked ~sparc-solaris and ~sparc64-solaris (diff) | |
download | gentoo-2-d45ec5dd3baaef33ca5e5cefb21e000eb2d3d4cf.tar.gz gentoo-2-d45ec5dd3baaef33ca5e5cefb21e000eb2d3d4cf.tar.bz2 gentoo-2-d45ec5dd3baaef33ca5e5cefb21e000eb2d3d4cf.zip |
Fix init script depecrated variables, version bumps
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64)
Diffstat (limited to 'net-ftp/proftpd')
-rw-r--r-- | net-ftp/proftpd/ChangeLog | 16 | ||||
-rw-r--r-- | net-ftp/proftpd/files/proftpd-1.3.4_rc2-sql-groupsetfast-null-pointer.patch | 18 | ||||
-rw-r--r-- | net-ftp/proftpd/files/proftpd-bug3586.patch | 159 | ||||
-rw-r--r-- | net-ftp/proftpd/files/proftpd.initd | 8 | ||||
-rw-r--r-- | net-ftp/proftpd/proftpd-1.3.3f.ebuild (renamed from net-ftp/proftpd/proftpd-1.3.3d-r1.ebuild) | 11 | ||||
-rw-r--r-- | net-ftp/proftpd/proftpd-1.3.4_rc3.ebuild (renamed from net-ftp/proftpd/proftpd-1.3.4_rc2-r2.ebuild) | 121 |
6 files changed, 82 insertions, 251 deletions
diff --git a/net-ftp/proftpd/ChangeLog b/net-ftp/proftpd/ChangeLog index a12d46b0cd84..f4b509cb9302 100644 --- a/net-ftp/proftpd/ChangeLog +++ b/net-ftp/proftpd/ChangeLog @@ -1,6 +1,20 @@ # ChangeLog for net-ftp/proftpd # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/ChangeLog,v 1.275 2011/08/18 14:40:44 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/ChangeLog,v 1.276 2011/09/28 09:47:22 voyageur Exp $ + +*proftpd-1.3.4_rc3 (28 Sep 2011) +*proftpd-1.3.3f (28 Sep 2011) + + 28 Sep 2011; Bernard Cafarelli <voyageur@gentoo.org> + -proftpd-1.3.3d-r1.ebuild, +proftpd-1.3.3f.ebuild, + -proftpd-1.3.4_rc2-r2.ebuild, +proftpd-1.3.4_rc3.ebuild, + -files/proftpd-1.3.4_rc2-sql-groupsetfast-null-pointer.patch, + -files/proftpd-bug3586.patch, files/proftpd.initd: + Proxy commit: + * Remove init script deprecated --oknodo (bug #384393) + * Readd memcache support (bug #378881) + * Add support of ProFTPD's api test suite + * Remove trivial mod_exec warning *proftpd-1.3.4_rc2-r2 (18 Aug 2011) diff --git a/net-ftp/proftpd/files/proftpd-1.3.4_rc2-sql-groupsetfast-null-pointer.patch b/net-ftp/proftpd/files/proftpd-1.3.4_rc2-sql-groupsetfast-null-pointer.patch deleted file mode 100644 index 7393495e617b..000000000000 --- a/net-ftp/proftpd/files/proftpd-1.3.4_rc2-sql-groupsetfast-null-pointer.patch +++ /dev/null @@ -1,18 +0,0 @@ -Index: contrib/mod_sql.c -=================================================================== -RCS file: /cvsroot/proftp/proftpd/contrib/mod_sql.c,v -retrieving revision 1.210 -diff -u -r1.210 mod_sql.c ---- contrib/mod_sql.c 26 Mar 2011 00:43:27 -0000 1.210 -+++ contrib/mod_sql.c 12 Apr 2011 22:07:41 -0000 -@@ -4045,8 +4045,8 @@ - if (!cmap.groupcustomgroupsetfast) { - where = sql_prepare_where(0, cmd, 1, cmap.groupwhere, NULL); - -- mr = _sql_dispatch(_sql_make_cmd(cmd->tmp_pool, 6, MOD_SQL_DEF_CONN_NAME, -- cmap.grptable, cmap.grpfields, where, NULL), "sql_select"); -+ mr = _sql_dispatch(_sql_make_cmd(cmd->tmp_pool, 5, MOD_SQL_DEF_CONN_NAME, -+ cmap.grptable, cmap.grpfields, where, "1"), "sql_select"); - if (check_response(mr) < 0) { - return mr; - } diff --git a/net-ftp/proftpd/files/proftpd-bug3586.patch b/net-ftp/proftpd/files/proftpd-bug3586.patch deleted file mode 100644 index 529da12f1aff..000000000000 --- a/net-ftp/proftpd/files/proftpd-bug3586.patch +++ /dev/null @@ -1,159 +0,0 @@ -Index: contrib/mod_sftp/mod_sftp.c -=================================================================== -RCS file: /cvsroot/proftp/proftpd/contrib/mod_sftp/mod_sftp.c,v -retrieving revision 1.42 -diff -u -r1.42 mod_sftp.c ---- contrib/mod_sftp/mod_sftp.c 15 Dec 2010 00:58:59 -0000 1.42 -+++ contrib/mod_sftp/mod_sftp.c 25 Jan 2011 01:58:01 -0000 -@@ -85,12 +85,12 @@ - memset(buf, '\0', sizeof(buf)); - - for (i = 0; i < sizeof(buf) - 1; i++) { -- res = sftp_ssh2_packet_sock_read(conn->rfd, &buf[i], 1); -+ res = sftp_ssh2_packet_sock_read(conn->rfd, &buf[i], 1, 0); - while (res <= 0) { - if (errno == EINTR) { - pr_signals_handle(); - -- res = sftp_ssh2_packet_sock_read(conn->rfd, &buf[i], 1); -+ res = sftp_ssh2_packet_sock_read(conn->rfd, &buf[i], 1, 0); - continue; - } - -Index: contrib/mod_sftp/packet.c -=================================================================== -RCS file: /cvsroot/proftp/proftpd/contrib/mod_sftp/packet.c,v -retrieving revision 1.22 -diff -u -r1.22 packet.c ---- contrib/mod_sftp/packet.c 16 Dec 2010 21:31:16 -0000 1.22 -+++ contrib/mod_sftp/packet.c 25 Jan 2011 01:58:01 -0000 -@@ -46,6 +46,12 @@ - static uint32_t packet_client_seqno = 0; - static uint32_t packet_server_seqno = 0; - -+/* Maximum length of the payload data of an SSH2 packet we're willing to -+ * accept. Any packets reporting a payload length longer than this will be -+ * ignored/dropped. -+ */ -+#define SFTP_PACKET_MAX_PAYLOAD_LEN (256 * 1024) -+ - /* RFC4344 recommends 2^31 for the client packet sequence number at which - * we should request a rekey, and 2^32 for the server packet sequence number. - * -@@ -169,7 +175,8 @@ - * It is the caller's responsibility to ensure that buf is large enough to - * hold reqlen bytes. - */ --int sftp_ssh2_packet_sock_read(int sockfd, void *buf, size_t reqlen) { -+int sftp_ssh2_packet_sock_read(int sockfd, void *buf, size_t reqlen, -+ int flags) { - void *ptr; - size_t remainlen; - -@@ -252,6 +259,13 @@ - if (res == remainlen) - break; - -+ if (flags & SFTP_PACKET_READ_FL_PESSIMISTIC) { -+ pr_trace_msg(trace_channel, 20, "read %lu bytes, expected %lu bytes; " -+ "pessimistically returning", (unsigned long) res, -+ (unsigned long) remainlen); -+ break; -+ } -+ - pr_trace_msg(trace_channel, 20, "read %lu bytes, expected %lu bytes; " - "reading more", (unsigned long) res, (unsigned long) remainlen); - ptr = ((char *) ptr + res); -@@ -477,7 +491,12 @@ - (unsigned long) buflen); - - if (buflen > 0) { -- sftp_ssh2_packet_sock_read(sockfd, buf, buflen); -+ int flags = SFTP_PACKET_READ_FL_PESSIMISTIC; -+ -+ /* We don't necessary want to wait for the entire random amount of data -+ * to be read in. -+ */ -+ sftp_ssh2_packet_sock_read(sockfd, buf, buflen, flags); - } - - return; -@@ -497,7 +516,7 @@ - * how many more bytes there are in the packet. - */ - -- res = sftp_ssh2_packet_sock_read(sockfd, buf, blocksz); -+ res = sftp_ssh2_packet_sock_read(sockfd, buf, blocksz, 0); - if (res < 0) - return res; - -@@ -555,8 +574,26 @@ - if (payload_len + padding_len == 0) - return 0; - -- if (payload_len > 0) -+ if (payload_len > 0) { -+ /* We don't want to reject the packet outright yet; but we can ignore -+ * the payload data we're going to read in. This packet will fail -+ * eventually anyway. -+ */ -+ if (payload_len > SFTP_PACKET_MAX_PAYLOAD_LEN) { -+ pr_trace_msg(trace_channel, 20, -+ "payload len (%lu bytes) exceeds max payload len (%lu), " -+ "ignoring payload", (unsigned long) payload_len, -+ (unsigned long) SFTP_PACKET_MAX_PAYLOAD_LEN); -+ -+ pr_log_writefile(sftp_logfd, MOD_SFTP_VERSION, -+ "client sent buggy/malicious packet payload length, ignoring"); -+ -+ errno = EPERM; -+ return -1; -+ } -+ - pkt->payload = pcalloc(pkt->pool, payload_len); -+ } - - /* If there's data in the buffer we received, it's probably already part - * of the payload, unencrypted. That will leave the remaining payload -@@ -617,7 +654,7 @@ - return -1; - } - -- res = sftp_ssh2_packet_sock_read(sockfd, buf + *offset, data_len); -+ res = sftp_ssh2_packet_sock_read(sockfd, buf + *offset, data_len, 0); - if (res < 0) { - return res; - } -@@ -645,7 +682,7 @@ - if (mac_len == 0) - return 0; - -- res = sftp_ssh2_packet_sock_read(sockfd, buf, mac_len); -+ res = sftp_ssh2_packet_sock_read(sockfd, buf, mac_len, 0); - if (res < 0) - return res; - -Index: contrib/mod_sftp/packet.h -=================================================================== -RCS file: /cvsroot/proftp/proftpd/contrib/mod_sftp/packet.h,v -retrieving revision 1.4 -diff -u -r1.4 packet.h ---- contrib/mod_sftp/packet.h 15 Sep 2010 17:29:51 -0000 1.4 -+++ contrib/mod_sftp/packet.h 25 Jan 2011 01:58:01 -0000 -@@ -78,7 +78,15 @@ - int sftp_ssh2_packet_get_last_sent(time_t *); - - int sftp_ssh2_packet_read(int, struct ssh2_packet *); --int sftp_ssh2_packet_sock_read(int, void *, size_t); -+int sftp_ssh2_packet_sock_read(int, void *, size_t, int); -+ -+/* This sftp_ssh2_packet_sock_read() flag is used to tell the function to -+ * read in as many of the requested length of data as it can, but to NOT -+ * keep polling until that length has been acquired (i.e. to read the -+ * requested length pessimistically, assuming that it will not all appear). -+ */ -+#define SFTP_PACKET_READ_FL_PESSIMISTIC 0x001 -+ - int sftp_ssh2_packet_write(int, struct ssh2_packet *); - - int sftp_ssh2_packet_handle(void); diff --git a/net-ftp/proftpd/files/proftpd.initd b/net-ftp/proftpd/files/proftpd.initd index ff03b411488b..fe399a71d91e 100644 --- a/net-ftp/proftpd/files/proftpd.initd +++ b/net-ftp/proftpd/files/proftpd.initd @@ -1,9 +1,9 @@ #!/sbin/runscript -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/files/proftpd.initd,v 1.3 2010/11/16 13:00:29 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/files/proftpd.initd,v 1.4 2011/09/28 09:47:22 voyageur Exp $ -opts="reload" +extra_started_commands="reload" depend() { need net @@ -46,7 +46,7 @@ stop() { reload() { check_configuration || return 1 ebegin "Reloading ProFTPD" - start-stop-daemon --stop --quiet --signal HUP --oknodo \ + start-stop-daemon --quiet --signal HUP \ --pidfile /var/run/proftpd/proftpd.pid eend $? } diff --git a/net-ftp/proftpd/proftpd-1.3.3d-r1.ebuild b/net-ftp/proftpd/proftpd-1.3.3f.ebuild index 08ed27b9ea22..fb1f12b855ba 100644 --- a/net-ftp/proftpd/proftpd-1.3.3d-r1.ebuild +++ b/net-ftp/proftpd/proftpd-1.3.3f.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.3.3d-r1.ebuild,v 1.8 2011/07/21 17:16:12 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.3.3f.ebuild,v 1.1 2011/09/28 09:47:22 voyageur Exp $ EAPI="2" inherit eutils autotools @@ -9,7 +9,7 @@ CASE_VER="0.4" CLAMAV_VER="0.11rc" DEFLATE_VER="0.5.4" GSS_VER="1.3.3" -VROOT_VER="0.8.5" +VROOT_VER="0.9.2" DESCRIPTION="An advanced and very configurable FTP server." HOMEPAGE="http://www.proftpd.org/ @@ -25,7 +25,7 @@ SRC_URI="ftp://ftp.proftpd.org/distrib/source/${P/_/}.tar.bz2 LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="acl authfile ban +caps case clamav +ctrls deflate doc exec ifsession ident ipv6 kerberos ldap mysql ncurses nls pam postgres radius ratio readme rewrite selinux sftp shaper sitemisc softquota ssl tcpd trace vroot xinetd" DEPEND="acl? ( sys-apps/acl sys-apps/attr ) @@ -75,9 +75,6 @@ src_prepare() { use deflate && __prepare_module mod_deflate use vroot && __prepare_module mod_vroot - # Fix ProFTPD Bug #3586 - epatch "${FILESDIR}"/proftpd-bug3586.patch - # Fix MySQL includes sed -i -e "s/<mysql.h>/<mysql\/mysql.h>/g" contrib/mod_sql_mysql.c @@ -101,7 +98,7 @@ src_configure() { use ban && mym="${mym}:mod_ban" use case && mym="${mym}:mod_case" use clamav && mym="${mym}:mod_clamav" - if use ctrls || use shaper ; then + if use ctrls || use ban || use shaper ; then myc="${myc} --enable-ctrls" mym="${mym}:mod_ctrls_admin" fi diff --git a/net-ftp/proftpd/proftpd-1.3.4_rc2-r2.ebuild b/net-ftp/proftpd/proftpd-1.3.4_rc3.ebuild index d29f02291c82..f7db14b15d68 100644 --- a/net-ftp/proftpd/proftpd-1.3.4_rc2-r2.ebuild +++ b/net-ftp/proftpd/proftpd-1.3.4_rc3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.3.4_rc2-r2.ebuild,v 1.1 2011/08/18 14:40:44 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.3.4_rc3.ebuild,v 1.1 2011/09/28 09:47:22 voyageur Exp $ EAPI=4 inherit eutils autotools @@ -27,14 +27,15 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="acl authfile ban +caps case clamav copy ctrls deflate diskuse doc exec ifsession ifversion ident - ipv6 kerberos ldap mysql ncurses nls pam +pcre postgres qos radius ratio readme rewrite selinux - sftp shaper sitemisc softquota sqlite ssl tcpd trace vroot xinetd" + ipv6 kerberos ldap memcache mysql ncurses nls pam +pcre postgres qos radius ratio readme rewrite + selinux sftp shaper sitemisc softquota sqlite ssl tcpd test trace vroot xinetd" -DEPEND="acl? ( virtual/acl ) +COMMON_DEPEND="acl? ( virtual/acl ) caps? ( sys-libs/libcap ) clamav? ( app-antivirus/clamav ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) + memcache? ( >=dev-libs/libmemcached-0.41 ) mysql? ( virtual/mysql ) nls? ( virtual/libiconv ) ncurses? ( sys-libs/ncurses ) @@ -45,7 +46,10 @@ DEPEND="acl? ( virtual/acl ) sqlite? ( dev-db/sqlite:3 ) ssl? ( dev-libs/openssl ) xinetd? ( virtual/inetd )" -RDEPEND="${DEPEND} + +DEPEND="${COMMON_DEPEND} + test? ( dev-libs/check )" +RDEPEND="${COMMON_DEPEND} net-ftp/ftpbase selinux? ( sec-policy/selinux-ftpd )" @@ -67,10 +71,6 @@ src_prepare() { use vroot && __prepare_module mod_vroot sed -i -e "s/utils install-conf install/utils install/g" Makefile.in - sed -i -e "s/ @INSTALL_STRIP@//g" Make.rules.in - - # Fix Gentoo Bug #363293 / ProFTPD Bug #3642 - epatch "${FILESDIR}"/${P}-sql-groupsetfast-null-pointer.patch # Support new versions of mit-krb5 (Gentoo Bugs #284853, #324903) if use kerberos ; then @@ -82,18 +82,18 @@ src_prepare() { } src_configure() { - local myc myl mym + local c m - use acl && mym="${mym}:mod_facl" - use ban && mym="${mym}:mod_ban" - use case && mym="${mym}:mod_case" - use clamav && mym="${mym}:mod_clamav" - use copy && mym="${mym}:mod_copy" + use acl && m="${m}:mod_facl" + use ban && m="${m}:mod_ban" + use case && m="${m}:mod_case" + use clamav && m="${m}:mod_clamav" + use copy && m="${m}:mod_copy" if use ctrls || use ban || use shaper ; then - myc="${myc} --enable-ctrls" - mym="${mym}:mod_ctrls_admin" + c="${c} --enable-ctrls" + m="${m}:mod_ctrls_admin" fi - use deflate && mym="${mym}:mod_deflate" + use deflate && m="${m}:mod_deflate" if use diskuse ; then cd "${WORKDIR}"/mod_diskuse econf @@ -101,11 +101,11 @@ src_configure() { mv mod_diskuse.html "${S}"/doc/contrib cd "${S}" rm -rf "${WORKDIR}"/mod_diskuse - mym="${mym}:mod_diskuse" + m="${m}:mod_diskuse" fi - use exec && mym="${mym}:mod_exec" - use ifsession && mym="${mym}:mod_ifsession" - use ifversion && mym="${mym}:mod_ifversion" + use exec && m="${m}:mod_exec" + use ifsession && m="${m}:mod_ifsession" + use ifversion && m="${m}:mod_ifversion" if use kerberos ; then cd "${WORKDIR}"/mod_gss-${MOD_GSS} if has_version app-crypt/mit-krb5 ; then @@ -120,59 +120,65 @@ src_configure() { mv rfc{1509,2228}.txt "${S}"/doc/rfc cd "${S}" rm -rf "${WORKDIR}"/mod_gss-${MOD_GSS} - mym="${mym}:mod_gss:mod_auth_gss" - fi - if use ldap ; then - use elibc_glibc && myl="${myl} -lresolv" - mym="${mym}:mod_ldap" + m="${m}:mod_gss:mod_auth_gss" fi + use ldap && m="${m}:mod_ldap" if use mysql || use postgres || use sqlite ; then - mym="${mym}:mod_sql:mod_sql_passwd" - use mysql && mym="${mym}:mod_sql_mysql" - use postgres && mym="${mym}:mod_sql_postgres" - use sqlite && mym="${mym}:mod_sql_sqlite" + m="${m}:mod_sql:mod_sql_passwd" + use mysql && m="${m}:mod_sql_mysql" + use postgres && m="${m}:mod_sql_postgres" + use sqlite && m="${m}:mod_sql_sqlite" fi - use qos && mym="${mym}:mod_qos" - use radius && mym="${mym}:mod_radius" - use ratio && mym="${mym}:mod_ratio" - use readme && mym="${mym}:mod_readme" - use rewrite && mym="${mym}:mod_rewrite" - use sftp || use ssl && myc="${myc} --enable-openssl" + use qos && m="${m}:mod_qos" + use radius && m="${m}:mod_radius" + use ratio && m="${m}:mod_ratio" + use readme && m="${m}:mod_readme" + use rewrite && m="${m}:mod_rewrite" + use sftp || use ssl && c="${c} --enable-openssl" if use sftp ; then - mym="${mym}:mod_sftp" - use pam && mym="${mym}:mod_sftp_pam" - use mysql || use postgres || use sqlite && mym="${mym}:mod_sftp_sql" + m="${m}:mod_sftp" + use pam && m="${m}:mod_sftp_pam" + use mysql || use postgres || use sqlite && m="${m}:mod_sftp_sql" fi - use shaper && mym="${mym}:mod_shaper" - use sitemisc && mym="${mym}:mod_site_misc" + use shaper && m="${m}:mod_shaper" + use sitemisc && m="${m}:mod_site_misc" if use softquota ; then - mym="${mym}:mod_quotatab:mod_quotatab_file" - use ldap && mym="${mym}:mod_quotatab_ldap" - use radius && mym="${mym}:mod_quotatab_radius" - use mysql || use postgres || use sqlite && mym="${mym}:mod_quotatab_sql" + m="${m}:mod_quotatab:mod_quotatab_file" + use ldap && m="${m}:mod_quotatab_ldap" + use radius && m="${m}:mod_quotatab_radius" + use mysql || use postgres || use sqlite && m="${m}:mod_quotatab_sql" + fi + if use ssl ; then + m="${m}:mod_tls:mod_tls_shmcache" + use memcache && m="${m}:mod_tls_memcache" fi - use ssl && mym="${mym}:mod_tls:mod_tls_shmcache" if use tcpd ; then - mym="${mym}:mod_wrap2:mod_wrap2_file" - use mysql || use postgres || use sqlite && mym="${mym}:mod_wrap2_sql" + m="${m}:mod_wrap2:mod_wrap2_file" + use mysql || use postgres || use sqlite && m="${m}:mod_wrap2_sql" fi - use vroot && mym="${mym}:mod_vroot" + use vroot && m="${m}:mod_vroot" - [ -z ${mym} ] || myc="${myc} --with-modules=${mym:1}" - LIBS="${myl:1}" econf --localstatedir=/var/run/proftpd --sysconfdir=/etc/proftpd \ + [ -z ${m} ] || c="${c} --with-modules=${m:1}" + econf --localstatedir=/var/run/proftpd --sysconfdir=/etc/proftpd --disable-strip \ $(use_enable acl facl) \ $(use_enable authfile auth-file) \ $(use_enable caps cap) \ $(use_enable ident) \ $(use_enable ipv6) \ + $(use_enable memcache) \ $(use_enable ncurses) \ $(use_enable nls) \ $(use_enable pam auth-pam) \ $(use_enable pcre) \ + $(use_enable test tests) \ $(use_enable trace) \ $(use_enable userland_GNU shadow) \ $(use_enable userland_GNU autoshadow) \ - ${myc:1} + ${c:1} +} + +src_test() { + emake api-tests -C tests } src_install() { @@ -195,15 +201,6 @@ src_install() { } pkg_postinst() { - if use exec ; then - ewarn - ewarn "ProFTPD has been built with the mod_exec module. This module" - ewarn "can be a security risk for your server as it executes external" - ewarn "programs. Vulnerables in these external programs may disclose" - ewarn "information or even compromise your server." - ewarn "You have been warned! Use this module at your own risk!" - ewarn - fi if use tcpd ; then ewarn ewarn "Important: Since ProFTPD 1.3.4rc2 the module mod_wrap for TCP Wrapper" |