diff options
author | Michael Scheidell <scheidell@FreeBSD.org> | 2012-02-27 23:07:12 +0000 |
---|---|---|
committer | Michael Scheidell <scheidell@FreeBSD.org> | 2012-02-27 23:07:12 +0000 |
commit | c8ff63f09c50081c707791ec68b83d8edebaf197 (patch) | |
tree | 356495698d0fb7f4cef3c0dbe8129e853f66b7ed /net/msend/files | |
parent | - Tarball re-roll (diff) |
- Unbreak on 9.0
- add rc script
- Pass maintainership to submitter
PR: ports/165380
Submitted by: Denis Generalov <gd@ramble.ru> (maintainer)
Approved by: gabor (mentor, implicit)
Diffstat (limited to 'net/msend/files')
-rw-r--r-- | net/msend/files/mesgd.in | 27 | ||||
-rw-r--r-- | net/msend/files/patch-common-h | 10 |
2 files changed, 37 insertions, 0 deletions
diff --git a/net/msend/files/mesgd.in b/net/msend/files/mesgd.in new file mode 100644 index 000000000000..a775cc2f01d3 --- /dev/null +++ b/net/msend/files/mesgd.in @@ -0,0 +1,27 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: mesgd +# REQUIRE: DAEMON +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable mesgd: +# +# mesgd_enable=(bool): Set it to "YES" to enable mesgd +# +# and add appropriate mesgd_flags. +# + +. /etc/rc.subr + +name="mesgd" +rcvar=mesgd_enable + +load_rc_config $name + +: ${mesgd_enable="NO"} + +command=%%PREFIX%%/sbin/${name} + +run_rc_command "$1" diff --git a/net/msend/files/patch-common-h b/net/msend/files/patch-common-h new file mode 100644 index 000000000000..2705ac0ed488 --- /dev/null +++ b/net/msend/files/patch-common-h @@ -0,0 +1,10 @@ +--- common.h.orig 1999-05-02 17:00:39.000000000 +0400 ++++ common.h 2012-02-22 02:20:34.000000000 +0400 +@@ -45,6 +45,7 @@ + + #ifdef USE_UTMPX + #include <utmpx.h> ++#define ut_name ut_user + #else + #include <utmp.h> + #endif |