hunchentoot.asd
  1 ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
2
3 ;;; Copyright (c) 2004-2010, Dr. Edmund Weitz. All rights reserved.
4
5 ;;; Redistribution and use in source and binary forms, with or without
6 ;;; modification, are permitted provided that the following conditions
7 ;;; are met:
8
9 ;;; * Redistributions of source code must retain the above copyright
10 ;;; notice, this list of conditions and the following disclaimer.
11
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.
16
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.
28
29 (in-package :cl-user)
30
31 (defpackage :hunchentoot-asd
32 (:use :cl :asdf))
33
34 (in-package :hunchentoot-asd)
35
36 (defsystem :hunchentoot
37 :serial t
38 :version "1.2.38"
39 :description "Hunchentoot is a HTTP server based on USOCKET and
40 BORDEAUX-THREADS. It supports HTTP 1.1, serves static files, has a
41 simple framework for user-defined handlers and can be extended
42 through subclassing."
43 :license "BSD-2-Clause"
44 :depends-on (:chunga
45 :cl-base64
46 :cl-fad
47 :cl-ppcre
48 :flexi-streams
49 #-(or :lispworks :hunchentoot-no-ssl) :cl+ssl
50 :md5
51 :rfc2388
52 :trivial-backtrace
53 #-:lispworks :usocket
54 #-:lispworks :bordeaux-threads)
55 :components ((:module url-rewrite
56 :serial t
57 :components ((:file "packages")
58 (:file "specials")
59 (:file "primitives")
60 (:file "util")
61 (:file "url-rewrite")))
62 (:file "packages")
63 #+:lispworks (:file "lispworks")
64 #-:lispworks (:file "compat")
65 (:file "specials")
66 (:file "conditions")
67 (:file "mime-types")
68 (:file "util")
69 (:file "log")
70 (:file "cookie")
71 (:file "reply")
72 (:file "request")
73 (:file "session")
74 (:file "misc")
75 (:file "headers")
76 (:file "set-timeouts")
77 (:file "taskmaster")
78 (:file "acceptor")
79 #-:hunchentoot-no-ssl (:file "ssl")
80 (:file "easy-handlers")))
81
82 (defsystem :hunchentoot-test
83 :description "Self test functionality for the Hunchentoot HTTP server."
84 :components ((:module "test"
85 :serial t
86 :components ((:file "packages")
87 (:file "test-handlers")
88 (:file "script-engine")
89 (:file "script"))))
90 :depends-on (:hunchentoot :cl-who :cl-ppcre :drakma))
91
92 (defmethod perform ((o test-op) (c (eql (find-system 'hunchentoot))))
93 (load (merge-pathnames "run-test.lisp" (system-source-directory c))))
94
95 (defsystem :hunchentoot-dev
96 :description "Development tools for Hunchentoot development and releases"
97 :components ((:file "make-docstrings"))
98 :depends-on (:hunchentoot
99 :hunchentoot-test
100 :xpath
101 :cxml-stp
102 :swank))