Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2017 22:13:40 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r444790 - in head/devel/p5-Test-OpenLDAP: . files
Message-ID:  <201706302213.v5UMDevu047794@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Jun 30 22:13:40 2017
New Revision: 444790
URL: https://svnweb.freebsd.org/changeset/ports/444790

Log:
  Remove Perl core modules
  
  - While I'm here:
    - Add NO_ARCH
    - Sort PLIST
    - Regenerate patch file with makepatch:
  - Bump PORTREVISION for dependency change
  
  With hat:	perl

Modified:
  head/devel/p5-Test-OpenLDAP/Makefile
  head/devel/p5-Test-OpenLDAP/files/patch-OpenLDAP.pm
  head/devel/p5-Test-OpenLDAP/pkg-plist   (contents, props changed)

Modified: head/devel/p5-Test-OpenLDAP/Makefile
==============================================================================
--- head/devel/p5-Test-OpenLDAP/Makefile	Fri Jun 30 22:13:35 2017	(r444789)
+++ head/devel/p5-Test-OpenLDAP/Makefile	Fri Jun 30 22:13:40 2017	(r444790)
@@ -2,7 +2,7 @@
 
 PORTNAME=	Test-OpenLDAP
 PORTVERSION=	0.05
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -16,10 +16,10 @@ LICENSE_COMB=	dual
 RUN_DEPENDS=	\
 	p5-Data-UUID>0:devel/p5-Data-UUID \
 	p5-perl-ldap>0:net/p5-perl-ldap \
-	${LOCALBASE}/libexec/slapd:net/openldap${OPENLDAP_VER}-server \
-	p5-Net>0:net/p5-Net
+	${LOCALBASE}/libexec/slapd:net/openldap${OPENLDAP_VER}-server
 BUILD_DEPENDS=	${RUN_DEPENDS}
 
+NO_ARCH=	yes
 USES=		perl5
 USE_PERL5=	configure
 USE_OPENLDAP=	yes

Modified: head/devel/p5-Test-OpenLDAP/files/patch-OpenLDAP.pm
==============================================================================
--- head/devel/p5-Test-OpenLDAP/files/patch-OpenLDAP.pm	Fri Jun 30 22:13:35 2017	(r444789)
+++ head/devel/p5-Test-OpenLDAP/files/patch-OpenLDAP.pm	Fri Jun 30 22:13:40 2017	(r444790)
@@ -1,6 +1,6 @@
---- lib/Test/OpenLDAP.pm.orig	2013-03-13 19:05:02.000000000 +0900
-+++ lib/Test/OpenLDAP.pm	2014-05-23 00:01:21.347461487 +0900
-@@ -95,6 +95,8 @@
+--- lib/Test/OpenLDAP.pm.orig	2013-03-13 10:05:02 UTC
++++ lib/Test/OpenLDAP.pm
+@@ -95,6 +95,8 @@ sub new {
        File::Spec->catdir( $self->{slapd_d_directory}, 'cn=config' );
      $self->{cn_schema_directory} =
        File::Spec->catdir( $self->{cn_config_directory}, 'cn=schema' );
@@ -9,7 +9,7 @@
      $self->{cn_schema_ldif_path} =
        File::Spec->catfile( $self->{cn_config_directory}, 'cn=schema.ldif' );
      $self->{cn_schema_core_ldif_path} =
-@@ -123,6 +125,7 @@
+@@ -123,6 +125,7 @@ sub new {
      mkdir $self->{db_directory}, oct USER_READ_WRITE_EXECUTE_PERMISSIONS()
        or Carp::croak("Failed to mkdir $self->{db_directory}:$OS_ERROR");
      $self->_create_config_ldif();
@@ -17,7 +17,7 @@
      $self->_create_schema_ldif();
      $self->_create_schema_core_ldif();
      $self->{olc_database_for_config} = '{0}config';
-@@ -372,6 +375,34 @@
+@@ -372,6 +375,34 @@ __CONFIG_LDIF__
      return;
  }
  
@@ -52,7 +52,7 @@
  sub _create_schema_ldif {
      my ($self)      = @_;
      my $write_flags = Fcntl::O_WRONLY() | Fcntl::O_CREAT() | Fcntl::O_EXCL();
-@@ -1697,6 +1728,10 @@
+@@ -1697,6 +1728,10 @@ sub DESTROY {
        or Carp::croak(
          "Failed to unlink '$self->{olc_database_config_path}':$OS_ERROR");
      $self->_remove_cn_schema_directory();

Modified: head/devel/p5-Test-OpenLDAP/pkg-plist
==============================================================================
--- head/devel/p5-Test-OpenLDAP/pkg-plist	Fri Jun 30 22:13:35 2017	(r444789)
+++ head/devel/p5-Test-OpenLDAP/pkg-plist	Fri Jun 30 22:13:40 2017	(r444790)
@@ -1,2 +1,2 @@
-%%PERL5_MAN3%%/Test::OpenLDAP.3.gz
 %%SITE_PERL%%/Test/OpenLDAP.pm
+%%PERL5_MAN3%%/Test::OpenLDAP.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706302213.v5UMDevu047794>