summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2005-01-26 11:26:53 +0000
committerRoy Marples <uberlord@gentoo.org>2005-01-26 11:26:53 +0000
commit053bdfca46bd35e56d969f0f8aef555447db875a (patch)
treecad9b127463a3acf98b66c4474842aaaf7a0e111 /www-apps/net2ftp
parentAdded a new init script that checks if nessusd is still running before shutdo... (diff)
downloadgentoo-2-053bdfca46bd35e56d969f0f8aef555447db875a.tar.gz
gentoo-2-053bdfca46bd35e56d969f0f8aef555447db875a.tar.bz2
gentoo-2-053bdfca46bd35e56d969f0f8aef555447db875a.zip
Initial import
(Portage version: 2.0.51-r15)
Diffstat (limited to 'www-apps/net2ftp')
-rw-r--r--www-apps/net2ftp/ChangeLog8
-rw-r--r--www-apps/net2ftp/Manifest2
-rw-r--r--www-apps/net2ftp/files/digest-net2ftp-0.811
-rw-r--r--www-apps/net2ftp/metadata.xml9
-rw-r--r--www-apps/net2ftp/net2ftp-0.81.ebuild57
5 files changed, 77 insertions, 0 deletions
diff --git a/www-apps/net2ftp/ChangeLog b/www-apps/net2ftp/ChangeLog
new file mode 100644
index 000000000000..e10dfef8eae7
--- /dev/null
+++ b/www-apps/net2ftp/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for <CATEGORY>/<PACKAGE_NAME>
+# Copyright 2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/net2ftp/ChangeLog,v 1.1 2005/01/26 11:26:53 uberlord Exp $
+
+*web-apps/net2ftp-0.81 (26 Jan 2005)
+
+ 26 Jan 2005; Roy Marples <uberlord@gentoo.org> +net2ftp-0.81.ebuild:
+ Initial import.
diff --git a/www-apps/net2ftp/Manifest b/www-apps/net2ftp/Manifest
new file mode 100644
index 000000000000..e4b82aee8b53
--- /dev/null
+++ b/www-apps/net2ftp/Manifest
@@ -0,0 +1,2 @@
+MD5 05b02ee481288e298132242ff1d3441b net2ftp-0.81.ebuild 1241
+MD5 8391471952d058334440b6d79d6f5e58 files/digest-net2ftp-0.81 63
diff --git a/www-apps/net2ftp/files/digest-net2ftp-0.81 b/www-apps/net2ftp/files/digest-net2ftp-0.81
new file mode 100644
index 000000000000..d70e9427cdcb
--- /dev/null
+++ b/www-apps/net2ftp/files/digest-net2ftp-0.81
@@ -0,0 +1 @@
+MD5 493c568a07d5a7e34e83b312a4eda783 net2ftp_v0.81.zip 1257236
diff --git a/www-apps/net2ftp/metadata.xml b/www-apps/net2ftp/metadata.xml
new file mode 100644
index 000000000000..1fd76fed041a
--- /dev/null
+++ b/www-apps/net2ftp/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>uberlord@gentoo.org</email>
+ <name>Roy Marples</name>
+ </maintainer>
+ <longdescription>Web-based FTP client in php</longdescription>
+</pkgmetadata>
diff --git a/www-apps/net2ftp/net2ftp-0.81.ebuild b/www-apps/net2ftp/net2ftp-0.81.ebuild
new file mode 100644
index 000000000000..73d0e4fb532e
--- /dev/null
+++ b/www-apps/net2ftp/net2ftp-0.81.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/net2ftp/net2ftp-0.81.ebuild,v 1.1 2005/01/26 11:26:53 uberlord Exp $
+
+inherit eutils webapp
+
+IUSE=""
+
+MY_P=${PN}_v${PV}
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Web-based FTP client in php"
+SRC_URI="http://www.net2ftp.com/download/${MY_P}.zip"
+HOMEPAGE="http://www.net2ftp.com/"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND=">=dev-php/mod_php-4.2.3
+ app-arch/unzip"
+RDEPEND=">=dev-php/mod_php-4.2.3"
+
+src_unpack() {
+ unzip ${DISTDIR}/${MY_P}.zip >/dev/null \
+ || die "failed to unpack ${MY_P}.zip"
+
+ # We rename these files as it looks like Windows was
+ # development platform
+ # We also rename the version number as the doc dir is
+ # versioned anyway
+ cd ${S}
+ rename _v${PV} "" *.txt
+ rename _ "" *.txt
+ rename .txt "" *.txt
+
+ # Fix footer to point to the new license name
+ sed -i -e "s|_LICENSE.txt|LICENSE|" includes/html.inc.php
+}
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="CREDITS INSTALL CHANGES" doc
+
+ dodoc ${docs} LICENSE
+ for doc in ${docs}; do
+ rm -f ${doc}
+ done
+
+ cp -a -r * ${D}${MY_HTDOCSDIR}
+ webapp_configfile ${MY_HTDOCSDIR}/settings.inc.php
+ webapp_configfile ${MY_HTDOCSDIR}/settings_authorizations.inc.php
+
+ webapp_sqlscript mysql create_tables.sql
+
+ webapp_src_install
+}