From f38d51ed0209036235e8ec0ff17d325a5c45f53c Mon Sep 17 00:00:00 2001 From: Glen Wiley Date: Tue, 25 Feb 2014 18:35:54 -0500 Subject: [PATCH] tweaks to clean up binary builds for RHEL/CentOS, added OSX PackageMaker files --- Makefile.in | 5 +++- README.md | 37 ++++++++++++++++++++++++++++- getdns.pmdoc/01include-contents.xml | 1 + getdns.pmdoc/01include.xml | 1 + getdns.pmdoc/02lib-contents.xml | 1 + getdns.pmdoc/02lib.xml | 1 + getdns.pmdoc/03share-contents.xml | 1 + getdns.pmdoc/03share.xml | 1 + getdns.pmdoc/index.xml | 18 ++++++++++++++ 9 files changed, 64 insertions(+), 2 deletions(-) create mode 100644 getdns.pmdoc/01include-contents.xml create mode 100644 getdns.pmdoc/01include.xml create mode 100644 getdns.pmdoc/02lib-contents.xml create mode 100644 getdns.pmdoc/02lib.xml create mode 100644 getdns.pmdoc/03share-contents.xml create mode 100644 getdns.pmdoc/03share.xml create mode 100644 getdns.pmdoc/index.xml diff --git a/Makefile.in b/Makefile.in index ca919cbb..e49e6f5e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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) diff --git a/README.md b/README.md index 3de792f8..1fa3bc3b 100644 --- a/README.md +++ b/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 ============ diff --git a/getdns.pmdoc/01include-contents.xml b/getdns.pmdoc/01include-contents.xml new file mode 100644 index 00000000..29e0c8e3 --- /dev/null +++ b/getdns.pmdoc/01include-contents.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/getdns.pmdoc/01include.xml b/getdns.pmdoc/01include.xml new file mode 100644 index 00000000..a2c7992d --- /dev/null +++ b/getdns.pmdoc/01include.xml @@ -0,0 +1 @@ +verisigninc.com.getdnsApi.include.pkg0.1.0../getdnsosx/export/include/usr/localrequireAuthorizationinstallToextraFilesidentifierparentincludeRootinstallTo.pathversioninstallFrom.isAbsoluteType01include-contents.xml/CVS$/\.svn$/\.cvsignore$/\.cvspass$/\.DS_Store$ \ No newline at end of file diff --git a/getdns.pmdoc/02lib-contents.xml b/getdns.pmdoc/02lib-contents.xml new file mode 100644 index 00000000..55e2ec1b --- /dev/null +++ b/getdns.pmdoc/02lib-contents.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/getdns.pmdoc/02lib.xml b/getdns.pmdoc/02lib.xml new file mode 100644 index 00000000..6d6b4a30 --- /dev/null +++ b/getdns.pmdoc/02lib.xml @@ -0,0 +1 @@ +verisigninc.com.getdnsApi.lib.pkg1.0/Users/gwiley/getdnsosx/export/lib/usr/localinstallTorequireAuthorizationparentversioninstallTo.pathextraFilesidentifier02lib-contents.xml/CVS$/\.svn$/\.cvsignore$/\.cvspass$/\.DS_Store$ \ No newline at end of file diff --git a/getdns.pmdoc/03share-contents.xml b/getdns.pmdoc/03share-contents.xml new file mode 100644 index 00000000..4504eb15 --- /dev/null +++ b/getdns.pmdoc/03share-contents.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/getdns.pmdoc/03share.xml b/getdns.pmdoc/03share.xml new file mode 100644 index 00000000..51c375f2 --- /dev/null +++ b/getdns.pmdoc/03share.xml @@ -0,0 +1 @@ +verisigninc.com.getdnsApi.share.pkg0.1.0/Users/gwiley/getdnsosx/export/share/usr/localinstallToidentifierrequireAuthorizationparentinstallTo.pathextraFilesversion03share-contents.xml/CVS$/\.svn$/\.cvsignore$/\.cvspass$/\.DS_Store$ \ No newline at end of file diff --git a/getdns.pmdoc/index.xml b/getdns.pmdoc/index.xml new file mode 100644 index 00000000..c5df1577 --- /dev/null +++ b/getdns.pmdoc/index.xml @@ -0,0 +1,18 @@ +getdns API/Users/gwiley/getdns-bin/getdns-0.1.0-OSX10_8.mpkggetdnsapi.netModern API that provides asynchronous access to the modern features of the DNS. See http://getdnsapi.net for more details./Users/gwiley/getdns/LICENSE/Users/gwiley/getdns/README.md01include.xml02lib.xml03share.xmlextraFilesproperties.titleproperties.customizeOptiondescriptionproperties.systemDomain