]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
windows README
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 19 Mar 2009 11:04:50 +0000 (11:04 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 19 Mar 2009 11:04:50 +0000 (11:04 +0000)
git-svn-id: file:///svn/unbound/trunk@1535 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
doc/README
makedist.sh
winrc/README.txt [new file with mode: 0644]
winrc/setup.nsi

index 4bacbcd74237162860ebf875150c2571981396af..3ed94921c4fe0e4e1d3b9ac0b9b4100e5a13c783 100644 (file)
@@ -1,3 +1,6 @@
+19 March 2009: Wouter
+       - winrc/README.txt dos-format text file.
+
 18 March 2009: Wouter
        - Added tests, unknown algorithms become insecure. fallback works.
        - Fix for and test for unknown algorithms in a trust anchor
index c62447b458854820e670bb32603b5376e33f9bb4..da84d47563fae762326c8751966f8c62f1d3b389 100644 (file)
@@ -72,8 +72,7 @@ o If libevent is older (before 1.3c), unbound will exit instead of reload
   on sighup. On a restart 'did not exit gracefully last time' warning is 
   printed. Perform ./configure --with-libevent=no or update libevent, rerun 
   configure and recompile unbound to make sighup work correctly.
-  It is strongly suggested to use the latest version of libevent (1.4 or more)
-  on Solaris, because of fixes in the solaris event port code in libevent.
+  It is strongly suggested to use a recent version of libevent.
 o If you are not receiving the correct source IP address on replies (e.g.
   you are running a multihomed, anycast server), the interface-automatic
   option can be enabled to set socket options to achieve the correct
index 056debd1dc553d3e03e2da04b083521d441cbfe9..445f78358252f7d1a436f72dab1575c4a47d1f22 100755 (executable)
@@ -191,9 +191,9 @@ if [ "$DOWIN" = "yes" ]; then
     strip unbound-service-remove.exe
     cd tmp.$$
     cp ../doc/example.conf example.conf
-    cp ../unbound.exe ../unbound-host.exe ../unbound-control.exe ../unbound-checkconf.exe ../unbound-service-install.exe ../unbound-service-remove.exe ../LICENSE ../winrc/unbound-website.url ../winrc/service.conf .
+    cp ../unbound.exe ../unbound-host.exe ../unbound-control.exe ../unbound-checkconf.exe ../unbound-service-install.exe ../unbound-service-remove.exe ../LICENSE ../winrc/unbound-website.url ../winrc/service.conf ../winrc/README.txt .
     # zipfile
-    zip ../$file LICENSE unbound.exe unbound-host.exe unbound-control.exe unbound-checkconf.exe unbound-service-install.exe unbound-service-remove.exe example.conf service.conf unbound-website.url
+    zip ../$file LICENSE README.txt unbound.exe unbound-host.exe unbound-control.exe unbound-checkconf.exe unbound-service-install.exe unbound-service-remove.exe example.conf service.conf unbound-website.url
     info "Testing $file"
     (cd .. ; zip -T $file )
     # installer
diff --git a/winrc/README.txt b/winrc/README.txt
new file mode 100644 (file)
index 0000000..1b7cb3e
--- /dev/null
@@ -0,0 +1,93 @@
+README for Unbound on Windows.\r
+\r
+(C) 2009, W.C.A. Wijngaards, NLnet Labs.\r
+\r
+See LICENSE for the license text file.\r
+\r
+\r
++++ Introduction\r
+\r
+Unbound is a recursive DNS server.  It does caching, full recursion, stub\r
+recursion, DNSSEC validation, NSEC3, IPv6.  More information can be found \r
+at the http://unbound.net site.  Unbound has been built and tested on \r
+Windows XP and Windows Vista.\r
+\r
+At http://unbound.net/documentation is an install and configuration manual\r
+for windows.\r
+\r
+email: unbound-bugs@nlnetlabs.nl\r
+\r
+\r
++++ How to use it\r
+\r
+In ControlPanels\SystemTasks\Services you can start/stop the daemon.\r
+In ControlPanels\SystemTasks\Logbooks you can see log entries (unless you\r
+configured unbound to log to file).\r
+\r
+By default the daemon provides service only to localhost.  See the manual\r
+on how to change that (you need to edit the config file).\r
+\r
+To change options, edit the service.conf file.  The example.conf file \r
+contains information on the various configuration options.  The config\r
+file is the same as on Unix.  The options log-time-ascii, chroot, username\r
+and pidfile are not supported on windows.\r
+\r
+\r
++++ How to compile\r
+\r
+Unbound is open source under the BSD license.  You can compile it yourself.\r
+\r
+1. Install MinGW and MSYS.  http://www.mingw.org\r
+This is a free, open source, compiler and build environment.\r
+Note, if your username contains a space, create a directory\r
+C:\msys\...\home\user to work in (click on MSYS; type: mkdir /home/user ).\r
+\r
+2. Install openssl, or compile it yourself.  http://www.openssl.org\r
+Ldns and unbound need the header files and libraries.  Static linking makes\r
+things easier.  This is an open source library for cryptographic functions.\r
+\r
+3. Compile LDNS\r
+Get the source code tarball  http://nlnetlabs.nl/ldns\r
+Move it into the C:\msys\...\home\user directory.\r
+Double click on the MSYS icon and give these commands\r
+$ cd /home/user\r
+$ tar xzvf ldns-xxx.tar.gz\r
+$ cd ldns-xxx\r
+$ ./configure\r
+If you compiled openssl yourself, pass --with-ssl=../openssl-xxx\r
+$ make\r
+\r
+4. Compile Unbound\r
+Get the source code tarball  http://unbound.net\r
+Move it into the C:\msys\...\home\user directory.\r
+Double click on the MSYS icon and give these commands\r
+$ cd /home/user\r
+$ tar xzvf unbound-xxx.tar.gz\r
+$ cd unbound-xxx\r
+$ ./configure --enable-static-exe --with-ldns=../ldns-xxx\r
+  "--with-conf-file=C:\Program Files\Unbound\service.conf"\r
+  --with-pidfile="" --with-chroot-dir=""\r
+Put the entire command on one line; it is paginated for display here.\r
+If you compiled openssl yourself, pass --with-ssl=../openssl-xxx too.\r
+You can set the defaults for the config file and working directory with \r
+options to configure (see ./configure -h).  Set chroot and pidfile to "".\r
+If you do not give these to configure you can edit the config file later.\r
+The configure options for libevent or threads are not applicable for \r
+windows, because builtin alternatives for the windows platform are used.\r
+$ make\r
+And you have unbound.exe\r
+\r
+If you run unbound-service-install.exe (double click in the explorer),\r
+unbound is installed as a service in the controlpanels\systemtasks\services,\r
+from the current directory. unbound-service-remove.exe uninstalls the service.\r
+\r
+Unbound and its utilities also work from the commandline (like on unix) if \r
+you prefer.\r
+\r
+\r
++++ CREDITS\r
+\r
+Unbound was written in portable C by Wouter Wijngaards (NLnet Labs).\r
+See the CREDITS file in the source package for more contributor information.\r
+Email unbound-bugs@nlnetlabs.nl\r
+\r
index deefaef6d197d251ecc35c10cd483a5f13ac2479..088454e9f9da58b83eb8841e2d78ec93b77ef7b6 100644 (file)
@@ -89,6 +89,7 @@ section "-hidden.postinstall"
        # copy files
        setOutPath $INSTDIR
        File "..\LICENSE"
+       File "README.txt"
        File "..\unbound.exe"
        File "..\unbound-checkconf.exe"
        File "..\unbound-control.exe"
@@ -169,6 +170,7 @@ section "un.Unbound"
        DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Unbound"
        Delete "$INSTDIR\uninst.exe"   # delete self
        Delete "$INSTDIR\LICENSE"
+       Delete "$INSTDIR\README.txt"
        Delete "$INSTDIR\unbound.exe"
        Delete "$INSTDIR\unbound-checkconf.exe"
        Delete "$INSTDIR\unbound-control.exe"