Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 42558 Details for
Bug 68823
New Ebuild for ss5-2.4 socks 5 server
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ss5-2.4.ebuild
ss5-2.4.ebuild (text/plain), 2.23 KB, created by
Andreas Kobara
on 2004-10-25 06:55:48 UTC
(
hide
)
Description:
ss5-2.4.ebuild
Filename:
MIME Type:
Creator:
Andreas Kobara
Created:
2004-10-25 06:55:48 UTC
Size:
2.23 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils >DESCRIPTION="SS5 is a socks server that implements the SOCKS v4 and v5 protocol" >HOMEPAGE="http://digilander.libero.it/matteo.ricchetti/" >SRC_URI="http://digilander.libero.it/matteo.ricchetti/${P}.tar.gz" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="ldap pam slb" ># slb = server load balancing feature >DEPEND="virtual/libc > dev-libs/openssl > pam? ( sys-libs/pam ) > ldap? ( net-nds/openldap )" >RDEPEND="" > >S=${WORKDIR}/${P} > >src_unpack() { > einfo "unpacking source" > unpack ${A} > cd ${S} > > einfo "configuring cflags" > local mycflags > mycflags="CFLAGS = ${CFLAGS} -DLINUX -DSTATISTICS -DAFFINITY -I ." > use pam && mycflags="${mycflags} -DHAVE_PAM" > use ldap && mycflags="${mycflags} -DHAVE_OLDAP" > use slb && mycflags="${mycflags} -DSLB" > > einfo "configuring libs" > local mylibs > mylibs="LIBS = -lpthread" > use pam && mylibs="${mylibs} -lpam -lpam_misc" > use ldap && mylibs="${mylibs} -lldap" > > einfo "generate Makefile" > cp Linux/Makefile.lx Makefile > sed -i -e "s:^CFLAGS.*:${mycflags}:" Makefile > sed -i -e "s:^LIBS.*:${mylibs}:" Makefile > > einfo "fix directory locations" > sed -i -e "s:rc.d/::g" Makefile > > einfo "replacing runlevel script" > cp ${FILESDIR}/ss5.init ss5.init >} > >src_compile() { > emake || die "emake failed" >} > >src_install() { > exeinto /usr/bin > doexe ss5 > exeinto /etc/init.d > newexe ss5.init ss5 > dodir /etc/ss5 > insinto /etc/ss5 > doins conf/ss5.passwd conf/admin.sample > newins conf/ss5.conf ss5.conf.sample > # man pages are already zipped in this archive > insinto /usr/share/man/man1 > doins man/*.1.gz > insinto /usr/share/man/man5 > doins man/*.5.gz > dodoc pam/README.pam pam/ss5.pam > dodoc ldap/README.ldap ldap/entries.ldif ldap/slapd.conf > dodoc README.balance README.console >} > >pkg_postinst() { > if ( use pam || use ldap || use slb ); then > ewarn "Look at /usr/share/doc/${P} for help customizing pam" > ewarn "loadbalancing and/or ldap support." > fi > einfo "Run rc-update add ss5 default to add SOCKS 5 Server" > einfo "to your default runlevel." >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 68823
: 42558 |
42559