Hello list,

I have been having some problems with entrance on openbsd so I looked into
it and came up with some solutions.
I`m not a very good programmer so I do not attempt to supply patches so I
hope someone with the project cares enough about the probably small number
of openbsd enlightenment users to fix it.

1. crypt authentication
OpenBSD uses -lcrypto rather than -lcrypt, a simple s/lcrypt/&o/ in the
configure script fixed this problem.
Also, in the README file it says the /entrance/auth entry should be set to 2
for crypt/shadow, which did not work.
After looking at the source I found out that 0 should be used for crypt and
2 for auth.

2. entranced
In order for entranced to work I had to change /dev/random to /dev/srandom
in src/daemon/auth.c because OpenBSD reserves /dev/random for future use.
srandom is OpenBSD`s strong random number generator.

I`m not on the list, so if you need someone to test the stuff, please CC.
Thanks,
 Johannes
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to