pkgsrc-Bugs archive

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

Re: pkg/47207 (install problems with sendmail)



Le 05/12/12 18:40, RichardPALO a écrit :
The following reply was made to PR pkg/47207; it has been noted by GNATS.

From: RichardPALO <richard.palo%baou.fr@localhost>
To: <gnats-bugs%netbsd.org@localhost>
Cc:
Subject: Re: pkg/47207 (install problems with sendmail)
Date: Wed, 05 Dec 2012 18:37:03 +0100

  I tried this:

  richard@devzone:~/src/pkgsrc/mail/sendmail$ cvs diff
  Index: Makefile
  ===================================================================
  RCS file: /cvsroot/pkgsrc/mail/sendmail/Makefile,v
  retrieving revision 1.111
  diff -u -p -r1.111 Makefile
  --- Makefile 8 Oct 2012 12:19:30 -0000 1.111
  +++ Makefile 5 Dec 2012 17:34:30 -0000
  @@ -11,6 +11,7 @@ CONFLICTS+= esmtp>=1.2
    .include "../../mail/sendmail/Makefile.common"

    USE_TOOLS+= pax
  +USE_DESTDIR= full

    MESSAGE_SRC= ${WRKDIR}/.MESSAGE_SRC
    PLIST_SRC= ${WRKDIR}/.PLIST_SRC

  and it seemed to be able to package/install.

  I'll try some tests in the coming week to see if it really worked.
  Seems
  strange that this hasn't come up before, unless nobody really uses the
  just
  in time SU support for this package.


I should mention that USE_DESTDIR=yes did not work, only "full" did.
Also, it was quite surprising that I did a "bmake package" build and it went ahead and installed. That is, a subsequent "bmake install" is more or less a NOOP.

Finally, I notice that the package file has a couple of owner/group protection problems, as seen in this extract (+INSTALL/+DEINSTALL):

richard@devzoneX:~/src/pkgsrc/mail/sendmail$ gtar tvfa ../../packages/All/sendmail-8.14.5nb1.tgz
-rw-r--r-- root/root     18425 2012-12-06 06:35 +CONTENTS
-r--r--r-- root/root        36 2012-12-06 06:35 +COMMENT
-r--r--r-- root/root       561 2012-12-06 06:35 +DESC
-rwxr-xr-x richard/staff 42549 2012-12-06 06:35 +INSTALL
-rwxr-xr-x richard/staff  4179 2012-12-06 06:35 +DEINSTALL
-rw-r--r-- root/root      1063 2012-12-06 06:35 +DISPLAY
...




Home | Main Index | Thread Index | Old Index