chris_l,
No problem at all.
Btw, I totally hear ya on the change to the Makefile. However, I looked at the make install function and it would seem that the install directories are further down in the configs somewhere. I did poke around looking for them for maybe 20mins before just making the changes to the package function in the PKGBUILD.
Maybe not the best, but it was fairly simple. Also I'm not too familiar with proper Arch Etiquette on this one...
Search Criteria
Package Details: sendmail 8.18.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/sendmail.git (read-only, click to copy) |
---|---|
Package Base: | sendmail |
Description: | A general purpose internetwork email routing MTA |
Upstream URL: | http://www.sendmail.org |
Licenses: | custom:sendmail |
Conflicts: | exim, msmtp-mta, opensmtpd, postfix |
Provides: | sendmail, smtp-forwarder, smtp-server |
Submitter: | None |
Maintainer: | amish |
Last Packager: | amish |
Votes: | 138 |
Popularity: | 0.25 |
First Submitted: | 2009-06-30 01:50 (UTC) |
Last Updated: | 2024-04-27 12:45 (UTC) |
Dependencies (2)
Required by (1249)
- aegir (requires smtp-forwarder)
- brscan-skey (optional)
- cronie-selinux (requires smtp-forwarder) (optional)
- cronie-selinux (requires smtp-server) (optional)
- ddclient-git (requires smtp-forwarder) (optional)
- e2fsprogs-git (requires smtp-forwarder) (optional)
- fcron-dev (requires smtp-forwarder) (optional)
- gitlab-ee (requires smtp-server) (optional)
- hylafaxplus (requires smtp-server) (optional)
- inn-git (requires smtp-forwarder) (make)
- lilac-git (requires smtp-forwarder) (optional)
- mailfromd (requires smtp-server)
- mediawiki-lts (requires smtp-forwarder) (optional)
- mlmmj (requires smtp-server)
- mutt-git (requires smtp-forwarder) (optional)
- mutt-slang (requires smtp-forwarder) (optional)
- oak (requires smtp-server) (make)
- openarc (requires smtp-server) (optional)
- pgl (requires smtp-forwarder) (optional)
- pgl-cli (requires smtp-forwarder) (optional)
- Show 1229 more...
Sources (9)
kingcody commented on 2013-06-10 08:45 (UTC)
chris_l commented on 2013-06-09 17:18 (UTC)
Well, I didn't wait and just used the diff right away instead.
The reason I didn't updated it as soon as I noticed the flag out-of-date, was that I originally though about changing something on the files (like in the Makefile or somewhere) so the "make install" saved those files directly on bin instead of sbin.
And I didn't take yet the time to check where that was stored.
But in the end, the result is more important than the procedure, and this works perfect, so yeah this is better.
Thanks again
chris_l commented on 2013-06-09 16:56 (UTC)
hehe Sorry about the time.
Yeah, in a few hours I'll update the package. Thanks a lot for the diff, man!
kingcody commented on 2013-06-09 10:19 (UTC)
Here is an updated PKGBUILD diff and sendmail.install diff
This builds the Newest version of Send Mail 8.14.7 and installs binaries to /usr/bin.
diff ./sendmail/PKGBUILD ./sendmail-updated/PKGBUILD
6,7c6,7
< pkgver=8.14.5
< pkgrel=3
---
> pkgver=8.14.7
> pkgrel=1
25c25
< md5sums=('02ccfc331cc81ed00ec8bb5ecfc69018'
---
> md5sums=('348eedfab0ed00931f2df94e78f22c43'
29c29
< sha256sums=('fb65a86a0f87f12aefb933ee8990540f7a680a594f7fedfdd28918f3934bfb88'
---
> sha256sums=('fa4ff9e67d1e5a42f353eedb207e08b38c0ac31030f7165866de2c520f508710'
69a70,71
> mv $pkgdir/usr/sbin/* $pkgdir/usr/bin/
> rmdir $pkgdir/usr/sbin
diff ./sendmail/sendmail.install ./sendmail-updated/sendmail.install
14,15c14,15
< chown root:smmsp /usr/sbin/sendmail
< chmod 2555 /usr/sbin/sendmail
---
> chown root:smmsp /usr/bin/sendmail
> chmod 2555 /usr/bin/sendmail
Thanks, and
Have a nice day :)
prg commented on 2013-06-03 13:11 (UTC)
To comply with the latest Arch Linux news [https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/] the sendmail binary should be installed to /usr/bin instead of /usr/sbin. The PKGBUILD and .install file can easily be adjusted to address this.
aksr commented on 2013-04-23 06:04 (UTC)
Hi chris_l,
It seems that sendmail conflicts with postfix.
chris_l commented on 2013-01-05 21:17 (UTC)
Ok, I updated the package and included setti's services (thanks!) with a small change.
@Demon: It seems the check_smmsp function was there because sendmail expects user and group to exist before doing "make install". I have changed the makefile so that is no longer necessary, so the check_smmsp function is gone :)
Also, now is compiled with STARTTLS auth support.
setti commented on 2012-12-22 09:09 (UTC)
# cat /usr/lib/systemd/system/sendmail.service
[Unit]
Description=Sendmail Mail Transport Agent
After=syslog.target network.target
Conflicts=postfix.service exim.service
Wants=sm-client.service
[Service]
Type=forking
PIDFile=/var/run/sendmail.pid
EnvironmentFile=/etc/conf.d/sendmail
ExecStartPre=-/usr/bin/newaliases > /dev/null 2>&1
ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS $SENDMAIL_OPTARG
[Install]
WantedBy=multi-user.target
# cat /usr/lib/systemd/system/sm-client.service
[Unit]
Description=Sendmail Mail Transport Client
After=syslog.target network.target sendmail.service
Wants=sendmail.service
[Service]
Type=forking
PIDFile=/var/spool/clientmqueue/sm-client.pid
EnvironmentFile=/etc/conf.d/sm-client
ExecStartPre=/usr/bin/rm -f /var/spool/mqueue/xf*
ExecStart=/usr/sbin/sendmail ${CLIENTMQUEUE_OPTS} > /dev/null 2>&1
[Install]
WantedBy=multi-user.target
# cat /etc/conf.d/sendmail
SENDMAIL_OPTS="-bd -q30m -L sm-mta"
# cat /etc/conf.d/sm-client
CLIENTMQUEUE_OPTS="-Ac -q30m -L sm-cm"
Pinned Comments