## ¿ªÀÚ ÁÖ
Wu-FTPd 2.6.0 ºÎÅÍ´Â GNU autoconf¸¦ »ç¿ëÇÏ°Ô µÇ¾ú´Ù. ±×·¯¹Ç·Î ±âÁ¸ÀÇ build script¸¦ »ç¿ëÇÏ´Â °Í º¸´Ù´Â configure¸¦ »ç¿ëÇÏ´Â °ÍÀ» ±ÇÀåÇÑ´Ù.
./configure [--opeiont] make make install
·Î »ç¿ëÇÏ¸é µÈ´Ù.
[ configure option ] ¼³Á¤:
--cache-file=FILE cache test results in FILE
--help ÀÌ ¸Þ¼¼ÁöµéÀ» Ãâ·Â
--no-create Ãâ·Â¹°À» ¸¸µéÁö ¾ÊÀ½
--quiet, --silent `checking...' ¸Þ¼¼Áö¸¦ Ãâ·ÂÇÏÁö ¾ÊÀ½
--version autoconfÀÇ ¹öÁ¯À» Ãâ·Â
µð·ºÅ丮¿Í ÆÄÀÏÀ̸§:
--prefix=PREFIX PRIFIX¿¡ µ¶¸³ÀûÀÎ ±¸Á¶·Î ÀνºÅç [/usr]
--exec-prefix=EPREFIX EPREFIX¿¡ Á¾¼ÓÀûÀÎ ÆÄÀϱ¸Á¶·Î ÀνºÅç [same PREFIX]
--bindir=DIR À¯Àú°¡ ½ÇÇàÇÒ ÆÄÀϵéÀÌ ÀÖ´Â µð·ºÅ丮 [EPREFIX/bin]
--sbindir=DIR ROOT°¡ ½ÇÇàÇÒ ÆÄÀϵéÀÌ ÀÖ´Â µð·ºÅ丮 [EPREFIX/sbin]
--libexecdir=DIR ÇÁ·Î±×·¥ÀÌ ½ÇÇàÇÒ ÆÄÀϵéÀÌ ÀÖ´Â µð·ºÅ丮 [EPREFIX/libexec]
--datadir=DIR Àб⠼ӼºÀÇ µ¶¸³ÀûÀÎ data¸¦ °¡Áú µð·ºÅ丮 [PREFIX/share]
--sysconfdir=DIR ¼³Á¤ÆÄÀÏÀÌ À§Ä¡ÇÒ µð·ºÅ丮 °æ·Î ÁöÁ¤ [PREFIX/etc]
--sharedstatedir=DIR ¼öÁ¤ °¡´ÉÇÑ µ¶¸³±¸Á¶¸¦ °¡Áø µ¥ÀÌŸ°¡ À§Ä¡ÇÒ °æ·ÎÁöÁ¤ [PREFIX/com]
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
--libdir=DIR ¶óÀ̺귯¸® ÆÄÀϵéÀÌ À§Ä¡ÇÒ µð·ºÅ丮 °æ·Î [EPREFIX/lib]
--includedir=DIR C Çì´õ ÆÄÀÏÀÌ À§Ä¡ÇÒ µð·ºÅ丮 °æ·Î [PREFIX/include]
--oldincludedir=DIR GCC¸¦ À§ÇÑ°ÍÀÌ ¾Æ´Ñ C Çì´õ ÆÄÀÏÀÇ °æ·Î [/usr/include]
--infodir=DIR ¹®¼°¡ À§Ä¡ÇÒ µð·ºÅ丮 °æ·Î [PREFIX/info]
--mandir=DIR ¸Þ´º¾ó ÆäÀÌÁö°¡ À§Ä¡ÇÒ µð·ºÅ丮 °æ·Î [PREFIX/man]
--srcdir=DIR ¼Ò½º°¡ ÀÖ´Â µð·ºÅ丮 ÁöÁ¤ [configure dir or ..]
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
È£½ºÆ® Çü½Ä:
--build=BUILD configure for building on BUILD [BUILD=HOST]
--host=HOST configure for HOST [guessed]
--target=TARGET configure for TARGET [TARGET=HOST]
¿ä¼Ò¿Í ÆÐÅ°Áö:
--disable-FEATURE FEATURE¸¦ Æ÷ÇÔÇÏÁö ¾ÊÀ½ (--enable-FEATURE=no ¿Í µ¿ÀÏ)
--enable-FEATURE[=ARG] FEATURE Æ÷ÇÔ [ARG=yes]
--with-PACKAGE[=ARG] PACKAGE¸¦ »ç¿ëÇÔ [ARG=yes]
--without-PACKAGE PACKAGE¸¦ »ç¿ëÇÏÁö ¾ÊÀ½ (--with-PACKAGE=no ¿Í µ¿ÀÏ)
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
--enable °ú --with ¿É¼Ç ÀνÄ:
--with-etc-dir=PATH ¼³Á¤ÆÄÀÏÀÌ À§Ä¡ÇÒ °æ·Î [/etc]
--with-pid-dir=PATH run/pid ÆÄÀϵéÀÇ °æ·Î [/var/run]
--with-log-dir=PATH log ÆÄÀÏ [/var/log]
--disable-upload ftpaccess¿¡¼ UPLOAD Å°¿öµå¸¦ »ç¿ëÇÏÁö ¾ÊÀ½
--disable-overwrite ftpaccess¿¡¼ OVERWIRTE Å°¿öµå¸¦ »ç¿ëÇÏÁö ¾ÊÀ½
--disable-hostxs ftpaccess¿¡¼ ALLOW/DENY Å°¿öµå¸¦ »ç¿ëÇÏÁö ¾ÊÀ½
--disable-logfailed ·Î±×ÀÎ ½Ã¿¡ ·Î±×½ÇÆРȽ¼ö ÁöÁ¤À» »ç¿ëÇÏÁö ¾ÊÀ½
--disable-logtoomany ·Î±×ÀÎ ½Ã¿¡ À¯Àú Á¦ÇÑÀ» »ç¿ëÇÏÁö ¾ÊÀ½
--disable-private don't support private files (SITE GROUP/SITE GPASS)
--disable-dnsretry DNS lookupÀ» ÇÏÁö¾ÊÀ½
--enable-anononly À͸í Á¢¼Ó¸¸ °¡´ÉÇÔ
--enable-paranoid ÁúÀÇ ¿ä¼ÒµéÀ» »ç¿ëÇÏÁö ¾ÊÀ½
--enable-quota ÄõŸ Áö¿ø (OS¿¡¼ Áö¿øÀ» ÇØ¾ß ÇÔ)
--enable-pam PAM Áö¿ø (PAM ¶óÀ̺귯¸®°¡ ÇÊ¿ä)
--enable-skey S/KEY Áö¿ø (SKEY ¶óÀ̺귯¸® ÇÊ¿ä)
--enable-opie OPIE Áö¿ø(OPIE ¶óÀ̺귯¸® ÇÊ¿ä)
--disable-new-cd new-cd causes "cd " to return to chroot-relative dir
--enable-chmod ftp À¯ÀúµéÀÌ SETUID/SETGID/STICKY bits¸¦ ¼ÂÆÃÇÏ´Â °ÍÀ» Çã¶ô
--enable-rfc931 RFC931 lookupsÀ» ÇÔ(log Á¤º¸¸¦ ´õ ÀÚ¼¼È÷ ¾òÀ»¼ö ÀÖÀ¸³ª ´À¸²)
--enable-ratios ¾÷·Îµå ´Ù¿î·Îµå ºñÀ²À» Áö¿ø
--enable-passwd ´Ù¸¥ Æнº¿öµå ÆÄÀÏÀ» »ç¿ëÇÒ¼ö ÀÖ°Ô ÇÔ
--disable-daemon standalone ¹æ½ÄÀ» »ç¿ëÇÏÁö ¾ÊÀ½
--disable-map-chdir don't keep track of user's path changes
--disable-throughput don't keep track of user's throughput
--disable-count don't keep track of bytes for statistics
--disable-newlines °ø¹é¶óÀÎÀÌ ÀÛµ¿ÇÏÁö ¸øÇÏ°Ô ÇÔ
--enable-crackers À¯ÀúÀ̸§ÀÌ Á¸ÀçÇÏÁö ¾ÊÀ» °æ¿ì password¸¦ ±â´Ù¸®Áö ¾ÊÀ½
--disable-verbose ¿¡·¯·Î±×¸¦ °£´ÜÇÏ°Ô ÇÔ
--enable-noop idle ½Ã°£ÃÊ°ú½Ã NOOP¸í·ÉÀ» ¸®¼Â
--disable-log-rp log the relative path rather than the real one
--disable-virtual °¡»ó È£½ºÆ®¸¦ Áö¿ø¾ÈÇÔ
--disable-closedvirt °¡»ó È£½ºÆ®¿¡ guest log¸¦ Çã¶ô
--disable-dns ¸ðµç DNS lookupÀ» ¾ÈÇÔ
--disable-port port mode¸¦ Çã¶ôÇÏÁö ¾ÊÀ½
--disable-pasv passive mode¸¦ »ç¿ëÇÏÁö ¾ÊÀ½
--disable-plsm PID lock sleep message¸¦ »ç¿ëÇÏÁö ¾ÊÀ½(Æ®·¡ÇÈÀÌ ¸¹Àºsites)
--disable-pasvip don't require require same IP for passive connections
--disable-anonymous À͸í Á¢¼ÓÀ» Çã¶ôÇÏÁö ¾ÊÀ½
--enable-ls ³»ºÎ ls ¸í·ÉÀ» »ç¿ë (½ÇÇèÀûÀÎ ¿ä¼Ò)
--disable-numericuid ³»ºÎ ls»ç¿ë½Ã À¯ÀúÀ̸§ ´ë½Å UID¸¦ Ç¥½Ã (ºü¸§)
--disable-hidesetuid ³»ºÎ ls »ç¿ë½Ã setuid/setgid bits¸¦ Ãâ·Â
--disable-mail À͸í upload½Ã¿¡ ÅëÁö ¸ÞÀÏÀ» ¹ß¼ÛÇÏÁö ¾ÊÀ½
--enable-badclients support broken clients (see CHANGES)
--with-bufsize=x set buffer size to x
--with-backlog=x number of incoming processes to backlog in daemon mode
<1a>
source treeÀÇ Á¦ÀÏ »óÀ§¿¡¼ "./build xxx" ¸¦ ½ÇÇàÇÑ´Ù. "./build xxx"¸¦ ½ÇÇà ÇÒ¶§ C compiler¸¦ ´ë½ÅÇÏ¿© "./build CC=yyy xxx" ¿Í °°ÀÌ yyy¿¡ cc¸¦ ´ë½ÅÇÒ compiler¸¦ ÁöÁ¤ÇÏ¿© ½ÇÇàÇÒ¼öµµ ÀÖ´Ù.
["gcc"¸¦ »ç¿ëÇϱâ À§Çؼ´Â ´ÙÀ½°ú °°ÀÌ ½ÇÇàÇÑ´Ù. "./build CC=gcc xxx".]
"./build xxx" ¸í·É¿¡¼ xxx´Â ¾Æ·¡ÀÇ os typeÁß Çϳª¸¦ ¼±ÅÃÇÏ¸é µÈ´Ù.:
gen : generic make (copy this when porting to a new system)
aix : IBM AIX
aux : AU/X
bdi : BSD/OS
bsd : BSD
dec : DEC Unix 3.X or later
dyn : Dynix
fbs : FreeBSD 2.0 or later
hiu : Hitachi Unix
hpx : HP-UX
lnx : Linux (tested on 2.0.30)
nbs : NetBSD 1.X
nx2 : NeXTstep 2.x
nx3 : NeXTstep 3.x
osf : OSF/1
ptx : ???
sco : SCO Unix 3.2v4.2/SCO OpenServer 5
sgi : SGI Irix 4.0.5a
sny : Sony NewsOS
sol : SunOS 5.x / Solaris 2.x
s41 : SunOS 4.1.x
ult : Ultrix 4.x
uxw : UnixWare 1.1 or later
clean : Clean up object files and such to reduce disk space after building.
install: Install ftpd
<1b>
¸¸¾à ³ÊÀÇ systemÀÌ À§ÀÇ list¿¡ ¾ø°Å³ª ¿¡·¯°¡ ¹ß»ýÇÑ´Ù¸é...
cp src/config/config.gen src/config/config.xxx
cp src/makefiles/Makefile.gen src/makefiles/Makefile.xxx
cp support/makefiles/Makefile.gen support/makefiles/Makefile.xxx
Àû´çÇÏ°Ô 3°³ÀÇ ÆÄÀÏÀ» ÆíÁýÇØ¾ß ÇÑ´Ù. ´Ù½Ã step 1a·Î µ¹¾Æ°£´Ù. ÀÌ°ÍÀº »ç¼ÒÇÑ °ÍÀÌ ¾Æ´Ï´Ù. mailling list³ª Áú¹®À» ¿øÇÒ¼öµµ ÀÖ´Ù.
[wu-ftpd-bugs@academ.com À¸·Î ±×·± º¯Èµé¿¡ ´ëÇØ º¸³»¸é µÈ´Ù!]
<2>
wu-ftpdÀÇ »õ·Î¿î versionÀ¸·Î upgrade¸¦ ÇÏ·Á ÇÑ´Ù¸é, ¿¹ÀüÀÇ ¸ðµç configure fileµéÀ» backup ÇØ ³õ¾Æ¾ß ÇÑ´Ù. ±×·¸Áö ¾ÊÀ¸¸é »õ·ÎÀÌ installÀ» ÇßÀ» °æ¿ì¿¡ »õ versionÀÇ sample fileµéÀÌ ¿¹ÀüÀÇ °Íµé·Î ´ëü µÇ¾î ¹ö¸°´Ù.
<3>
super-userÀÇ ±ÇÇÑÀ¸·Î "./build install" À» ½ÇÇàÇÑ´Ù.
<4>
»õ·Î¿î versionÀÇ ftpd¸¦ "/etc/inetd.conf"¿¡ ÁöÁ¤À» ÇÑ´Ù. ´ëºÎºÐÀÇ °æ¿ì, old versionÀÌ ¼³Ä¡µÇ¾î ÀÖ´Ù¸é ÀÌ ´Ü°è´Â »ý·«Çصµ µÈ´Ù. ¸¸¾à ÀÌ serverÀÇ È®Àå ±â´ÉµéÀ» »ç¿ëÇÏ°íÀÚ ÇÑ´Ù¸é Ftpd¸¦ ½ÇÇàÇÒ¶§ -a optionÀ» °°ÀÌ ½ÇÇàÇØ Áà¾ß ÇÑ´Ù. ÀϹÝÀûÀ¸·Î ÀÌ°ÍÀº server¸¦ ½ÇÇàÇÒ ¶§ /etc/inetd.confÀÇ lineÀÇ ³¡¿¡ "-a"(µû¿ÈÇ¥´Â »ý·«)À» Ãß°¡ÇؾßÇÑ´Ù´Â °ÍÀ» ÀǹÌÇÑ´Ù. /etc/inetd.conf¸¦ ÀÌ¿ëÇÏÁö ¾Ê´Â OS ¿¡¼´Â standalone mode·Î ½ÇÇàÀ» Çϰųª ¶Ç´Â ´Ù¸¥ ¹æ¹ýÀ¸·Î ½ÇÇà½ÃÅ°´Â ¹æ¹ýÀ» À§ÇÏ¿© OS documentationÀ» Àо¾Æ¾ß ÇÑ´Ù. ±âº»ÀûÀ¸·Î inetd·Î ½ÇÇàÀ» Çϰųª ´Ù¸¥ ¹æ¹ýÀ¸·Î ½ÇÇàÀ» Çϰųª Å« Â÷ÀÌ´Â ¾ø´Ù.
<5>
BSD °è¿ÀÇ sytem¿¡¼´Â, type "kill -1 `ps t"?" | grep inetd`"
SGI system¿¡¼´Â, type "/etc/killall -HUP inetd"
AIX system¿¡¼´Â, type "refresh -s inetd"
<6>
Ftpd°¡ directoryÀÇ .tar.Z ÀÇ »ý¼ºÀ» Áö¿øÇÏ°Ô Çϱâ À§Çؼ´Â GNU tar¸¦ ¼³Ä¡ ÇØ¾ß ÇÑ´Ù. [anonymous ftp ¿¡ copy¸¦ ÇØ Áà¾ß ÇÏ´Â °ÍÀ» ±â¾ïÇؾßÇÑ´Ù.] GNU tar°¡ ÇÊ¿ä ÇÏ´Ù¸é, prep.ai.mit.eduÀÇ /pub/gun directory¿¡¼ ±¸ÇÒ¼ö ÀÖ´Ù.
<7>
~ftp/bin/compress·Î ¾ÐÃà programÀ» copyÇÑ´Ù. "ls" programÀ» ~ftp/bin/ls ·Î copy¸¦ ÇÑ´Ù. OS°¡ °øÀ¯ librariy¸¦ »ç¿ëÇÑ´Ù¸é ÀÌ programµéÀº Á¤ÀûÀ¸·Î link µÇ¾îÁø °ÍÀÌ ¾Æ´Ï´Ù. »õ·ÎÀÌ ÀÌ linkµéÀ» Á¤È®ÇÑ °æ·Î·Î ¼³Á¤À» ÇØÁÙ ÇÊ¿ä°¡ ÀÖ´Ù.
<8>
ftpd¸¦ À§ÇÑ ¿©·¯ ¼³Á¤ fileµé(ftpconversions, ftpusers, ftpgroups)À» À§Ä¡ ÇÒ °÷À» Á¶»çÇϱâ À§ÇÑ Ã¹´Ü°è¸¦ ÇàÇÒ¶§, ckconfig ¸¦ »ç¿ëÇ϶ó. ÀÌ fileµéÀÇ ¿¹Á¦µéÀº doc/examples directory¿¡ Á¸ÀçÇÑ´Ù. ckconfig´Â bin direcoty¿¡ ÀÖ´Ù. ckconfig report·Î ¾î¶² ¹®Á¦Á¡µéÀ» ¼öÁ¤Çϵµ·Ï ÇÑ´Ù.
<9>
anonymous userµéÀÌ _SITE_EXEC¿¡¼ ½ÇÇàÀÌ °¡´ÉÇÏ°Ô Çϱ⸦ ¿øÇÏ¸é ¾î¶² ½ÇÇà °¡´ÉÇÑ °ÍÀ» ³Ö¾î Áà¾ß ÇÑ´Ù. ÀÌ°ÍÀ» ³ÖÀ»¶§´Â ¸Å¿ì ÁÖÀÇÇØ¾ß ÇÑ´Ù.
<10>
bin/ckconfig·Î ´Ù½Ã ¼³Á¤ fileµéÀÌ Á¦´ë·Î installÀÌ µÇ¾ú´ÂÁö È®ÀÎÀ» ÇÑ´Ù.
<11>
virtual ftp¸¦ Áö¿øÇϱâ À§Çؼ´Â MakefileÀÇ CFLAGS¿¡ -DVIRTUALÀ» Ãß°¡ÇÏ¿© compileÀ» ÇØ¾ß ÇÑ´Ù.