* [Buildroot] [V2] perl-db-file: remove this package
@ 2016-12-26 14:50 Francois Perrad
2016-12-27 17:01 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2016-12-26 14:50 UTC (permalink / raw)
To: buildroot
The module DB_File (Berkeley DB wrapper) is a Perl core module.
Long time ago, its built as core module was broken.
Since perl-cross-1.0.2, this issue is fixed.
So, this package which build DB_File as CPAN module, becomes useless.
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
Config.in.legacy | 9 +++++++++
package/Config.in | 1 -
package/perl-db-file/Config.in | 11 -----------
package/perl-db-file/perl-db-file.hash | 3 ---
package/perl-db-file/perl-db-file.mk | 22 ----------------------
5 files changed, 9 insertions(+), 37 deletions(-)
delete mode 100644 package/perl-db-file/Config.in
delete mode 100644 package/perl-db-file/perl-db-file.hash
delete mode 100644 package/perl-db-file/perl-db-file.mk
diff --git a/Config.in.legacy b/Config.in.legacy
index cdadbd8..fcbf78e 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -145,6 +145,15 @@ endif
###############################################################################
comment "Legacy options removed in 2017.02"
+config BR2_PACKAGE_PERL_DB_FILE
+ bool "perl-db-file removed"
+ select BR2_LEGACY
+ select BR2_PACKAGE_BERKELEYDB
+ select BR2_PACKAGE_PERL
+ help
+ DB_File could be built with perl as core module,
+ so the package perl-db-file has been removed.
+
config BR2_KERNEL_HEADERS_4_7
bool "kernel headers version 4.7.x are no longer supported"
select BR2_KERNEL_HEADERS_4_4
diff --git a/package/Config.in b/package/Config.in
index 3a49167..42f0bff 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -579,7 +579,6 @@ menu "Perl libraries/modules"
source "package/perl-crypt-openssl-random/Config.in"
source "package/perl-crypt-openssl-rsa/Config.in"
source "package/perl-datetime-tiny/Config.in"
- source "package/perl-db-file/Config.in"
source "package/perl-digest-hmac/Config.in"
source "package/perl-digest-sha1/Config.in"
source "package/perl-encode-detect/Config.in"
diff --git a/package/perl-db-file/Config.in b/package/perl-db-file/Config.in
deleted file mode 100644
index f07e5df..0000000
--- a/package/perl-db-file/Config.in
+++ /dev/null
@@ -1,11 +0,0 @@
-config BR2_PACKAGE_PERL_DB_FILE
- bool "perl-db-file"
- depends on !BR2_STATIC_LIBS
- select BR2_PACKAGE_BERKELEYDB
- help
- Perl5 access to Berkeley DB version 1.x or 2.x.
-
- https://metacpan.org/release/DB_File
-
-comment "perl-db-file needs a toolchain w/ dynamic library"
- depends on BR2_STATIC_LIBS
diff --git a/package/perl-db-file/perl-db-file.hash b/package/perl-db-file/perl-db-file.hash
deleted file mode 100644
index df0113c..0000000
--- a/package/perl-db-file/perl-db-file.hash
+++ /dev/null
@@ -1,3 +0,0 @@
-# retrieved by scancpan from http://cpan.metacpan.org/
-md5 0ae7910cabc31a44e50b713a8a475514 DB_File-1.835.tar.gz
-sha256 41206f39a1bac49db8c1595e300b04c70e1393b2d78ccb9ef15c5c0b81037cfc DB_File-1.835.tar.gz
diff --git a/package/perl-db-file/perl-db-file.mk b/package/perl-db-file/perl-db-file.mk
deleted file mode 100644
index 3db8c56..0000000
--- a/package/perl-db-file/perl-db-file.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-################################################################################
-#
-# perl-db-file
-#
-################################################################################
-
-PERL_DB_FILE_VERSION = 1.835
-PERL_DB_FILE_SOURCE = DB_File-$(PERL_DB_FILE_VERSION).tar.gz
-PERL_DB_FILE_SITE = $(BR2_CPAN_MIRROR)/authors/id/P/PM/PMQS
-PERL_DB_FILE_DEPENDENCIES = berkeleydb
-PERL_DB_FILE_LICENSE = Artistic or GPLv1+
-PERL_DB_FILE_LICENSE_FILES = README
-
-define PERL_DB_FILE_FIX_CONFIG_IN
- $(SED) 's%^INCLUDE.*%INCLUDE = $(STAGING_DIR)/usr/include%' \
- $(@D)/config.in
- $(SED) 's%^LIB.*%LIB = $(STAGING_DIR)/usr/lib%' \
- $(@D)/config.in
-endef
-PERL_DB_FILE_POST_PATCH_HOOKS += PERL_DB_FILE_FIX_CONFIG_IN
-
-$(eval $(perl-package))
--
2.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [V2] perl-db-file: remove this package
2016-12-26 14:50 [Buildroot] [V2] perl-db-file: remove this package Francois Perrad
@ 2016-12-27 17:01 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-12-27 17:01 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 26 Dec 2016 15:50:35 +0100, Francois Perrad wrote:
> The module DB_File (Berkeley DB wrapper) is a Perl core module.
> Long time ago, its built as core module was broken.
> Since perl-cross-1.0.2, this issue is fixed.
> So, this package which build DB_File as CPAN module, becomes useless.
>
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
> Config.in.legacy | 9 +++++++++
> package/Config.in | 1 -
> package/perl-db-file/Config.in | 11 -----------
> package/perl-db-file/perl-db-file.hash | 3 ---
> package/perl-db-file/perl-db-file.mk | 22 ----------------------
> 5 files changed, 9 insertions(+), 37 deletions(-)
> delete mode 100644 package/perl-db-file/Config.in
> delete mode 100644 package/perl-db-file/perl-db-file.hash
> delete mode 100644 package/perl-db-file/perl-db-file.mk
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-27 17:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-26 14:50 [Buildroot] [V2] perl-db-file: remove this package Francois Perrad
2016-12-27 17:01 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.