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 > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 06-01-2011, 01:18 PM
Pang Yan Han
 
Default Update Makefile.am and configure.ac for gpgdir

On Wed, Jun 1, 2011 at 5:23 PM, Allan McRae <allan@archlinux.org> wrote:

> On 29/05/11 00:37, Pang Yan Han wrote:
>
>> install-data-local target in Makefile.am will now create the default
>> GPGDir,
>> trustdb.gpg, pubring.gpg if they do not exist.
>>
>> configure script will now output the default gpgdir with the other info
>> (eg. database dir, cachedir, etc)
>>
>> Signed-off-by: Pang Yan Han<pangyanhan@gmail.com>
>>
>
> What about creating secring.gpg too. Not that it is used, but GPG has
> issues with it not being present.
>
> Also, does "touch trustdb.gpg" actually create a valid trustdb? From
> memory, a blank trustdb is invalid and it must be created by gpg.
>
> Allan
>
> Hi Allan,

I'm not sure about this. I just thought that we should have the files
present at the very least.
 
Old 06-01-2011, 06:09 PM
Dan McGee
 
Default Update Makefile.am and configure.ac for gpgdir

On Wed, Jun 1, 2011 at 4:23 AM, Allan McRae <allan@archlinux.org> wrote:
> On 29/05/11 00:37, Pang Yan Han wrote:
>>
>> install-data-local target in Makefile.am will now create the default
>> GPGDir,
>> trustdb.gpg, pubring.gpg if they do not exist.
>>
>> configure script will now output the default gpgdir with the other info
>> (eg. database dir, cachedir, etc)
>>
>> Signed-off-by: Pang Yan Han<pangyanhan@gmail.com>
>
> What about creating secring.gpg too. *Not that it is used, but GPG has
> issues with it not being present.
>
> Also, does "touch trustdb.gpg" actually create a valid trustdb? *From
> memory, a blank trustdb is invalid and it must be created by gpg.

Rather than "touch", why wouldn't one just invoke gpg once to create
these files? (if we want to do this at all, that is, which I'm not
sure is the case)

-Dan
 
Old 06-09-2011, 02:52 AM
Pang Yan Han
 
Default Update Makefile.am and configure.ac for gpgdir

Hi guys, sorry for the late reply. A lot of things cropped up over the past
week.

I guess this patch was a mistake. My original intent was for the files to be
there
since there hasn't been much discussion as to how we will distribute the
actual
pubring.gpg and trustdb.gpg files.

Thanks for the feedback though. =)

Dan is right in that gpg should be invoked to create the files if we really
want to
do it.

On Wed, Jun 8, 2011 at 7:59 AM, Allan McRae <allan@archlinux.org> wrote:

> On 02/06/11 04:09, Dan McGee wrote:
>
>> On Wed, Jun 1, 2011 at 4:23 AM, Allan McRae<allan@archlinux.org> wrote:
>>
>>> On 29/05/11 00:37, Pang Yan Han wrote:
>>>
>>>>
>>>> install-data-local target in Makefile.am will now create the default
>>>> GPGDir,
>>>> trustdb.gpg, pubring.gpg if they do not exist.
>>>>
>>>> configure script will now output the default gpgdir with the other info
>>>> (eg. database dir, cachedir, etc)
>>>>
>>>> Signed-off-by: Pang Yan Han<pangyanhan@gmail.com>
>>>>
>>>
>>> What about creating secring.gpg too. Not that it is used, but GPG has
>>> issues with it not being present.
>>>
>>> Also, does "touch trustdb.gpg" actually create a valid trustdb? From
>>> memory, a blank trustdb is invalid and it must be created by gpg.
>>>
>>
>> Rather than "touch", why wouldn't one just invoke gpg once to create
>> these files? (if we want to do this at all, that is, which I'm not
>> sure is the case)
>>
>>
> Just to confirm, touch trustdb.gpg leads to issues:
> gpg: fatal: /etc/pacman.d/gnupg/trustdb.gpg: invalid trustdb
>
> Allan
>
>
 
Old 06-09-2011, 03:01 AM
Dan McGee
 
Default Update Makefile.am and configure.ac for gpgdir

On Wed, Jun 8, 2011 at 9:52 PM, Pang Yan Han <pangyanhan@gmail.com> wrote:
> Hi guys, sorry for the late reply. A lot of things cropped up over the past
> week.
Never worry about that, we all get busy with things.

> I guess this patch was a mistake. My original intent was for the files to be
> there
> since there hasn't been much discussion as to how we will distribute the
> actual
> pubring.gpg and trustdb.gpg files.
>
> Thanks for the feedback though. =)
>
> Dan is right in that gpg should be invoked to create the files if we really
> want to
> do it.

I think this at least got us to take a look at the problem you were
trying to solve, so don't feel bad submitting it- we have a better
idea of what we might need to do now to get things set up.

-Dan
 

Thread Tools




All times are GMT. The time now is 10:21 PM.

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