FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian dpkg

 
 
LinkBack Thread Tools
 
Old 11-14-2011, 05:27 PM
Michel Briand
 
Default dpkg support for Solaris

Hello Andrew,

excellent idea this port !

Did you also ported apt-get on Solaris ?

Cheers,
Michel

Andrew Stormont <andyjstormont@gmail.com> - Mon, 14 Nov 2011 15:45:54
+0000

>I don't think these were received by the mailing list so I'm sending again.
>Sorry for any duplicates.
>
>From: Andrew Stormont <andrew.stormont@nexenta.com>
>Date: Thu, 10 Nov 2011 23:47:14 +0000
>To: <debian-dpkg@lists.debian.org>
>Subject: Re: dpkg support for Solaris
>
>Hi,
>
>I've also attached a patch which adds support for Solaris zones. I imagine
>this won't be the sort of thing you can apply is-is like the other patch.
>
>Thanks,
>Andy
>
>From: Andrew Stormont <andrew.stormont@nexenta.com>
>Date: Thu, 10 Nov 2011 14:03:18 +0000
>To: <debian-dpkg@lists.debian.org>
>Subject: dpkg support for Solaris
>
>Hi,
>
>Please could you apply the attached patch which fixes dpkg Support for
>Solaris.
>
>Thanks,
>Andy
>
>


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111114192757.46eac86e@eana.kheb.dyndns.org">http ://lists.debian.org/20111114192757.46eac86e@eana.kheb.dyndns.org
 
Old 11-15-2011, 10:52 AM
Andrew Stormont
 
Default dpkg support for Solaris

Hi Michel,

Yes patches for APT and other core packages such as GCC are coming soon.

-Andrew

On 14/11/2011 18:27, "Michel Briand" <michelbriand@free.fr> wrote:

>Hello Andrew,
>
>excellent idea this port !
>
>Did you also ported apt-get on Solaris ?
>
>Cheers,
>Michel
>
>Andrew Stormont <andyjstormont@gmail.com> - Mon, 14 Nov 2011 15:45:54
>+0000
>
>>I don't think these were received by the mailing list so I'm sending
>>again.
>>Sorry for any duplicates.
>>
>>From: Andrew Stormont <andrew.stormont@nexenta.com>
>>Date: Thu, 10 Nov 2011 23:47:14 +0000
>>To: <debian-dpkg@lists.debian.org>
>>Subject: Re: dpkg support for Solaris
>>
>>Hi,
>>
>>I've also attached a patch which adds support for Solaris zones. I
>>imagine
>>this won't be the sort of thing you can apply is-is like the other patch.
>>
>>Thanks,
>>Andy
>>
>>From: Andrew Stormont <andrew.stormont@nexenta.com>
>>Date: Thu, 10 Nov 2011 14:03:18 +0000
>>To: <debian-dpkg@lists.debian.org>
>>Subject: dpkg support for Solaris
>>
>>Hi,
>>
>>Please could you apply the attached patch which fixes dpkg Support for
>>Solaris.
>>
>>Thanks,
>>Andy
>>
>>
>
>
>--
>To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
>with a subject of "unsubscribe". Trouble? Contact
>listmaster@lists.debian.org
>Archive:
>http://lists.debian.org/20111114192757.46eac86e@eana.kheb.dyndns.org
>



--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAE801FF.290AB%andyjstormont@gmail.com">http://lists.debian.org/CAE801FF.290AB%andyjstormont@gmail.com
 
Old 11-16-2011, 01:11 PM
Andrew Stormont
 
Default dpkg support for Solaris

On 16/11/2011 04:00, "Guillem Jover" <guillem@debian.org> wrote:

>On Tue, 2011-11-15 at 15:22:46 +0100, Raphael Hertzog wrote:
>> On Mon, 14 Nov 2011, Andrew Stormont wrote:
>> > diff --git a/lib/dpkg/md5.c b/lib/dpkg/md5.c
>> > index 3da18c9..5e9f311 100644
>> > --- a/lib/dpkg/md5.c
>> > +++ b/lib/dpkg/md5.c
>> > @@ -15,6 +15,8 @@
>> > * MD5Context structure, pass it to MD5Init, call MD5Update as
>> > * needed on buffers full of bytes, and then call MD5Final, which
>> > * will fill a supplied 16-byte array with the digest.
>> > + *
>> > + * Copyright İ 2011 Nexenta Systems Inc. All rights reserved.
>> > */
>>
>> That file is in the public domain and it's best if we keep it that way,
>>so
>> please accept the same and don't claim any copyright on it.
>
>This does not matter any more given the pushed changes, but in
>addition I don't think these changes are copyrightable, as they are
>just a symbol rename (at least according to the GNU maintainers doc).
>
>> Hum, C99 is not a requirement to build dpkg. Some features are required
>> but those standard types are currently not part of it (see README and
>> doc/coding-style.txt). So maybe it's better to add the required typedefs
>> specifically for Solaris?
>
>They are assumed to be present, and checked by dpkg-compiler.m4. Those
>are not on the doc, because they don't really need compiler support,
>and can be easily mapped to other types by configure.
>
>> That said I don't really know why Guillem did not mandate C99 in its
>> entirety.
>
>Because C99 is not yet fully implemented by many compilers (not even gcc).
>
>> > +#ifdef HAVE_SYS_CDEFS
>> > #include <sys/cdefs.h>
>> > +#endif
>>
>> So this test should probably be changed into something else. Not sure
>> what though... this header is provided by glibc but is not glibc
>>specific
>> apparently.
>>
>> If we can't find anything better, we could go with this I guess:
>> #if !defined(__sun)
>> #include <sys/cdefs.h>
>> #endif
>
>It's a BSDism and it's not needed.
>
>> > @@ -31,6 +33,7 @@
>> > # define OSHurd
>> > #elif defined(__sun)
>> > # define OSsunos
>> > +# undef HAVE_KVM_H
>> > #elif defined(OPENBSD) || defined(__OpenBSD__)
>> > # define OSOpenBSD
>> > #elif defined(hpux)
>>
>> Why? Does kvm.h exist on Solaris and is it something totally unrelated?
>
>kvm implementations vary slightly from system to system, given that
>they expose kernel internal structures to user-land.

On Solaris kvm.h exposes an interface for managing virtual memory.


>
>regards,
>guillem



--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAE9717D.296D8%andyjstormont@gmail.com">http://lists.debian.org/CAE9717D.296D8%andyjstormont@gmail.com
 
Old 11-16-2011, 02:41 PM
Guillem Jover
 
Default dpkg support for Solaris

On Wed, 2011-11-16 at 14:11:54 +0000, Andrew Stormont wrote:
> On 16/11/2011 04:00, "Guillem Jover" <guillem@debian.org> wrote:
> > kvm implementations vary slightly from system to system, given that
> > they expose kernel internal structures to user-land.
>
> On Solaris kvm.h exposes an interface for managing virtual memory.

Not exactly, libkvm is a library to access the kernel virtual memory,
used mostly to retrieve process information. Most (if not all) Unix
systems historically descending at some point from the BSDs do have
a libkvm interface, which has a subset that's pretty portable across
those systems, and then there's the part of accessing the internal
process structures which is not that portable, with struct members
changing names, or some funcionality being present on some systems
but not others, etc.

regards,
guillem


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111116154144.GA324@gaara.hadrons.org">http://lists.debian.org/20111116154144.GA324@gaara.hadrons.org
 

Thread Tools




All times are GMT. The time now is 07:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright İ2007 - 2008, www.linux-archive.org