diff options
author | garga <garga@FreeBSD.org> | 2008-08-19 21:13:46 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2008-08-19 21:13:46 +0800 |
commit | 99ec2b120a53da716188eeffe91917ae1978b2d5 (patch) | |
tree | ddb03603de674a8be0891d91de32061b1ae8a062 /mail | |
parent | 27f9cb3f59efc5045a18ce91647f9a32ed34fff3 (diff) | |
download | freebsd-ports-gnome-99ec2b120a53da716188eeffe91917ae1978b2d5.tar.gz freebsd-ports-gnome-99ec2b120a53da716188eeffe91917ae1978b2d5.tar.zst freebsd-ports-gnome-99ec2b120a53da716188eeffe91917ae1978b2d5.zip |
- Add a warning on pkg-install about rc.d/qmail.sh symlink and show to user
the way to have it working
PR: ports/125740
Submitted by: G. Georgiev <roots_bg@yahoo.com>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/qmail/Makefile | 2 | ||||
-rw-r--r-- | mail/qmail/files/pkg-install.in | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile index b97ab57ab871..fbe9faa667a5 100644 --- a/mail/qmail/Makefile +++ b/mail/qmail/Makefile @@ -185,7 +185,7 @@ OPTIONS+= RELAYMAILFROM "Open relay based on mailfrom" off \ OPTIONS+= QEXTRA "enable QUEUE_EXTRA copy feature" off .if !defined(SLAVE_LDAP) -OPTIONS+= RCDLINK "create rc.d/qmail.sh" on +OPTIONS+= RCDLINK "create rc.d/qmail.sh symlink" on .endif ALL_TARGET+= default dot-qmail.5 qmail-control.5 qmail-getpw.8 \ diff --git a/mail/qmail/files/pkg-install.in b/mail/qmail/files/pkg-install.in index c99831c5c793..c6dd258e00d2 100644 --- a/mail/qmail/files/pkg-install.in +++ b/mail/qmail/files/pkg-install.in @@ -72,6 +72,12 @@ elif [ "$2" = "POST-INSTALL" ]; then %%RCDLINK%%ln -s ${PREFIX}/rc %%LOCALBASE%%/etc/rc.d/qmail.sh + %%RCDLINK%%echo "" + %%RCDLINK%%echo "A %%LOCALBASE%%/etc/rc.d/qmail.sh symlink was created. To enable qmail at boot" + %%RCDLINK%%echo "time you need to copy a script to %%PREFIX%%/rc. There are some examples at" + %%RCDLINK%%echo "%%PREFIX/boot" + %%RCDLINK%%echo "" + if ! touch ${PREFIX}/alias/.qmail-postmaster \ ${PREFIX}/alias/.qmail-root \ ${PREFIX}/alias/.qmail-mailer-daemon; then |