flagflag  
1: 2008-12-21 (Sun) 03:29:18 iseki source Cur: 2009-01-12 (Mon) 12:06:12 iseki source
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"


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
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 31
Today

Who's Online

65 user(s) are online (19 user(s) are browsing xpwiki)

Members: 0
Guests: 65

more...

Access Counter

Today : 1056310563105631056310563
Yesterday : 1306913069130691306913069
Total : 2363535923635359236353592363535923635359236353592363535923635359
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com