Subversion Repositories vgwhois

Rev

Rev 11 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11 Rev 131
Line 25... Line 25...
25
#  - perl (used by vgwhois main program. used by 6to4 and Teredo subprogram) 
25
#  - perl (used by vgwhois main program. used by 6to4 and Teredo subprogram)
26
#  - libwww-perl (cpan LWP::Simple; used by vgwhois main program) 
26
#  - libwww-perl (cpan LWP::Simple; used by vgwhois main program)
27
#  - libnet-libidn-perl (cpan Net::LibIDN; used by vgwhois main program) 
27
#  - libnet-libidn-perl (cpan Net::LibIDN; used by vgwhois main program)
28
#  - (commented out) libencode-detect-perl (cpan Encode::Detect; used by vgwhois main program)
28
#  - (commented out) libencode-detect-perl (cpan Encode::Detect; used by vgwhois main program)
29
#  - curl (used by some parts of the vgwhois main program. used by pattern generator and subprograms) 
29
#  - curl (used by some parts of the vgwhois main program. used by pattern generator and subprograms)
30
#  - lynx-cur (used by some parts of the vgwhois main program)
30
#  - lynx (used by some parts of the vgwhois main program)
31
#  - libnet-ip-perl (cpan Net::IP; used for IPv6 interpretation by Teredo subprogram and vgwhois main program)
31
#  - libnet-ip-perl (cpan Net::IP; used for IPv6 interpretation by Teredo subprogram and vgwhois main program)
32
#  - libnet-dns-perl (cpan Net::DNS; used by Teredo subprogram)
32
#  - libnet-dns-perl (cpan Net::DNS; used by Teredo subprogram)
33
#  - libmath-bigint-gmp-perl (cpan Math::BigInt; used for IPv6 masking by vgwhois main program)
33
#  - libmath-bigint-gmp-perl (cpan Math::BigInt; used for IPv6 masking by vgwhois main program)
34
#  - php7.0-cli (used by subprograms and pattern-generator)
34
#  - php7.0-cli (used by subprograms and pattern-generator)
35
#
35
#
36
# Required for the maintenance tools
36
# Required for the maintenance tools
37
#  - php7.0-gmp (used by IPv6 pattern generator)
37
#  - php7.0-gmp (used by IPv6 pattern generator)
38
#  - netcat (used by the whois-ping maintainance program)
38
#  - netcat (used by the whois-ping maintainance program)
39
#  - php7.0-sqlite3 (used by the whois-ping maintainance program)
39
#  - php7.0-sqlite3 (used by the whois-ping maintainance program)
40
#
40
#
41
# TODO: how can be avoid the "php7.0" name? are there generic package names?
-
 
42
# TODO: How to make the installation of the packages fit to most distros?
41
# TODO: How to make the installation of the packages fit to most distros?
43
 
42
 
44
apt-get update
43
apt-get update
45
apt-get install perl libwww-perl libnet-libidn-perl curl lynx-cur libnet-ip-perl libnet-dns-perl libmath-bigint-gmp-perl php7.0-cli php7.0-gmp netcat php7.0-sqlite3
44
apt-get install perl libwww-perl libnet-libidn-perl curl lynx libnet-ip-perl \
-
 
45
                libnet-dns-perl libmath-bigint-gmp-perl php-cli php-gmp netcat \
-
 
46
                php-sqlite3 libmath-bigint-perl php-gmp
46
 
47
 
47
# --- STEP 2: "Install" symlinks
48
# --- STEP 2: "Install" symlinks
48
 
49
 
49
if [ -L /usr/bin/vgwhois ]; then
50
if [ -L /usr/bin/vgwhois ]; then
50
        rm /usr/bin/vgwhois
51
        rm /usr/bin/vgwhois