Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable input prompts in GO, Net-SSLeay and MIME-Lite extensions of Perl-bundle-CPAN #22088

Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Disable optional questions for input during installation of go-db-perl
author: Alex Domingo (Vrije Universiteit Brussel)
--- Makefile.PL.orig 2024-12-21 00:41:02.514044000 +0100
+++ Makefile.PL 2024-12-21 00:42:23.509639000 +0100
@@ -173,28 +173,28 @@

my $default = $admin->dbhost || "localhost";
print "\nmysql server address [$default]:";
-my $svr = <STDIN>;
+my $svr = "";
chomp $svr;
if (!$svr) {$svr = $default}
$admin->dbhost($svr);

$default = $admin->dbname || "go";
print "\nname of readonly populated GO database[$default]:";
-my $db = <STDIN>;
+my $db = "";
chomp $db;
if (!$db) {$db = $default}
$admin->dbname($db);

$default = $admin->dbuser || "";
print "\nname of dbuser (optional)[$default]:";
-my $dbuser = <STDIN>;
+my $dbuser = "";
chomp $dbuser;
if (!$dbuser) {$dbuser = $default}
$admin->dbuser($dbuser);

$default = $admin->dbauth || "";
print "\ndb password (optional)[$default]:";
-my $dbauth = <STDIN>;
+my $dbauth = "";
chomp $dbauth;
if (!$dbauth) {$dbauth = $default}
$admin->dbauth($dbauth);
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Disable input prompts with fixed settings for installation of MIME-Lite
author: Alex Domingo (Vrije Universiteit Brussel)
--- Makefile.PL.orig 2024-12-21 11:29:33.708553000 +0100
--- Makefile.PL.orig 2024-12-21 16:34:19.324679196 +0100
+++ Makefile.PL 2024-12-21 16:34:58.365068363 +0100
@@ -33,10 +33,7 @@
(map {; "\t$_\n" } sort keys %extra_prereq),
"I can add these modules to the prereq list which will cause the files to be\n",
"automatically installed if they aren't already present\n";
-
- if (prompt("Add prereqs?",'Yes')=~/y/i) {
- %prereq = (%prereq, %extra_prereq);
- }
+ %prereq = (%prereq, %extra_prereq);
}

# Write the Makefile:
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Disable input prompts with fixed answers for installation of Net-SSLeay
author: Alex Domingo (Vrije Universiteit Brussel)
--- Makefile.PL.orig 2024-12-21 11:29:33.708553000 +0100
+++ Makefile.PL 2024-12-21 11:37:16.495964375 +0100
@@ -28,11 +28,7 @@
# the Net-SSLeay loadable object on Windows
my $win_link_statically = 0;

-my $tests = prompt(
- "Do you want to run external tests?\n".
- "These tests *will* *fail* if you do not have network connectivity.",
- 'n',
-) =~ /^y/i ? 't/*/*.t t/*/*/*.t' : 't/local/*.t t/handle/local/*.t';
+my $tests = 't/local/*.t t/handle/local/*.t';

my %eumm_args = (
NAME => 'Net::SSLeay',
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,11 @@ exts_list = [
'runtest': False, # Problem with indirect dependency DBD::Pg
'source_tmpl': 'go-db-perl-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/S/SJ/SJCARBON'],
'checksums': ['8eb73d591ad767e7cf26def40cffd84833875f1ad51e456960b9ed73dc23641b'],
'patches': ['GO-0.04_disable-input-prompts.patch'],
'checksums': [
{'go-db-perl-0.04.tar.gz': '8eb73d591ad767e7cf26def40cffd84833875f1ad51e456960b9ed73dc23641b'},
{'GO-0.04_disable-input-prompts.patch': 'ddebadcb93fa15c8cebb12e757efb868f15582efca339420c664bba8e57e1b96'},
],
}),
('Class::Trigger', '0.15', {
'source_tmpl': 'Class-Trigger-%(version)s.tar.gz',
Expand Down Expand Up @@ -673,13 +677,18 @@ exts_list = [
'checksums': ['aa12d1a4c0ac260b94d448fa01feba242a8a85cb6cbfdc66432e3b5b468add96'],
}),
('Net::SSLeay', '1.92', {
'patches': ['Net-SSLeay-1.92_fix.patch'],
'patches': [
'Net-SSLeay-1.92_fix-tests-rh9.patch',
'Net-SSLeay-1.92_disable-input-prompt.patch',
],
'preconfigopts': "export OPENSSL_PREFIX=$EBROOTOPENSSL && ",
'source_tmpl': 'Net-SSLeay-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/C/CH/CHRISN'],
'checksums': [
{'Net-SSLeay-1.92.tar.gz': '47c2f2b300f2e7162d71d699f633dd6a35b0625a00cbda8c50ac01144a9396a9'},
{'Net-SSLeay-1.92_fix.patch': '37790b10c5551bce92bc4bd7c98a92b0058fc16604272c7459a63096b52a8d1c'},
{'Net-SSLeay-1.92_fix-tests-rh9.patch': '37790b10c5551bce92bc4bd7c98a92b0058fc16604272c7459a63096b52a8d1c'},
{'Net-SSLeay-1.92_disable-input-prompt.patch':
'd8b5ae2ba4a6ab51097988d9023a975ccd425901410c9219b4a9ff1f9f73ab1f'},
],
}),
('IO::Socket::SSL', '2.083', {
Expand Down Expand Up @@ -949,9 +958,14 @@ exts_list = [
'checksums': ['432b7c83ff88749af128003f5257c573aec1a463418db90ed22843cbbc258b4f'],
}),
('MIME::Lite', '3.033', {
'patches': ['MIME-Lite-3.033_disable-input-prompt.patch'],
'source_tmpl': 'MIME-Lite-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'],
'checksums': ['78a279f1d2e242551c347ef97a13fc675766602cb84c2a80c569400f4f368bab'],
'checksums': [
{'MIME-Lite-3.033.tar.gz': '78a279f1d2e242551c347ef97a13fc675766602cb84c2a80c569400f4f368bab'},
{'MIME-Lite-3.033_disable-input-prompt.patch':
'2f12e771aab090a603dd26f0622cd14c94a693b049fd4069ff3f6a5d8ca9a6c8'},
],
}),
('Crypt::Rijndael', '1.16', {
'source_tmpl': 'Crypt-Rijndael-%(version)s.tar.gz',
Expand All @@ -970,6 +984,7 @@ exts_list = [
'checksums': ['a5c91c62cf95fcb868f60eab5c832908f6905221013fea2bce3ff57046d7b6ea'],
}),
('AnyEvent', '7.17', {
'preconfigopts': "export PERL_CANARY_STABILITY_NOPROMPT=1 && ",
'source_tmpl': 'AnyEvent-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN'],
'checksums': ['50beea689c098fe4aaeb83806c40b9fe7f946d5769acf99f849f099091a4b985'],
Expand Down Expand Up @@ -2056,22 +2071,6 @@ exts_list = [
'source_urls': ['https://cpan.metacpan.org/authors/id/W/WS/WSNYDER'],
'checksums': ['3973ebdc44682c9c15c776f66e8be242cb4ff1dd52caf43ff446b74d4dccca06'],
}),
('Sys::Info::Driver::Linux::Device::CPU', '0.7905', {
lexming marked this conversation as resolved.
Show resolved Hide resolved
'source_tmpl': 'Sys-Info-Driver-Linux-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/B/BU/BURAK'],
'patches': [
('Perl-bundle-5.36.1-debian-release.patch'),
('Perl-bundle-5.36.1-pod.patch'),
],
'checksums': [
{'Sys-Info-Driver-Linux-%(version)s.tar.gz':
'899c329bd3508ec5849ad0e5dadfa7c3679bbacaea9dda12404a7893032e8b7b'},
{'Perl-bundle-5.36.1-debian-release.patch':
'18b8d876db5b3abe7e5a1bb8c6abf8b5fef481b56294472fcf9f96f974c56c48'},
{'Perl-bundle-5.36.1-pod.patch':
'7c70bd91a06c256a8d85845e011e53a1a9d4f8a250d9f06bd06f5004596f271a'},
],
}),
('Sys::Info', '0.7811', {
'source_tmpl': 'Sys-Info-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/B/BU/BURAK'],
Expand Down Expand Up @@ -2125,7 +2124,7 @@ exts_list = [
('Perl-bundle-5.36.1-pod.patch'),
],
'checksums': [
{'Sys-Info-Driver-Linux-%(version)s.tar.gz':
{'Sys-Info-Driver-Linux-0.7905.tar.gz':
'899c329bd3508ec5849ad0e5dadfa7c3679bbacaea9dda12404a7893032e8b7b'},
{'Perl-bundle-5.36.1-debian-release.patch':
'18b8d876db5b3abe7e5a1bb8c6abf8b5fef481b56294472fcf9f96f974c56c48'},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,11 @@ exts_list = [
'runtest': False, # Problem with indirect dependency DBD::Pg
'source_tmpl': 'go-db-perl-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/S/SJ/SJCARBON'],
'checksums': ['8eb73d591ad767e7cf26def40cffd84833875f1ad51e456960b9ed73dc23641b'],
'patches': ['GO-0.04_disable-input-prompts.patch'],
'checksums': [
{'go-db-perl-0.04.tar.gz': '8eb73d591ad767e7cf26def40cffd84833875f1ad51e456960b9ed73dc23641b'},
{'GO-0.04_disable-input-prompts.patch': 'ddebadcb93fa15c8cebb12e757efb868f15582efca339420c664bba8e57e1b96'},
],
}),
('Class::Trigger', '0.15', {
'source_tmpl': 'Class-Trigger-%(version)s.tar.gz',
Expand Down Expand Up @@ -674,13 +678,18 @@ exts_list = [
'checksums': ['aa12d1a4c0ac260b94d448fa01feba242a8a85cb6cbfdc66432e3b5b468add96'],
}),
('Net::SSLeay', '1.92', {
'patches': ['Net-SSLeay-1.92_fix.patch'],
'patches': [
'Net-SSLeay-1.92_fix-tests-rh9.patch',
'Net-SSLeay-1.92_disable-input-prompt.patch',
],
'preconfigopts': "export OPENSSL_PREFIX=$EBROOTOPENSSL && ",
'source_tmpl': 'Net-SSLeay-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/C/CH/CHRISN'],
'checksums': [
{'Net-SSLeay-1.92.tar.gz': '47c2f2b300f2e7162d71d699f633dd6a35b0625a00cbda8c50ac01144a9396a9'},
{'Net-SSLeay-1.92_fix.patch': '37790b10c5551bce92bc4bd7c98a92b0058fc16604272c7459a63096b52a8d1c'},
{'Net-SSLeay-1.92_fix-tests-rh9.patch': '37790b10c5551bce92bc4bd7c98a92b0058fc16604272c7459a63096b52a8d1c'},
{'Net-SSLeay-1.92_disable-input-prompt.patch':
'd8b5ae2ba4a6ab51097988d9023a975ccd425901410c9219b4a9ff1f9f73ab1f'},
],
}),
('IO::Socket::SSL', '2.083', {
Expand Down Expand Up @@ -951,9 +960,14 @@ exts_list = [
'checksums': ['432b7c83ff88749af128003f5257c573aec1a463418db90ed22843cbbc258b4f'],
}),
('MIME::Lite', '3.033', {
'patches': ['MIME-Lite-3.033_disable-input-prompt.patch'],
'source_tmpl': 'MIME-Lite-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'],
'checksums': ['78a279f1d2e242551c347ef97a13fc675766602cb84c2a80c569400f4f368bab'],
'checksums': [
{'MIME-Lite-3.033.tar.gz': '78a279f1d2e242551c347ef97a13fc675766602cb84c2a80c569400f4f368bab'},
{'MIME-Lite-3.033_disable-input-prompt.patch':
'2f12e771aab090a603dd26f0622cd14c94a693b049fd4069ff3f6a5d8ca9a6c8'},
],
}),
('Crypt::Rijndael', '1.16', {
'source_tmpl': 'Crypt-Rijndael-%(version)s.tar.gz',
Expand All @@ -972,6 +986,7 @@ exts_list = [
'checksums': ['a5c91c62cf95fcb868f60eab5c832908f6905221013fea2bce3ff57046d7b6ea'],
}),
('AnyEvent', '7.17', {
'preconfigopts': "export PERL_CANARY_STABILITY_NOPROMPT=1 && ",
'source_tmpl': 'AnyEvent-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN'],
'checksums': ['50beea689c098fe4aaeb83806c40b9fe7f946d5769acf99f849f099091a4b985'],
Expand Down Expand Up @@ -2060,11 +2075,6 @@ exts_list = [
'source_urls': ['https://cpan.metacpan.org/authors/id/W/WS/WSNYDER'],
'checksums': ['3973ebdc44682c9c15c776f66e8be242cb4ff1dd52caf43ff446b74d4dccca06'],
}),
('Sys::Info::Driver::Linux::Device::CPU', '0.7905', {
'source_tmpl': 'Sys-Info-Driver-Linux-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/B/BU/BURAK'],
'checksums': ['899c329bd3508ec5849ad0e5dadfa7c3679bbacaea9dda12404a7893032e8b7b'],
}),
('Sys::Info', '0.7811', {
'source_tmpl': 'Sys-Info-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/B/BU/BURAK'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,11 @@ exts_list = [
'runtest': False, # Problem with indirect dependency DBD::Pg
'source_tmpl': 'go-db-perl-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/S/SJ/SJCARBON'],
'checksums': ['8eb73d591ad767e7cf26def40cffd84833875f1ad51e456960b9ed73dc23641b'],
'patches': ['GO-0.04_disable-input-prompts.patch'],
'checksums': [
{'go-db-perl-0.04.tar.gz': '8eb73d591ad767e7cf26def40cffd84833875f1ad51e456960b9ed73dc23641b'},
{'GO-0.04_disable-input-prompts.patch': 'ddebadcb93fa15c8cebb12e757efb868f15582efca339420c664bba8e57e1b96'},
],
}),
('Class::Trigger', '0.15', {
'source_tmpl': 'Class-Trigger-%(version)s.tar.gz',
Expand Down Expand Up @@ -684,10 +688,15 @@ exts_list = [
'checksums': ['aa12d1a4c0ac260b94d448fa01feba242a8a85cb6cbfdc66432e3b5b468add96'],
}),
('Net::SSLeay', '1.94', {
'patches': ['Net-SSLeay-1.92_disable-input-prompt.patch'],
'preconfigopts': "export OPENSSL_PREFIX=$EBROOTOPENSSL && ",
'source_tmpl': 'Net-SSLeay-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/C/CH/CHRISN'],
'checksums': ['9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d'],
'checksums': [
{'Net-SSLeay-1.94.tar.gz': '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d'},
{'Net-SSLeay-1.92_disable-input-prompt.patch':
'd8b5ae2ba4a6ab51097988d9023a975ccd425901410c9219b4a9ff1f9f73ab1f'},
],
}),
('IO::Socket::SSL', '2.087', {
'source_tmpl': 'IO-Socket-SSL-%(version)s.tar.gz',
Expand Down Expand Up @@ -957,9 +966,14 @@ exts_list = [
'checksums': ['432b7c83ff88749af128003f5257c573aec1a463418db90ed22843cbbc258b4f'],
}),
('MIME::Lite', '3.033', {
'patches': ['MIME-Lite-3.033_disable-input-prompt.patch'],
'source_tmpl': 'MIME-Lite-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'],
'checksums': ['78a279f1d2e242551c347ef97a13fc675766602cb84c2a80c569400f4f368bab'],
'checksums': [
{'MIME-Lite-3.033.tar.gz': '78a279f1d2e242551c347ef97a13fc675766602cb84c2a80c569400f4f368bab'},
{'MIME-Lite-3.033_disable-input-prompt.patch':
'2f12e771aab090a603dd26f0622cd14c94a693b049fd4069ff3f6a5d8ca9a6c8'},
],
}),
('Crypt::Rijndael', '1.16', {
'source_tmpl': 'Crypt-Rijndael-%(version)s.tar.gz',
Expand All @@ -978,6 +992,7 @@ exts_list = [
'checksums': ['a5c91c62cf95fcb868f60eab5c832908f6905221013fea2bce3ff57046d7b6ea'],
}),
('AnyEvent', '7.17', {
'preconfigopts': "export PERL_CANARY_STABILITY_NOPROMPT=1 && ",
'source_tmpl': 'AnyEvent-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN'],
'checksums': ['50beea689c098fe4aaeb83806c40b9fe7f946d5769acf99f849f099091a4b985'],
Expand Down Expand Up @@ -2070,11 +2085,6 @@ exts_list = [
'source_urls': ['https://cpan.metacpan.org/authors/id/W/WS/WSNYDER'],
'checksums': ['3973ebdc44682c9c15c776f66e8be242cb4ff1dd52caf43ff446b74d4dccca06'],
}),
('Sys::Info::Driver::Linux::Device::CPU', '0.7905', {
'source_tmpl': 'Sys-Info-Driver-Linux-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/B/BU/BURAK'],
'checksums': ['899c329bd3508ec5849ad0e5dadfa7c3679bbacaea9dda12404a7893032e8b7b'],
}),
('Sys::Info', '0.7811', {
'source_tmpl': 'Sys-Info-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/B/BU/BURAK'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,11 @@ exts_list = [
'runtest': False, # Problem with indirect dependency DBD::Pg
'source_tmpl': 'go-db-perl-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/S/SJ/SJCARBON'],
'checksums': ['8eb73d591ad767e7cf26def40cffd84833875f1ad51e456960b9ed73dc23641b'],
'patches': ['GO-0.04_disable-input-prompts.patch'],
'checksums': [
{'go-db-perl-0.04.tar.gz': '8eb73d591ad767e7cf26def40cffd84833875f1ad51e456960b9ed73dc23641b'},
{'GO-0.04_disable-input-prompts.patch': 'ddebadcb93fa15c8cebb12e757efb868f15582efca339420c664bba8e57e1b96'},
],
}),
('Class::Trigger', '0.15', {
'source_tmpl': 'Class-Trigger-%(version)s.tar.gz',
Expand Down Expand Up @@ -689,10 +693,15 @@ exts_list = [
'checksums': ['aa12d1a4c0ac260b94d448fa01feba242a8a85cb6cbfdc66432e3b5b468add96'],
}),
('Net::SSLeay', '1.94', {
'patches': ['Net-SSLeay-1.92_disable-input-prompt.patch'],
'preconfigopts': "export OPENSSL_PREFIX=$EBROOTOPENSSL && ",
'source_tmpl': 'Net-SSLeay-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/C/CH/CHRISN'],
'checksums': ['9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d'],
'checksums': [
{'Net-SSLeay-1.94.tar.gz': '9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d'},
{'Net-SSLeay-1.92_disable-input-prompt.patch':
'd8b5ae2ba4a6ab51097988d9023a975ccd425901410c9219b4a9ff1f9f73ab1f'},
],
}),
('IO::Socket::SSL', '2.089', {
'source_tmpl': 'IO-Socket-SSL-%(version)s.tar.gz',
Expand Down Expand Up @@ -967,9 +976,14 @@ exts_list = [
'checksums': ['432b7c83ff88749af128003f5257c573aec1a463418db90ed22843cbbc258b4f'],
}),
('MIME::Lite', '3.033', {
'patches': ['MIME-Lite-3.033_disable-input-prompt.patch'],
'source_tmpl': 'MIME-Lite-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'],
'checksums': ['78a279f1d2e242551c347ef97a13fc675766602cb84c2a80c569400f4f368bab'],
'checksums': [
{'MIME-Lite-3.033.tar.gz': '78a279f1d2e242551c347ef97a13fc675766602cb84c2a80c569400f4f368bab'},
{'MIME-Lite-3.033_disable-input-prompt.patch':
'2f12e771aab090a603dd26f0622cd14c94a693b049fd4069ff3f6a5d8ca9a6c8'},
],
}),
('Crypt::Rijndael', '1.16', {
'source_tmpl': 'Crypt-Rijndael-%(version)s.tar.gz',
Expand All @@ -988,6 +1002,7 @@ exts_list = [
'checksums': ['a5c91c62cf95fcb868f60eab5c832908f6905221013fea2bce3ff57046d7b6ea'],
}),
('AnyEvent', '7.17', {
'preconfigopts': "export PERL_CANARY_STABILITY_NOPROMPT=1 && ",
'source_tmpl': 'AnyEvent-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN'],
'checksums': ['50beea689c098fe4aaeb83806c40b9fe7f946d5769acf99f849f099091a4b985'],
Expand Down Expand Up @@ -2085,11 +2100,6 @@ exts_list = [
'source_urls': ['https://cpan.metacpan.org/authors/id/W/WS/WSNYDER'],
'checksums': ['3973ebdc44682c9c15c776f66e8be242cb4ff1dd52caf43ff446b74d4dccca06'],
}),
('Sys::Info::Driver::Linux::Device::CPU', '0.7905', {
'source_tmpl': 'Sys-Info-Driver-Linux-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/B/BU/BURAK'],
'checksums': ['899c329bd3508ec5849ad0e5dadfa7c3679bbacaea9dda12404a7893032e8b7b'],
}),
('Sys::Info', '0.7811', {
'source_tmpl': 'Sys-Info-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/B/BU/BURAK'],
Expand Down
Loading