{"action":"closed","issue":{"url":"https://api.github.com/repos/maxmind/geoipupdate/issues/86","repository_url":"https://api.github.com/repos/maxmind/geoipupdate","labels_url":"https://api.github.com/repos/maxmind/geoipupdate/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/maxmind/geoipupdate/issues/86/comments","events_url":"https://api.github.com/repos/maxmind/geoipupdate/issues/86/events","html_url":"https://github.com/maxmind/geoipupdate/issues/86","id":284642980,"number":86,"title":"Inconsistent references to datadir/datarootdir","user":{"login":"paravoid","id":1330796,"avatar_url":"https://avatars3.githubusercontent.com/u/1330796?v=4","gravatar_id":"","url":"https://api.github.com/users/paravoid","html_url":"https://github.com/paravoid","followers_url":"https://api.github.com/users/paravoid/followers","following_url":"https://api.github.com/users/paravoid/following{/other_user}","gists_url":"https://api.github.com/users/paravoid/gists{/gist_id}","starred_url":"https://api.github.com/users/paravoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paravoid/subscriptions","organizations_url":"https://api.github.com/users/paravoid/orgs","repos_url":"https://api.github.com/users/paravoid/repos","events_url":"https://api.github.com/users/paravoid/events{/privacy}","received_events_url":"https://api.github.com/users/paravoid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-27T03:45:02Z","updated_at":"2018-02-22T17:47:08Z","closed_at":"2018-02-22T17:47:08Z","author_association":"NONE","body":"`bin/Makefile.am` and `man/Makefile.am` refer to `$(datadir)/GeoIP\"`, e.g.\r\n```\r\nAM_CPPFLAGS = -I$(top_srcdir)/src -DSYSCONFDIR=\\\"$(sysconfdir)\\\" -DDATADIR=\\\"$(datadir)/GeoIP\\\" \\\r\n                          -std=c99 -Wall -Wextra\r\n```\r\n\r\nbut `Makefile.am` uses `$(datarootdir)/GeoIP`:\r\n```\r\n$(MKDIR_P) \"$(DESTDIR)$(datarootdir)/GeoIP\"\r\n```\r\n\r\nThese two directories may or may not be the same, depending on autoconf defaults and `./configure` arguments. (FWIW, in the Debian package, I've been passing `--datadir=/var/lib` to configure, as I want the files to end up in `/var/lib/GeoIP` rather than somewhere /usr, which is for read-only data)"}}
{"actor":{"display_login":"horgh"}}