author | Sven Velt <sven@velt.de> | |
Thu, 20 Jan 2011 11:28:52 +0000 (12:28 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Thu, 20 Jan 2011 11:28:52 +0000 (12:28 +0100) |
debian/changelog | [new file with mode: 0644] | patch | blob |
debian/compat | [new file with mode: 0644] | patch | blob |
debian/control | [new file with mode: 0644] | patch | blob |
debian/copyright | [new file with mode: 0644] | patch | blob |
debian/dirs | [new file with mode: 0644] | patch | blob |
debian/libkohana-php.lintian-overrides | [new file with mode: 0644] | patch | blob |
debian/rules | [new file with mode: 0644] | patch | blob |
diff --git a/debian/changelog b/debian/changelog
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libkohana-php (2.3.4-1) unstable; urgency=low
+
+ * Initial release (Closes: #nnnnnn)
+ + Strip out DejaVu-Font and depend on ttf-dejavu-core
+
+ -- Sven Velt <sven@velt.de> Thu, 16 Jul 2009 11:47:47 +0200
diff --git a/debian/control b/debian/control
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,15 @@
+Source: libkohana-php
+Section: php
+Priority: extra
+Maintainer: Sven Velt <sven@velt.de>
+Build-Depends: debhelper (>= 7)
+Standards-Version: 3.8.1
+Homepage: http://kohanaphp.com
+
+Package: libkohana-php
+Architecture: all
+Depends: php5 | php5-cli, ttf-dejavu-core, ${misc:Depends}
+Description: Lightweight PHP5 MVC framework Version 2.3
+ Kohana is a PHP 5 framework that uses the Model View Controller architectural
+ pattern. It aims to be secure, lightweight, and easy to use.
+
diff --git a/debian/copyright b/debian/copyright
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,89 @@
+This package was debianized by:
+
+ Sven Velt <sven@velt.de> on Thu, 16 Jul 2009 11:47:47 +0200
+
+It was downloaded from:
+
+ http://kohanaphp.com
+
+Upstream Authors:
+
+ Kohana Team
+
+Copyright:
+
+ Copyright (C) 2007-2008 Kohana Team
+
+License:
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is:
+
+ Copyright (C) 2009 Sven Velt <sven@velt.de>
+
+and is licensed under the GPL version 3,
+see `/usr/share/common-licenses/GPL-3'.
+
+##############################################################################
+/usr/share/php/kohana/system/vendor/Markdown.php:
+
+PHP Markdown & Extra
+Copyright (c) 2004-2008 Michel Fortin
+<http://www.michelf.com/>
+All rights reserved.
+
+Based on Markdown
+Copyright (c) 2003-2006 John Gruber
+<http://daringfireball.net/>
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+* Neither the name "Markdown" nor the names of its contributors may
+ be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+This software is provided by the copyright holders and contributors "as
+is" and any express or implied warranties, including, but not limited
+to, the implied warranties of merchantability and fitness for a
+particular purpose are disclaimed. In no event shall the copyright owner
+or contributors be liable for any direct, indirect, incidental, special,
+exemplary, or consequential damages (including, but not limited to,
+procurement of substitute goods or services; loss of use, data, or
+profits; or business interruption) however caused and on any theory of
+liability, whether in contract, strict liability, or tort (including
+negligence or otherwise) arising in any way out of the use of this
+software, even if advised of the possibility of such damage.
+
+##############################################################################
+/usr/share/php/kohana/system/vendor/swift/*:
+
+Copyright Chris Corbyn <chris@w3style.co.uk>
+Licence: GNU Lesser General Public License
+ see '/usr/share/common-licenses/LGPL'
+
diff --git a/debian/dirs b/debian/dirs
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/share/php/kohana
diff --git a/debian/libkohana-php.lintian-overrides b/debian/libkohana-php.lintian-overrides
--- /dev/null
@@ -0,0 +1,3 @@
+# Included is an extended version of the library which is not available in
+# Debian
+libkohana-php binary: embedded-php-library usr/share/php/kohana/system/vendor/Markdown.php
diff --git a/debian/rules b/debian/rules
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,85 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ #$(MAKE)
+ #docbook-to-man debian/libkohana-php.sgml > libkohana-php.1
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+
+ # Add here commands to install the package into debian/libkohana-php.
+ cp -a system $(CURDIR)/debian/libkohana-php/usr/share/php/kohana/
+ # Remove DejaVu-Fonts and create symlink
+ rm -rf $(CURDIR)/debian/libkohana-php/usr/share/php/kohana/system/fonts
+ ln -s /usr/share/fonts/truetype/ttf-dejavu $(CURDIR)/debian/libkohana-php/usr/share/php/kohana/system/fonts
+
+
+# Build architecture-independent files here.
+binary-indep: install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+# dh_installwm
+# dh_installudev
+ dh_lintian
+# dh_undocumented
+ dh_installman
+ dh_link
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure