Home
News
Forum
Wiki
Blog
Contents
Gallery
Movies
Downloads
About NSL
[
List of Titles
|
List of Pages
|
New
|
Search
|
Recent changes
|
Help
]
sl_proxy (E)/Install/Gentoo
[
Front page
]
[ ]
Start:
** Install to Gentoo Linux (by Uwe aka slick)
Here are some basic intructions howto install sl_proxy on...
Use at your own risk. You should know how to work with eb...
Here is my example ebuild masked by ~x86. This will compi...
After that the config-files are in /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.6.1.ebuild
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public ...
inherit eutils flag-o-matic
DESCRIPTION="This system consists of Proxy Server (sl_re...
HOMEPAGE="http://www.nsl.tuis.ac.jp/xoops/modules/xpwiki...
SRC_URI="http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/Lin...
LICENSE="free-noncomm"
SLOT="0"
KEYWORDS="~x86"
IUSE="berkdb"
RDEPEND="dev-libs/openssl
sys-libs/zlib
berkdb? ( sys-libs/db )"
DEPEND="${RDEPEND}"
src_unpack() {
unpack ${A}
einfo "Now I setting MAKEOPTS='-j1', otherwise it can...
MAKEOPTS="-j1"
}
src_compile() {
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() {
dodir /bin
dodir /etc/sl_proxy
dodir /var/sl_proxy
keepdir /var/sl_proxy
mv "${S}/sl_cache/sl_cache" "${D}/bin"
mv ${S}/sl_cache/conf/* "${D}/etc/sl_proxy"
mv "${S}/sl_relay/sl_relay" "${D}/bin"
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...
einfo "This ebuild comes without Gentoo initscripts."
}
Additional, I wrote my own simple init-scripts based on t...
**** /etc/init.d/sl_relay
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public ...
PIDFILE=/var/run/sl_relay.pid
depend() {
need net sl_cache
}
start() {
ebegin "Starting sl_relay"
/bin/sl_relay \
-s login.agni.lindenlab.c...
-p 8100 \
-c /etc/sl_proxy/sl_relay...
-e 127.0.0.1:8200 \
-u nobody \
-f ${PIDFILE} \
-d 1> /var/log/sl_relay.l...
eend $? "Failed to start sl_relay"
}
stop() {
ebegin "Stopping sl_relay"
read PID < ${PIDFILE}
kill -INT $PID
rm -f ${PIDFILE}
eend $? "Failed to stop sl_relay"
}
****/etc/init.d/sl_cache
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public ...
PIDFILE=/var/run/sl_cache.pid
depend() {
need net
}
start() {
ebegin "Starting sl_cache"
/bin/sl_cache \
-p 8200 \
-c /etc/sl_proxy/sl_cache.conf \
-u nobody \
-f ${PIDFILE} \
-d 1> /var/log/sl_cache.log 2>&1 &
eend $? "Failed to start sl_cache"
}
stop() {
ebegin "Stopping sl_cache"
read PID < ${PIDFILE}
kill -INT $PID
rm -f ${PIDFILE}
eend $? "Failed to stop sl_cache"
}
My last successfull and useable installation are with:
-sys-libs/zlib-1.2.3-r1
-dev-libs/openssl-0.9.8g USE="kerberos sse2 zlib -bindis...
~
~
-----------------------------
last modified: 01/14/2008~
Uwe aka slick @ forums.gentoo.org
End:
** Install to Gentoo Linux (by Uwe aka slick)
Here are some basic intructions howto install sl_proxy on...
Use at your own risk. You should know how to work with eb...
Here is my example ebuild masked by ~x86. This will compi...
After that the config-files are in /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.6.1.ebuild
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public ...
inherit eutils flag-o-matic
DESCRIPTION="This system consists of Proxy Server (sl_re...
HOMEPAGE="http://www.nsl.tuis.ac.jp/xoops/modules/xpwiki...
SRC_URI="http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/Lin...
LICENSE="free-noncomm"
SLOT="0"
KEYWORDS="~x86"
IUSE="berkdb"
RDEPEND="dev-libs/openssl
sys-libs/zlib
berkdb? ( sys-libs/db )"
DEPEND="${RDEPEND}"
src_unpack() {
unpack ${A}
einfo "Now I setting MAKEOPTS='-j1', otherwise it can...
MAKEOPTS="-j1"
}
src_compile() {
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() {
dodir /bin
dodir /etc/sl_proxy
dodir /var/sl_proxy
keepdir /var/sl_proxy
mv "${S}/sl_cache/sl_cache" "${D}/bin"
mv ${S}/sl_cache/conf/* "${D}/etc/sl_proxy"
mv "${S}/sl_relay/sl_relay" "${D}/bin"
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...
einfo "This ebuild comes without Gentoo initscripts."
}
Additional, I wrote my own simple init-scripts based on t...
**** /etc/init.d/sl_relay
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public ...
PIDFILE=/var/run/sl_relay.pid
depend() {
need net sl_cache
}
start() {
ebegin "Starting sl_relay"
/bin/sl_relay \
-s login.agni.lindenlab.c...
-p 8100 \
-c /etc/sl_proxy/sl_relay...
-e 127.0.0.1:8200 \
-u nobody \
-f ${PIDFILE} \
-d 1> /var/log/sl_relay.l...
eend $? "Failed to start sl_relay"
}
stop() {
ebegin "Stopping sl_relay"
read PID < ${PIDFILE}
kill -INT $PID
rm -f ${PIDFILE}
eend $? "Failed to stop sl_relay"
}
****/etc/init.d/sl_cache
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public ...
PIDFILE=/var/run/sl_cache.pid
depend() {
need net
}
start() {
ebegin "Starting sl_cache"
/bin/sl_cache \
-p 8200 \
-c /etc/sl_proxy/sl_cache.conf \
-u nobody \
-f ${PIDFILE} \
-d 1> /var/log/sl_cache.log 2>&1 &
eend $? "Failed to start sl_cache"
}
stop() {
ebegin "Stopping sl_cache"
read PID < ${PIDFILE}
kill -INT $PID
rm -f ${PIDFILE}
eend $? "Failed to stop sl_cache"
}
My last successfull and useable installation are with:
-sys-libs/zlib-1.2.3-r1
-dev-libs/openssl-0.9.8g USE="kerberos sse2 zlib -bindis...
~
~
-----------------------------
last modified: 01/14/2008~
Uwe aka slick @ forums.gentoo.org
Page:
Site Search
Advanced Search
Login
Username:
Password:
Lost Password?
Register now!!
Sub Menu
New Arrivals
Books
Web Links
Site Map
e-Learning
TUIS Certificate
mini Calendar
May 2025
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
102 user(s) are online (8 user(s) are browsing xpwiki)
Members: 0
Guests: 102
more...
Access Counter
Today :
Yesterday :
Total :
Powered by XOOPS Cube 2.1© 2001-2006
XOOPS Cube Project
Design by
XoopsDesign.com