Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97183 - oftpd: configuration of port and improvment of start script
Summary: oftpd: configuration of port and improvment of start script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2005-06-27 03:44 UTC by Onra
Modified: 2005-07-02 16:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The enhanced /etc/init.d/oftpd start script (oftpd,841 bytes, text/plain)
2005-06-27 03:48 UTC, Onra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Onra 2005-06-27 03:44:54 UTC
This is not really a but in oftpd but a improvement:
With this new initscript you can configure the port with the variable FTPPORT in
/etc/conf.d/oftpd. 
Furthermore oftpd does not start anymore when the net startup has failed before
(changed "use net" to "need net" in /etc/init.d/oftpd).

The new init script is attached.


Reproducible: Always
Steps to Reproduce:
1./etc/init.d/oftpd restart
2.
3.

Actual Results:  
Only standard ftp port is recognized by oftpd.

Expected Results:  
Different port then stadard port can be used by oftpd.

# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.4.28-gentoo-r8 i686)
=================================================================
System uname: 2.4.28-gentoo-r8 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 10:01:05)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks keeptemp noclean sandbox
sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow X Xaw3d alsa apache2 apm avi berkdb bitmap-fonts bzlib cdr
cpdflib cross crypt cscope cups curl dga directfb divx4linux emboss encode esd
ethereal fam flac foomaticdb fortran ftp gcj gdbm ggi gif gimpprint gnome
gphoto2 gpm gtk gtk2 imagemagick imap imlib innodb ipv6 java jpeg kde ldap
libg++ libwww mad mcal mikmod mmap mmx motif mozilla mp3 mpeg mysql ncurses nis
nocardbus nocd odbc ogg oggvorbis openal opengl oss pam pdflib perl php
plotutils png posix ppds python qt quicktime readline recode samba sdl shared
slang slp snmp sockets spell ssl svg svga tcpd tetex tidy tiff truetype
truetype-fonts type1-fonts unicode usb vorbis wmf wxwindows xml2 xmms xpm xsl xv
xvid zlib video_cards_r100 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Onra 2005-06-27 03:48:11 UTC
Created attachment 62040 [details]
The enhanced /etc/init.d/oftpd start script

Improved version of the /etc/init.d/oftpd start script. 
Now a non-standard port in /etc/conf.d/oftpd can be used and oftpd does not
start when the startup of the net failed before.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-02 16:15:36 UTC
added to portage . thanks