Date: Wed, 16 Nov 2011 08:52:25 GMT From: Pavel Timofeev <timp87@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/162607: little correction for comms/smstools3 Message-ID: <201111160852.pAG8qPDX014196@red.freebsd.org> Resent-Message-ID: <201111160900.pAG90KxQ000802@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111160852.pAG8qPDX014196>