mirror of https://github.com/getdnsapi/getdns.git
tweaks to clean up binary builds for RHEL/CentOS, added OSX PackageMaker files
This commit is contained in:
parent
db0c8e6060
commit
f38d51ed02
|
@ -127,10 +127,13 @@ $(distdir):
|
|||
mkdir -p $(distdir)/spec
|
||||
cp $(srcdir)/configure.ac $(distdir)
|
||||
cp $(srcdir)/configure $(distdir)
|
||||
cp $(srcdir)/README.md $(distdir)
|
||||
cp $(srcdir)/AUTHORS $(distdir)
|
||||
cp $(srcdir)/ChangeLog $(distdir)
|
||||
cp $(srcdir)/COPYING $(distdir)
|
||||
cp $(srcdir)/INSTALL $(distdir)
|
||||
cp $(srcdir)/LICENSE $(distdir)
|
||||
cp $(srcdir)/NEWS $(distdir)
|
||||
cp $(srcdir)/README.md $(distdir)
|
||||
cp $(srcdir)/Makefile.in $(distdir)
|
||||
cp $(srcdir)/install-sh $(distdir)
|
||||
cp $(srcdir)/config.sub $(distdir)
|
||||
|
|
37
README.md
37
README.md
|
@ -143,7 +143,42 @@ We intend to add MS-Windows, Android and other platforms to the releases as we h
|
|||
|
||||
##Build Reports
|
||||
|
||||
TBD
|
||||
|
||||
###CentOS/RHEL 6.5
|
||||
|
||||
We rely on the most excellent package manager fpm to build the linux packages which
|
||||
means that the packaging platform requires ruby 2.1.0. There are other ways to
|
||||
build the packages, this is simplythe one we chose to use.
|
||||
|
||||
```
|
||||
# cat /etc/redhat-release
|
||||
CentOS release 6.5 (Final)
|
||||
# uname -a
|
||||
Linux host-10-1-1-6 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
|
||||
# cd getdns-0.1.0
|
||||
# ./configure --prefix=/home/deploy/build
|
||||
# make; make install
|
||||
# cd /home/deploy/build
|
||||
# mv lib lib64
|
||||
# . /usr/local/rvm/config/alias
|
||||
# fpm -x "*.la" -a native -s dir -t rpm -n getdns -v 0.1.0 -d "unbound" -d "ldns" -d "libevent" -d "libidn" --prefix /usr --vendor "Verisign Inc., NLnet Labs" --license "BSD New" --url "http://www.getdnsapi.net" --description "Modern asynchronous API to the DNS" .
|
||||
```
|
||||
|
||||
###OSX
|
||||
|
||||
```
|
||||
# sw_vers
|
||||
ProductName: Mac OS X
|
||||
ProductVersion: 10.8.5
|
||||
BuildVersion: 12F45
|
||||
# cd getdns-0.1.0
|
||||
# ./configure --prefix=/home/deploy/build
|
||||
# make; make install
|
||||
# cd /home/deploy/build
|
||||
# mv lib lib64
|
||||
# . /usr/local/rvm/config/alias
|
||||
# fpm -x "*.la" -a native -s dir -t rpm -n getdns -v 0.1.0 -d "unbound" -d "ldns" -d "libevent" -d "libidn" --prefix /usr --vendor "Verisign Inc., NLnet Labs" --license "BSD New" --url "http://www.getdnsapi.net" --description "Modern asynchronous API to the DNS" .
|
||||
```
|
||||
|
||||
Contributors
|
||||
============
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<pkg-contents spec="1.12"><f n="include" o="root" g="wheel" p="16877" pt="/Users/gwiley/getdnsosx/export/include" m="false" t="file"><f n="getdns" o="root" g="wheel" p="16877"><f n="getdns.h" o="root" g="wheel" p="33188"/><f n="getdns_ext_libevent.h" o="root" g="wheel" p="33188"/><f n="getdns_extra.h" o="root" g="wheel" p="33188"/></f></f></pkg-contents>
|
|
@ -0,0 +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>
|
|
@ -0,0 +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>
|
|
@ -0,0 +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>
|
|
@ -0,0 +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>
|
|
@ -0,0 +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>
|
|
@ -0,0 +1,18 @@
|
|||
<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
|
||||
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
|
||||
{\colortbl;\red255\green255\blue255;}
|
||||
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
|
||||
|
||||
\f0\fs26 \cf0 getdns is a modern asynchronous DNS API intended to make all types of DNS information easily available as described by Paul Hoffman. \
|
||||
\
|
||||
This implementation is licensed under the New BSD License (BSD-new).\
|
||||
\
|
||||
The project page is at http://www.getdnsapi.net\
|
||||
\
|
||||
This binary distribution requires:\
|
||||
\
|
||||
libevent\
|
||||
libidn\
|
||||
libldns\
|
||||
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>
|
Loading…
Reference in New Issue