ports/162607: little correction for comms/smstools3

Pavel Timofeev timp87 at gmail.com
Wed Nov 16 09:00:21 UTC 2011


>Number:         162607
>Category:       ports
>Synopsis:       little correction for comms/smstools3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 16 09:00:20 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Pavel Timofeev
>Release:        FreeBSD 8.2 RELEASE i386
>Organization:
>Environment:
FreeBSD timbsd 8.2-RELEASE-p4 FreeBSD 8.2-RELEASE-p4 #0: Tue Nov  8 12:15:00 MSK 2011     mox at timbsd:/usr/obj/usr/src/sys/TIMBSD  i386
>Description:
Little correction for sendsms script, which is part of comms/smstools3.

Smsd works under uucp user. Let's use right user for sendsms script too.
Otherwise you'll see 
'Cannot handle /var/spool/sms/outgoing/send_ce7C75: Access denied'
>How-To-Repeat:

>Fix:
[root at timbsd /usr/ports/comms/smstools3]# diff -u Makefile.orig Makefile
--- Makefile.orig       2011-11-16 12:38:46.000000000 +0400
+++ Makefile    2011-11-16 12:41:51.000000000 +0400
@@ -61,6 +61,8 @@
                ${WRKSRC}/examples/smsd.conf.non-root
        @${REINPLACE_CMD} 's|/bin/bash|/bin/sh|g' \
                ${WRKSRC}/scripts/*
+       @${REINPLACE_CMD} 's|smsd_user="smsd"|smsd_user="uucp"|' \
+               ${WRKSRC}/scripts/sendsms

 post-install:
        @${MKDIR} ${DATADIR}

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list