/usr/share/common-lisp/source/clsql/clsql.asd is in cl-sql 6.4.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: clsql.asd
;;;; Purpose: ASDF System definition for CLSQL
;;;; Authors: Marcus Pearce and Kevin M. Rosenberg
;;;; Created: March 2004
;;;;
;;;; CLSQL users are granted the rights to distribute and use this software
;;;; as governed by the terms of the Lisp Lesser GNU Public License
;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
;;;; *************************************************************************
(in-package #:cl-user)
(defpackage #:clsql-system (:use #:asdf #:cl))
(in-package #:clsql-system)
#+(and clisp (not :clsql-cffi))
(asdf:operate 'asdf:load-op 'clsql-cffi)
;; need to load uffi for below perform :after method
(eval-when (:compile-toplevel :load-toplevel :execute)
#+:clsql-cffi
(unless (find-package 'cffi-uffi-compat)
(asdf:operate 'asdf:load-op 'cffi-uffi-compat))
#-:clsql-cffi
(unless (find-package 'uffi)
(asdf:operate 'asdf:load-op 'uffi)))
(defsystem clsql
:name "CLSQL"
:author "Kevin Rosenberg <kevin@rosenberg.net>"
:maintainer "Kevin M. Rosenberg <kmr@debian.org>"
:licence "Lessor Lisp General Public License"
:description "Common Lisp SQL Interface library"
:long-description "A Common Lisp interface to SQL RDBMS based on
the Xanalys CommonSQL interface for Lispworks. It provides low-level
database interfaces as well as a functional and an object
oriented interface."
:version "6.4"
:components
((:module sql
:components
((:module base
:pathname ""
:components
((:file "cmucl-compat")
(:file "package")
(:file "kmr-mop" :depends-on ("package"))
(:file "base-classes" :depends-on ("package"))
(:file "conditions" :depends-on ("base-classes"))
(:file "db-interface" :depends-on ("conditions"))
(:file "utils" :depends-on ("package" "db-interface"))
(:file "time" :depends-on ("package" "conditions" "utils"))
(:file "generics" :depends-on ("package"))))
(:module database
:pathname ""
:components
((:file "initialize")
(:file "database" :depends-on ("initialize"))
(:file "recording" :depends-on ("database"))
(:file "pool" :depends-on ("database")))
:depends-on (base))
(:module syntax
:pathname ""
:components ((:file "expressions")
(:file "operations"
:depends-on ("expressions"))
(:file "syntax" :depends-on ("operations")))
:depends-on (database))
(:module functional
:pathname ""
:components ((:file "fdml")
(:file "transaction" :depends-on ("fdml"))
#+clisp (:file "ansi-loop")
(:file "loop-extension"
:depends-on ("fdml" #+clisp "ansi-loop"))
(:file "fddl" :depends-on ("fdml")))
:depends-on (syntax))
(:module object
:pathname ""
:components ((:file "metaclasses")
(:file "ooddl" :depends-on ("metaclasses"))
(:file "oodml" :depends-on ("ooddl")))
:depends-on (functional))
(:module generic
:pathname ""
:components ((:file "generic-postgresql")
(:file "generic-odbc")
(:file "sequences")
(:file "command-object"))
:depends-on (functional))))))
(defmethod perform ((o test-op) (c (eql (find-system 'clsql))))
(operate 'load-op 'clsql-tests)
(operate 'test-op 'clsql-tests :force t))
(defmethod perform :after ((o load-op) (c (eql (find-system 'clsql))))
(let* ((init-var (uffi:getenv "CLSQLINIT"))
(init-file (or (when init-var (probe-file init-var))
(probe-file
(concatenate 'string
(namestring (user-homedir-pathname))
".clsql-init.lisp"))
(probe-file "/etc/clsql-init.lisp")
#+(or mswin windows win32 win64 mswindows)
(probe-file "c:\\etc\\clsql-init.lisp"))))
(when init-file (load init-file))))
|