diff -urN dovecot.orig/Portfile dovecot/Portfile
old
|
new
|
|
22 | 22 | } |
23 | 23 | variant rawlog { configure.args-append --with-rawlog } |
24 | 24 | variant ldap { configure.args-append --with-ldap } |
| 25 | |
| 26 | destroot { |
| 27 | xinstall -m 755 -d ${destroot}${prefix}/etc/rc.d |
| 28 | xinstall -m 755 -c ${portpath}/files/dovecot.sh ${destroot}${prefix}/etc/rc.d |
| 29 | reinplace "s|__PREFIX|${prefix}|g" \ |
| 30 | ${destroot}${prefix}/etc/rc.d/dovecot.sh |
| 31 | } |
diff -urN dovecot.orig/files/dovecot.sh dovecot/files/dovecot.sh
old
|
new
|
|
| 1 | #!/bin/sh |
| 2 | |
| 3 | case "$1" in |
| 4 | |
| 5 | start) |
| 6 | __PREFIX/sbin/dovecot start |
| 7 | ;; |
| 8 | |
| 9 | restart) |
| 10 | __PREFIX/sbin/dovecot reload |
| 11 | ;; |
| 12 | |
| 13 | stop) |
| 14 | __PREFIX/sbin/dovecot stop |
| 15 | ;; |
| 16 | |
| 17 | esac |