summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2013-04-09 20:22:37 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2013-04-09 20:22:37 +0000
commitc4e77ced03166aa712236ff3f4e58471a8a262aa (patch)
tree9c8832753fd62df03901ce87473f45be366ae9d7 /net-ftp
parentRelease libpng16 to ~arch with slotted libpng15 for binary-only pkgs. (diff)
downloadhistorical-c4e77ced03166aa712236ff3f4e58471a8a262aa.tar.gz
historical-c4e77ced03166aa712236ff3f4e58471a8a262aa.tar.bz2
historical-c4e77ced03166aa712236ff3f4e58471a8a262aa.zip
Added 'msg' and 'dynmasq' modules by sebaFlame (bug #462868). Switched to EAPI=5
Package-Manager: portage-2.2.0_alpha171_p5/cvs/Linux x86_64 Manifest-Sign-Key: 0x611FF3AA
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/proftpd/ChangeLog9
-rw-r--r--net-ftp/proftpd/Manifest12
-rw-r--r--net-ftp/proftpd/metadata.xml2
-rw-r--r--net-ftp/proftpd/proftpd-1.3.4c-r1.ebuild236
4 files changed, 253 insertions, 6 deletions
diff --git a/net-ftp/proftpd/ChangeLog b/net-ftp/proftpd/ChangeLog
index 58e45a07358e..8b62c92e2895 100644
--- a/net-ftp/proftpd/ChangeLog
+++ b/net-ftp/proftpd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-ftp/proftpd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/ChangeLog,v 1.295 2013/04/08 18:13:35 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/ChangeLog,v 1.296 2013/04/09 20:22:24 slyfox Exp $
+
+*proftpd-1.3.4c-r1 (09 Apr 2013)
+
+ 09 Apr 2013; Sergei Trofimovich <slyfox@gentoo.org> +proftpd-1.3.4c-r1.ebuild,
+ metadata.xml:
+ Added 'msg' and 'dynmasq' modules by sebaFlame (bug #462868). Switched to
+ EAPI=5
08 Apr 2013; Sergei Trofimovich <slyfox@gentoo.org>
+files/proftpd-1.3.4c-fix-build-noipv6.patch, proftpd-1.3.4c.ebuild:
diff --git a/net-ftp/proftpd/Manifest b/net-ftp/proftpd/Manifest
index 30be2920634c..158d660c865e 100644
--- a/net-ftp/proftpd/Manifest
+++ b/net-ftp/proftpd/Manifest
@@ -20,18 +20,20 @@ DIST proftpd-mod-case-0.4.tar.gz 4849 SHA256 5c724a2a57a00048529bfab6c5672e16c7c
DIST proftpd-mod-case-0.7.tar.gz 13184 SHA256 c3f65588250fea7771439933fa754927794f664e99b8d20f99b1e400fea62111 SHA512 c08d13ef82fec36ae75aa3213dd02e0ce4045904849f422e152f039a9da66a45e4423751074b8bcf8ce347a40ce0e7bde798a85cbadc962fd872aeaa898261fc WHIRLPOOL 27f49e9f34099c081add803aa679fd9abe7afa652dffe5d8e42889fef49aeaefd499e1009fc564d6c8f882b3c6dc31d4c6dd08cc06a42b770e7ef76a2ebfcf8a
DIST proftpd-mod-deflate-0.5.4.tar.gz 55219678 SHA256 6ae753608ad126067bd48da8d4ea6ac3ef8eaf339ae924ffdbe30d1819a5e5db SHA512 54a12759d820fae68f4038c05b7eb8dc0a47bfdab7a6715b37bee8ab82b032b4b929cb604126cdb305f87fc93dbd06730652db5e18d66baaab4c7788181f6dcf WHIRLPOOL ade43782adc25843abfdf61b26008a0af7ffe6d40f1f5887ae5dd2875f2282c67ae11a527e07ed8e53a4b868c71c36de00336a8502cf4afae0c71c259a0c4b03
DIST proftpd-mod-diskuse-0.9.tar.gz 18596 SHA256 424f3fd49237245ec176d27ade0965fe21a0db1d645979d5ae3e55497e3da036 SHA512 d41976bf2810e4b783e775e8c767ca2030c3b5df116219fd31cbbac7feaf9922c315bf4ea092881b0d6cf43f2f4c5dbcae61be3c3a833058d12f962a3024b975 WHIRLPOOL aabd1dc23d6c38d308e859ff778beffd0dabfe70d3530c093cf2f95e80b5e9c94b97b6b5ae5109d031f76ff94dffc3822a7aa60fa30df04523d37ebed99730d6
+DIST proftpd-mod-msg-0.4.1.tar.gz 8082 SHA256 255b79d31dc509ffad5d0fbcd469f833a8481e880aa962910c2bc8aa608ca6da SHA512 38ea63b1d355e1e10a6a4477596bf3fa28529a871c9fb8dbf093b5317f0743ef9cb59b986d0b8c1c7ed932dad5d5d571883d596fad2d3b793431824db4487012 WHIRLPOOL ff907e26a354f53231fed94515eb60050dec77118be6f49147e0eb8b79e50c9d73354618bca19d98d32a3fb79d7ba87507cc6c8b269f259c5fcf23d44ad3a906
DIST proftpd-mod-vroot-0.9.2.tar.gz 22438 SHA256 b0ea7af760ab7a54a62ac294656b5a34a5339665c0227ade0d2f206cc54a10bf SHA512 dcaad222a5d4bbd8202782c89ec3ba700ee9b74f475a575b5044eca570515d7aa9e01735ab6a109b669f3584f3e2f1fe22c96a9effdc0e8d2d62fa522b9a5ec3 WHIRLPOOL e25ee3333f1f7324068b177e9fc7333a9a5c7c5993e9654082b4ef685b478a2db40c2a350ec6739cf76eae11d9a79e3c67331b0df8607a3620e4ce2d64d2b774
EBUILD proftpd-1.3.3g.ebuild 7177 SHA256 faf1de255cc098d2f2cc783ce8fa3b5c7d515eedc7d7bf9f254088259a00dd45 SHA512 2b8768944f9354f6fba354fa1153d0d3ed4cbaab6e429719ab817b1c334d3ec44967f248a8301d9429e3928a94c7ecac8a355b8959d6ad0c9e7a506c90a86fcc WHIRLPOOL 0a8f85c7d8007f5504064a6c3c66d41b84df69887141398b484191ca10c84009971c7ede8fb5434ac23415ec3ad752062ef5098145a07b945c06994e0d4ac041
EBUILD proftpd-1.3.4a-r1.ebuild 7310 SHA256 e1a2a35d992e1e84a126a4786f9a49e84ddd51ca13facfc9a31115cd3dbb1689 SHA512 51a9077c7d9d86841a6393964d0d4ea05df3abfbf16929fca4a5a4609cd5c49a6c83e9adfd0c0e6b4887d03a0b5666fc965c4a53ce2af665de6da266b1e9d2e8 WHIRLPOOL 350706a8685dd04ed0743623dac7fa2431cacf2be3e0a1e33df223ce99f78f83414558ac7b989ae7138f92b46e7d23f005b938636d82d7714dab3491515664a1
EBUILD proftpd-1.3.4a.ebuild 6738 SHA256 398c1f9ce2e9bb261af7e34fd836950a82cfa96b7a87861427ea7501585d54f2 SHA512 bdff31c2848848c4371f93899b710aad7dfa898e2168184c9eaa1cc56c1a283ee29132f3a0458dd55d9cae06247d21fefdc07d400ceb620b7c710f59108be063 WHIRLPOOL f6db84d8c6a2a0d005b9ef873d07a10ba0a65171c6b257197ebd087abd6897131002c2c02f8500d820958ed6120c7bd7ba9826f45796395e483946777f0f59e8
EBUILD proftpd-1.3.4b.ebuild 7216 SHA256 f0a8cbd628cec9af0ab06fe50bc568ade35b50014f739655e3bf68c9ac69bebf SHA512 4c5a1230ee552ca7a23cfbbb8760701c0a01de3b05bcb324a4c61e1763ea36a0f025c67a6347f85756869dd96897929757ebcc8e2d7ffe03266e77aa49d3de0a WHIRLPOOL ac2cdd8332338cd6b6d4dfa8ca24c6ae33cdb479527b69f7f6dca5ec6147e007e910ae578d62d85da3d02603fb68a86140c377e5ba17b2d037a1d54e560b42bc
+EBUILD proftpd-1.3.4c-r1.ebuild 7550 SHA256 9ee5bde4135f0c2d1de65e8425e7ebd0f127a26800f8876e0bac7b13ec9ab2e4 SHA512 9185b579528c8c0d9ea609ec574065398a9a0dddf4d85da8281da5afd94957fafe9dfc1d52cd7154f16b20990d1db473f7174abb093160056d016ee64e834ff2 WHIRLPOOL 9f8a5bd9a28bda42037d5bdfefc11dc73c33104fd54c83c98018705d473811f48e3b4d9a5fcdb5184387afafde23f76fd5d5f2b76c1c5bc98d7ee51a20e9c63a
EBUILD proftpd-1.3.4c.ebuild 7311 SHA256 b54f74846b9e8e948f67d330f0a1c263e3e617fe8ed5e6c1f0416631ac733d2b SHA512 fa5f647e3519c2e7f325de8773dfd9ad65d80c2c51e3327a31788d334c6882f28aed5f34971321dcad107540d857aea8b4e8cb8c23e6d37a41d08b137bcd2fc1 WHIRLPOOL 1a22edfc3b3a2d36b42413728b49cd9cbd3bce37183bdb58258ff71e28efbd5b796460c4104fe60556127b453d7e1e65c6023b04faad6ffabbf41ebc80876e57
-MISC ChangeLog 51515 SHA256 69d8689447a800f9229d2f28f5783c1f58e781b362b93bf5e3757a74c887529e SHA512 825f9433c465a4ce16a9c0d17f19d93915ca02cf3115062db94cfe31fa329d0439b3442b2c44dd1eeb9db14cff50debac7d20f0432b484dc80cedf0299243f89 WHIRLPOOL 20bcc637dc403e27f89c8fb640a84698c2f4d1b726aa4f2cd13c75e1ee3102e11e187955ab69fb6c9eeb58e61dbf292d908a5f9dd78dfbf422d84fcf92376185
-MISC metadata.xml 2902 SHA256 3b934645a9ab012f409eb5564f1e1302fb8d9885f61d84fe2397d5ce1d30061c SHA512 c8d8e09b62f1d21739edc0afc4e7446904733d0eec40d6bfbd1ae2cb60cfea7580681653015a7282ecb38b59494b18e35cba43c9e9e6f8d04af7de6bbf1e9b93 WHIRLPOOL 78e7c0b5023d84c6b50e94e2f4853fcf042f871b92ce69b12ab4710efc7e299cdc1adaf4baef42de9dc36d69a38eda5bb6eec005208ab5f0a80ff6a0d4666278
+MISC ChangeLog 51732 SHA256 9a9cb18b5bf4e150fad91e3d17f59d8b57abb0f5a19594b26e801dd6a5eb8954 SHA512 4eac2fd0ed56835360af816ab6ae175ccf10377127868a4b1d009844ae93886a32968d60a0d4a24484e0868c7f626fdf211d9a83054d05ca5ae3e00a84e06936 WHIRLPOOL 79c5868e83a90206e40799464d7f49a08309791010a7da2d48285c88df7ad76369423e6132d92bf742c4984e5cbf877a55ac31bccb01830e9c7bc030f8b69bc1
+MISC metadata.xml 3191 SHA256 66e910e6dc0a9969d60941e120ae3adf75c41dca3548992a56572cd6071e2018 SHA512 efe5b66061928783ba85fd591cc78c32392f78a35cf3478c85e29e9f2851ae1dc13eaf122c9644595ecfb86329a8020867cb6cbee97bb1712f65b4c9c39679c1 WHIRLPOOL 5a8f94671535deb1f6a579af5870672b6f606980bccd1abc2538bd39098b48837252f1bb46176cbb14f3e935df5246a41e897fe8020c9808964e3f557594973c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlFjCLMACgkQcaHudmEf86qOPACfVMvncPAE9/jk04JgON2uWoRE
-rl8AoITB5/ctWGwUZh9+LOgLovW4oe6B
-=C+U+
+iEYEAREIAAYFAlFkeGMACgkQcaHudmEf86qR8wCffQCcXMqcIXcEPM1iUWOvKH+b
+usYAniGg+HEiG/WKSTzeiTFdR3NKepn6
+=Z4Yn
-----END PGP SIGNATURE-----
diff --git a/net-ftp/proftpd/metadata.xml b/net-ftp/proftpd/metadata.xml
index b9eabd8c4080..b5c409338f75 100644
--- a/net-ftp/proftpd/metadata.xml
+++ b/net-ftp/proftpd/metadata.xml
@@ -31,6 +31,7 @@ server.</longdescription>
<flag name='deflate'>Enable support for the mod_deflate module</flag>
<flag name='diskuse'>Enable support for the mod_diskuse module</flag>
<flag name='dso'>Enable support for the mod_dso module</flag>
+ <flag name='dynmasq'>Enable support for the mod_dynmasq module, for dynamically updating MasqueradeAddress for dyndns-like scenarios)</flag>
<flag name='exec'>Enable support for the mod_exec module. WARNING: this could be a security risk</flag>
<flag name='ident'>Enable support for the mod_ident module</flag>
<flag name='ifsession'>Enable support for the ifsession module</flag>
@@ -41,6 +42,7 @@ server.</longdescription>
<flag name='linguas_ja_JP'>Language support for ja_JP</flag>
<flag name='linguas_ru_RU'>Language support for ru_RU</flag>
<flag name='memcache'>Enable support for the mod_memcache module, for using memcached servers</flag>
+ <flag name='msg'>Enable support for the mod_msg module, allows system users to send messages to connected clients via the ftpdctl program.</flag>
<flag name='openssl'>Enable <pkg>dev-libs/openssl</pkg> support</flag>
<flag name='qos'>Enable support for the mod_qos module</flag>
<flag name='ratio'>Enable support for the mod_ratio module</flag>
diff --git a/net-ftp/proftpd/proftpd-1.3.4c-r1.ebuild b/net-ftp/proftpd/proftpd-1.3.4c-r1.ebuild
new file mode 100644
index 000000000000..d2fc5afadb12
--- /dev/null
+++ b/net-ftp/proftpd/proftpd-1.3.4c-r1.ebuild
@@ -0,0 +1,236 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.3.4c-r1.ebuild,v 1.1 2013/04/09 20:22:24 slyfox Exp $
+
+EAPI=5
+inherit eutils multilib systemd
+
+MOD_CASE="0.7"
+MOD_CLAMAV="0.11rc"
+MOD_DISKUSE="0.9"
+MOD_GSS="1.3.3"
+MOD_MSG="0.4.1"
+MOD_VROOT="0.9.2"
+
+DESCRIPTION="An advanced and very configurable FTP server."
+HOMEPAGE="http://www.proftpd.org/
+ http://www.castaglia.org/proftpd/
+ http://www.thrallingpenguin.com/resources/mod_clamav.htm
+ http://gssmod.sourceforge.net/"
+SRC_URI="ftp://ftp.proftpd.org/distrib/source/${P/_/}.tar.gz
+ case? ( http://www.castaglia.org/${PN}/modules/${PN}-mod-case-${MOD_CASE}.tar.gz )
+ clamav? ( https://secure.thrallingpenguin.com/redmine/attachments/download/1/mod_clamav-${MOD_CLAMAV}.tar.gz )
+ diskuse? ( http://www.castaglia.org/${PN}/modules/${PN}-mod-diskuse-${MOD_DISKUSE}.tar.gz )
+ kerberos? ( mirror://sourceforge/gssmod/mod_gss-${MOD_GSS}.tar.gz )
+ msg? ( http://www.castaglia.org/${PN}/modules/${PN}-mod-msg-${MOD_MSG}.tar.gz )
+ vroot? ( http://www.castaglia.org/${PN}/modules/${PN}-mod-vroot-${MOD_VROOT}.tar.gz )"
+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 dso dynmasq exec ifsession ifversion ident ipv6
+ kerberos ldap linguas_bg_BG linguas_en_US linguas_fr_FR linguas_it_IT linguas_ja_JP linguas_ko_KR
+ linguas_ru_RU linguas_zh_CN linguas_zh_TW memcache msg mysql ncurses nls openssl pam +pcre postgres qos radius
+ ratio readme rewrite selinux sftp shaper sitemisc softquota sqlite ssl tcpd test trace vroot xinetd"
+REQUIRED_USE="ban? ( ctrls )
+ msg? ( ctrls )
+ sftp? ( openssl )
+ shaper? ( ctrls )
+ ssl? ( openssl )"
+
+CDEPEND="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 )
+ openssl? ( dev-libs/openssl )
+ pam? ( virtual/pam )
+ pcre? ( dev-libs/libpcre )
+ postgres? ( dev-db/postgresql-base )
+ sqlite? ( dev-db/sqlite:3 )
+ xinetd? ( virtual/inetd )"
+DEPEND="${CDEPEND}
+ test? ( dev-libs/check )"
+RDEPEND="${CDEPEND}
+ net-ftp/ftpbase
+ selinux? ( sec-policy/selinux-ftp )"
+
+S="${WORKDIR}/${P/_/}"
+
+__prepare_module() {
+ mv "${WORKDIR}"/$1/$1.c contrib
+ mv "${WORKDIR}"/$1/$1.html doc/contrib
+ rm -r "${WORKDIR}"/$1
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-fix-build-noipv6.patch #465134
+
+ # Skip 'install-conf' / Support LINGUAS
+ sed -i -e "/install-all/s/ install-conf//" Makefile.in
+ sed -i -e "s/^LANGS=.*$/LANGS=${LINGUAS}/" locale/Makefile.in
+
+ # Prepare external modules
+ use case && __prepare_module mod_case
+ if use clamav ; then
+ mv "${WORKDIR}"/mod_clamav-${MOD_CLAMAV}/mod_clamav.{c,h} contrib
+ epatch "${WORKDIR}"/mod_clamav-${MOD_CLAMAV}/${PN}.patch
+ rm -r "${WORKDIR}"/mod_clamav-${MOD_CLAMAV}
+ fi
+ use msg && __prepare_module mod_msg
+ use vroot && __prepare_module mod_vroot
+
+ # Prepare external kerberos module
+ if use kerberos ; then
+ cd "${WORKDIR}"/mod_gss-${MOD_GSS}
+
+ # Support app-crypt/heimdal / Gentoo Bug #284853
+ sed -i -e "s/krb5_principal2principalname/_\0/" mod_auth_gss.c.in
+
+ # Remove obsolete DES / Gentoo Bug #324903
+ # Replace 'rpm' lookups / Gentoo Bug #391021
+ sed -i -e "/ac_gss_libs/s/ -ldes425//" \
+ -e "s/ac_libdir=\`rpm -q -l.*$/ac_libdir=\/usr\/$(get_libdir)\//" \
+ -e "s/ac_includedir=\`rpm -q -l.*$/ac_includedir=\/usr\/include\//" configure{,.in}
+ fi
+}
+
+src_configure() {
+ local c m
+
+ 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"
+ use ctrls && m="${m}:mod_ctrls_admin"
+ use deflate && m="${m}:mod_deflate"
+ if use diskuse ; then
+ cd "${WORKDIR}"/mod_diskuse
+ econf
+ mv mod_diskuse.{c,h} "${S}"/contrib
+ mv mod_diskuse.html "${S}"/doc/contrib
+ cd "${S}"
+ rm -r "${WORKDIR}"/mod_diskuse
+ m="${m}:mod_diskuse"
+ fi
+ use dynmasq && mym="${mym}:mod_dynmasq"
+ 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
+ econf --enable-mit
+ else
+ econf --enable-heimdal
+ fi
+ mv mod_{auth_gss,gss}.c "${S}"/contrib
+ mv mod_gss.h "${S}"/include
+ mv README.mod_{auth_gss,gss} "${S}"
+ mv mod_gss.html "${S}"/doc/contrib
+ mv rfc{1509,2228}.txt "${S}"/doc/rfc
+ cd "${S}"
+ rm -r "${WORKDIR}"/mod_gss-${MOD_GSS}
+ m="${m}:mod_gss:mod_auth_gss"
+ fi
+ use ldap && m="${m}:mod_ldap"
+ use msg && mym="${mym}:mod_msg"
+ if use mysql || use postgres || use sqlite ; then
+ 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 && 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"
+ if use sftp ; then
+ 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 && m="${m}:mod_shaper"
+ use sitemisc && m="${m}:mod_site_misc"
+ if use softquota ; then
+ 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
+ if use tcpd ; then
+ m="${m}:mod_wrap2:mod_wrap2_file"
+ use mysql || use postgres || use sqlite && m="${m}:mod_wrap2_sql"
+ fi
+ use vroot && m="${m}:mod_vroot"
+
+ [ -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 ctrls) \
+ $(use_enable dso) \
+ $(use_enable ident) \
+ $(use_enable ipv6) \
+ $(use_enable memcache) \
+ $(use_enable ncurses) \
+ $(use_enable nls) \
+ $(use_enable openssl) \
+ $(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) \
+ ${c:1}
+}
+
+src_test() {
+ emake api-tests -C tests
+}
+
+src_install() {
+ default
+ [ -z ${LINGUAS} ] && rm -r "${ED}"/usr/share/locale
+ newinitd "${FILESDIR}"/proftpd.initd proftpd
+ insinto /etc/proftpd
+ doins "${FILESDIR}"/proftpd.conf.sample
+
+ if use xinetd ; then
+ insinto /etc/xinetd.d
+ newins "${FILESDIR}"/proftpd.xinetd proftpd
+ fi
+
+ dodoc ChangeLog CREDITS INSTALL NEWS README* RELEASE_NOTES
+ if use doc ; then
+ dohtml doc/*.html doc/contrib/*.html doc/howto/*.html doc/modules/*.html
+ docinto rfc
+ dodoc doc/rfc/*.txt
+ fi
+
+ systemd_dounit "${FILESDIR}"/${PN}.service
+ systemd_newtmpfilesd "${FILESDIR}"/${PN}-tmpfiles.d.conf ${PN}.conf
+}
+
+pkg_postinst() {
+ if use tcpd ; then
+ ewarn
+ ewarn "Important: Since ProFTPD 1.3.4rc2 the module mod_wrap for TCP Wrapper"
+ ewarn "support has been replaced by mod_wrap2 which is more configurable and"
+ ewarn "portable. But you have to adjust your configuration before restaring"
+ ewarn "ProFTPD. On the following website you can find more information:"
+ ewarn " http://proftpd.org/docs/contrib/mod_wrap2.html"
+ ewarn
+ fi
+}