1.3.1
[hunchentoot.git] / hunchentoot.asd
blob1fb6ecbd665fa1f13aaef6b3b46e2e8ad18046b8
1 ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
3 ;;; Copyright (c) 2004-2010, Dr. Edmund Weitz.  All rights reserved.
5 ;;; Redistribution and use in source and binary forms, with or without
6 ;;; modification, are permitted provided that the following conditions
7 ;;; are met:
9 ;;;   * Redistributions of source code must retain the above copyright
10 ;;;     notice, this list of conditions and the following disclaimer.
12 ;;;   * Redistributions in binary form must reproduce the above
13 ;;;     copyright notice, this list of conditions and the following
14 ;;;     disclaimer in the documentation and/or other materials
15 ;;;     provided with the distribution.
17 ;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED
18 ;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 ;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 ;;; ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
21 ;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 ;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
23 ;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 ;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25 ;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
26 ;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27 ;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 (defsystem :hunchentoot
30   :serial t
31   :version "1.3.1"
32   :description "Hunchentoot is a HTTP server based on USOCKET and
33   BORDEAUX-THREADS.  It supports HTTP 1.1, serves static files, has a
34   simple framework for user-defined handlers and can be extended
35   through subclassing."
36   :license "BSD-2-Clause"
37   :depends-on (:chunga
38                :cl-base64
39                :cl-fad
40                :cl-ppcre
41                :flexi-streams
42                (:feature (:not (:or :lispworks :hunchentoot-no-ssl))
43                          :cl+ssl)
44                :md5
45                :alexandria
46                :rfc2388
47                :trivial-backtrace
48                (:feature (:not :lispworks) :usocket)
49                (:feature (:not :lispworks) :bordeaux-threads))
50   :components ((:module "url-rewrite"
51                 :serial t
52                 :components ((:file "packages")
53                              (:file "specials")
54                              (:file "primitives")
55                              (:file "util")
56                              (:file "url-rewrite")))
57                (:file "packages")
58                (:file "lispworks" :if-feature :lispworks)
59                (:file "compat" :if-feature (:not :lispworks))
60                (:file "specials")
61                (:file "conditions")
62                (:file "mime-types")
63                (:file "util")
64                (:file "log")
65                (:file "cookie")
66                (:file "reply")
67                (:file "request")
68                (:file "session")
69                (:file "misc")
70                (:file "headers")
71                (:file "set-timeouts")
72                (:file "taskmaster")
73                (:file "acceptor")
74                (:file "ssl" :if-feature (:not :hunchentoot-no-ssl))
75                (:file "easy-handlers"))
76   :perform (test-op (o c) (load (merge-pathnames "run-test.lisp" (system-source-directory c)))))
78 (defsystem :hunchentoot/test
79   :description "Self test functionality for the Hunchentoot HTTP server."
80   :components ((:module "test"
81                         :serial t
82                         :components ((:file "packages")
83                                      (:file "test-handlers")
84                                      (:file "script-engine")
85                                      (:file "script"))))
86   :depends-on (:hunchentoot :cl-who :cl-ppcre :drakma))
88 (defsystem :hunchentoot/dev
89   :description "Development tools for Hunchentoot development and releases"
90   :components ((:file "make-docstrings"))
91   :depends-on (:hunchentoot
92                :hunchentoot/test
93                :xpath
94                :cxml-stp
95                :swank))