diff options
author | Tavis Ormandy <taviso@gentoo.org> | 2005-02-16 11:52:04 +0000 |
---|---|---|
committer | Tavis Ormandy <taviso@gentoo.org> | 2005-02-16 11:52:04 +0000 |
commit | 5764acb7ecda724b4c6518a4989bf9d2f028bfa7 (patch) | |
tree | bb712be98f36555acece858e9fa2908536239fd6 /net-ftp/gproftpd/gproftpd-8.1.9.ebuild | |
parent | Add check for kdelibs compiled with arts support (#75315). (diff) | |
download | gentoo-2-5764acb7ecda724b4c6518a4989bf9d2f028bfa7.tar.gz gentoo-2-5764acb7ecda724b4c6518a4989bf9d2f028bfa7.tar.bz2 gentoo-2-5764acb7ecda724b4c6518a4989bf9d2f028bfa7.zip |
security bump
(Portage version: 2.0.51.16)
Diffstat (limited to 'net-ftp/gproftpd/gproftpd-8.1.9.ebuild')
-rw-r--r-- | net-ftp/gproftpd/gproftpd-8.1.9.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/net-ftp/gproftpd/gproftpd-8.1.9.ebuild b/net-ftp/gproftpd/gproftpd-8.1.9.ebuild new file mode 100644 index 000000000000..fcfcfa2533f4 --- /dev/null +++ b/net-ftp/gproftpd/gproftpd-8.1.9.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/gproftpd/gproftpd-8.1.9.ebuild,v 1.1 2005/02/16 11:52:04 taviso Exp $ + + +DESCRIPTION="GTK frontend to proftpd" +HOMEPAGE="http://mange.dynup.net/linux.html" +SRC_URI="http://mange.dynup.net/linux/gproftpd/${P}.tar.gz" +LICENSE="GPL-2" +KEYWORDS="x86 ~sparc ~ppc" +SLOT="0" + +IUSE="gnome ssl" + +# Requiring ProFTPD 1.2.9 due to security fixes +DEPEND=">=net-ftp/proftpd-1.2.9 + >=x11-libs/gtk+-2.0 + >=dev-libs/glib-2.0 + >=x11-libs/pango-1.0 + >=dev-libs/atk-1.0 + >=media-libs/freetype-2.0 + ssl? ( >=dev-libs/openssl-0.9.6f )" + +src_compile() { + local modules includes myconf + + #location of proftpd.conf + myconf="/etc/proftpd" + + if use ssl; then + einfo ssl + # enable mod_tls + modules="${modules}:mod_tls" + includes="${include}:/usr/kerberos/include" + fi + + econf --sysconfdir=${myconf} \ + --with-modules=${modules} \ + --with-includes=${includes} || die "./configure failed" + emake || die "Build failure" +} + +src_install () { + einstall || die "Installation failure" + +# Add the Gnome menu entry + if use gnome; then + insinto /usr/share/gnome/apps/Internet/ + doins ${S}/desktop/net-gproftpd.desktop + fi + + dodoc AUTHORS ChangeLog COPYING INSTALL README +} + +pkg_postinst() { + einfo "gproftpd looks for your proftpd.conf file in /etc/proftpd" + einfo "run gproftpd with the option -c to specify an alternate location" + einfo "ex: gproftpd -c /etc/proftpd.conf" + ewarn "Do NOT edit /etc/conf.d/proftpd with this program" +} |