[351] in Hesiod
changes I've made to hesiod-3.0.2
daemon@ATHENA.MIT.EDU (Gordon Matzigkeit)
Tue Feb 4 15:51:18 1997
To: Hesiod Mailing List <hesiod@MIT.EDU>
From: Gordon Matzigkeit <gord@m-tech.ab.ca>
Date: 04 Feb 1997 13:26:40 -0700
Hi, all!
I've been messing with Hesiod lately to get it to fit my needs over at
the University of Calgary.
Basically, I've taken the Hesiod 3.0.2 code, and made several
additions:
1) support for iteration over Hesiod maps, so that hesiod_getpwent is
possible.
2) a shared library is now built (using my libtool package)
3) I use Automake for simpler Makefile maintainance
4) I wrote a hesiod_mkdb Perl script that takes /etc/services and
/etc/userinfo (a combination of /etc/group and /etc/passwd, without
passwords), and generates full Hesiod maps. I use this since I don't
(yet) have Moira.
5) hesiod_mkdb can also generate a first-cut at /etc/userinfo from
existing NIS and /etc/passwd configuration.
6) Now, I am turning Hesiod into a GNU libc NSS module. This will
mean that in the near future, on GNU and GNU/Linux systems, programs
can transparently use Hesiod when they call glibc getpwent(3),
getgrgid(3), and friends. This will make Hesiod a real alternative to
NIS on such systems.
I hope that this is not duplicating anybody else's work. If it is,
I'm interested in getting feedback from you so that I can save myself
work, and incorporate any of your good ideas.
For licensing, I have applied GPL under my name to all the code I've
added. This means that the resulting package (which I'm calling
ghesiod for Gord's Hesiod) is still redistributable. So, if anybody
would find such stuff useful, contact me, and I'll get you involved
with beta-testing.
I'm not a GPL fanatic, and I'm willing eventually contribute my code
back to MIT (by signing an assignment, or equivalent).
I'm interested in merging my code back into the original distribution,
once my code is stable and useful. This isn't a concern right now,
but I want you (MIT folks) to know what I'm doing. I'm hoping that
forking a quickly-changing revision of Hesiod won't cause any of you
problems.
Comments are appreciated.
P.S. To those not on the Hesiod mailing list: I have your names on one
of my private mail aliases. Write me if you don't want to receive
mail about my Athena modernization attempts.
--
Gord Matzigkeit | Proudly running pieces of the GNU operating system.
gord@m-tech.ab.ca | Jacques Cousteau loved programming in assembler.