flagflag  If you want to see English page, please click "English" Button at Left.
1: 2008-12-21 (日) 03:29:18 iseki ソース 現: 2009-01-12 (月) 12:06:12 iseki ソース
Line 9: Line 9:
Be sure to replace the path in the configs to /etc/sl_proxy Be sure to replace the path in the configs to /etc/sl_proxy
-**** i.E. $overlay/app-misc/sl_proxy/sl_proxy-1.2.6.ebuild [#jada92f5+**** i.E. $overlay/app-misc/sl_proxy/sl_proxy-1.6.1.ebuild [#d1b9521e
- # Copyright 1999-2008 Gentoo Foundation+ # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2  # Distributed under the terms of the GNU General Public License v2
- # $Header: $ + 
 inherit eutils flag-o-matic  inherit eutils flag-o-matic
- +  
- DESCRIPTION="This system consists of Proxy Server (sl_relay) and Cache Server (sl_cache) for Second Life on Linux"+ DESCRIPTION="This system consists of Proxy Server (sl_relay) and Cache Server (sl_cache) for Second Life on Linux"
 HOMEPAGE="http://www.nsl.tuis.ac.jp/xoops/modules/​xpwiki/?sl_proxy%20%28E%29"  HOMEPAGE="http://www.nsl.tuis.ac.jp/xoops/modules/​xpwiki/?sl_proxy%20%28E%29"
- SRC_URI="http://www.solar-system.tuis.ac.jp/SoftWare/dist/${P}.tgz+ SRC_URI="http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/Linux/${P}.tar.gz
- # check for new version here: http://www.solar-system.tuis.ac.jp/SoftW​are/software_eng.html + 
 LICENSE="free-noncomm"  LICENSE="free-noncomm"
 SLOT="0"  SLOT="0"
 KEYWORDS="~x86"  KEYWORDS="~x86"
- IUSE="" + IUSE="berkdb
 + 
 RDEPEND="dev-libs/openssl  RDEPEND="dev-libs/openssl
-          sys-libs/zlib" +        sys-libs/zlib 
 +       berkdb? ( sys-libs/db )"
 DEPEND="${RDEPEND}"  DEPEND="${RDEPEND}"
 + 
 src_unpack() {  src_unpack() {
-        unpack ${A}+    unpack ${A} 
 +   einfo "Now I setting MAKEOPTS='-j1', otherwise it can get trouble" 
 +   MAKEOPTS="-j1"
 }  }
 + 
 src_compile() {  src_compile() {
-       emake || die+   S="${WORKDIR}/TUIS_Lib" 
 +   cd "${S}" 
 +   if use berkdb ; then 
 +       econf --enable-db || die 
 +   else 
 +       econf || die 
 +   fi 
 +   emake || die 
 +  
 +   S="${WORKDIR}/${P}" 
 +   cd "${S}" 
 +   if use berkdb ; then 
 +       econf --enable-db || die 
 +   else 
 +       econf || die 
 +   fi 
 +   emake || die
 }  }
 + 
 src_install() {  src_install() {
-        dodir /bin +    dodir /bin 
-        dodir /etc/sl_proxy +    dodir /etc/sl_proxy 
-        keepdir /var/sl_proxy +    dodir /var/sl_proxy 
-        mv "${S}/sl_cache/sl_cache" "${D}/bin" +   keepdir /var/sl_proxy 
-        mv ${S}/sl_cache/conf/* "${D}/etc/sl_proxy" +    mv "${S}/sl_cache/sl_cache" "${D}/bin" 
-        mv "${S}/sl_relay/sl_relay" "${D}/bin" +    mv ${S}/sl_cache/conf/* "${D}/etc/sl_proxy" 
-        mv ${S}/sl_relay/conf/* "${D}/etc/sl_proxy" +    mv "${S}/sl_relay/sl_relay" "${D}/bin" 
-        chown nobody: "${D}/var/sl_proxy"+    mv ${S}/sl_relay/conf/* "${D}/etc/sl_proxy" 
 +    mv "${S}/sl_info/sl_info" "${D}/bin" 
 +   mv ${S}/sl_info/conf/* "${D}/etc/sl_proxy" 
 +   chown nobody: /var/sl_proxy 
 +   einfo "Config is in /etc/sl_proxy, be sure to specify it." 
 +   einfo "This ebuild comes without Gentoo initscripts."
 }  }
 +
Line 56: Line 79:
 # Copyright 1999-2008 Gentoo Foundation  # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2  # Distributed under the terms of the GNU General Public License v2
 + 
 PIDFILE=/var/run/sl_relay.pid  PIDFILE=/var/run/sl_relay.pid
 + 
 depend() {  depend() {
               need net sl_cache                need net sl_cache
 }  }
 + 
 start() {  start() {
               ebegin "Starting sl_relay"                ebegin "Starting sl_relay"
Line 87: Line 110:
 # Copyright 1999-2008 Gentoo Foundation  # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2  # Distributed under the terms of the GNU General Public License v2
 + 
 PIDFILE=/var/run/sl_cache.pid  PIDFILE=/var/run/sl_cache.pid
 + 
 depend() {  depend() {
       need net        need net
 }  }
 + 
 start() {  start() {
       ebegin "Starting sl_cache"        ebegin "Starting sl_cache"
Line 104: Line 127:
       eend $? "Failed to start sl_cache"        eend $? "Failed to start sl_cache"
 }  }
 + 
 stop() {  stop() {
       ebegin "Stopping sl_cache"        ebegin "Stopping sl_cache"


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
<今日>

オンライン状況

70 人のユーザが現在オンラインです。 (4 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 70

もっと...

アクセスカウンタ

今日 : 9521952195219521
昨日 : 8008800880088008
総計 : 2328515723285157232851572328515723285157232851572328515723285157
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com