wok diff ssmtp/receipt @ rev 21706
updated prosody (0.9.4 -> 0.11.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 06 17:46:50 2019 +0100 (2019-06-06) |
parents | 9e01bc6321ea |
children | b78e79c31b1f |
line diff
1.1 --- a/ssmtp/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/ssmtp/receipt Thu Jun 06 17:46:50 2019 +0100 1.3 @@ -17,42 +17,39 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 - sed -i 's|@LIBS@|& -lcrypto|' Makefile.in 1.9 - ./configure --prefix=/usr \ 1.10 - --sysconfdir=/etc \ 1.11 - --mandir=/usr/share/man \ 1.12 - --enable-md5auth \ 1.13 - --enable-ssl \ 1.14 - $CONFIGURE_ARGS && 1.15 - make && 1.16 + sed -i 's|@LIBS@|& -lcrypto|' Makefile.in 1.17 + ./configure --prefix=/usr \ 1.18 + --sysconfdir=/etc \ 1.19 + --mandir=/usr/share/man \ 1.20 + --enable-md5auth \ 1.21 + --enable-ssl \ 1.22 + $CONFIGURE_ARGS && 1.23 + make 1.24 1.25 - # Install 1.26 - mkdir -p $DESTDIR/usr/sbin $DESTDIR/etc/ssmtp 1.27 - cp ssmtp $DESTDIR/usr/sbin 1.28 - cp revaliases ssmtp.conf $DESTDIR/etc/ssmtp 1.29 + # Install 1.30 + mkdir -p $DESTDIR/usr/sbin $DESTDIR/etc/ssmtp 1.31 + cp ssmtp $DESTDIR/usr/sbin 1.32 + cp revaliases ssmtp.conf $DESTDIR/etc/ssmtp 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg. 1.36 genpkg_rules() 1.37 { 1.38 - mkdir -p $fs/usr 1.39 - cp -a $install/usr/sbin/ $fs/usr/ 1.40 - cp -a $install/etc/ $fs/ 1.41 + mkdir -p $fs/usr 1.42 + cp -a $install/usr/sbin/ $fs/usr/ 1.43 + cp -a $install/etc/ $fs/ 1.44 } 1.45 1.46 -post_install() 1.47 +post_install() 1.48 { 1.49 - echo "Processing post-install commands..." 1.50 - ln -sf /usr/sbin/ssmtp "$1/usr/sbin/sendmail" 1.51 - ln -sf /usr/sbin/ssmtp "$1/usr/sbin/newaliases" 1.52 - ln -sf /usr/sbin/ssmtp "$1/usr/sbin/mailq" 1.53 + ln -sf /usr/sbin/ssmtp "$1/usr/sbin/sendmail" 1.54 + ln -sf /usr/sbin/ssmtp "$1/usr/sbin/newaliases" 1.55 + ln -sf /usr/sbin/ssmtp "$1/usr/sbin/mailq" 1.56 } 1.57 1.58 -post_remove() 1.59 +post_remove() 1.60 { 1.61 - echo "Processing post-remove commands..." 1.62 - rm -f "$1/usr/sbin/sendmail" 1.63 - rm -f "$1/usr/sbin/newaliases" 1.64 - rm -f "$1/usr/sbin/mailq" 1.65 + rm -f "$1/usr/sbin/sendmail" 1.66 + rm -f "$1/usr/sbin/newaliases" 1.67 + rm -f "$1/usr/sbin/mailq" 1.68 }