boB Rudis 9 months ago
parent
commit
6806c7a250
No known key found for this signature in database
4 changed files with 11 additions and 10 deletions
  1. 1
    1
      .travis.yml
  2. 1
    1
      DESCRIPTION
  3. 1
    1
      README.Rmd
  4. 8
    7
      README.md

+ 1
- 1
.travis.yml View File

@@ -5,7 +5,7 @@ dist: xenial
5 5
 
6 6
 apt_packages:
7 7
   - libgetdns-dev
8
-  - libidn2-dev
8
+  - libidn2-0-dev
9 9
   - libunbound-dev
10 10
 
11 11
 addons:

+ 1
- 1
DESCRIPTION View File

@@ -10,7 +10,7 @@ Authors@R: c(
10 10
 Maintainer: Bob Rudis <bob@rud.is>
11 11
 Description: Something something 'DNS. Something something 'TLS'. 
12 12
     Something something 'getdns API/library'.
13
-SystemRequirements: C++11
13
+SystemRequirements: C++11l libgetdns v1.5.1 or higher
14 14
 URL: https://gitlab.com/hrbrmstr/clandnstine
15 15
 BugReports: https://gitlab.com/hrbrmstr/clandnstine/issues
16 16
 Encoding: UTF-8

+ 1
- 1
README.Rmd View File

@@ -30,7 +30,7 @@ Requires [`getdns`](https://getdnsapi.net/) to be installed and available for co
30 30
 
31 31
 You're going to need version 1.5.1 of `getdns` for this package to install.
32 32
 
33
-I've gotten this running on macOS and Ubuntu 16.04. For the latter I had to ensure `libidn2-dev` and
33
+I've gotten this running on macOS and Ubuntu 16.04. For the latter I had to ensure `libidn2-0-dev` and
34 34
 `libunbound-dev` were installed then had to grab the 1.5.1 tarball (e.g. `aria2c https://getdnsapi.net/releases/getdns-1-5-1/getdns-1.5.1.tar.gz`), extract it and `config`/`make`/`make install` (plus `ldconfig` after).
35 35
 
36 36
 ## TODO/WAT

+ 8
- 7
README.md View File

@@ -20,15 +20,16 @@ Requires [`getdns`](https://getdnsapi.net/) to be installed and
20 20
 available for compilation (no guard rails setup yet):
21 21
 
22 22
   - Use `brew install getdns` on macOS
23
-  - Install `libgetdns-dev` on debian/ubuntu
23
+  - Install `libgetdns-dev` or `libgetdns-devel` on debian/ubuntu
24
+    (version 1.5.1 or higher)
24 25
   - (Nothing to see here Windows folks stuck in a backwards ecosysem)
25 26
 
26 27
 You’re going to need version 1.5.1 of `getdns` for this package to
27 28
 install.
28 29
 
29 30
 I’ve gotten this running on macOS and Ubuntu 16.04. For the latter I had
30
-to ensure `libidn2-dev` and `libunbound-dev` were installed then had to
31
-grab the 1.5.1 tarball (e.g. `aria2c
31
+to ensure `libidn2-0-dev` and `libunbound-dev` were installed then had
32
+to grab the 1.5.1 tarball (e.g. `aria2c
32 33
 https://getdnsapi.net/releases/getdns-1-5-1/getdns-1.5.1.tar.gz`),
33 34
 extract it and `config`/`make`/`make install` (plus `ldconfig` after).
34 35
 
@@ -153,9 +154,9 @@ gdns_lib_version()
153 154
 ## [1] "2604:a880:800:10::6bc:2001" "104.236.112.222"
154 155
 
155 156
 (gdns_get_address(x, "yahoo.com"))
156
-##  [1] "2001:4998:58:1836::10" "2001:4998:c:1023::5"   "2001:4998:44:41d::4"   "2001:4998:c:1023::4"  
157
-##  [5] "2001:4998:44:41d::3"   "2001:4998:58:1836::11" "98.137.246.8"          "98.137.246.7"         
158
-##  [9] "98.138.219.232"        "98.138.219.231"        "72.30.35.9"            "72.30.35.10"
157
+##  [1] "2001:4998:c:1023::5"   "2001:4998:58:1836::11" "2001:4998:44:41d::3"   "2001:4998:44:41d::4"  
158
+##  [5] "2001:4998:c:1023::4"   "2001:4998:58:1836::10" "98.138.219.231"        "98.138.219.232"       
159
+##  [9] "98.137.246.8"          "72.30.35.9"            "72.30.35.10"           "98.137.246.7"
159 160
 
160 161
 (gdns_get_address(x, "yahoo.commmm"))
161 162
 ## character(0)
@@ -168,7 +169,7 @@ str(leno <- gdns_query(x, "lenovo.com", "txt"), 1)
168 169
 ## List of 5
169 170
 ##  $ answer_type   : int 800
170 171
 ##  $ canonical_name: chr "lenovo.com."
171
-##  $ replies_full  : int [1, 1:600] 14 77 129 128 0 1 0 8 0 0 ...
172
+##  $ replies_full  : int [1, 1:600] 135 135 129 128 0 1 0 8 0 0 ...
172 173
 ##  $ replies_tree  :'data.frame':  1 obs. of  7 variables:
173 174
 ##  $ status        : int 900
174 175
 

Loading…
Cancel
Save