Porting DPKG!

1997-12-09 Thread Todd Graham Lewis
Hello!

I've ported dpkg (dselect and everything) to Solaris, Digital Unix,
and FreeBSD.  Basically, the programs themselves run, and if I override
dependencies, etc., then I can install stuff.  I've made a number of
packages for each of the platforms, mostly gnu stuff.

I'm planning on writing a complete report when I'm done, so I'll skip
most of the details now.  The port was really easy; the biggest issue
so far is that a lot of the make files in blah/debian/rules presume
that /bin/sh is bash, which really screws all sorts of shit up on these
three platforms.  Anyway, things are going well.

The next step is for me to bootstrap a machine using dpkg.  I've got a
AlphaStation500 set aside for the purpose, complete with a clean Digital
Unix installation.  I'm creating "dummy" packages for the base packages
(libc, man, login, sysvinit, etc.) which are already installed on the
system as part of the DU installation.  These will have no real files
associated with them, but will allow other, real packages to be installed,
and for dependency calculations to procede with a minimum of fuss.

The problem is that I don't really understand the bootstrap process.
How is everything in /{usr,var}/lib/dpkg/ created by the boot floppies?
What is the division of labor?  Does dpkg create it, or is there an
installation script, or is the job split all over the place?

I could just go ahead and hack up something to create methods, available,
status, etc., but I'd like to reuse whatever already exists, for obvious
reasons.  If someone could expound on the setup process which happens
on the boot floppies, and maybe include some pointers to the relevant
source files, then I'd be most appreciative.

We at Mindspring plan on using dpkg to manage the software on all of
our server machines, if we can get it to do the job to our satisfaction
(which I think we can.)  I plan on feeding everything back to the project,
of course, and like I said, I plan on writing and publishing a report on
the project when I'm done.  Is anyone else interested in such a project?
Would progress reports to the devel group be appreciated?

--
Todd Graham Lewis   Manager of Web Engineering(800) 719-4664, x2804
**Linux** MindSpring Enterprises  [EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .



Re: Porting DPKG!

1997-12-09 Thread Todd Graham Lewis
On Tue, 9 Dec 1997, Christian Meder wrote:

> where do the packages install ? /usr/local/ or /usr ?

I install files wherever the packages want me to install files.  That's
a package-build-time function, although the override feature in dpkg
works, presumably, I haven't tried it.

> Perhaps it's time to begin filing bug reports on this issue ?

I'll try to file the makefile issue today; thanks for the suggestion.

--
Todd Graham Lewis   Manager of Web Engineering(800) 719-4664, x2804
**Linux** MindSpring Enterprises  [EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .



Re: Porting DPKG!

1997-12-09 Thread Todd Graham Lewis
On Tue, 9 Dec 1997, Turbo Fredriksson wrote:

> How about dirs in the distribution, like: 
> 
> - s n i p p -
> binary-freebsd
> binary-solaris
> binary-hpux
> - s n i p p -

I think it would be a colossal mistake to try to integrate these os's
into normal debian, at least any time which is even remotely soon.  I
have thought about hosting "Debian GNU/Digital Unix", and other people
may want to host other debian-on-blah distributions, but those would
have to be working really well for a long time before they could be
integrated.  I'm not even sure if they ever should be integrated, but
fortunately that's not a big issue.

Back to work...

--
Todd Graham Lewis   Manager of Web Engineering(800) 719-4664, x2804
**Linux** MindSpring Enterprises  [EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .



Re: /sbin/hwclock and /etc/init.d/boot

1997-12-18 Thread Todd Graham Lewis
> > > I think I 
> > >will also have a problem the next time I reboot because it looks as if 
> > >/etc/init.d/boot will never get run.
> > 
> > Doesn't matter, it isn't being used anymore. It has been replaced with
> > the /etc/rsS.d stuff.
> 
> I begg your pardon? Isn't '/etc/init.d/boot' used any more? 

Take a really close look at /etc/rc?.d, and you'll understand what's going
on.  Or if you want to cheat, read /etc/init.d/README

--
Todd Graham Lewis   Manager of Web Engineering(800) 719-4664, x2804
**Linux** MindSpring Enterprises  [EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .



Re: Does `dpkg' track the installation date of a package?

1997-12-18 Thread Todd Graham Lewis
On 18 Dec 1997, Manoj Srivastava wrote:

>   maybe it is time to bringup the discussion on this list?

The lack of an audit trail is really regrettable in dpkg.  After all,
it is as much a system tool as any other program I can think of; why 
it is bashful about using the system's log facility is beyond me.

Count mine as one vote for a new LOG_DEBIAN facility.

--
Todd Graham Lewis   Manager of Web Engineering(800) 719-4664, x2804
**Linux** MindSpring Enterprises  [EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .



Re: Missing fsck

1997-12-22 Thread Todd Graham Lewis
On Fri, 19 Dec 1997, Robert D. Hilliard wrote:

>  The installation finished without an fsck, which would prevent
> normal booting.  I had encountered this problem in an earlier test, and
> was not sure if I had made the correct choices in the dselect (S)elect
> phase, so I re-ran the installation, being very careful about my
> choices.

Same problem here.  Not many details, as I simply fixed it and did not
take any notes at the time, since I misdiagnosed it as some random
screwup on my part.

--
Todd Graham Lewis   Manager of Web Engineering(800) 719-4664, x2804
**Linux** MindSpring Enterprises  [EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .