* [Buildroot] [PATCH] perl-db-file: remove this package
@ 2016-12-26 10:59 Francois Perrad
2016-12-26 13:31 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2016-12-26 10:59 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.
`depends on BR2_PACKAGE_PERL_DB_FILE` could be replaced by
`select BR2_PACKAGE_BERKELEYDB` and `depends on BR2_PACKAGE_PERL`.
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
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 ----------------------
4 files changed, 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/package/Config.in b/package/Config.in
index 9ed296f..f603301 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -577,7 +577,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] [PATCH] perl-db-file: remove this package
2016-12-26 10:59 [Buildroot] [PATCH] perl-db-file: remove this package Francois Perrad
@ 2016-12-26 13:31 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-12-26 13:31 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 26 Dec 2016 11:59:20 +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.
>
> `depends on BR2_PACKAGE_PERL_DB_FILE` could be replaced by
> `select BR2_PACKAGE_BERKELEYDB` and `depends on BR2_PACKAGE_PERL`.
>
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Thanks, but please add the relevant entry in Config.in.legacy.
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-26 13:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-26 10:59 [Buildroot] [PATCH] perl-db-file: remove this package Francois Perrad
2016-12-26 13:31 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox