Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251296 - net-misc/sslh-1.5 - new ebuild
Summary: net-misc/sslh-1.5 - new ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Default Assignee for New Packages
URL: http://www.rutschle.net/tech/sslh.shtml
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-17 09:47 UTC by Jiri Tyr
Modified: 2010-03-05 17:27 UTC (History)
2 users (show)

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


Attachments
sslh-1.5.ebuild (sslh-1.5.ebuild,1.08 KB, text/plain)
2008-12-17 09:47 UTC, Jiri Tyr
Details
sslh.init.d (files/sslh.init.d,403 bytes, text/plain)
2008-12-17 09:48 UTC, Jiri Tyr
Details
sslh-1.5.ebuild (sslh-1.5.ebuild,1.08 KB, text/plain)
2008-12-18 09:25 UTC, Jiri Tyr
Details
sslh-1.5.ebuild (sslh-1.5.ebuild,1.10 KB, text/plain)
2008-12-26 19:03 UTC, Jiri Tyr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Tyr 2008-12-17 09:47:17 UTC
There is a funny little hack out there called sslh, which lets one accept both https and ssh connection on the same, one port. It lets me connect from inside my corporate proxy, which allows outbound connections on port 443, using Putty, while still being able to serve Web pages over https.
Comment 1 Jiri Tyr 2008-12-17 09:47:56 UTC
Created attachment 175588 [details]
sslh-1.5.ebuild

Ebuild for the sslh-1.5.
Comment 2 Jiri Tyr 2008-12-17 09:48:34 UTC
Created attachment 175590 [details]
sslh.init.d

Gentoo init.d script for the sslh.
Comment 3 Serkan Kaba (RETIRED) gentoo-dev 2008-12-17 11:16:25 UTC
(In reply to comment #1)
> Created an attachment (id=175588) [edit]
> sslh-1.5.ebuild
> 
> Ebuild for the sslh-1.5.
> 

Please use doinitd,doconfd for installing init.d conf.d files.
Comment 4 Jiri Tyr 2008-12-17 16:25:42 UTC
(In reply to comment #3)
> Please use doinitd,doconfd for installing init.d conf.d files.

1) There is no documentation about those functions on the web (http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1). The only description is in "man 5 ebuild". Somebody should fix it.

2) doinitd, doconfd, ... do not allow change the source file name! So, if I want to have "/etc/init.d/smtg" and the source file is called "smtg.init.d" then I have to use "cp" and not the "doinitd".

Or am I wrong?
Comment 5 Serkan Kaba (RETIRED) gentoo-dev 2008-12-17 17:49:51 UTC
(In reply to comment #4)
> (In reply to comment #3)
> 2) doinitd, doconfd, ... do not allow change the source file name! So, if I
> want to have "/etc/init.d/smtg" and the source file is called "smtg.init.d"
> then I have to use "cp" and not the "doinitd".
> 
> Or am I wrong?
> 
There's newconfd and newinitd for that, sorry I didn't see that detail
Comment 6 Jiri Tyr 2008-12-18 09:24:32 UTC
(In reply to comment #5)
> There's newconfd and newinitd for that, sorry I didn't see that detail

Thank you for the hint. Anyway, somebody should fix the documentation on the web.
Comment 7 Jiri Tyr 2008-12-18 09:25:36 UTC
Created attachment 175686 [details]
sslh-1.5.ebuild

Correction of init.d and conf.d files installation.
Comment 8 Serkan Kaba (RETIRED) gentoo-dev 2008-12-20 10:51:54 UTC
(In reply to comment #7)
> Created an attachment (id=175686) [edit]
> sslh-1.5.ebuild
> 
> Correction of init.d and conf.d files installation.
> 

It's best that all sed stuff is done in src_unpack and dies on error. Also dosbin, dodoc should doesn't die on its own as well.

Adding sunrise for notification. For further contributions please consider contacting sunrise project on #gentoo-sunrise @ FreeNode (best around evening in Europe) and reading their documentation[1][2]. And please be patient and give them some time to review.

1: http://www.gentoo.org/proj/en/sunrise/
2: http://overlays.gentoo.org/proj/sunrise/wiki
Comment 9 Jiri Tyr 2008-12-26 19:03:02 UTC
Created attachment 176463 [details]
sslh-1.5.ebuild

Some corrections for the sslh-1.5. Thanks to Serkan.
Comment 10 Tomás Touceda (RETIRED) gentoo-dev 2009-11-06 22:44:16 UTC
An updated ebuild for sslh is already in sunrise overlay:

https://overlays.gentoo.org/proj/sunrise/browser/reviewed/net-misc/sslh
Comment 11 SpanKY gentoo-dev 2010-03-05 17:27:54 UTC
ive cleaned up the ebuild and added 1.7a to the tree.  thanks !