Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68823 - New Ebuild for ss5-2.4 socks 5 server
Summary: New Ebuild for ss5-2.4 socks 5 server
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Dialup Developers
URL: http://digilander.libero.it/matteo.ri...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-10-25 06:55 UTC by Andreas Kobara
Modified: 2004-12-03 09:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ss5-2.4.ebuild (ss5-2.4.ebuild,2.23 KB, text/plain)
2004-10-25 06:55 UTC, Andreas Kobara
Details
ss5-2.4-gentoo-init-script (ss5.init,1.05 KB, text/plain)
2004-10-25 06:56 UTC, Andreas Kobara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kobara 2004-10-25 06:55:02 UTC
SS5 is a socks server that implements the SOCKS v4 and v5 protocol. As a proxy server, SS5 authenticates, profiles and processes network requests for clients. It establishes connections to application hosts for client applications. When the client attempts to access the network, the client connects to the SS5 daemon instead of the application host.
Comment 1 Andreas Kobara 2004-10-25 06:55:48 UTC
Created attachment 42558 [details]
ss5-2.4.ebuild
Comment 2 Andreas Kobara 2004-10-25 06:56:15 UTC
Created attachment 42559 [details]
ss5-2.4-gentoo-init-script
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2004-10-27 10:30:07 UTC
Isn't it more apropriate to put it in net-misc than net-dialup? After all, in net-misc we have net-misc/sock and net-misc/tsocks
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2004-11-16 14:11:22 UTC
There are following problems:
  - indentation of the ebuild is a mess. please put tabs for indent lines.
  - remove slb flag. you should enable support for load balancing without this.
  - RDEPEND should not be set at all. Default it is equal with DEPEND and in this case is the right thing.
  - a CFLAGS += ... is preferred 
  - you should use "s:^LIBS *=.*:&${mylibs}:". it increase ebuild maintainability
  - pkg_postinst is a little too much. there is no essential information in it. better get rid of it.
  - reload of service is a little too prolix. you should tell the user only that config file is automatically reloaded after 30 secs, not give him that hint with killall
  - reload should not call killall. better you save pid in a file (see start-stop-daemon help for that) and send signal only to that pid.

please solve this issues, test the result and repost the ebuild. 
thank you.
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2004-12-03 09:00:57 UTC
I guess you aren't interested anymore.