Date: Tue, 23 Mar 1999 23:53:59 +0900 (KST) From: nobreak@KR.FreeBSD.ORG To: FreeBSD-gnats-submit@freebsd.org Subject: ports/10751: [NEW PORTS] crazywwwboardle-pl3 (www) Message-ID: <199903231453.XAA26518@kfug2.kr.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 10751 >Category: ports >Synopsis: A new ports of CrazyWWWBoardLEp3 >Confidential: yes >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 23 07:00:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Seung-young Kim >Release: FreeBSD 2.2.8-RELEASE i386 >Organization: Korea FreeBSD Users Group >Environment: FreeBSD kfug2.kr.freebsd.org 2.2.8-RELEASE FreeBSD 2.2.8-RELEASE #0: Sat Jan 16 00:48:22 KST 1999 nobreak@kfug2.kr.freebsd.org:/usr/src/sys/compile/FREE i386 >Description: Dear sir. This is a new ports of CrazyWWWBoardLEp3. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # crazywwwboardle/ # crazywwwboardle/pkg # crazywwwboardle/pkg/DESCR # crazywwwboardle/pkg/COMMENT # crazywwwboardle/pkg/PLIST # crazywwwboardle/files # crazywwwboardle/files/md5 # crazywwwboardle/Makefile # crazywwwboardle/patches # crazywwwboardle/patches/patch-aa # echo c - crazywwwboardle/ mkdir -p crazywwwboardle/ > /dev/null 2>&1 echo c - crazywwwboardle/pkg mkdir -p crazywwwboardle/pkg > /dev/null 2>&1 echo x - crazywwwboardle/pkg/DESCR sed 's/^X//' >crazywwwboardle/pkg/DESCR << 'END-of-crazywwwboardle/pkg/DESCR' XThis is a port of CrazyWWWBoardLEp3. If you find a web based bulletin Xsystem, it might give you a complete solution. See below sample screen. X XOfficial distribution: http://cwb98.nobreak.com , ftp://ftp.nobreak.com X========================================================================= X [Admin] [Statistics] Searched Articles: 15/110 , Pages : 20/22 X +----+---+---------------------------+-----------------+---------+----+ X | No |(c)| S u b j e c t | Name | Date |Hits| X +----+---+---------------------------+-----------------+---------+----+ X | 15 | # |+ I need qDecoder | Jin-soo Park |Mar 23,99| 75 | X +----+---+---------------------------+-----------------+---------+----+ X | 14 | # | + Re: I need qDecoder | CHOI Junho |Apr 08,99| 48 | X +----+---+---------------------------+-----------------+---------+----+ X | 13 | @ | - Re: Here it is... | Seung-young Kim |Apr 12,99| 22 | X +----+---+---------------------------+-----------------+---------+----+ X | 12 | # | - Re: I need qDecoder | Gi-il Kim |Apr 09,99| 13 | X +----+---+---------------------------+-----------------+---------+----+ X [1][Prev]-[11][12][13][14][15][16][17][18][19][20]-[Next][22] X Name o X [Home] [Back] [Help] Subject x [qDecoder] [Go!!] [Backward] [Forward] X Text x [Write] [Reload] X========================================================================= X- Seung-young Kim Xnobreak@KR.FreeBSD.ORG END-of-crazywwwboardle/pkg/DESCR echo x - crazywwwboardle/pkg/COMMENT sed 's/^X//' >crazywwwboardle/pkg/COMMENT << 'END-of-crazywwwboardle/pkg/COMMENT' XCrazyWWWBoardLEp3, web based bulletin board system. END-of-crazywwwboardle/pkg/COMMENT echo x - crazywwwboardle/pkg/PLIST sed 's/^X//' >crazywwwboardle/pkg/PLIST << 'END-of-crazywwwboardle/pkg/PLIST' Xwww/cgi-bin/CrazyAdmin.cgi Xwww/cgi-bin/CrazyWWWBoard.cgi Xwww/cgi-bin/CrazyWWWBoard.conf Xwww/data/cwb-data/icon-package/README Xwww/data/cwb-data/icon-package/etc/cwble.gif Xwww/data/cwb-data/icon-package/icon-netscape/admin.gif Xwww/data/cwb-data/icon-package/icon-netscape/admintitle.gif Xwww/data/cwb-data/icon-package/icon-netscape/back.gif Xwww/data/cwb-data/icon-package/icon-netscape/blank.gif Xwww/data/cwb-data/icon-package/icon-netscape/close-new.gif Xwww/data/cwb-data/icon-package/icon-netscape/close.gif Xwww/data/cwb-data/icon-package/icon-netscape/delete.gif Xwww/data/cwb-data/icon-package/icon-netscape/down.gif Xwww/data/cwb-data/icon-package/icon-netscape/help.gif Xwww/data/cwb-data/icon-package/icon-netscape/home.gif Xwww/data/cwb-data/icon-package/icon-netscape/list.gif Xwww/data/cwb-data/icon-package/icon-netscape/modify.gif Xwww/data/cwb-data/icon-package/icon-netscape/open-new.gif Xwww/data/cwb-data/icon-package/icon-netscape/open.gif Xwww/data/cwb-data/icon-package/icon-netscape/reload.gif Xwww/data/cwb-data/icon-package/icon-netscape/reply.gif Xwww/data/cwb-data/icon-package/icon-netscape/stat.gif Xwww/data/cwb-data/icon-package/icon-netscape/up.gif Xwww/data/cwb-data/icon-package/icon-netscape/write.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/admin.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/admintitle.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/back.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/blank.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/close-new.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/close.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/delete.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/down.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/help.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/home.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/list.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/modify.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/open-new.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/open.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/reload.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/reply.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/stat.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/up.gif Xwww/data/cwb-data/icon-package/icon-picaso_green/write.gif Xwww/data/cwb-data/icon-stat/bar-00.gif Xwww/data/cwb-data/icon-stat/bar-10.gif Xwww/data/cwb-data/icon-stat/bar-20.gif Xwww/data/cwb-data/icon-stat/bar-30.gif Xwww/data/cwb-data/icon-stat/bar-40.gif Xwww/data/cwb-data/icon-stat/bar-50.gif Xwww/data/cwb-data/icon-stat/bar-60.gif Xwww/data/cwb-data/icon-stat/bar-70.gif Xwww/data/cwb-data/icon-stat/bar-80.gif Xwww/data/cwb-data/icon-stat/bar-90.gif Xwww/data/cwb-data/icon-stat/bar-under.gif Xwww/data/cwb-data/icon-type/bat.gif Xwww/data/cwb-data/icon-type/bmp.gif Xwww/data/cwb-data/icon-type/com.gif Xwww/data/cwb-data/icon-type/compressed.gif Xwww/data/cwb-data/icon-type/default.gif Xwww/data/cwb-data/icon-type/device.gif Xwww/data/cwb-data/icon-type/exe.gif Xwww/data/cwb-data/icon-type/gif.gif Xwww/data/cwb-data/icon-type/html.gif Xwww/data/cwb-data/icon-type/hwp.gif Xwww/data/cwb-data/icon-type/image.gif Xwww/data/cwb-data/icon-type/jpg.gif Xwww/data/cwb-data/icon-type/movie.gif Xwww/data/cwb-data/icon-type/mp3.gif Xwww/data/cwb-data/icon-type/pcx.gif Xwww/data/cwb-data/icon-type/png.gif Xwww/data/cwb-data/icon-type/ppt.gif Xwww/data/cwb-data/icon-type/ra.gif Xwww/data/cwb-data/icon-type/sound.gif Xwww/data/cwb-data/icon-type/text.gif Xwww/data/cwb-data/icon-type/txt.gif Xwww/data/cwb-data/icon-type/unknown.gif Xwww/data/cwb-data/icon-type/wav.gif Xwww/data/cwb-data/icon/admin.gif Xwww/data/cwb-data/icon/admintitle.gif Xwww/data/cwb-data/icon/back.gif Xwww/data/cwb-data/icon/blank.gif Xwww/data/cwb-data/icon/close-new.gif Xwww/data/cwb-data/icon/close.gif Xwww/data/cwb-data/icon/delete.gif Xwww/data/cwb-data/icon/down.gif Xwww/data/cwb-data/icon/help.gif Xwww/data/cwb-data/icon/home.gif Xwww/data/cwb-data/icon/list.gif Xwww/data/cwb-data/icon/modify.gif Xwww/data/cwb-data/icon/open-new.gif Xwww/data/cwb-data/icon/open.gif Xwww/data/cwb-data/icon/reload.gif Xwww/data/cwb-data/icon/reply.gif Xwww/data/cwb-data/icon/stat.gif Xwww/data/cwb-data/icon/up.gif Xwww/data/cwb-data/icon/write.gif Xwww/data/cwb-data/message/help-en.txt Xwww/data/cwb-data/message/help-jp.txt Xwww/data/cwb-data/message/help-kr.txt Xwww/data/cwb-data/message/htmlhead.html Xwww/data/cwb-data/message/htmltail.html Xwww/data/cwb-data/message/mailhead.txt Xwww/data/cwb-data/message/mailtail.txt X@exec mkdir -p %D/www/data/cwb-data/data X@exec mkdir -p %D/www/data/cwb-data/log X@exec mkdir -p %D/www/data/cwb-data/stat X@dirrm www/data/cwb-data/icon-package/etc X@dirrm www/data/cwb-data/icon-package/icon-netscape X@dirrm www/data/cwb-data/icon-package/icon-picaso_green X@dirrm www/data/cwb-data/icon-package X@dirrm www/data/cwb-data/icon-type X@dirrm www/data/cwb-data/message X@dirrm www/data/cwb-data/icon X@dirrm www/data/cwb-data/icon-stat END-of-crazywwwboardle/pkg/PLIST echo c - crazywwwboardle/files mkdir -p crazywwwboardle/files > /dev/null 2>&1 echo x - crazywwwboardle/files/md5 sed 's/^X//' >crazywwwboardle/files/md5 << 'END-of-crazywwwboardle/files/md5' XMD5 (CrazyWWWBoardLEp3-export-FreeBSD2.2_i386.tar.Z) = 23c14f3e153495574aede5dbbc862ff5 END-of-crazywwwboardle/files/md5 echo x - crazywwwboardle/Makefile sed 's/^X//' >crazywwwboardle/Makefile << 'END-of-crazywwwboardle/Makefile' X# New ports collection makefile for: crazywwwboardle X# Version required: pl3 X# Date created: 22 March 1999 X# Whom: Seung-young Kim <nobreak@KR.FreeBSD.ORG> X# X# $Id$ X# X XDISTNAME= CrazyWWWBoardLEp3-export-FreeBSD2.2_i386 XPKGNAME= crazywwwboardle-pl3 XCATEGORIES= www XMASTER_SITES= ftp://ftp.nobreak.com/pub/CrazyWWWBoardLE/FreeBSD/ \ X ftp://ftp6.kr.freebsd.org/pub/NobreakTechnologies/CrazyWWWBoardLE/FreeBSD/ XEXTRACT_SUFX= .tar.Z X XMAINTAINER= nobreak@KR.FreeBSD.ORG X XWRKSRC= ${WRKDIR}/CrazyWWWBoardLEp3 XNO_BUILD= yes XNO_INSTALL_MANPAGES= yes X Xdo-install: X cd ${WRKSRC}; ./Install-sh X X.include <bsd.port.mk> END-of-crazywwwboardle/Makefile echo c - crazywwwboardle/patches mkdir -p crazywwwboardle/patches > /dev/null 2>&1 echo x - crazywwwboardle/patches/patch-aa sed 's/^X//' >crazywwwboardle/patches/patch-aa << 'END-of-crazywwwboardle/patches/patch-aa' X--- Install-sh.orig Tue Mar 23 22:07:57 1999 X+++ Install-sh Tue Mar 23 22:44:37 1999 X@@ -7,14 +7,55 @@ X # (c) Nobreak Technologies, Inc. X # X X-# yes/no X+# check_prefix X+check_prefix() { X+ cat << __EOF__ X+#################################################################### X+## FreeBSD Ports Collection : www : crazywwwboardle ## X+## ## X+## The FreeBSD Project http://www.FreeBSD.org ## X+## Korea FreeBSD Users Group http://www.kr.FreeBSD.org ## X+#################################################################### X+__EOF__ X+ X+ echo "" X+ echo "--[ Checking PREFIX directories ]-----------------------------------" X+ if [ ! "$PREFIX" ]; then X+ PREFIX="/usr/local" X+ fi X+ X+ for dir in "$PREFIX" "$PREFIX/www" "$PREFIX/www/cgi-bin" "$PREFIX/www/data"; do X+ printf "Checking $dir : " X+ if [ -d "$dir" ]; then X+ echo "OK." X+ else X+ printf "Not found! " X+ mkdir "$dir" X+ if [ -d "$dir" ]; then X+ echo "(Created) OK." X+ else X+ echo "" X+ quit "Required directory($dir) creation fail!" X+ fi X+ fi X+ done X+ echo "--------------------------------------------------------------------" X+ printf "Looks good... Here we go~~~" X+ sleep 1 X+ echo "" X+ echo "" X+} X X+# yes/no X yesno() { X key="" X X while true; do X printf "$1 [y/n] : " X- read key X+ sleep 1 X+ echo "$2" X+ key="$2" X+ sleep 1 X case "$key" in X [Yy] | [Yy][Ee][Ss] ) X break X@@ -70,7 +111,7 @@ X #################################################################### X __EOF__ X X-yesno "Do you accept all the terms of the license agreement?" "Sorry, If you don't accept our license agreement, you can not use this product!" X+yesno "Do you accept all the terms of the license agreement?" "Y" "Sorry, If you don't accept our license agreement, you can not use this product!" X echo "" X } X X@@ -216,7 +257,7 @@ X fi X X printf "Looks good... Press ENTER to continue..." X- read x X+ sleep 1 X X echo "" X echo "From now we will try to install. Answer to the questions please." X@@ -232,7 +273,10 @@ X echo " ex) /usr/local/etc/httpd/cgi-bin" X echo " ex) $HOME/public_html/cgi-bin" X printf "____________________________________________________________________\r o INPUT -> " X- read cgiBin X+ sleep 1 X+ echo "$PREFIX/www/cgi-bin" X+ cgiBin="$PREFIX/www/cgi-bin" X+ sleep 1 X X printf " Checking directory '$cgiBin' : " X if [ -d "$cgiBin" ]; then X@@ -253,7 +297,10 @@ X echo " ex) /usr/local/etc/httpd/htdocs" X echo " ex) $HOME/public_html" X printf "____________________________________________________________________\r o INPUT -> " X- read docRoot X+ sleep 1 X+ echo "$PREFIX/www/data" X+ docRoot="$PREFIX/www/data" X+ sleep 1 X X printf " Checking directory '$docRoot' : " X if [ -d "$docRoot" ]; then X@@ -261,7 +308,7 @@ X if [ ! -d "$docRoot/$data" ]; then X echo "OK" X else X- quit "'$docRoot/$data' already exist." X+ echo "Found 'cwb-data' under "$docRoot/$data". Is this time reinstall or upgrade? Don't worry we do not touch your databases. OK" X fi X else X quit "Can not write in this directory" X@@ -278,10 +325,13 @@ X echo " If you don't understand this meaning, choose 'n'." X while true; do X printf " x xxxxx xx [_]\r o INPUT -> [" X- read cgiwrap X+ sleep 1 X+ echo "N" X+ cgiwrap="N" X+ sleep 1 X case "$cgiwrap" in X [Yy] ) X- yesno " Are you sure? Do you really use 'CGIWrap?" " Please, try again..." X+ yesno " Are you sure? Do you really use 'CGIWrap?" "Y" " Please, try again..." X cgiwrap="Y" X break X ;; X@@ -297,7 +347,10 @@ X echo " ex) http://$host" X echo " ex) http://$host/~$USER" X printf "____________________________________________________________________\r o INPUT -> http://" X- read homeUrl X+ sleep 1 X+ echo "$host" X+ homeUrl="www.kr.freebsd.org" X+ sleep 1 X X if [ ! "$homeUrl" ]; then X quit "Homepage URL must be entered. Try again, please." X@@ -317,7 +370,10 @@ X echo " @ Enter your name, please..." X echo " ex) Impellitteri Chris" X printf "____________________________________________________________________\r o INPUT -> " X- read adminName X+ sleep 1 X+ echo "Your Name" X+ adminName="Your Name" X+ sleep 1 X X if [ ! "$adminName" ]; then X quit "Name must be entered. Try again, please." X@@ -326,7 +382,10 @@ X X echo " @ Enter your email address, please..." X printf "____________________________________________________________________\r o INPUT -> " X- read adminEmail X+ sleep 1 X+ echo "your@email" X+ adminEmail="your@email" X+ sleep 1 X X if [ ! "$adminEmail" ]; then X quit "Email address must be entered. Try again, please." X@@ -338,7 +397,10 @@ X X while true; do X printf " x xxxxx xx [__]\r o INPUT -> [" X- read lang X+ sleep 1 X+ echo "EN" X+ lang="EN" X+ sleep 1 X case "$lang" in X [Ee][Nn] ) X lang="en" X@@ -360,8 +422,8 @@ X # Confirm X confirm() { X echo "--------------------------------------------------------------------" X- echo "" X- echo "Dear $adminName" X+ #echo "" X+ #echo "Dear $adminName" X echo "" X echo "Now we will do below things to install." X echo "" X@@ -379,7 +441,7 @@ X echo "3. 'CrazyWWWBoard.cgi' -> '$cgiBin'" X echo "4. Creating directory '$docRoot/$data' and making sub structures." X echo "--------------------------------------------------------------------" X- yesno "All looks good?" "Please, try again..." X+ yesno "All looks good?" "Y" "Please, try again..." X echo "" X } X X@@ -441,7 +503,7 @@ X echo "Step 4 : Copying related data structures." X echo "--------------------------------------------------------------------" X printf "Copying '$data' to '$docRoot/$data' : " X- cp -rp "$data" "$docRoot/$data" X+ cp -rp "$data/" "$docRoot/$data/" X if [ -d "$docRoot/$data" ]; then X echo "OK" X else X@@ -452,7 +514,7 @@ X X echo "Successfully completed." X printf "Press ENTER to continue..." X- read x X+ sleep 1 X echo "" X } X X@@ -462,6 +524,8 @@ X # Main routine X # X ################################################################################ X+ X+check_prefix X X display_info X END-of-crazywwwboardle/patches/patch-aa exit >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903231453.XAA26518>