Loading...
 
Skip to main content

DEB Packaging

This page is about packaging Tiki in Debian like GNU/Linux distribution.
The goal is to feet Tiki with the FHS architecture and build a solid debian package which will be accepted by all Debian like distributions( mainly (U|Ku|Edu)buntu and Debian ).

Package 3.3 and 4.1 will be soon in the repository.

1. Tools Required to build package


lintian : these programs will check for many common packaging errors

Copy to clipboard
apt-get install debian-policy svn-buildpackage pbuilder dpatch debian-keyrings watchupstream lintian patchutils dput devscripts debian-keyring dh-make debhelper fakeroot

2. File require by debian

Copy to clipboard
Source: tiki10 Section: web Priority: optional Maintainer: Jean-François BILGER <changi67@gmail.com> Build-Depends: debhelper (>= 7.0.50~) Standards-Version: 3.9.1 Homepage: http://tiki.org Package: tiki10 Architecture: all Depends: ${misc:Depends}, apache2 | httpd | nginx, php5-gd | php5-imagick, php5-mysql | php5-adodb, php5 (>= 5.2~) | php5-cgi (>= 5.2~) | php5-fpm (>= 5.2~), dbconfig-common Suggests: php5-xcache, php5-ldap, php5-curl, php5-memcache, php-apc Recommends: mysql-server, mysql-client, memcached Description: Tiki Wiki CMS Groupware Tiki Wiki CMS Groupware is a full-featured, tightly integrated, open source, multilingual, all-in-one Wiki+CMS+Groupware, written in PHP and actively developed by a very large international community. Major features include articles, forums, newsletters, blogs, a file/image gallery, a wiki, bug & issue tracker (form generator), a calendar, RSS feeds, a category system, tags, an advanced user, group and permission system and more.
Copy to clipboard
Format: http://dep.debian.net/deps/dep5 Upstream-Name: tiki10 Source: <url://example.com> Files: * Copyright: <years> <put author's name and email here> <years> <likewise for another author> License: LGPL-3.0 Files: debian/* Copyright: 2012 Jean-François BILGER <changi67@gmail.com> License: LGPL-3.0 License: LGPL-3.0 This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 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 Lesser General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. . On Debian systems, the complete text of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-3".
  1. Please also look if there are files or directories which have a
  2. different copyright/license attached and list them here.

3. What to move to fit FHS

Copy to clipboard
/etc/tiki10/_htaccess /usr/share/tiki10/htdocs/.htaccess /etc/tiki10/db /usr/share/tiki10/htdocs/db /var/lib/tiki10/dump /usr/share/tiki10/htdocs/dump /var/lib/tiki10/maps /usr/share/tiki10/htdocs/maps /var/cache/tiki10/temp /usr/share/tiki10/htdocs/temp /var/cache/tiki10/templates_c /usr/share/tiki10/htdocs/templates_c /var/cache/tiki10/modules/cache /usr/share/tiki10/htdocs/modules/cache /var/lib/tiki10/tiki_tests/tests /usr/share/tiki10/htdocs/tiki_tests/tests /etc/tiki10/db/tiki.sql /usr/share/dbconfig-common/data/tiki10/install/mysql svntiki/temp -> /var/cache/tiki/temp svntiki/templates -> /var/lib/tiki/templates svntiki/templates_c -> /var/cache/tiki/templates_c svntiki/whelp -> /var/lib/tiki/whelp

4. Testing Area


You can test the current package based on Tiki 3.3, downloading from http://archives.tiki.org/debian/main/t/tiki/tiki_3.3.0-1_all.deb or adding this to your sources.list

/etc/apt/sources.list
Copy to clipboard
deb http://archives.tiki.org/debian/ stable main

To add key file
Copy to clipboard
as root wget -q -O- http://archives.tiki.org/keys/public.asc | apt-key add - or as user (On ubuntu) wget -q -O- http://archives.tiki.org/keys/public.asc | sudo apt-key add -


Related

alias
Show PHP error messages