summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-03-26 03:02:51 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-03-26 03:02:51 +0000
commit6a715e883b1beef8c870233a0a4dbff919da21fa (patch)
tree135179a1968812b5432b9a86a610c66e3ba9c6a8
parentStable on sparc. (Manifest recommit) (diff)
downloadgentoo-2-6a715e883b1beef8c870233a0a4dbff919da21fa.tar.gz
gentoo-2-6a715e883b1beef8c870233a0a4dbff919da21fa.tar.bz2
gentoo-2-6a715e883b1beef8c870233a0a4dbff919da21fa.zip
Fixed up init/conf scripts. bumping security fix to stable x86.
-rw-r--r--net-ftp/oftpd/ChangeLog7
-rw-r--r--net-ftp/oftpd/files/conf.d.oftpd13
-rw-r--r--net-ftp/oftpd/files/init.d.oftpd (renamed from net-ftp/oftpd/files/oftpd.rc6)4
-rw-r--r--net-ftp/oftpd/metadata.xml10
-rw-r--r--net-ftp/oftpd/oftpd-0.3.6-r7.ebuild6
-rw-r--r--net-ftp/oftpd/oftpd-0.3.7.ebuild8
6 files changed, 40 insertions, 8 deletions
diff --git a/net-ftp/oftpd/ChangeLog b/net-ftp/oftpd/ChangeLog
index 6dac1aa7d56f..e198145dd561 100644
--- a/net-ftp/oftpd/ChangeLog
+++ b/net-ftp/oftpd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-ftp/oftpd
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/ChangeLog,v 1.6 2004/03/26 00:43:59 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/ChangeLog,v 1.7 2004/03/26 03:02:50 eradicator Exp $
+
+ 25 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> metadata.xml,
+ oftpd-0.3.6-r7.ebuild, oftpd-0.3.7.ebuild, files/conf.d.oftpd,
+ files/init.d.oftpd, files/oftpd.rc6:
+ Fixed up init/conf scripts. bumping security fix to stable x86.
*oftpd-0.3.7 (25 Mar 2004)
diff --git a/net-ftp/oftpd/files/conf.d.oftpd b/net-ftp/oftpd/files/conf.d.oftpd
new file mode 100644
index 000000000000..ac54aeaa4c79
--- /dev/null
+++ b/net-ftp/oftpd/files/conf.d.oftpd
@@ -0,0 +1,13 @@
+# Please read the oftd(8) man page for a more detailed explaination of these
+# variables.
+#
+# FTPUSER (user-name in the man page):
+# Set this variable to the user to run the ftp daemon as
+FTPUSER=ftp
+
+# FTPROOT (root-directory in the man page):
+# The server uses chroot(2) to change the root directory of the server to this
+# directory. When a user connects, this is the directory that they will start
+# in, and is the top of their directory tree.
+#
+FTPROOT=/home/ftp
diff --git a/net-ftp/oftpd/files/oftpd.rc6 b/net-ftp/oftpd/files/init.d.oftpd
index a3d65ffd799d..37190cec40b7 100644
--- a/net-ftp/oftpd/files/oftpd.rc6
+++ b/net-ftp/oftpd/files/init.d.oftpd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/files/oftpd.rc6,v 1.5 2004/03/04 19:29:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/files/init.d.oftpd,v 1.1 2004/03/26 03:02:51 eradicator Exp $
depend() {
need net
@@ -9,7 +9,7 @@ depend() {
checkconfig() {
if [ -z "$FTPUSER" ] || [ -z "$FTPROOT" ] ; then
- eerror "You need to setup FTPUSER and FTPROOT in /etc/rc.conf"
+ eerror "You need to setup FTPUSER and FTPROOT in /etc/conf.d/oftpd"
return 1
fi
}
diff --git a/net-ftp/oftpd/metadata.xml b/net-ftp/oftpd/metadata.xml
new file mode 100644
index 000000000000..77a3d8c7f9ac
--- /dev/null
+++ b/net-ftp/oftpd/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>eradicator@gentoo.org</email>
+ <name>Jeremy Huddleston</name>
+ <description>Temporary maintainership. Feel free to take over.</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-ftp/oftpd/oftpd-0.3.6-r7.ebuild b/net-ftp/oftpd/oftpd-0.3.6-r7.ebuild
index 767923d6ed14..3a187880994f 100644
--- a/net-ftp/oftpd/oftpd-0.3.6-r7.ebuild
+++ b/net-ftp/oftpd/oftpd-0.3.6-r7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/oftpd-0.3.6-r7.ebuild,v 1.9 2004/03/26 00:43:59 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/oftpd-0.3.6-r7.ebuild,v 1.10 2004/03/26 03:02:50 eradicator Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Secure, small, anonymous only ftpd"
@@ -30,5 +30,7 @@ src_install() {
dodoc AUTHORS BUGS COPYING INSTALL FAQ NEWS README TODO
dodir /home/ftp
exeinto /etc/init.d
- newexe ${FILESDIR}/oftpd.rc6 oftpd
+ newexe ${FILESDIR}/init.d.oftpd oftpd
+ insinto /etc/conf.d
+ newins ${FILESDIR}/conf.d.oftpd oftpd
}
diff --git a/net-ftp/oftpd/oftpd-0.3.7.ebuild b/net-ftp/oftpd/oftpd-0.3.7.ebuild
index 06d7d5e61279..f65195f96a67 100644
--- a/net-ftp/oftpd/oftpd-0.3.7.ebuild
+++ b/net-ftp/oftpd/oftpd-0.3.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/oftpd-0.3.7.ebuild,v 1.2 2004/03/26 00:49:21 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/oftpd-0.3.7.ebuild,v 1.3 2004/03/26 03:02:50 eradicator Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Secure, small, anonymous only ftpd"
@@ -11,7 +11,7 @@ DEPEND="virtual/glibc"
SLOT="0"
LICENSE="as-is"
-KEYWORDS="~x86 ~sparc ~ppc ~ppc64"
+KEYWORDS="x86 ~sparc ~ppc ~ppc64"
src_compile() {
# local myconf
@@ -30,5 +30,7 @@ src_install() {
dodoc AUTHORS BUGS COPYING INSTALL FAQ NEWS README TODO
dodir /home/ftp
exeinto /etc/init.d
- newexe ${FILESDIR}/oftpd.rc6 oftpd
+ newexe ${FILESDIR}/init.d.oftpd oftpd
+ insinto /etc/conf.d
+ newins ${FILESDIR}/conf.d.oftpd oftpd
}