Permalink
Browse files

(fixes #22) separated contribs into each systems.

  • Loading branch information...
fukamachi committed Sep 6, 2011
1 parent ddc86aa commit 402e6a77787bc2aa2f1c197ef961a32652640174
Showing with 145 additions and 21 deletions.
  1. +0 −5 clack-test.asd
  2. +29 −0 clack.app.route.asd
  3. +2 −16 clack.asd
  4. +28 −0 clack.middleware.clsql.asd
  5. +28 −0 clack.middleware.csrf.asd
  6. +30 −0 clack.middleware.oauth.asd
  7. +28 −0 clack.middleware.rucksack.asd
View
@@ -40,11 +40,6 @@
(:file "middleware/static")
(:file "middleware/session")
(:file "middleware/logger")))
- (:module "contrib"
- :components
- ((:module "middleware"
- :components
- ((:file "csrf")))))
(:module "util"
:components
((:file "route")))))))
View
@@ -0,0 +1,29 @@
+#|
+ This file is a part of Clack package.
+ URL: http://github.com/fukamachi/clack
+ Copyright (c) 2011 Eitarow Fukamachi <e.arrows@gmail.com>
+
+ Clack is freely distributable under the LLGPL License.
+|#
+
+#|
+ Clack.App.Route - URL dispatcher.
+
+ Author: Eitarow Fukamachi (e.arrows@gmail.com)
+|#
+
+(in-package :cl-user)
+(defpackage :clack.app.route-asd
+ (:use :cl :asdf))
+(in-package :clack.app.route-asd)
+
+(defsystem clack.app.route
+ :version "11.09"
+ :author "Eitarow Fukamachi"
+ :license "LLGPL"
+ :depends-on (:clack
+ :cl-annot
+ :cl-ppcre
+ :alexandria)
+ :components ((:file "src/contrib/app/route"))
+ :description "URL dispatcher")
View
@@ -30,6 +30,7 @@
:arnesi
:split-sequence
:cl-annot
+ :closer-mop
;; Server
:hunchentoot
#+(or allegro cmu lispworks sbcl)
@@ -38,13 +39,10 @@
:cl-ppcre
:cl-fad
:cl-test-more
- :cl-oauth
:ironclad
:cl-base64
:drakma
- :local-time
- :clsql
- :rucksack)
+ :local-time)
:components ((:module "src"
:components
((:module "core"
@@ -98,18 +96,6 @@
(:file "store")
(:file "session")))
(:file "auth/basic")))))
- (:module "contrib"
- :depends-on ("util" "core")
- :components
- ((:module "app"
- :components
- ((:file "route")))
- (:module "middleware"
- :components
- ((:file "oauth")
- (:file "clsql")
- (:file "rucksack")
- (:file "csrf")))))
(:module "util"
:serial t
:components
View
@@ -0,0 +1,28 @@
+#|
+ This file is a part of Clack package.
+ URL: http://github.com/fukamachi/clack
+ Copyright (c) 2011 Eitarow Fukamachi <e.arrows@gmail.com>
+
+ Clack is freely distributable under the LLGPL License.
+|#
+
+#|
+ Clack.Middleware.Clsql - Middleware for CLSQL connection management.
+
+ Author: Eitarow Fukamachi (e.arrows@gmail.com)
+|#
+
+(in-package :cl-user)
+(defpackage :clack.middleware.clsql-asd
+ (:use :cl :asdf))
+(in-package :clack.middleware.clsql-asd)
+
+(defsystem clack.middleware.clsql
+ :version "11.09"
+ :author "Eitarow Fukamachi"
+ :license "LLGPL"
+ :depends-on (:clack
+ :cl-annot
+ :clsql)
+ :components ((:file "src/contrib/middleware/clsql"))
+ :description "Middleware for CLSQL connection management")
View
@@ -0,0 +1,28 @@
+#|
+ This file is a part of Clack package.
+ URL: http://github.com/fukamachi/clack
+ Copyright (c) 2011 Eitarow Fukamachi <e.arrows@gmail.com>
+
+ Clack is freely distributable under the LLGPL License.
+|#
+
+#|
+ Clack.Middleware.Csrf - Middleware for easy CSRF protection.
+
+ Author: Eitarow Fukamachi (e.arrows@gmail.com)
+|#
+
+(in-package :cl-user)
+(defpackage :clack.middleware.csrf-asd
+ (:use :cl :asdf))
+(in-package :clack.middleware.csrf-asd)
+
+(defsystem clack.middleware.csrf
+ :version "11.09"
+ :author "Eitarow Fukamachi"
+ :license "LLGPL"
+ :depends-on (:clack
+ :cl-annot
+ :anaphora)
+ :components ((:file "src/contrib/middleware/csrf"))
+ :description "Middleware for easy CSRF protection")
View
@@ -0,0 +1,30 @@
+#|
+ This file is a part of Clack package.
+ URL: http://github.com/fukamachi/clack
+ Copyright (c) 2011 Eitarow Fukamachi <e.arrows@gmail.com>
+
+ Clack is freely distributable under the LLGPL License.
+|#
+
+#|
+ Clack.Middleware.OAuth - Supports authorization mechanism by OAuth.
+
+ Author: Norihisa Fujita (n.fujita@ariel-networks.com)
+|#
+
+(in-package :cl-user)
+(defpackage :clack.middleware.oauth-asd
+ (:use :cl :asdf))
+(in-package :clack.middleware.oauth-asd)
+
+(defsystem clack.middleware.oauth
+ :version "11.09"
+ :author "Eitarow Fukamachi"
+ :license "LLGPL"
+ :depends-on (:clack
+ :cl-annot
+ :cl-oauth
+ :anaphora
+ :metabang-bind)
+ :components ((:file "src/contrib/middleware/oauth"))
+ :description "Supports authorization mechanism by OAuth")
@@ -0,0 +1,28 @@
+#|
+ This file is a part of Clack package.
+ URL: http://github.com/fukamachi/clack
+ Copyright (c) 2011 Eitarow Fukamachi <e.arrows@gmail.com>
+
+ Clack is freely distributable under the LLGPL License.
+|#
+
+#|
+ Clack.Middleware.Rucksack - Middleware for Rucksack connection management.
+
+ Author: Eitarow Fukamachi (e.arrows@gmail.com)
+|#
+
+(in-package :cl-user)
+(defpackage :clack.middleware.rucksack-asd
+ (:use :cl :asdf))
+(in-package :clack.middleware.rucksack-asd)
+
+(defsystem clack.middleware.rucksack
+ :version "11.09"
+ :author "Eitarow Fukamachi"
+ :license "LLGPL"
+ :depends-on (:clack
+ :cl-annot
+ :rucksack)
+ :components ((:file "src/contrib/middleware/rucksack"))
+ :description "Middleware for Rucksack connection management")

0 comments on commit 402e6a7

Please sign in to comment.