Skip to content

Commit b8bdc8a

Browse files
authored
Merge pull request #83 from c-po/no-legacy
T6527: remove legacy Perl library components
2 parents 6f435de + 069bd35 commit b8bdc8a

23 files changed

+3
-3545
lines changed

Makefile.am

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
SUBDIRS = . perl_dmod
2-
3-
share_perl5dir = /opt/vyatta/share/perl5/Vyatta
41
completiondir = /etc/bash_completion.d
52
initddir = /etc/init.d
63
logrotatedir = /etc/logrotate.d
@@ -101,14 +98,6 @@ sbin_SCRIPTS += scripts/vyatta-log-commit.pl
10198
sbin_SCRIPTS += scripts/vyos-user-precommit-hooks.sh
10299
sbin_SCRIPTS += scripts/vyos-user-postcommit-hooks.sh
103100

104-
share_perl5_DATA = lib/Vyatta/Config.pm
105-
share_perl5_DATA += lib/Vyatta/File.pm
106-
share_perl5_DATA += lib/Vyatta/Misc.pm
107-
share_perl5_DATA += lib/Vyatta/ioctl.pm
108-
share_perl5_DATA += lib/Vyatta/Interface.pm
109-
share_perl5_DATA += lib/Vyatta/TypeChecker.pm
110-
share_perl5_DATA += lib/Vyatta/ConfigOutput.pm
111-
112101
default_DATA = etc/default/vyatta-cfg
113102
default_DATA += etc/default/vyatta-load-boot
114103

configure.ac

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ AM_CONDITIONAL([USE_UNIONFSFUSE], [test "$enable_unionfsfuse" != no])
4040

4141
AC_CONFIG_FILES(
4242
[Makefile]
43-
[perl_dmod/Makefile]
4443
[debian/vyatta-cfg.postinst])
4544

4645
AC_SUBST(NOSTRIP)

debian/control

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Priority: extra
44
Maintainer: VyOS Package Maintainers <[email protected]>
55
Build-Depends: debhelper (>= 10), autotools-dev, libglib2.0-dev,
66
libboost-filesystem-dev, libapt-pkg-dev, libtool, flex,
7-
bison, libperl-dev, autoconf, automake, pkg-config, cpio, dh-autoreconf
7+
bison, autoconf, automake, pkg-config, cpio, dh-autoreconf
88
Standards-Version: 3.9.1
99

1010
Package: vyatta-cfg
@@ -14,13 +14,12 @@ Depends: sed (>= 4.1.5),
1414
coreutils (>= 5.97-5.3),
1515
vyatta-bash | bash (>= 4.1),
1616
bsdutils (>=1:2.13),
17-
libsocket6-perl,
1817
libvyatta-cfg1 (>=${binary:Version}),
1918
unionfs-fuse,
2019
uuid-runtime,
2120
libboost-filesystem1.74.0,
2221
libapt-pkg4.12 | libapt-pkg5.0 | libapt-pkg6.0,
23-
${perl:Depends}, ${shlibs:Depends}
22+
${shlibs:Depends}
2423
Suggests: util-linux (>= 2.13-5),
2524
net-tools,
2625
ncurses-bin (>= 5.5-5),
@@ -30,9 +29,7 @@ Description: VyOS configuration system
3029

3130
Package: libvyatta-cfg1
3231
Architecture: any
33-
Depends: libsort-versions-perl,
34-
libfile-sync-perl,
35-
${perl:Depends}, ${shlibs:Depends}
32+
Depends: ${shlibs:Depends}
3633
Replaces: vyatta-cfg
3734
Description: vyatta-cfg back-end library
3835
Vyatta configuration back-end library (libvyatta-cfg).

debian/libvyatta-cfg1.install

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
usr/lib/*.so.*
2-
opt/vyatta/share/perl5

debian/rules

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ inst_opts := --sourcedir=debian/tmp
2525
autoreconf:
2626
autoreconf -f -i
2727

28-
override_dh_perl:
29-
rm -f debian/files
30-
dh_perl /opt/vyatta/share/perl5 /opt/vyatta/share/perl5/Vyatta
31-
3228
override_dh_gencontrol:
3329
rm -f debian/*/DEBIAN/conffiles
3430
if [ -f "../.VYOS_DEV_BUILD" ]; then \

0 commit comments

Comments
 (0)