pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PKG_DESTDIR_SUPPORT=destdir problem?

On Tue, 3 Sep 2019 20:17:06 +0200, Joerg Sonnenberger wrote:
>>> It was always kind of a hack to limit the amount of work necessary for
>>> the packager. Handling unreadable files wasn't on the list.
>> Well, the funny thing is that the destdir framework is used to set file
>> permissions such that the regular user cannot read (or package) the file.
>> Unless news/inn does something very wrong, this case requires at least the
>> option to package the file with the same credentials as the install.
> Nothing in the destdir framework sets file permissions. If you mean
> REQD_* etc, they are not applied with destdir, but only during the
> actual package installation.

Now I am confused...

news/inn sets PKG_DESTDIR_SUPPORT=destdir so that the install target 
gets run as root, and oodles of files get special permissions and/or 
ownership. <mk/> says

.if ${_USE_DESTDIR} == "destdir"

which looks like TRT should happen, but it doesn't?


     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-21344

Home | Main Index | Thread Index | Old Index