Unverified Commit 0f870c6e authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Remove support for XML HAFAS interfaces

parent 525724d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ Module::Build->new(
		'Class::Accessor' => '0.16',
		'DateTime'        => 0,
		'DateTime::Format::Strptime' => 0,
		'Digest::MD5'     => 0,
		'Getopt::Long'    => 0,
		'JSON'            => 0,
		'List::MoreUtils' => 0,
@@ -29,7 +30,6 @@ Module::Build->new(
		'LWP::UserAgent'  => 0,
		'LWP::Protocol::https' => 0,
		'POSIX'           => 0,
		'XML::LibXML'     => '1.70',
	},
	script_files => 'bin/',
	sign         => 1,
+2 −2
Original line number Diff line number Diff line
@@ -10,12 +10,12 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG APT_LISTCHANGES_FRONTEND=none

RUN apt-get update \
	&& apt-get -y --no-install-recommends install ca-certificates curl gcc libc6-dev libssl1.1 libssl-dev libxml2 libxml2-dev make zlib1g-dev \
	&& apt-get -y --no-install-recommends install ca-certificates curl gcc libc6-dev libssl1.1 libssl-dev make zlib1g-dev \
	&& cpanm -n --no-man-pages --installdeps . \
	&& perl Build.PL \
	&& perl Build \
	&& rm -rf ~/.cpanm \
	&& apt-get -y purge curl gcc libc6-dev libssl-dev libxml2-dev make zlib1g-dev \
	&& apt-get -y purge curl gcc libc6-dev libssl-dev make zlib1g-dev \
	&& apt-get -y autoremove \
	&& apt-get -y clean \
	&& rm -rf /var/cache/apt/* /var/lib/apt/lists/*
+0 −2
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@ interfaces, and can also be pointed to URLs not listed here.
* [Nahverkehrsverbund Schleswig-Holstein](https://nah.sh.hafas.de/bin/stboard.exe)
* [Nahverkehrsservice Sachsen-Anhalt](https://reiseauskunft.insa.de/bin/stboard.exe)
* [Nordhessischer VerkehrsVerbund](https://auskunft.nvv.de/auskunft/bin/jp/stboard.exe)
* [Rostocker Straßenbahn AG](https://fahrplan.rsag-online.de/hafas/stboard.exe)
* [Verkehrsverbund Berlin-Brandenburg](https://fahrinfo.vbb.de/bin/stboard.exe)
* [Verkehrsverbund Bremen/Niedersachsen](https://fahrplaner.vbn.de/hafas/stboard.exe)
* [Österreichische Bundesbahnen](https://fahrplan.oebb.at/bin/stboard.exe)
@@ -78,7 +77,6 @@ pkg-config and a C compiler) installed. You will also need the following
libraries with development headers:

* libssl
* libxml2
* zlib

Now, use a tool of your choice to install the module. Minimum working example:
+0 −2
Original line number Diff line number Diff line
@@ -350,8 +350,6 @@ None.

=item * LWP::UserAgent(3pm)

=item * XML::LibXML(3pm)

=back

=head1 BUGS AND LIMITATIONS
+1 −1
Original line number Diff line number Diff line
requires 'Class::Accessor';
requires 'DateTime';
requires 'DateTime::Format::Strptime';
requires 'Digest::MD5';
requires 'Getopt::Long';
requires 'JSON';
requires 'List::MoreUtils';
@@ -8,7 +9,6 @@ requires 'List::Util';
requires 'LWP::UserAgent';
requires 'LWP::Protocol::https';
requires 'POSIX';
requires 'XML::LibXML';

on test => sub {
	requires 'File::Slurp';
Loading