From a5f3e0de8cc9c56ae04bda9a56b64e68983817b2 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Tue, 16 Jun 2015 07:37:49 +0000 Subject: Version bump. Removed old Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC --- net-ftp/pure-ftpd/ChangeLog | 8 +- net-ftp/pure-ftpd/Manifest | 32 +++---- net-ftp/pure-ftpd/pure-ftpd-1.0.38.ebuild | 141 ------------------------------ net-ftp/pure-ftpd/pure-ftpd-1.0.40.ebuild | 141 ++++++++++++++++++++++++++++++ 4 files changed, 164 insertions(+), 158 deletions(-) delete mode 100644 net-ftp/pure-ftpd/pure-ftpd-1.0.38.ebuild create mode 100644 net-ftp/pure-ftpd/pure-ftpd-1.0.40.ebuild (limited to 'net-ftp') diff --git a/net-ftp/pure-ftpd/ChangeLog b/net-ftp/pure-ftpd/ChangeLog index 8d44b8682dcf..a320c6c472e8 100644 --- a/net-ftp/pure-ftpd/ChangeLog +++ b/net-ftp/pure-ftpd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-ftp/pure-ftpd # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/ChangeLog,v 1.157 2015/06/01 10:00:17 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/ChangeLog,v 1.158 2015/06/16 07:37:48 polynomial-c Exp $ + +*pure-ftpd-1.0.40 (16 Jun 2015) + + 16 Jun 2015; Lars Wendler -pure-ftpd-1.0.38.ebuild, + +pure-ftpd-1.0.40.ebuild: + Version bump. Removed old. *pure-ftpd-1.0.39 (01 Jun 2015) diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest index 0ccfe43253c4..a41e08920cd9 100644 --- a/net-ftp/pure-ftpd/Manifest +++ b/net-ftp/pure-ftpd/Manifest @@ -6,27 +6,27 @@ AUX pure-ftpd.conf_d-3 3728 SHA256 6b67379efa91a6168bd4cebee56ba09dfa77830a4843b AUX pure-ftpd.rc11 2136 SHA256 b59fa0c0ee824ad86a8d39df475f66a343734ec3ed9014adad2d3b016ab001e8 SHA512 1318f85905a0cf7caf12c13db13f985c31d353567cc183aa5b31b2039578611f792f1b49afe58ffcdcb9df6939803d9d070c17db6e401fd6822d05e5a56640c6 WHIRLPOOL c70e886d6aa000f62c268ba759a725bc6a423b7521b22bcb8e2d693e17a17c822b3aadb7e6767a34f6dafcd04d41673082586ccf2288b32c8d90cf4e8826198e AUX pure-ftpd.xinetd 247 SHA256 30e166051c7331c48ab1d948d6deecaa71130aaf3cfdc3ffb99124971b64f80c SHA512 e8ac0527daf1e182e7514d17f04bd20e789231e627cc7228ac23a241a4c420204a61ef9438c57e63f402eb3608ae0acc15a72fe484c99bb4e172bbd5ece2b72d WHIRLPOOL 557d9f627b0ff32975edc674386bdde3676ab8e69d486e28755f889e844171f5a26a53511f313a9416e3376d27f00113b005f12c9605017498b898862c9e3fc1 DIST pure-ftpd-1.0.36.tar.bz2 487746 SHA256 16e3cff004c80d752ff85e8a011a523867c7f2ab99af0f9c170891118e0fcc6b SHA512 875a9a8e9f63add265077d52b7584e0682786f497b493ca81cac3d72b1084fcd02c11627826742ed94cc28f146b8581b9aa638cab958dcbd3f462fff37da89c6 WHIRLPOOL 0ef07b890bc57b7a7e4d54ea89d674d1f11118e5c09bc5d257e6cd818dd9ad4e02e4e9373107a1b63314e4a9b4c4664836d5d7730bce6d26a400ea94522e9ed6 -DIST pure-ftpd-1.0.38.tar.bz2 494578 SHA256 156a3da1f269f927a66c603b79b7911d8c21d04d3475944f6518abcd261332f3 SHA512 162c46f3d609792b1669dd0f328f67a0241ccfc6872bf5a4fdce746ea07e62416e1eccba4ecc62e08cda6b90c51adde2d4901b1dcb62c8bb1550fd39eb289e6d WHIRLPOOL a32d414f876a013437fd9db90e594d5ab1121d7954d06dcb02c6103b277589591b0676175d189e822fe3502990ab9cf23d885092408352bf76aaba4a715f5f49 DIST pure-ftpd-1.0.39.tar.bz2 494805 SHA256 09132c420da7aa19e1bd972f8f8d180cf7638a7d869d15496157e7fde5b59353 SHA512 4ce4006184d43452e236c03c1df1cc1127d989cb41e0692c19332cab29b300875636e2267c8404a6d89b83e8d9b92363512d76a6ceda2e6e17f7df242ccd2786 WHIRLPOOL ef5cbbdbba8c941bb2592d3230ccf67baa653a75dd50116e785e62cb60dc7123b7625d37b3ccdf38e4c08f1990621919451e4d9ee71c6ebd357ff0599d481119 +DIST pure-ftpd-1.0.40.tar.bz2 495141 SHA256 004dd4e991537f100fb6cdcdcd43460ed49847aefb60bc4577466839de95aa20 SHA512 26a9918ddb298a6fd2b684e88173466b351671ad9b5c702796fabd1a7b0abb52fefcd3537b9d17210468d7f2efc80e4c881fc60dd3c9c73dcbed5f46e59e4420 WHIRLPOOL 09d6d5fed066a5c0cfb4801e1827770cd3d909dbf85e627c30c583ca0999dd3ec44a1528004db12ccbb232d22e263a4f742f2785a111d255db0007a097146f7d EBUILD pure-ftpd-1.0.36.ebuild 4017 SHA256 bff4ae96bb63350349be1a564aad8c6029512a49692b871c7d7529d28704c0bf SHA512 e436829fe1caf5b46af4aa77906d9df714a7d844be4e73febfda35376ec55adba8d8580ee4f052d09c349926ca1343dad51eb75fc11697668dd937b629091e17 WHIRLPOOL 2c8dd96bc490de454846dcf9d779557b3e4af34124a27abfcca78b9af42662aa679574029cb6a3d89ed9d93196e1724806d81184c993f36cf2325343f5d80a4e -EBUILD pure-ftpd-1.0.38.ebuild 4386 SHA256 23e6c4c09f6985a00073f6cddb910cf4a22645a2d4bcc84753a68eda6e3f1a49 SHA512 c2c2a5b273ede7cb6506d52479259b5c89e8ec6379796b77a2d2deec68b6057e1b8b744ad8091d88b27a9d6ae4ebaa328a98ac80a838526037085bf0624aff62 WHIRLPOOL f9e48917a495b7a695d5030fb4349028820a293bb6c4eb036bdbaf80bb90484ab246fbc92c73fbd163a6222ebeed7cceb609fad2fd8729181421997fa34fbf88 EBUILD pure-ftpd-1.0.39.ebuild 4386 SHA256 ba01c17a5da2282fa718b2fc1fa86cfbe8c5f9167a9dc3a5d487abfec9f62f90 SHA512 10f4f6de67d4a63d5c0962a65096239e267fc934b11e3341a99d8dcdcf24da9d67dab87418b3d581b81122f0ddc621ba16de6d9f4d35e0370c770a6999c83ed9 WHIRLPOOL 9582809f435bb3d3d2b88454402f4640b99a140c05db99b82e5dac324d84af2d606c3b38ea830d982621b179befa9ed0a86fb44f762c2557fdd571c2e72a5966 -MISC ChangeLog 24783 SHA256 fb7fe3416020065a4bef36f4c58a213e3db2d9fb52d2571eb5dac82ac3feb676 SHA512 006d10cfabebd47e18ece86820c61e4ab94fbca82830f65b1fb7502db454b4408eb7b8dc81e4eb0a2c2983ec819af0efc0de9cebe0b8d870ae8002237df53028 WHIRLPOOL a83f8369d3d26307404fb8d550d1681213dcc0c296e01206c2a0e53de57b12f300623d6b18435cb2be6ca638aaba5a40dfbf53a20230d07204f50384e6ff2105 +EBUILD pure-ftpd-1.0.40.ebuild 4386 SHA256 b53a66f7606e765b9db8db9c03970340fd419748bca5e0ed307313272d17d82e SHA512 84e19d139cb64b988dd4952de0035de1430735e38def8f26d485db3408ce7ea38adc77862e4779291f3f36ff40cd3c50c40ea8bc36dd64085b6cbd89df6c317d WHIRLPOOL 1a98d1251f277d0de1f028806b9993d6e5b64f74d52f8ac76281936b76bb590a412e97c83c6d188815e767f7444a4bcfe2ef6e69fa1160286d3793d5a099e1bc +MISC ChangeLog 24954 SHA256 c8c06c891e19581c2cfaf3daa76d9c44c820d11831f9a2b3180d08788305294f SHA512 98adb58fe463b9f7488cbf685cc17fb425ae8e16f25b92764b3628324accdbd5ea0c5f8c6ce8b9be05e70fa1013869bfc4380fd0268027c4b23b55672e4b4ada WHIRLPOOL d742f2c07e7153360a1fbcd1ebf39000ad2756794d3001576ae45babb5468696e2e87c266f681fe34466d804c77500a44fd0c9780e3c7e02cf9b477822ba2770 MISC metadata.xml 1240 SHA256 b84643dabed5b46821ed0540289e8335682981ceb0a8f48ea39d6eba158483b1 SHA512 d5c007246be504b4ea5dfe759d4fe7d64609a38a85b527429972d61484a396c1d703d278f56b657b6857bf93d43845d64d8520888c8a23e5313d5c07d0aa898d WHIRLPOOL 06dcefb0d864cce880416109f9b887dcf8ec81a5f8c2124ecab6d9ecbdd4bc9d63bf2e023dc48be3cfedbf0c028b4ff20d92e9eb8cb80ea88755da8ea8a6aac2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJVbC0yAAoJEPiazRVxLXTFg5gQAI57k8ZDSJJ/0AxmO4hogH9c -pUGAcOUgoUEnl3W6vbOv9liRrwSs5gPI/037uRMJnPPrJqFUXAHdzDsqyrijejTX -lE8+F1k+LiAv339RrahUNhBoOfng16qIR/SdsfsMf+2p8gqIgLoy+W4/TiosnyN7 -ULPu1JBtxeMhCgx0lfkfPcnSrr3+oapZ8DKt/71KmnympN77g6/+UoopFo/043mI -gi/UGJ1NGrTJYpNDhPSndiLldpCHlycnY5oLrMPW1ftPqWPIdtVQOvKhQzbWYIci -KK0HRpUCxxI82tTS049KPqyAelYpyWDTJjzSLl5GVIcsJcMNDeZN1WrBNBZrjvcf -o1oM9Ktn/tCQKEioq5TM8BQtwST3pQU60od6g6EB+9l21YyOG1NCVevbXfvWWsrT -c0bdbFA+5COdAlKP7cbMYAqic7R6kghPqbwHvO1a8001O2Ik00nYPJ8donrp+QsN -7PRj9jY91skVuKhLKbXxuiLcPmLE9ow0I745ftBS6oe2OZRVRmz+8GEaEdVO6JSY -mkq3NLgUrPWAjtrJWo4ZCzSgK4mISQ8hm2iIfm1KCS3NwLpLKzdQlPZDXyvGTCEs -iDE+3UU7zxIKlDnLzv8vSrA1olHhdReiaF0suN+so2MVoNnhObGDyTRROpJ7i6L6 -zSQts8VEfdN7m3tQL+E8 -=yGql +iQIcBAEBCAAGBQJVf9JNAAoJEPiazRVxLXTFStcP+gPeRkdYB3mtSUukGqHz9st0 +BOfAb6fuOLdwKsPfk4li6cIuzbaWb2a4TrUe/N0v99Kp8AYdP8j5mcAzQ77d5jZl +5+A2GoklLOPjFfEWGQFZ1fS5PjkTzEffp98gkv4DfWnWOvtzmcN+4SC26erOndBB +Wi6sisu3lOPMm+u56Jb74VZ3U+g/7kk6fOq0I8IfNFRbOaBvyKN2lWHQJFWbBC8x +wlFfnBSfYi9p0hZ/O1pB+6DPc2hwRNSVvImjopyNQh34dkez3jJSlzpmSsg3BD0T +w4ZUHN27x25gOOt8Lpt6C9uNR9uHnoH5kgvM2ZwR8w/y9xZtun5k3HsZ2k43h54O +Qz37v4mzpEdaQ4OeAKP8qLnFalihIpUg/SNNHrqHHwcReaVn2YiPx4krj9rPpSBy +aahDC5zsOgpZIdtDzu4z+uep0NRZ+ME8Z7HYzyT4QbqVnso3t8HkQTPKoeDuRbTe +p7pWe+mpwaQU5z6JkRmO1kltLv0g3mL5+FUf63VehxuUltH7GWe1PM9+xx3v+rH1 +HMzRgt69wFd5rzbFamHGZxkdHu/y9tkJdvm3ux82+VO40dCefEwHzoQCHmelVu6u +scAW7gHsrjK3GNTD0gsASnd/+TyYrNohybtC6Pjap56T/39VmlaVWmFgVicaeblP +WLAww9Kyjbg0ypFXSbrm +=qz8L -----END PGP SIGNATURE----- diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.38.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.38.ebuild deleted file mode 100644 index 026cbeda1033..000000000000 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.38.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.38.ebuild,v 1.1 2015/05/27 09:23:09 polynomial-c Exp $ - -EAPI=5 -inherit eutils confutils flag-o-matic - -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86" - -DESCRIPTION="Fast, production-quality, standard-conformant FTP server" -HOMEPAGE="http://www.pureftpd.org/" -SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2 - http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" - -IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd" - -REQUIRED_USE="implicittls? ( ssl )" - -DEPEND="caps? ( sys-libs/libcap ) - charconv? ( virtual/libiconv ) - ldap? ( >=net-nds/openldap-2.0.25 ) - mysql? ( virtual/mysql ) - pam? ( virtual/pam ) - postgres? ( dev-db/postgresql:= ) - ssl? ( >=dev-libs/openssl-0.9.6g:0= ) - sysquota? ( sys-fs/quota[-rpc] ) - xinetd? ( virtual/inetd )" - -RDEPEND="${DEPEND} - dev-libs/libsodium - net-ftp/ftpbase - selinux? ( sec-policy/selinux-ftp )" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.0.28-pam.patch -} - -src_configure() { - # adjust max user length to something more appropriate - # for virtual hosts. See bug #62472 for details. - sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \ - -i "${S}/src/ftpd.h" || die "sed failed" - - local my_conf="" - - # Let's configure the USE-enabled stuff - enable_extension_without "capabilities" "caps" - enable_extension_with "rfc2640" "charconv" 0 - enable_extension_with "ldap" "ldap" 0 - enable_extension_with "mysql" "mysql" 0 - enable_extension_with "pam" "pam" 0 - enable_extension_with "paranoidmsg" "paranoidmsg" 0 - enable_extension_with "pgsql" "postgres" 0 - enable_extension_with "tls" "ssl" 0 - enable_extension_with "implicittls" "implicittls" 0 - enable_extension_with "virtualchroot" "vchroot" 0 - enable_extension_with "sysquotas" "sysquota" 0 - enable_extension_without "inetd" "xinetd" - - # noiplog is a negative flag, we don't want that enabled by default, - # so we handle it manually, as confutils can't do that - use noiplog && my_conf="${my_conf} --without-iplogging" - - # Those features are only configurable like this, see bug #179375. - use anondel && append-cppflags -DANON_CAN_DELETE - use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS - use anonren && append-cppflags -DANON_CAN_RENAME - use anonres && append-cppflags -DANON_CAN_RESUME - use resolveids && append-cppflags -DALWAYS_RESOLVE_IDS - - # Do not auto-use SSP -- let the user select this. - export ax_cv_check_cflags___fstack_protector_all=no - - econf \ - --with-altlog \ - --with-cookie \ - --with-diraliases \ - --with-extauth \ - --with-ftpwho \ - --with-language=${PUREFTPD_LANG:=english} \ - --with-peruserlimits \ - --with-privsep \ - --with-puredb \ - --with-quotas \ - --with-ratios \ - --with-throttling \ - --with-uploadscript \ - --with-virtualhosts \ - --enable-largefile \ - ${my_conf} -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS - - newconfd "${FILESDIR}/pure-ftpd.conf_d-3" ${PN} - - if use implicittls ; then - sed -i '/^SERVER/s@21@990@' "${ED}"/etc/conf.d/${PN} \ - || die "Adjusting default server port for implicittls usage failed!" - fi - - newinitd "${FILESDIR}/pure-ftpd.rc11" pure-ftpd - - dodir /var/lib/run/${PN} - - if use xinetd ; then - insinto /etc/xinetd.d - newins "${FILESDIR}/pure-ftpd.xinetd" pure-ftpd - fi - - if use ldap ; then - insinto /etc/openldap/schema - doins pureftpd.schema - insinto /etc/openldap - insopts -m 0600 - doins pureftpd-ldap.conf - fi -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - # This is a new installation - elog - elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!" - elog - ewarn "It's *really* important to read the README provided with Pure-FTPd!" - ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info" - ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info." - ewarn - if use charconv ; then - ewarn "Charset conversion is an *experimental* feature!" - ewarn "Remember to set a valid charset for your filesystem in the configuration!" - fi - fi -} diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.40.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.40.ebuild new file mode 100644 index 000000000000..0c5e2c6c08cc --- /dev/null +++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.40.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.40.ebuild,v 1.1 2015/06/16 07:37:48 polynomial-c Exp $ + +EAPI=5 +inherit eutils confutils flag-o-matic + +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86" + +DESCRIPTION="Fast, production-quality, standard-conformant FTP server" +HOMEPAGE="http://www.pureftpd.org/" +SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2 + http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" + +IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd" + +REQUIRED_USE="implicittls? ( ssl )" + +DEPEND="caps? ( sys-libs/libcap ) + charconv? ( virtual/libiconv ) + ldap? ( >=net-nds/openldap-2.0.25 ) + mysql? ( virtual/mysql ) + pam? ( virtual/pam ) + postgres? ( dev-db/postgresql:= ) + ssl? ( >=dev-libs/openssl-0.9.6g:0= ) + sysquota? ( sys-fs/quota[-rpc] ) + xinetd? ( virtual/inetd )" + +RDEPEND="${DEPEND} + dev-libs/libsodium + net-ftp/ftpbase + selinux? ( sec-policy/selinux-ftp )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.0.28-pam.patch +} + +src_configure() { + # adjust max user length to something more appropriate + # for virtual hosts. See bug #62472 for details. + sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \ + -i "${S}/src/ftpd.h" || die "sed failed" + + local my_conf="" + + # Let's configure the USE-enabled stuff + enable_extension_without "capabilities" "caps" + enable_extension_with "rfc2640" "charconv" 0 + enable_extension_with "ldap" "ldap" 0 + enable_extension_with "mysql" "mysql" 0 + enable_extension_with "pam" "pam" 0 + enable_extension_with "paranoidmsg" "paranoidmsg" 0 + enable_extension_with "pgsql" "postgres" 0 + enable_extension_with "tls" "ssl" 0 + enable_extension_with "implicittls" "implicittls" 0 + enable_extension_with "virtualchroot" "vchroot" 0 + enable_extension_with "sysquotas" "sysquota" 0 + enable_extension_without "inetd" "xinetd" + + # noiplog is a negative flag, we don't want that enabled by default, + # so we handle it manually, as confutils can't do that + use noiplog && my_conf="${my_conf} --without-iplogging" + + # Those features are only configurable like this, see bug #179375. + use anondel && append-cppflags -DANON_CAN_DELETE + use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS + use anonren && append-cppflags -DANON_CAN_RENAME + use anonres && append-cppflags -DANON_CAN_RESUME + use resolveids && append-cppflags -DALWAYS_RESOLVE_IDS + + # Do not auto-use SSP -- let the user select this. + export ax_cv_check_cflags___fstack_protector_all=no + + econf \ + --with-altlog \ + --with-cookie \ + --with-diraliases \ + --with-extauth \ + --with-ftpwho \ + --with-language=${PUREFTPD_LANG:=english} \ + --with-peruserlimits \ + --with-privsep \ + --with-puredb \ + --with-quotas \ + --with-ratios \ + --with-throttling \ + --with-uploadscript \ + --with-virtualhosts \ + --enable-largefile \ + ${my_conf} +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS + + newconfd "${FILESDIR}/pure-ftpd.conf_d-3" ${PN} + + if use implicittls ; then + sed -i '/^SERVER/s@21@990@' "${ED}"/etc/conf.d/${PN} \ + || die "Adjusting default server port for implicittls usage failed!" + fi + + newinitd "${FILESDIR}/pure-ftpd.rc11" pure-ftpd + + dodir /var/lib/run/${PN} + + if use xinetd ; then + insinto /etc/xinetd.d + newins "${FILESDIR}/pure-ftpd.xinetd" pure-ftpd + fi + + if use ldap ; then + insinto /etc/openldap/schema + doins pureftpd.schema + insinto /etc/openldap + insopts -m 0600 + doins pureftpd-ldap.conf + fi +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + # This is a new installation + elog + elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!" + elog + ewarn "It's *really* important to read the README provided with Pure-FTPd!" + ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info" + ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info." + ewarn + if use charconv ; then + ewarn "Charset conversion is an *experimental* feature!" + ewarn "Remember to set a valid charset for your filesystem in the configuration!" + fi + fi +} -- cgit v1.2.3-65-gdbad