Bug 169957 - [new port] security/p5-GnuPG - Perl module for interfacing with GnuPG
Summary: [new port] security/p5-GnuPG - Perl module for interfacing with GnuPG
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Carlo Strub
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 06:10 UTC by marcellocoutinho
Modified: 2012-07-20 20:33 UTC (History)
0 users

See Also:


Attachments
file.shar (2.01 KB, text/plain)
2012-07-18 06:10 UTC, marcellocoutinho
no flags Details
p5-GnuPG.shar (2.54 KB, application/x-shar)
2012-07-18 22:41 UTC, marcellocoutinho
no flags Details
p5-GnuPG.shar (2.44 KB, application/x-shar)
2012-07-19 22:20 UTC, marcellocoutinho
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description marcellocoutinho 2012-07-18 06:10:10 UTC
New Package security/p5-GnuPG - Perl module for interfacing with GnuPG

GnuPG - Perl module interface to the GNU Privacy Guard (v1.x.x series)

WWW:  http://search.cpan.org/dist/GnuPG/

This perl module is required for modsecurity rules update perl script.

Fix: Patch attached with submission follows:
Comment 1 Carlo Strub freebsd_committer freebsd_triage 2012-07-18 12:22:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cs

I'll take it.
Comment 2 Carlo Strub freebsd_committer freebsd_triage 2012-07-18 12:46:12 UTC
State Changed
From-To: open->feedback

My tinderbox returns the following pkg-plist errors: 

=== Checking filesystem state after all packages deleted 
================================================================ 
list of extra files and directories in / (not present on clean system but present after everything was deinstalled) 
286813       14 -r-xr-xr-x    1 root             wheel                6544 Jul 18 11:29 usr/local/bin/gpgmailtunl 
306822        3 drwxr-xr-x    3 root             wheel                   3 Jul 18 11:30 usr/local/lib/perl5 
286031        3 drwxr-xr-x    3 root             wheel                   3 Jul 18 11:29 usr/local/lib/perl5/site_perl 
286032        3 drwxr-xr-x    4 root             wheel                   4 Jul 18 11:30 usr/local/lib/perl5/site_perl/5.14.2 
286802        3 drwxr-xr-x    2 root             wheel                   2 Jul 18 11:30 usr/local/lib/perl5/site_perl/5.14.2/GnuPG 
286033       11 drwxr-xr-x    3 root             wheel                   3 Jul 18 11:30 usr/local/lib/perl5/site_perl/5.14.2/mach 
286034        3 drwxr-xr-x    3 root             wheel                   3 Jul 18 11:30 usr/local/lib/perl5/site_perl/5.14.2/mach/auto 
286814        3 drwxr-xr-x    2 root             wheel                   2 Jul 18 11:30 usr/local/lib/perl5/site_perl/5.14.2/mach/auto/GnuPG 
286810       16 -r--r--r--    1 root             wheel                7329 Jul 18 11:29 usr/local/man/man1/gpgmailtunl.1 
================================================================ 
build of /usr/ports/security/p5-GnuPG ended at Wed Jul 18 11:30:06 UTC 2012
Comment 3 marcellocoutinho 2012-07-18 15:45:40 UTC
I could fix man file on Makefile and usr/local/bin/gpgmailtunl on pkg-plist.
But how to remove dirs on pkg-plist?
Do I need a new sr to fix this? or just a followup like this?
Comment 4 Carlo Strub freebsd_committer freebsd_triage 2012-07-19 20:21:51 UTC
State Changed
From-To: feedback->open

Feedback received.
Comment 5 Carlo Strub freebsd_committer freebsd_triage 2012-07-19 21:02:37 UTC
State Changed
From-To: open->feedback

One more thing, before we can go: You have now hardcoded the version numbers in the pkg-plist file. This is not allowed. Please see how other p5 ports do it. Typically you should use something like %%SITE_PERL%% or %%PERL_ARCH%%. I could fix it for you, but I think its better if you learn it right now. You did a great job so far! Please check out the Porter's Handbook. It is full of helpful informations.
Comment 6 dfilter service freebsd_committer freebsd_triage 2012-07-20 20:29:05 UTC
Author: cs
Date: Fri Jul 20 19:28:54 2012
New Revision: 301236
URL: http://svn.freebsd.org/changeset/ports/301236

Log:
  GnuPG - Perl module interface to the GNU Privacy Guard (v1.x.x series)
  
  WWW:  http://search.cpan.org/dist/GnuPG/
  
  Marcello Coutinho
  
  PR:		ports/169957
  Submitted by:	Marcello Coutinho

Added:
  head/security/p5-GnuPG/
  head/security/p5-GnuPG/Makefile   (contents, props changed)
  head/security/p5-GnuPG/distinfo   (contents, props changed)
  head/security/p5-GnuPG/man-plist   (contents, props changed)
  head/security/p5-GnuPG/pkg-descr   (contents, props changed)
  head/security/p5-GnuPG/pkg-plist   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Fri Jul 20 18:35:12 2012	(r301235)
+++ head/security/Makefile	Fri Jul 20 19:28:54 2012	(r301236)
@@ -540,6 +540,7 @@
     SUBDIR += p5-Filter-Crypto
     SUBDIR += p5-GD-SecurityImage
     SUBDIR += p5-GSSAPI
+    SUBDIR += p5-GnuPG
     SUBDIR += p5-GnuPG-Interface
     SUBDIR += p5-HTML-Email-Obfuscate
     SUBDIR += p5-IO-Async-SSL

Added: head/security/p5-GnuPG/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/p5-GnuPG/Makefile	Fri Jul 20 19:28:54 2012	(r301236)
@@ -0,0 +1,26 @@
+# New ports collection makefile for:   p5-GnuPG
+# Date created:                                2012-07-17
+# Whom:                                        Marcello Coutinho
+#
+# $FreeBSD$
+#
+
+PORTNAME=	GnuPG
+PORTVERSION=	0.19
+CATEGORIES=	security perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	perl@FreeBSD.org
+COMMENT=	Perl module for interfacing with GnuPG
+
+LICENSE=	GPLv2
+
+PERL_CONFIGURE=	yes
+
+MAN3=	GnuPG.3 \
+	GnuPG::Tie.3
+
+MAN1=	gpgmailtunl.1
+
+.include <bsd.port.mk>

Added: head/security/p5-GnuPG/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/p5-GnuPG/distinfo	Fri Jul 20 19:28:54 2012	(r301236)
@@ -0,0 +1,2 @@
+SHA256 (GnuPG-0.19.tar.gz) = af53f2d3f63297e046676eae14a76296afdd2910e09723b6b113708622b7989b
+SIZE (GnuPG-0.19.tar.gz) = 32665

Added: head/security/p5-GnuPG/man-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/p5-GnuPG/man-plist	Fri Jul 20 19:28:54 2012	(r301236)
@@ -0,0 +1 @@
+	gpgmailtunl.1.gz \

Added: head/security/p5-GnuPG/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/p5-GnuPG/pkg-descr	Fri Jul 20 19:28:54 2012	(r301236)
@@ -0,0 +1,5 @@
+GnuPG - Perl module interface to the GNU Privacy Guard (v1.x.x series)
+
+WWW:  http://search.cpan.org/dist/GnuPG/
+
+Marcello Coutinho

Added: head/security/p5-GnuPG/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/p5-GnuPG/pkg-plist	Fri Jul 20 19:28:54 2012	(r301236)
@@ -0,0 +1,11 @@
+bin/gpgmailtunl
+%%SITE_PERL%%/GnuPG.pm
+%%SITE_PERL%%/GnuPG/Tie.pm
+%%SITE_PERL%%/GnuPG/Tie/ClearSign.pm
+%%SITE_PERL%%/GnuPG/Tie/Decrypt.pm
+%%SITE_PERL%%/GnuPG/Tie/Encrypt.pm
+%%SITE_PERL%%/GnuPG/Tie/Sign.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/GnuPG/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/GnuPG
+@dirrm %%SITE_PERL%%/GnuPG/Tie
+@dirrm %%SITE_PERL%%/GnuPG
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 7 Carlo Strub freebsd_committer freebsd_triage 2012-07-20 20:33:17 UTC
State Changed
From-To: feedback->closed

Committed and added committer to contributors list. Thank you very much.