Date: Sun, 27 May 2007 20:31:49 +0800 (CST) From: Gea-Suan Lin <gslin@gslin.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gslin@gslin.org Subject: ports/113056: [NEW PORT] security/p5-Sudo: Perl extension for running a command line sudo Message-ID: <20070527123149.569681061@netnews.NCTU.edu.tw> Resent-Message-ID: <200705271240.l4RCe2J9002839@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 113056 >Category: ports >Synopsis: [NEW PORT] security/p5-Sudo: Perl extension for running a command line sudo >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 27 12:40:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 6.2-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD netnews.NCTU.edu.tw 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Sat Apr 28 00:53:10 CST 2007 >Description: Sudo runs commands as another user, provided the system sudo implementation is setup to enable this. This does not allow running applications securely, simply it allows the programmer to run a program as another user (suid) using the sudo tools rather than suidperl. Suidperl is not generally recommended for secure operation as another user. While sudo itself is a single point tool to enable one user to execute commands as another sudo does not itself make you any more or less secure. WWW: http://search.cpan.org/dist/Sudo Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-Sudo-0.31.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Sudo # p5-Sudo/pkg-descr # p5-Sudo/Makefile # p5-Sudo/pkg-plist # p5-Sudo/distinfo # echo c - p5-Sudo mkdir -p p5-Sudo > /dev/null 2>&1 echo x - p5-Sudo/pkg-descr sed 's/^X//' >p5-Sudo/pkg-descr << 'END-of-p5-Sudo/pkg-descr' XSudo runs commands as another user, provided the system sudo Ximplementation is setup to enable this. This does not allow running Xapplications securely, simply it allows the programmer to run a Xprogram as another user (suid) using the sudo tools rather than Xsuidperl. Suidperl is not generally recommended for secure operation Xas another user. While sudo itself is a single point tool to enable Xone user to execute commands as another sudo does not itself make you Xany more or less secure. X XWWW: http://search.cpan.org/dist/Sudo END-of-p5-Sudo/pkg-descr echo x - p5-Sudo/Makefile sed 's/^X//' >p5-Sudo/Makefile << 'END-of-p5-Sudo/Makefile' X# New ports collection makefile for: p5-Sudo X# Date created: 2007-05-27 X# Whom: Gea-Suan Lin <gslin@gslin.org> X# X# $FreeBSD$ X# X XPORTNAME= Sudo XPORTVERSION= 0.31 XCATEGORIES= security perl5 XMASTER_SITES= CPAN XMASTER_SITE_SUBDIR= ../../authors/id/L/LA/LANDMAN XPKGNAMEPREFIX= p5- X XMAINTAINER= gslin@gslin.org XCOMMENT= Perl extension for running a command line sudo X XPERL_CONFIGURE= yes X XRUN_DEPENDS= ${SITE_PERL}/Term/ReadPassword.pm:${PORTSDIR}/devel/p5-Term-ReadPassword \ X ${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor \ X ${SITE_PERL}/IPC/Run.pm:${PORTSDIR}/devel/p5-IPC-Run XBUILD_DEPENDS= ${RUN_DEPENDS} X XMAN3= Sudo.3 X X.include <bsd.port.pre.mk> X X.if ${PERL_LEVEL} < 500801 XIGNORE= requires Perl >= 5.8.1. Install lang/perl5.8 and try again X.endif X X.include <bsd.port.post.mk> END-of-p5-Sudo/Makefile echo x - p5-Sudo/pkg-plist sed 's/^X//' >p5-Sudo/pkg-plist << 'END-of-p5-Sudo/pkg-plist' X@comment $FreeBSD$ X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sudo/.packlist X%%SITE_PERL%%/Sudo.pm X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sudo END-of-p5-Sudo/pkg-plist echo x - p5-Sudo/distinfo sed 's/^X//' >p5-Sudo/distinfo << 'END-of-p5-Sudo/distinfo' XMD5 (Sudo-0.31.tar.gz) = 34474b59f70a266ca6060e0d3ffa6a9a XSHA256 (Sudo-0.31.tar.gz) = 8450e60999a17137c7d52a1d2fe72fd51b320345f861e26ea4f0aa530359b205 XSIZE (Sudo-0.31.tar.gz) = 6822 END-of-p5-Sudo/distinfo exit --- p5-Sudo-0.31.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070527123149.569681061>