Skip to content

Commit

Permalink
mail/mailfromd: the port had been updated to version 8.14
Browse files Browse the repository at this point in the history
Also, fix `calloutd' startup script (it works under unprivileged
user and thus cannot write to /var/run directly) and reduce some
gratuitous differences between startup script templates.

Prodded by:	maintainer
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Sep 16, 2022
1 parent 161e244 commit c1e006f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion mail/mailfromd/Makefile
@@ -1,5 +1,5 @@
PORTNAME= mailfromd
PORTVERSION= 8.13
PORTVERSION= 8.14
CATEGORIES= mail
MASTER_SITES= http://download.gnu.org.ua/pub/release/${PORTNAME}/ \
http://download.gnu.org.ua/pub/alpha/${PORTNAME}/
Expand Down
6 changes: 3 additions & 3 deletions mail/mailfromd/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1641130380
SHA256 (mailfromd-8.13.tar.xz) = 3d578a7efae8477471daf57d41959cd94e5f6f59802578f6d2fc3c625f7b7585
SIZE (mailfromd-8.13.tar.xz) = 1163284
TIMESTAMP = 1660381483
SHA256 (mailfromd-8.14.tar.xz) = 428caf1f7356b7da3a7614f5f5f47f108bf94149ab1db8c0023f1593b837bd31
SIZE (mailfromd-8.14.tar.xz) = 1180996
5 changes: 3 additions & 2 deletions mail/mailfromd/files/calloutd.in
@@ -1,5 +1,5 @@
#!/bin/sh

#
# PROVIDE: calloutd
# REQUIRE: DAEMON
# BEFORE: mail
Expand All @@ -12,9 +12,10 @@ name="calloutd"
rcvar=calloutd_enable

: ${calloutd_enable="NO"}
: ${mailfromd_runpath="%%MFD_RUN_DIR%%"}

command="%%PREFIX%%/sbin/${name}"
pidfile="/var/run/${name}.pid"
pidfile="${mailfromd_runpath}/${name}.pid"

required_files="%%PREFIX%%/etc/mailfromd.conf"

Expand Down
8 changes: 4 additions & 4 deletions mail/mailfromd/files/mailfromd.in
@@ -1,5 +1,5 @@
#!/bin/sh

#
# PROVIDE: mailfromd
# REQUIRE: DAEMON
# BEFORE: mail
Expand All @@ -10,13 +10,13 @@

name="mailfromd"
rcvar=mailfromd_enable
command="%%PREFIX%%/sbin/${name}"

load_rc_config ${name}

: ${mailfromd_enable="NO"}
: ${mailfromd_flags}
: ${mailfromd_runpath="%%MFD_RUN_DIR%%"}

command="%%PREFIX%%/sbin/${name}"
pidfile="${mailfromd_runpath}/${name}.pid"

load_rc_config ${name}
run_rc_command "$1"

0 comments on commit c1e006f

Please sign in to comment.