fixed install prefix problems for osx

This commit is contained in:
Glen Wiley 2014-04-02 09:19:56 -04:00
parent f2cce63b21
commit 892d904e5f
7 changed files with 20 additions and 8 deletions

View File

@ -184,7 +184,19 @@ build the packages, this is simplythe one we chose to use.
ProductVersion: 10.8.5 ProductVersion: 10.8.5
BuildVersion: 12F45 BuildVersion: 12F45
Built using PackageMaker. Built using PackageMaker, libevent2.
# ./configure --with-libevent --prefix=/Users/gwiley/getdnsosx/export
# make
# make install
edit/fix hardcoded paths in lib/*.la to reference /usr/local
update getdns.pmdoc to match release info
build package using PackageMaker
create dmg
#### Homebrew #### Homebrew

View File

@ -1 +1 @@
<pkgref spec="1.12" uuid="09533AB8-5081-4C20-B228-051BC89644B1"><config><identifier>verisigninc.com.getdnsApi.include.pkg</identifier><version>0.1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true">../getdnsosx/export/include</installFrom><installTo mod="true">/usr/local</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>requireAuthorization</mod><mod>installTo</mod><mod>extraFiles</mod><mod>identifier</mod><mod>parent</mod><mod>includeRoot</mod><mod>installTo.path</mod><mod>version</mod><mod>installFrom.isAbsoluteType</mod></config><contents><file-list>01include-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref> <pkgref spec="1.12" uuid="09533AB8-5081-4C20-B228-051BC89644B1"><config><identifier>verisigninc.com.getdnsApi.include.pkg</identifier><version>0.1.1</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true">../getdnsosx/export/include</installFrom><installTo mod="true" relocatable="true">/usr/local/include</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>version</mod><mod>installTo</mod><mod>installFrom.isAbsoluteType</mod><mod>relocatable</mod><mod>identifier</mod><mod>parent</mod><mod>includeRoot</mod><mod>installTo.path</mod><mod>requireAuthorization</mod><mod>extraFiles</mod></config><contents><file-list>01include-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref>

View File

@ -1 +1 @@
<pkg-contents spec="1.12"><f n="lib" o="root" g="wheel" p="16877" pt="/Users/gwiley/getdnsosx/export/lib" m="false" t="file"><f n="libgetdns-0.1.0.0.dylib" o="root" g="wheel" p="33261"/><f n="libgetdns.a" o="root" g="wheel" p="33188"/><f n="libgetdns.dylib" o="root" g="wheel" p="41453"/><f n="libgetdns.la" o="root" g="wheel" p="33188"/><f n="libgetdns_ext_event-0.1.0.0.dylib" o="root" g="wheel" p="33261"/><f n="libgetdns_ext_event.a" o="root" g="wheel" p="33188"/><f n="libgetdns_ext_event.dylib" o="root" g="wheel" p="41453"/><f n="libgetdns_ext_event.la" o="root" g="wheel" p="33188"/></f></pkg-contents> <pkg-contents spec="1.12"><f n="lib" o="root" g="wheel" p="16877" pt="/Users/gwiley/getdnsosx/export/lib" m="false" t="file"><f n="libgetdns-0.1.1.0.dylib" o="root" g="wheel" p="33261"/><f n="libgetdns.a" o="root" g="wheel" p="33188"/><f n="libgetdns.dylib" o="root" g="wheel" p="41453"/><f n="libgetdns.la" o="root" g="wheel" p="33188"/><f n="libgetdns_ext_event-0.1.1.0.dylib" o="root" g="wheel" p="33261"/><f n="libgetdns_ext_event.a" o="root" g="wheel" p="33188"/><f n="libgetdns_ext_event.dylib" o="root" g="wheel" p="41453"/><f n="libgetdns_ext_event.la" o="root" g="wheel" p="33188"/></f></pkg-contents>

View File

@ -1 +1 @@
<pkgref spec="1.12" uuid="FE53C8A7-F9E8-4B77-9634-6D2B93FF4242"><config><identifier>verisigninc.com.getdnsApi.lib.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom>/Users/gwiley/getdnsosx/export/lib</installFrom><installTo mod="true">/usr/local</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo</mod><mod>requireAuthorization</mod><mod>parent</mod><mod>version</mod><mod>installTo.path</mod><mod>extraFiles</mod><mod>identifier</mod></config><contents><file-list>02lib-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref> <pkgref spec="1.12" uuid="FE53C8A7-F9E8-4B77-9634-6D2B93FF4242"><config><identifier>verisigninc.com.getdnsApi.lib.pkg</identifier><version>1.1</version><description></description><post-install type="none"/><requireAuthorization/><installFrom>/Users/gwiley/getdnsosx/export/lib</installFrom><installTo mod="true" relocatable="true">/usr/local/lib</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo</mod><mod>relocatable</mod><mod>identifier</mod><mod>parent</mod><mod>version</mod><mod>installTo.path</mod><mod>extraFiles</mod><mod>requireAuthorization</mod></config><contents><file-list>02lib-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref>

View File

@ -1 +1 @@
<pkg-contents spec="1.12"><f n="share" o="root" g="wheel" p="16877" pt="/Users/gwiley/getdnsosx/export/share" m="false" t="file"><f n="doc" o="root" g="wheel" p="16877"><f n="getdns-0.1.0" o="root" g="wheel" p="16877"><f n="AUTHORS" o="root" g="wheel" p="33188"/><f n="ChangeLog" o="root" g="wheel" p="33188"/><f n="COPYING" o="root" g="wheel" p="33188"/><f n="INSTALL" o="root" g="wheel" p="33188"/><f n="LICENSE" o="root" g="wheel" p="33188"/><f n="NEWS" o="root" g="wheel" p="33188"/><f n="README.md" o="root" g="wheel" p="33188"/><f n="spec" o="root" g="wheel" p="16877"><f n="getdns-0.5.tgz" o="root" g="wheel" p="33188"/><f n="index.html" o="root" g="wheel" p="33188"/></f></f></f><f n="man" o="root" g="wheel" p="16877"><f n="man3" o="root" g="wheel" p="16877"><f n="getdns_address.3" o="root" g="wheel" p="33188"/><f n="getdns_address_sync.3" o="root" g="wheel" p="33188"/><f n="getdns_cancel_callback.3" o="root" g="wheel" p="33188"/><f n="getdns_context.3" o="root" g="wheel" p="33188"/><f n="getdns_context_create.3" o="root" g="wheel" p="33188"/><f n="getdns_context_create_with_extended_memory_functions.3" o="root" g="wheel" p="33188"/><f n="getdns_context_create_with_memory_functions.3" o="root" g="wheel" p="33188"/><f n="getdns_context_destroy.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_append_name.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_context_update_callback.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_dns_root_servers.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_dns_transport.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_follow_redirects.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_limit_outstanding_queries.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_namespaces.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_resolution_type.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_timeout.3" o="root" g="wheel" p="33188"/><f n="getdns_convert.3" o="root" g="wheel" p="33188"/><f n="getdns_convert_dns_name_to_fqdn.3" o="root" g="wheel" p="33188"/><f n="getdns_convert_fqdn_to_dns_name.3" o="root" g="wheel" p="33188"/><f n="getdns_dict.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_create.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_destroy.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_get.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_get_bindata.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_get_data_type.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_get_dict.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_get_int.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_get_list.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_get_names.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_set.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_set_bindata.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_set_dict.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_set_int.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_set_list.3" o="root" g="wheel" p="33188"/><f n="getdns_free_sync_request_memory.3" o="root" g="wheel" p="33188"/><f n="getdns_general.3" o="root" g="wheel" p="33188"/><f n="getdns_general_sync.3" o="root" g="wheel" p="33188"/><f n="getdns_hostname.3" o="root" g="wheel" p="33188"/><f n="getdns_hostname_sync.3" o="root" g="wheel" p="33188"/><f n="getdns_list.3" o="root" g="wheel" p="33188"/><f n="getdns_list_create.3" o="root" g="wheel" p="33188"/><f n="getdns_list_destroy.3" o="root" g="wheel" p="33188"/><f n="getdns_list_get.3" o="root" g="wheel" p="33188"/><f n="getdns_list_get_bindata.3" o="root" g="wheel" p="33188"/><f n="getdns_list_get_data_type.3" o="root" g="wheel" p="33188"/><f n="getdns_list_get_dict.3" o="root" g="wheel" p="33188"/><f n="getdns_list_get_int.3" o="root" g="wheel" p="33188"/><f n="getdns_list_get_length.3" o="root" g="wheel" p="33188"/><f n="getdns_list_get_list.3" o="root" g="wheel" p="33188"/><f n="getdns_list_set.3" o="root" g="wheel" p="33188"/><f n="getdns_list_set_bindata.3" o="root" g="wheel" p="33188"/><f n="getdns_list_set_dict.3" o="root" g="wheel" p="33188"/><f n="getdns_list_set_int.3" o="root" g="wheel" p="33188"/><f n="getdns_list_set_list.3" o="root" g="wheel" p="33188"/><f n="getdns_service.3" o="root" g="wheel" p="33188"/><f n="getdns_service_sync.3" o="root" g="wheel" p="33188"/><f n="libgetdns.3" o="root" g="wheel" p="33188"/></f></f></f></pkg-contents> <pkg-contents spec="1.12"><f n="share" o="root" g="wheel" p="16877" pt="/Users/gwiley/getdnsosx/export/share" m="false" t="file"><f n="doc" o="root" g="wheel" p="16877"><f n="getdns-0.1.1" o="root" g="wheel" p="16877"><f n="AUTHORS" o="root" g="wheel" p="33188"/><f n="ChangeLog" o="root" g="wheel" p="33188"/><f n="COPYING" o="root" g="wheel" p="33188"/><f n="INSTALL" o="root" g="wheel" p="33188"/><f n="LICENSE" o="root" g="wheel" p="33188"/><f n="NEWS" o="root" g="wheel" p="33188"/><f n="README.md" o="root" g="wheel" p="33188"/><f n="spec" o="root" g="wheel" p="16877"><f n="getdns-0.5.tgz" o="root" g="wheel" p="33188"/><f n="index.html" o="root" g="wheel" p="33188"/></f></f></f><f n="man" o="root" g="wheel" p="16877"><f n="man3" o="root" g="wheel" p="16877"><f n="getdns_address.3" o="root" g="wheel" p="33188"/><f n="getdns_address_sync.3" o="root" g="wheel" p="33188"/><f n="getdns_cancel_callback.3" o="root" g="wheel" p="33188"/><f n="getdns_context.3" o="root" g="wheel" p="33188"/><f n="getdns_context_create.3" o="root" g="wheel" p="33188"/><f n="getdns_context_create_with_extended_memory_functions.3" o="root" g="wheel" p="33188"/><f n="getdns_context_create_with_memory_functions.3" o="root" g="wheel" p="33188"/><f n="getdns_context_destroy.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_append_name.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_context_update_callback.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_dns_root_servers.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_dns_transport.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_follow_redirects.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_limit_outstanding_queries.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_namespaces.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_resolution_type.3" o="root" g="wheel" p="33188"/><f n="getdns_context_set_timeout.3" o="root" g="wheel" p="33188"/><f n="getdns_convert.3" o="root" g="wheel" p="33188"/><f n="getdns_convert_dns_name_to_fqdn.3" o="root" g="wheel" p="33188"/><f n="getdns_convert_fqdn_to_dns_name.3" o="root" g="wheel" p="33188"/><f n="getdns_dict.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_create.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_destroy.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_get.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_get_bindata.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_get_data_type.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_get_dict.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_get_int.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_get_list.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_get_names.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_set.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_set_bindata.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_set_dict.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_set_int.3" o="root" g="wheel" p="33188"/><f n="getdns_dict_set_list.3" o="root" g="wheel" p="33188"/><f n="getdns_free_sync_request_memory.3" o="root" g="wheel" p="33188"/><f n="getdns_general.3" o="root" g="wheel" p="33188"/><f n="getdns_general_sync.3" o="root" g="wheel" p="33188"/><f n="getdns_hostname.3" o="root" g="wheel" p="33188"/><f n="getdns_hostname_sync.3" o="root" g="wheel" p="33188"/><f n="getdns_list.3" o="root" g="wheel" p="33188"/><f n="getdns_list_create.3" o="root" g="wheel" p="33188"/><f n="getdns_list_destroy.3" o="root" g="wheel" p="33188"/><f n="getdns_list_get.3" o="root" g="wheel" p="33188"/><f n="getdns_list_get_bindata.3" o="root" g="wheel" p="33188"/><f n="getdns_list_get_data_type.3" o="root" g="wheel" p="33188"/><f n="getdns_list_get_dict.3" o="root" g="wheel" p="33188"/><f n="getdns_list_get_int.3" o="root" g="wheel" p="33188"/><f n="getdns_list_get_length.3" o="root" g="wheel" p="33188"/><f n="getdns_list_get_list.3" o="root" g="wheel" p="33188"/><f n="getdns_list_set.3" o="root" g="wheel" p="33188"/><f n="getdns_list_set_bindata.3" o="root" g="wheel" p="33188"/><f n="getdns_list_set_dict.3" o="root" g="wheel" p="33188"/><f n="getdns_list_set_int.3" o="root" g="wheel" p="33188"/><f n="getdns_list_set_list.3" o="root" g="wheel" p="33188"/><f n="getdns_service.3" o="root" g="wheel" p="33188"/><f n="getdns_service_sync.3" o="root" g="wheel" p="33188"/><f n="libgetdns.3" o="root" g="wheel" p="33188"/></f></f></f></pkg-contents>

View File

@ -1 +1 @@
<pkgref spec="1.12" uuid="48C4E6AC-5FE3-43BB-98FE-206052823135"><config><identifier>verisigninc.com.getdnsApi.share.pkg</identifier><version>0.1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom>/Users/gwiley/getdnsosx/export/share</installFrom><installTo mod="true">/usr/local</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo</mod><mod>identifier</mod><mod>requireAuthorization</mod><mod>parent</mod><mod>installTo.path</mod><mod>extraFiles</mod><mod>version</mod></config><contents><file-list>03share-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref> <pkgref spec="1.12" uuid="48C4E6AC-5FE3-43BB-98FE-206052823135"><config><identifier>verisigninc.com.getdnsApi.share.pkg</identifier><version>0.1.1</version><description></description><post-install type="none"/><requireAuthorization/><installFrom>/Users/gwiley/getdnsosx/export/share</installFrom><installTo mod="true" relocatable="true">/usr/local/share</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo</mod><mod>relocatable</mod><mod>identifier</mod><mod>parent</mod><mod>version</mod><mod>installTo.path</mod><mod>extraFiles</mod><mod>requireAuthorization</mod></config><contents><file-list>03share-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref>

View File

@ -1,4 +1,4 @@
<pkmkdoc spec="1.12"><properties><title>getdns API</title><build>/Users/gwiley/getdns-bin/getdns-0.1.0-OSX10_8.mpkg</build><organization>getdnsapi.net</organization><userSees ui="easy"/><min-target os="2"/><domain anywhere="true" system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><description>Modern API that provides asynchronous access to the modern features of the DNS. See http://getdnsapi.net for more details.</description><contents><choice title="include" id="choice0" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="verisigninc.com.getdnsApi.include.pkg"/></choice><choice title="lib" id="choice1" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="verisigninc.com.getdnsApi.lib.pkg"/></choice><choice title="share" id="choice2" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="verisigninc.com.getdnsApi.share.pkg"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource mod="true" type="license">/Users/gwiley/getdns/LICENSE</resource><resource mod="true" type="readme">/Users/gwiley/getdns/README.md</resource><resource mime-type="text/rtf" kind="embedded" type="welcome"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf400 <pkmkdoc spec="1.12"><properties><title>getdns API</title><build>/Users/gwiley/getdns-bin/getdns-0.1.1-OSX10_8.mpkg</build><organization>getdnsapi.net</organization><userSees ui="both"/><min-target os="2"/><domain anywhere="true" system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><description>Modern API that provides asynchronous access to the modern features of the DNS. See http://getdnsapi.net for more details.</description><contents><choice title="include" id="choice0" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="verisigninc.com.getdnsApi.include.pkg"/></choice><choice title="lib" id="choice1" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="verisigninc.com.getdnsApi.lib.pkg"/></choice><choice title="share" id="choice2" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="verisigninc.com.getdnsApi.share.pkg"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource mod="true" type="license">/Users/gwiley/getdns/LICENSE</resource><resource mod="true" type="readme">/Users/gwiley/getdns/README.md</resource><resource mime-type="text/rtf" kind="embedded" type="welcome"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf400
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} {\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
{\colortbl;\red255\green255\blue255;} {\colortbl;\red255\green255\blue255;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
@ -15,4 +15,4 @@ libevent\
libidn\ libidn\
libldns\ libldns\
libunbound\ libunbound\
}]]></resource></locale></resources><flags/><extra-files/><item type="file">01include.xml</item><item type="file">02lib.xml</item><item type="file">03share.xml</item><mod>extraFiles</mod><mod>properties.title</mod><mod>properties.customizeOption</mod><mod>description</mod><mod>properties.systemDomain</mod></pkmkdoc> }]]></resource></locale></resources><flags/><extra-files/><item type="file">01include.xml</item><item type="file">02lib.xml</item><item type="file">03share.xml</item><mod>properties.systemDomain</mod><mod>properties.title</mod><mod>properties.customizeOption</mod><mod>description</mod><mod>extraFiles</mod></pkmkdoc>