sun's longitude:08 52 58 
¡¤ ÀÚÀ¯°Ô½ÃÆÇ ¡¤ ¹¯°í´äÇϱ⠡¤ ¾ËÆĹ®¼­ ¡¤ RPMS list
¡¤ »ç¿ëÀÚ¹®¼­ ¡¤ ÆÁ/FAQ¸ðÀ½ ¡¤ ¸®´ª½ºLinks ¡¤ ÀÚ·á½Ç
¡¤ ¼­¹öÁ¤º¸ ¡¤ ¿î¿µÀÚ ¡¤ Books/FAQ ¡¤ FreeBSD
 
/board/read.php:¼Ò½ºº¸±â   
 
FreeBSD
FreeBSD study ....
[*** ¾²±â ±ÝÁö´Ü¾î ÆÐÅÏ ***]
±Û º»¹® Áß°£¿¡ ¾÷·ÎµåÇÒ À̹ÌÁö¸¦ Ãß°¡ÇÏ´Â ¹æ¹ý : @@À̹ÌÁöÀ̸§@@
ex) @@foo.gif@@
39 ¹ø ±Û: [lighttpd-wdb] make port and packaging
±Û¾´ÀÌ: »êÀÌ [ȨÆäÀÌÁö] ±Û¾´³¯: 2005³â 12¿ù 05ÀÏ 10:52:34 ¿ù(¿ÀÀü) Á¶È¸: 5933
-- make `lighttpd-wdb' packaging
-- san2@2005.02.23

1. cp -pR lighttpd lighttpd-NEW

2. cp -pR lighttpd lighttpd-wdb-NEW

3. edit `Makefile' file
   diff -Nur lighttpd-OLD/Makefile lighttpd-NEW/Makefile
   diff -Nur lighttpd-OLD/Makefile lighttpd-wdb-OLD/Makefile
   edit lighttpd-wdb-NEW/Makefile

-- Makefile --------------------------------------------

// add two line
PKGNAMESUFFIX=  -wdb
PORTREVISION=   p1

// disabled
#USE_RC_SUBR=   lighttpd.sh

// add above on MAN1=
## add san2@2004.11.04
WRAPPER_FILE=	${PREFIX}/sbin/lighttpd_wrapper
STARTUP_FILE=	${PREFIX}/etc/rc.d/lighttpd.sh-dist
CONF_FILE=	${PREFIX}/etc/lighttpd.conf.sample
CONFLICTS=	lighttpd-1.*

// OPTIONS all disabled
#OPTIONS= ....
...

// force disabled ipv6
#.if defined(WITH_IPV6)
CONFIGURE_ARGS+=        --disable-ipv6
#.endif

// replace post-install
post-install:
	@${INSTALL} -d -m 755 -o root -g wheel /home/httpd/127.0.0.1
	@${INSTALL} -d -m 755 -o nobody -g wheel /home/httpd/logs
	@${INSTALL_SCRIPT} ${FILESDIR}/lighttpd_wrapper ${WRAPPER_FILE}
	@${INSTALL_SCRIPT} ${FILESDIR}/lighttpd.sh-dist ${STARTUP_FILE}
	@${INSTALL_DATA} ${FILESDIR}/lighttpd.conf.sample ${CONF_FILE}
	@${CHMOD} 755 ${WRAPPER_FILE} ${STARTUP_FILE}
.if !exists(${PREFIX}/etc/lighttpd.conf)
	@${INSTALL_DATA} ${FILESDIR}/lighttpd.conf.sample ${PREFIX}/etc/lighttpd.conf
.endif
	@${LIBTOOL} --finish ${PREFIX}/lib
--------------------------------------------------------


4. edit `pkg-plist' file
   diff -Nur lighttpd-OLD/pkg-plist lighttpd-NEW/pkg-plist
   diff -Nur lighttpd-OLD/pkg-plist lighttpd-wdb-OLD/pkg-plist
   edit lighttpd-wdb-NEW/pkg-plist

5. copy lighttpd.conf.sample, lighttpd.sh.tmpl, lighttpd_wrapper
   from lighttpd-wdb-OLD/files/lighttpd*
   to lighttpd-wdb-NEW/files/
   delete files/lighttpd.sh.tmpl if exists
   delete files/lighttpd.sh.in if exists

6. Ver 1.3.14-
   make `patch-src::buffer.c' patch file for `+' bug
   make patch
   cp src/buffer.c src/buffer.c.orig
   edit buffer.c
   make patch file :
   diff -Nur src/buffer.c.orig src/buffer.c.orig
   > lighttpd-wdb-NEW/file/patch-src::buffer.c

7. patch `Directory Listing' human scale
   src/response.c

8. etc edit
   lighttpd.conf.sample ...

9. make packaging
   make package

10. test

 
ÀÌÀü±Û : [rc.conf.local]
´ÙÀ½±Û : Gentoo / FreeBSD  
 from 222.106.218.166
JS(Redhands)Board 0.4 +@

|±Û¾²±â| |´äÀå¾²±â| |¼öÁ¤| |»èÁ¦|
|ÀÌÀü±Û| |´ÙÀ½±Û| |¸ñ·Ïº¸±â|
Àμâ¿ë 

apache lighttpd linuxchannel.net 
Copyright 1997-2024. linuxchannel.net. All rights reserved.

Page loading: 0.04(server) + (network) + (browser) seconds