diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2006-11-01 18:54:41 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2006-11-01 18:54:41 +0000 |
commit | 6a87105cf5f71827b5a85244e1c1965a56d668df (patch) | |
tree | db9592de0c2f217e5537538d31ed928684498421 /net-ftp/gproftpd/gproftpd-8.2.8.ebuild | |
parent | Add missing modular X dependencies, and utempter. Thanks to Patrick Lauer in ... (diff) | |
download | historical-6a87105cf5f71827b5a85244e1c1965a56d668df.tar.gz historical-6a87105cf5f71827b5a85244e1c1965a56d668df.tar.bz2 historical-6a87105cf5f71827b5a85244e1c1965a56d668df.zip |
Version bump. Fixes bugs #153293, #102725 and #152524. Add myself as maintainer.
Package-Manager: portage-2.1.2_rc1-r1
Diffstat (limited to 'net-ftp/gproftpd/gproftpd-8.2.8.ebuild')
-rw-r--r-- | net-ftp/gproftpd/gproftpd-8.2.8.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/net-ftp/gproftpd/gproftpd-8.2.8.ebuild b/net-ftp/gproftpd/gproftpd-8.2.8.ebuild new file mode 100644 index 000000000000..aeb2912aab9f --- /dev/null +++ b/net-ftp/gproftpd/gproftpd-8.2.8.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/gproftpd/gproftpd-8.2.8.ebuild,v 1.1 2006/11/01 18:54:41 dertobi123 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="~amd64 ~ppc ~sparc ~x86" +SLOT="0" + +IUSE="gnome ssl" + +# Requiring ProFTPD 1.2.9 due to security fixes +DEPEND=">=x11-libs/gtk+-2.0 + >=dev-libs/glib-2.0 + >=x11-libs/pango-1.0 + >=dev-libs/atk-1.0 + dev-util/pkgconfig + >=media-libs/freetype-2.0 + ssl? ( >=dev-libs/openssl-0.9.6f )" + +RDEPEND="${DEPEND} + >=net-ftp/proftpd-1.2.9" + +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} \ + --localstatedir=/var \ + --with-modules=${modules} \ + --with-includes=${includes} || die "./configure failed" + emake || die "Build failure" +} + +src_install () { + emake DESTDIR=${D} install || 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" +} |