svn commit: r444790 - in head/devel/p5-Test-OpenLDAP: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Jun 30 22:13:41 UTC 2017
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
More information about the svn-ports-all
mailing list