Add p5-Sudo 0.31, perl extension for running a command line sudo.

PR:		ports/113056
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
This commit is contained in:
Cheng-Lung Sung 2007-07-02 01:00:27 +00:00
parent c94ba61603
commit b399e0595a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194588
5 changed files with 51 additions and 0 deletions

View File

@ -487,6 +487,7 @@
SUBDIR += p5-SAVI-Perl
SUBDIR += p5-SHA
SUBDIR += p5-Safe-Hole
SUBDIR += p5-Sudo
SUBDIR += p5-Text-Password-Pronounceable
SUBDIR += p5-Tie-EncryptedHash
SUBDIR += p5-Tree-Authz

33
security/p5-Sudo/Makefile Normal file
View File

@ -0,0 +1,33 @@
# New ports collection makefile for: p5-Sudo
# Date created: 2007-05-27
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= Sudo
PORTVERSION= 0.31
CATEGORIES= security perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/L/LA/LANDMAN
PKGNAMEPREFIX= p5-
MAINTAINER= gslin@gslin.org
COMMENT= Perl extension for running a command line sudo
RUN_DEPENDS= ${SITE_PERL}/Term/ReadPassword.pm:${PORTSDIR}/devel/p5-Term-ReadPassword \
${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor \
${SITE_PERL}/IPC/Run.pm:${PORTSDIR}/devel/p5-IPC-Run
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Sudo.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500801
IGNORE= requires Perl >= 5.8.1. Install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (Sudo-0.31.tar.gz) = 34474b59f70a266ca6060e0d3ffa6a9a
SHA256 (Sudo-0.31.tar.gz) = 8450e60999a17137c7d52a1d2fe72fd51b320345f861e26ea4f0aa530359b205
SIZE (Sudo-0.31.tar.gz) = 6822

View File

@ -0,0 +1,10 @@
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

View File

@ -0,0 +1,4 @@
@comment $FreeBSD$
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sudo/.packlist
%%SITE_PERL%%/Sudo.pm
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sudo