diff options
Diffstat (limited to 'network/opendkim/opendkim.SlackBuild')
-rw-r--r-- | network/opendkim/opendkim.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/network/opendkim/opendkim.SlackBuild b/network/opendkim/opendkim.SlackBuild index 3661a69da93ea..04625cc3deae1 100644 --- a/network/opendkim/opendkim.SlackBuild +++ b/network/opendkim/opendkim.SlackBuild @@ -143,10 +143,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a FEATURES INSTALL KNOWNBUGS LICENSE* README* RELEASE_NOTES* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -mkdir -p $PKG/var/run/opendkim -chown $USER:$GROUP $PKG/var/run/opendkim/ +mkdir -p $PKG/etc/rc.d install -m 0640 -D $PRGNAM/opendkim.conf.simple $PKG/etc/opendkim.conf.new -install -m 0755 -D $CWD/rc.opendkim $PKG/etc/rc.d/rc.opendkim.new +sed -e "s,@DKUSER@,$DKUSER,g" -e "s,@DKGROUP@,$DKGROUP,g" \ + $CWD/rc.opendkim > $PKG/etc/rc.d/rc.opendkim.new +chmod 0755 $PKG/etc/rc.d/rc.opendkim.new # Change KeyFile to match rc.opendkim sed -i 's|^KeyFile.*|KeyFile /etc/opendkim/keys/default.private|' $PKG/etc/opendkim.conf.new |