GNU bug report logs -
#47435
gnu: mail: Make the sendmail package actually output its binary
Previous Next
Full log
Message #14 received at 47435 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> We can see helpfile and statistics file go into etc/mail, then sendmailgoes
into sbin, smrsh is missing in sbin.
Fixed.
In addition to Léo Le Bouter's comments, I suggest either omitting or
> amending this part. A Maildir is where the user's emails will be kept,
> but it cannot be stored in the build output, because that directory will
> be immutable after the build is complete.
>
> What is the default?
>
`/etc/mail` is the default it seems. I modified the patch to use
`$out/var/spool/mail` instead. `/var/spool/mail` is where I would like to
put it on a conventional linux distribution. But I don't know if MAILDIR
means "where the user's mail will be kept" in this context because when I
do that I end up with the following file tree:
$ tree /gnu/store/05wxmp6m3pfg5d2jrwbx4rx5p3nxyyvc-sendmail-8.15.2
> /gnu/store/05wxmp6m3pfg5d2jrwbx4rx5p3nxyyvc-sendmail-8.15.2
> ├── bin
> │ ├── hoststat ->
> /gnu/store/05wxmp6m3pfg5d2jrwbx4rx5p3nxyyvc-sendmail-8.15.2/sbin/sendmail
> │ ├── mailq ->
> /gnu/store/05wxmp6m3pfg5d2jrwbx4rx5p3nxyyvc-sendmail-8.15.2/sbin/sendmail
> │ ├── newaliases ->
> /gnu/store/05wxmp6m3pfg5d2jrwbx4rx5p3nxyyvc-sendmail-8.15.2/sbin/sendmail
> │ ├── purgestat ->
> /gnu/store/05wxmp6m3pfg5d2jrwbx4rx5p3nxyyvc-sendmail-8.15.2/sbin/sendmail
> │ └── vacation
> ├── etc
> │ └── mail
> │ ├── helpfile
> │ └── statistics
> ├── libexec
> │ └── smrsh
> ├── sbin
> │ ├── editmap
> │ ├── mailstats
> │ ├── makemap
> │ ├── praliases
> │ └── sendmail
> ├── share
> │ └── doc
> │ └── sendmail-8.15.2
> │ └── LICENSE
> └── var
> └── spool
> └── mail
> ├── sendmail.cf
> └── submit.cf
>
with config files for sendmail in `$out/var/spool/mail`.
[Message part 2 (text/html, inline)]
[0001-gnu-sendmail-Fix-output-s-directory-structure.patch (text/x-patch, attachment)]
This bug report was last modified 4 years and 65 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.