summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Smathers <jsin@gentoo.org>2007-08-18 03:25:44 +0000
committerJason Smathers <jsin@gentoo.org>2007-08-18 03:25:44 +0000
commitc7ba9cabc7794d5f288773ff6e857009b33a5a56 (patch)
tree7ebef9116fc5a9bac222eac2c45debba9c615f18 /net-ftp
parentremoved cmdftp from sunrise and added to portage tree (diff)
downloadsunrise-c7ba9cabc7794d5f288773ff6e857009b33a5a56.tar.gz
sunrise-c7ba9cabc7794d5f288773ff6e857009b33a5a56.tar.bz2
sunrise-c7ba9cabc7794d5f288773ff6e857009b33a5a56.zip
removed proftpd and drftpd, added unintentionally <jsin@gentoo.org>
svn path=/sunrise/; revision=4452
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/drftpd/Manifest3
-rw-r--r--net-ftp/drftpd/drftpd-2.0.5.ebuild40
-rw-r--r--net-ftp/proftpd/Manifest6
-rw-r--r--net-ftp/proftpd/proftpd-1.3.1_rc3.ebuild213
4 files changed, 0 insertions, 262 deletions
diff --git a/net-ftp/drftpd/Manifest b/net-ftp/drftpd/Manifest
deleted file mode 100644
index dd273efd6..000000000
--- a/net-ftp/drftpd/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST drftpd-2.0.5.tar.gz 358218 RMD160 34e60967734d858d138ce01b56c6e7c959f8683f SHA1 96c80c3783144c4bc96d2de56bb016f8f3cc79a8 SHA256 94f6bd856ac36dad339a3d85c49082933b7927ea5766b8af67a82c0a0719f26e
-EBUILD drftpd-2.0.5.ebuild 738 RMD160 0151509a76c2c7f9b97e604ab3c0c9a6cd5cbc30 SHA1 1610a08dc0cff97b5fcbf1c8ce71a9f397f2a3fb SHA256 381625fea7a9ffab888f148c211cb6b9362951266586fb338a5178144761a655
-MISC .drftpd-2.0.5.ebuild.swp 12288 RMD160 08fe4e3fb6e31e2797ec9a95b735ba95f649c2ea SHA1 90a0e8e303a4b418b363f1a03c8810103c4cdc99 SHA256 70237ee32adc3776e10f22a3182ebe2a21d1fcd2bb07781ccbbc21bb9167d8e2
diff --git a/net-ftp/drftpd/drftpd-2.0.5.ebuild b/net-ftp/drftpd/drftpd-2.0.5.ebuild
deleted file mode 100644
index 75e5c2157..000000000
--- a/net-ftp/drftpd/drftpd-2.0.5.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-JAVA_PKG_IUSE="source"
-
-inherit java-pkg-2 java-ant-2
-
-DESCRIPTION="A Distributed FTP server written in java."
-HOMEPAGE="http://www.drftpd.org"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="slave"
-
-COMMON_DEP=">=dev-java/log4j-1.2.8
- >=dev-java/jdom-1.0
- >=dev-java/xstream-1.2
- >=dev-java/jakarta-oro-2.0.8
- >=dev-java/jsx-1.0.7.5
- >=dev-java/martyr-0.3.9
- >=dev-java/wrapper-3.1.2
- slave? ( >=virtual/jdk-1.4 )
- !slave? ( >=virtual/jdk-1.5 )"
-
-DEPEND=${COMMON_DEP}
-RDEPEND=${COMMON_DEP}
-
-src_unpack() {
- unpack ${A}
-}
-
-EANT_DOC_TARGET=""
-
-src_install() {
- eant
-}
-
diff --git a/net-ftp/proftpd/Manifest b/net-ftp/proftpd/Manifest
deleted file mode 100644
index 9d8818245..000000000
--- a/net-ftp/proftpd/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-DIST mod_clamav_new.c 7399 RMD160 ae4de6385245a3c79d3c54bb7af9d2fe45a59feb SHA1 f037c573b6c0052f8ed5ee427504a8cd8834f15c SHA256 a5a3860c73c8bc3781516cbc912d7736517a92a15a6fd8352eeed638bcce60c1
-DIST mod_clamav_new.html 4645 RMD160 bc853541e6859e7929c0ed9b01b8f220e09b8ca2 SHA1 58479f3aae082effad3636026a27c09ddb232905 SHA256 ac0ab5f44cfc6c8118664c2a7300450486f52fb3bcde332b4bb9c506dd765a1e
-DIST proftpd-1.3.1rc3.tar.bz2 1538700 RMD160 68cbdd137caa0f7a46be18eb682d5c3c516ca167 SHA1 a752ccc2ea4d7ae6f55ac5486d1ede01f734280c SHA256 9bad65ea4ddca40547ca6bb1aa337c7d4ae54752bb9f5fc76124a8c4535daefd
-DIST proftpd-mod-shaper-0.6.3.tar.gz 19040 RMD160 9978fda37d0099c48d755e53132482506c948c05 SHA1 a5c9a1889c441b9290f2c571ad7fc06bebaf9326 SHA256 a6947836461872adca53dab2708b1e140fa6ce7a8b93ccbe2dafbc3ca63fde67
-DIST proftpd-mod-vroot-0.7.2.tar.gz 6071 RMD160 b152162b3714910d5b9378611313041c3e7e17d4 SHA1 3fc4c5874deba4bbe989b0bd54a7478a47f3d876 SHA256 cab5a42390eac4e0b8bdcbe1e6d15804c8029d51da9ad3bd428b46a80cd69d5a
-EBUILD proftpd-1.3.1_rc3.ebuild 5991 RMD160 1d5b2985d8fd0fad862233699c3a82e0b352d04c SHA1 584ab6d5a3a810c71b647cf4053711cfc3591d7a SHA256 87eb53002f6c35b34c725969eea83a02965a9c9a38baeb3f79acbd4b524bd319
diff --git a/net-ftp/proftpd/proftpd-1.3.1_rc3.ebuild b/net-ftp/proftpd/proftpd-1.3.1_rc3.ebuild
deleted file mode 100644
index 2a92677f6..000000000
--- a/net-ftp/proftpd/proftpd-1.3.1_rc3.ebuild
+++ /dev/null
@@ -1,213 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# # Distributed under the terms of the GNU General Public License v2
-# # $Header: $
-#
-inherit eutils flag-o-matic toolchain-funcs
-
-KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
-
-IUSE="acl authfile clamav hardened ifsession ipv6 ldap mysql ncurses nls noauthunix opensslcrypt pam postgres radius rewrite selinux shaper sitemisc softquota ssl tcpd vroot xinetd"
-
-SHAPER_VER="0.6.3"
-VROOT_VER="0.7.2"
-
-DESCRIPTION="An advanced and very configurable FTP server."
-SRC_URI="ftp://ftp.proftpd.org/distrib/source/${P/_/}.tar.bz2
- clamav? ( http://www.uglyboxindustries.com/mod_clamav_new.c http://www.uglyboxindustries.com/mod_clamav_new.html )
- shaper? ( http://www.castaglia.org/${PN}/modules/${PN}-mod-shaper-${SHAPER_VER}.tar.gz )
- vroot? ( http://www.castaglia.org/${PN}/modules/${PN}-mod-vroot-${VROOT_VER}.tar.gz )"
-HOMEPAGE="http://www.proftpd.org/
- http://www.castaglia.org/proftpd/
- http://www.uglyboxindustries.com/open-source.php"
-
-SLOT="0"
-LICENSE="GPL-2"
-
-DEPEND="acl? ( sys-apps/acl sys-apps/attr )
- clamav? ( app-antivirus/clamav )
- ldap? ( >=net-nds/openldap-1.2.11 )
- mysql? ( virtual/mysql )
- ncurses? ( sys-libs/ncurses )
- opensslcrypt? ( >=dev-libs/openssl-0.9.6f )
- pam? ( virtual/pam )
- postgres? ( >=dev-db/postgresql-7.3 )
- ssl? ( >=dev-libs/openssl-0.9.6f )
- tcpd? ( >=sys-apps/tcp-wrappers-7.6-r3 )
- xinetd? ( sys-apps/xinetd )"
-
-RDEPEND="${DEPEND}
- net-ftp/ftpbase
- selinux? ( sec-policy/selinux-ftpd )"
-
-S="${WORKDIR}/${P/_/}"
-
-pkg_setup() {
- # Add the proftpd user to make the default config
- # work out-of-the-box
- enewgroup proftpd
- enewuser proftpd -1 -1 -1 proftpd
-}
-
-src_unpack() {
- unpack ${P/_/}.tar.bz2
-
- cd "${S}"
-
- # Fix stripping of files
- sed -e "s| @INSTALL_STRIP@||g" -i Make*
-
- if use shaper ; then
- unpack ${PN}-mod-shaper-${SHAPER_VER}.tar.gz
- cp -f mod_shaper/mod_shaper.c contrib/
- fi
-
- if use clamav ; then
- cp -f "${DISTDIR}/mod_clamav_new.c" contrib/mod_clamav.c
- cp -f "${DISTDIR}/mod_clamav_new.html" doc/mod_clamav.html
- fi
-
- if use vroot ; then
- unpack ${PN}-mod-vroot-${VROOT_VER}.tar.gz
- cp -f mod_vroot/mod_vroot.c contrib/
- cp -f mod_vroot/mod_vroot.html doc/
- fi
-}
-
-src_compile() {
- addpredict /etc/krb5.conf
- local modules myconf
-
- modules="mod_ratio:mod_readme"
- use acl && modules="${modules}:mod_facl"
- use clamav && modules="${modules}:mod_clamav"
- use pam && modules="${modules}:mod_auth_pam"
- use radius && modules="${modules}:mod_radius"
- use rewrite && modules="${modules}:mod_rewrite"
- use shaper && modules="${modules}:mod_shaper"
- use sitemisc && modules="${modules}:mod_site_misc"
- use ssl && modules="${modules}:mod_tls"
- use tcpd && modules="${modules}:mod_wrap"
- use vroot && modules="${modules}:mod_vroot"
-
- # pam needs to be explicitely disabled
- use pam || myconf="${myconf} --enable-auth-pam=no"
-
- if use ldap ; then
- modules="${modules}:mod_ldap"
- append-ldflags "-lresolv"
- fi
-
- if use opensslcrypt ; then
- append-ldflags "-lcrypto"
- myconf="${myconf} --enable-openssl --with-includes=/usr/include/openssl"
- CFLAGS="${CFLAGS} -DHAVE_OPENSSL"
- fi
-
- if use nls ; then
- myconf="${myconf} --enable-nls"
- fi
-
- if use mysql && use postgres ; then
- ewarn "ProFTPD only supports either the MySQL or PostgreSQL modules."
- ewarn "Presently this ebuild defaults to mysql. If you would like to"
- ewarn "change the default behaviour, merge ProFTPD with:"
- ewarn "USE='-mysql postgres' emerge proftpd"
- epause 5
- fi
-
- if use mysql ; then
- modules="${modules}:mod_sql:mod_sql_mysql"
- myconf="${myconf} --with-includes=/usr/include/mysql"
- elif use postgres ; then
- modules="${modules}:mod_sql:mod_sql_postgres"
- myconf="${myconf} --with-includes=/usr/include/postgresql"
- fi
-
- if use softquota ; then
- modules="${modules}:mod_quotatab"
- if use mysql || use postgres ; then
- modules="${modules}:mod_quotatab_sql"
- fi
- if use ldap ; then
- modules="${modules}:mod_quotatab_file:mod_quotatab_ldap"
- else
- modules="${modules}:mod_quotatab_file"
- fi
- fi
-
- # mod_ifsession should be the last module in the --with-modules list
- # see http://www.castaglia.org/proftpd/modules/mod_ifsession.html#Installation
- use ifsession && modules="${modules}:mod_ifsession"
-
- # bug #30359
- use hardened && echo > lib/libcap/cap_sys.c
- gcc-specs-pie && echo > lib/libcap/cap_sys.c
-
- if use noauthunix ; then
- myconf="${myconf} --disable-auth-unix"
- else
- myconf="${myconf} --enable-auth-unix"
- fi
-
- econf \
- --sbindir=/usr/sbin \
- --localstatedir=/var/run \
- --sysconfdir=/etc/proftpd \
- --enable-shadow \
- --enable-autoshadow \
- --enable-ctrls \
- --with-modules=${modules} \
- $(use_enable acl facl) \
- $(use_enable authfile auth-file) \
- $(use_enable ipv6) \
- $(use_enable ncurses) \
- ${myconf} || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- # Note rundir needs to be specified to avoid sandbox violation
- # on initial install. See Make.rules
- emake DESTDIR="${D}" install || die "emake install failed"
-
- keepdir /var/run/proftpd
-
- dodoc "${FILESDIR}/proftpd.conf" \
- COPYING CREDITS ChangeLog NEWS README* \
- doc/license.txt
- dohtml doc/*.html
- dohtml doc/howto/*.html
-
- use shaper && dohtml mod_shaper/mod_shaper.html
-
- docinto rfc
- dodoc doc/rfc/*.txt
-
- mv -f "${D}/etc/proftpd/proftpd.conf" "${D}/etc/proftpd/proftpd.conf.distrib"
-
- insinto /etc/proftpd
- newins "${FILESDIR}/proftpd.conf" proftpd.conf.sample
-
- if use xinetd ; then
- insinto /etc/xinetd.d
- newins "${FILESDIR}/proftpd.xinetd" proftpd
- fi
-
- newinitd "${FILESDIR}/proftpd.rc6" proftpd
-}
-
-pkg_postinst() {
- elog
- elog "You can find the config files in /etc/proftpd"
- elog
- ewarn "With the introduction of net-ftp/ftpbase the ftp user is now ftp."
- ewarn "Remember to change that in the configuration file."
- ewarn
- if use clamav ; then
- ewarn "mod_clamav was updated to a new version, which uses Clamd"
- ewarn "only for virus scanning, so you'll have to set Clamd up"
- ewarn "and start it, also re-check the mod_clamav docs."
- ewarn
- fi
-}