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:
parent
c94ba61603
commit
b399e0595a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194588
@ -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
33
security/p5-Sudo/Makefile
Normal 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>
|
3
security/p5-Sudo/distinfo
Normal file
3
security/p5-Sudo/distinfo
Normal 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
|
10
security/p5-Sudo/pkg-descr
Normal file
10
security/p5-Sudo/pkg-descr
Normal 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
|
4
security/p5-Sudo/pkg-plist
Normal file
4
security/p5-Sudo/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user