From mvblog-commits at lists.three-dimensional.net Sun Aug 24 15:33:59 2008 From: mvblog-commits at lists.three-dimensional.net (mvblog-commits at lists.three-dimensional.net) Date: Sun, 24 Aug 2008 15:33:59 +0200 (CEST) Subject: [Mvblog-commits] r781 - in trunk: . debian Message-ID: <20080824133359.3B3DFFB023@mail.three-dimensional.net> Author: michiel Date: 2008-08-24 15:33:58 +0200 (Sun, 24 Aug 2008) New Revision: 781 Added: trunk/debian/ trunk/debian/README.Debian trunk/debian/apache.conf trunk/debian/changelog trunk/debian/compat trunk/debian/control trunk/debian/copyright trunk/debian/dirs trunk/debian/docs trunk/debian/install trunk/debian/mvblog.examples trunk/debian/postinst trunk/debian/postrm trunk/debian/rules trunk/debian/setup-mysql Log: add debian directory so we can make debian packages Added: trunk/debian/README.Debian =================================================================== --- trunk/debian/README.Debian (rev 0) +++ trunk/debian/README.Debian 2008-08-24 13:33:58 UTC (rev 781) @@ -0,0 +1,12 @@ +mvblog for Debian +----------------- + +### Quick Setup notes: + +Setup apache to point to /usr/share/mvblog. see examples/apache.conf + +Database setup can be done with the help of the script examples/setup-mysql + +For more information see the INSTALL file + + -- Michiel van Baak Sun, 24 Aug 2008 14:16:19 +0200 Added: trunk/debian/apache.conf =================================================================== --- trunk/debian/apache.conf (rev 0) +++ trunk/debian/apache.conf 2008-08-24 13:33:58 UTC (rev 781) @@ -0,0 +1,18 @@ +# Example of a virtualhost configuration +NameVirtualHost *:80 + + + ServerName mvblog.example.com + DocumentRoot /usr/share/mvblog + + +# Tips: +# - if cleanurls (uses mod_rewrite) is not working you probably need: + + Options FollowSymLinks + AllowOverride ALL + +# in your httpd.conf + +# - if NameVirtualHost *:80 is not working you probably +# need to replace the * with an actual IP Address Added: trunk/debian/changelog =================================================================== --- trunk/debian/changelog (rev 0) +++ trunk/debian/changelog 2008-08-24 13:33:58 UTC (rev 781) @@ -0,0 +1,6 @@ +mvblog (3.0.1-1) unstable; urgency=low + + * Initial release + + -- Michiel van Baak Sun, 24 Aug 2008 14:16:19 +0200 + Added: trunk/debian/compat =================================================================== --- trunk/debian/compat (rev 0) +++ trunk/debian/compat 2008-08-24 13:33:58 UTC (rev 781) @@ -0,0 +1 @@ +5 Added: trunk/debian/control =================================================================== --- trunk/debian/control (rev 0) +++ trunk/debian/control 2008-08-24 13:33:58 UTC (rev 781) @@ -0,0 +1,19 @@ +Source: mvblog +Section: web +Priority: optional +Maintainer: Michiel van Baak +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: mvblog +Architecture: any +Depends: apache2 | httpd, virtual-mysql-client, libapache2-mod-php5 | php5 | php5-cgi, php5-mysql +Suggests: virtual-mysql-server, php5-gd +Conflicts: mysql-server (<< 4.0.20-8) +Description: A clean and simple weblog tool + MvBlog is a simple and clean weblog tool designed with security in mind. + MvBlog can also handle many blogs with just one codebase, + making it very suitable and easy to facilitate multiple users + in environments such as shared webhosting. + . + Homepage: http://www.mvblog.org Added: trunk/debian/copyright =================================================================== --- trunk/debian/copyright (rev 0) +++ trunk/debian/copyright 2008-08-24 13:33:58 UTC (rev 781) @@ -0,0 +1,18 @@ +This package was debianized by Michiel van Baak on +Sun, 24 Aug 2008 14:16:19 +0200. + +It was downloaded from http://www.mvblog.org/?page=download + +Upstream Author: Michiel van Baak + +Copyright: 2005-2008 Michiel van Baak + +License: + +You are free to distribute this software under the terms of +the GNU General Public License. +On Debian systems, the complete text of the GNU General Public +License can be found in the file `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2008, Michiel van Baak and +is also licensed under the GPL, see `/usr/share/common-licenses/GPL'. Added: trunk/debian/dirs =================================================================== --- trunk/debian/dirs (rev 0) +++ trunk/debian/dirs 2008-08-24 13:33:58 UTC (rev 781) @@ -0,0 +1,3 @@ +usr/bin +usr/sbin +etc/mvblog Added: trunk/debian/docs =================================================================== --- trunk/debian/docs (rev 0) +++ trunk/debian/docs 2008-08-24 13:33:58 UTC (rev 781) @@ -0,0 +1 @@ +README Added: trunk/debian/install =================================================================== --- trunk/debian/install (rev 0) +++ trunk/debian/install 2008-08-24 13:33:58 UTC (rev 781) @@ -0,0 +1 @@ +src/* usr/share/mvblog Added: trunk/debian/mvblog.examples =================================================================== --- trunk/debian/mvblog.examples (rev 0) +++ trunk/debian/mvblog.examples 2008-08-24 13:33:58 UTC (rev 781) @@ -0,0 +1,2 @@ +debian/apache.conf +debian/setup-mysql Added: trunk/debian/postinst =================================================================== --- trunk/debian/postinst (rev 0) +++ trunk/debian/postinst 2008-08-24 13:33:58 UTC (rev 781) @@ -0,0 +1,18 @@ +#!/bin/sh +# postinst script for mvblog +# +# see: dh_installdeb(1) + +set -e + +chmod 640 /etc/mvblog/config* >/dev/null 2>&1 || true +chgrp www-data /etc/mvblog/config* >/dev/null 2>&1 || true + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + Added: trunk/debian/postrm =================================================================== --- trunk/debian/postrm (rev 0) +++ trunk/debian/postrm 2008-08-24 13:33:58 UTC (rev 781) @@ -0,0 +1,22 @@ +#!/bin/sh +# postrm script for mvblog +# +# see: dh_installdeb(1) + +set -e + +case "$1" in + purge) + rm -rf /etc/mvblog + rm -rf /usr/share/mvblog + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + Added: trunk/debian/rules =================================================================== --- trunk/debian/rules (rev 0) +++ trunk/debian/rules 2008-08-24 13:33:58 UTC (rev 781) @@ -0,0 +1,71 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +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 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGELOG + dh_installdocs + dh_installexamples + dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure Property changes on: trunk/debian/rules ___________________________________________________________________ Name: svn:executable + * Added: trunk/debian/setup-mysql =================================================================== --- trunk/debian/setup-mysql (rev 0) +++ trunk/debian/setup-mysql 2008-08-24 13:33:58 UTC (rev 781) @@ -0,0 +1,3 @@ +#!/bin/sh +# Nothing here yet, will be here later +exit 0; From mvblog-commits at lists.three-dimensional.net Sun Aug 24 15:36:33 2008 From: mvblog-commits at lists.three-dimensional.net (mvblog-commits at lists.three-dimensional.net) Date: Sun, 24 Aug 2008 15:36:33 +0200 (CEST) Subject: [Mvblog-commits] r782 - trunk/debian Message-ID: <20080824133633.8CEC5FB023@mail.three-dimensional.net> Author: michiel Date: 2008-08-24 15:36:33 +0200 (Sun, 24 Aug 2008) New Revision: 782 Modified: trunk/debian/README.Debian Log: remove some non-information Modified: trunk/debian/README.Debian =================================================================== --- trunk/debian/README.Debian 2008-08-24 13:33:58 UTC (rev 781) +++ trunk/debian/README.Debian 2008-08-24 13:36:33 UTC (rev 782) @@ -6,7 +6,3 @@ Setup apache to point to /usr/share/mvblog. see examples/apache.conf Database setup can be done with the help of the script examples/setup-mysql - -For more information see the INSTALL file - - -- Michiel van Baak Sun, 24 Aug 2008 14:16:19 +0200 From mvblog-commits at lists.three-dimensional.net Sun Aug 24 15:40:52 2008 From: mvblog-commits at lists.three-dimensional.net (mvblog-commits at lists.three-dimensional.net) Date: Sun, 24 Aug 2008 15:40:52 +0200 (CEST) Subject: [Mvblog-commits] r783 - trunk/debian Message-ID: <20080824134052.9B85EFB023@mail.three-dimensional.net> Author: michiel Date: 2008-08-24 15:40:52 +0200 (Sun, 24 Aug 2008) New Revision: 783 Modified: trunk/debian/README.Debian Log: test new commit hook Modified: trunk/debian/README.Debian =================================================================== --- trunk/debian/README.Debian 2008-08-24 13:36:33 UTC (rev 782) +++ trunk/debian/README.Debian 2008-08-24 13:40:52 UTC (rev 783) @@ -6,3 +6,4 @@ Setup apache to point to /usr/share/mvblog. see examples/apache.conf Database setup can be done with the help of the script examples/setup-mysql + From mvblog-commits at lists.three-dimensional.net Sun Aug 24 15:44:38 2008 From: mvblog-commits at lists.three-dimensional.net (mvblog-commits at lists.three-dimensional.net) Date: Sun, 24 Aug 2008 15:44:38 +0200 (CEST) Subject: [Mvblog-commits] r784 - trunk Message-ID: <20080824134438.8AB81FB023@mail.three-dimensional.net> Author: michiel Date: 2008-08-24 15:44:38 +0200 (Sun, 24 Aug 2008) New Revision: 784 Removed: trunk/debian/ Log: I messed up From mvblog-commits at lists.three-dimensional.net Sun Aug 24 15:45:31 2008 From: mvblog-commits at lists.three-dimensional.net (mvblog-commits at lists.three-dimensional.net) Date: Sun, 24 Aug 2008 15:45:31 +0200 (CEST) Subject: [Mvblog-commits] r785 - in trunk: . debian Message-ID: <20080824134531.258A1FB023@mail.three-dimensional.net> Author: michiel Date: 2008-08-24 15:45:30 +0200 (Sun, 24 Aug 2008) New Revision: 785 Added: trunk/debian/ trunk/debian/README.Debian trunk/debian/apache.conf trunk/debian/changelog trunk/debian/compat trunk/debian/control trunk/debian/copyright trunk/debian/dirs trunk/debian/docs trunk/debian/install trunk/debian/mvblog.examples trunk/debian/postinst trunk/debian/postrm trunk/debian/rules trunk/debian/setup-mysql Log: Add debian structure to svn. We can now create debian packages. Fixes #151 Added: trunk/debian/README.Debian =================================================================== --- trunk/debian/README.Debian (rev 0) +++ trunk/debian/README.Debian 2008-08-24 13:45:30 UTC (rev 785) @@ -0,0 +1,9 @@ +mvblog for Debian +----------------- + +### Quick Setup notes: + +Setup apache to point to /usr/share/mvblog. see examples/apache.conf + +Database setup can be done with the help of the script examples/setup-mysql + Added: trunk/debian/apache.conf =================================================================== --- trunk/debian/apache.conf (rev 0) +++ trunk/debian/apache.conf 2008-08-24 13:45:30 UTC (rev 785) @@ -0,0 +1,18 @@ +# Example of a virtualhost configuration +NameVirtualHost *:80 + + + ServerName mvblog.example.com + DocumentRoot /usr/share/mvblog + + +# Tips: +# - if cleanurls (uses mod_rewrite) is not working you probably need: + + Options FollowSymLinks + AllowOverride ALL + +# in your httpd.conf + +# - if NameVirtualHost *:80 is not working you probably +# need to replace the * with an actual IP Address Added: trunk/debian/changelog =================================================================== --- trunk/debian/changelog (rev 0) +++ trunk/debian/changelog 2008-08-24 13:45:30 UTC (rev 785) @@ -0,0 +1,6 @@ +mvblog (3.0.1-1) unstable; urgency=low + + * Initial release + + -- Michiel van Baak Sun, 24 Aug 2008 14:16:19 +0200 + Added: trunk/debian/compat =================================================================== --- trunk/debian/compat (rev 0) +++ trunk/debian/compat 2008-08-24 13:45:30 UTC (rev 785) @@ -0,0 +1 @@ +5 Added: trunk/debian/control =================================================================== --- trunk/debian/control (rev 0) +++ trunk/debian/control 2008-08-24 13:45:30 UTC (rev 785) @@ -0,0 +1,19 @@ +Source: mvblog +Section: web +Priority: optional +Maintainer: Michiel van Baak +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: mvblog +Architecture: any +Depends: apache2 | httpd, virtual-mysql-client, libapache2-mod-php5 | php5 | php5-cgi, php5-mysql +Suggests: virtual-mysql-server, php5-gd +Conflicts: mysql-server (<< 4.0.20-8) +Description: A clean and simple weblog tool + MvBlog is a simple and clean weblog tool designed with security in mind. + MvBlog can also handle many blogs with just one codebase, + making it very suitable and easy to facilitate multiple users + in environments such as shared webhosting. + . + Homepage: http://www.mvblog.org Added: trunk/debian/copyright =================================================================== --- trunk/debian/copyright (rev 0) +++ trunk/debian/copyright 2008-08-24 13:45:30 UTC (rev 785) @@ -0,0 +1,18 @@ +This package was debianized by Michiel van Baak on +Sun, 24 Aug 2008 14:16:19 +0200. + +It was downloaded from http://www.mvblog.org/?page=download + +Upstream Author: Michiel van Baak + +Copyright: 2005-2008 Michiel van Baak + +License: + +You are free to distribute this software under the terms of +the GNU General Public License. +On Debian systems, the complete text of the GNU General Public +License can be found in the file `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2008, Michiel van Baak and +is also licensed under the GPL, see `/usr/share/common-licenses/GPL'. Added: trunk/debian/dirs =================================================================== --- trunk/debian/dirs (rev 0) +++ trunk/debian/dirs 2008-08-24 13:45:30 UTC (rev 785) @@ -0,0 +1,3 @@ +usr/bin +usr/sbin +etc/mvblog Added: trunk/debian/docs =================================================================== --- trunk/debian/docs (rev 0) +++ trunk/debian/docs 2008-08-24 13:45:30 UTC (rev 785) @@ -0,0 +1 @@ +README Added: trunk/debian/install =================================================================== --- trunk/debian/install (rev 0) +++ trunk/debian/install 2008-08-24 13:45:30 UTC (rev 785) @@ -0,0 +1 @@ +src/* usr/share/mvblog Added: trunk/debian/mvblog.examples =================================================================== --- trunk/debian/mvblog.examples (rev 0) +++ trunk/debian/mvblog.examples 2008-08-24 13:45:30 UTC (rev 785) @@ -0,0 +1,2 @@ +debian/apache.conf +debian/setup-mysql Added: trunk/debian/postinst =================================================================== --- trunk/debian/postinst (rev 0) +++ trunk/debian/postinst 2008-08-24 13:45:30 UTC (rev 785) @@ -0,0 +1,18 @@ +#!/bin/sh +# postinst script for mvblog +# +# see: dh_installdeb(1) + +set -e + +chmod 640 /etc/mvblog/config* >/dev/null 2>&1 || true +chgrp www-data /etc/mvblog/config* >/dev/null 2>&1 || true + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + Added: trunk/debian/postrm =================================================================== --- trunk/debian/postrm (rev 0) +++ trunk/debian/postrm 2008-08-24 13:45:30 UTC (rev 785) @@ -0,0 +1,22 @@ +#!/bin/sh +# postrm script for mvblog +# +# see: dh_installdeb(1) + +set -e + +case "$1" in + purge) + rm -rf /etc/mvblog + rm -rf /usr/share/mvblog + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + Added: trunk/debian/rules =================================================================== --- trunk/debian/rules (rev 0) +++ trunk/debian/rules 2008-08-24 13:45:30 UTC (rev 785) @@ -0,0 +1,71 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +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 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGELOG + dh_installdocs + dh_installexamples + dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure Property changes on: trunk/debian/rules ___________________________________________________________________ Name: svn:executable + * Added: trunk/debian/setup-mysql =================================================================== --- trunk/debian/setup-mysql (rev 0) +++ trunk/debian/setup-mysql 2008-08-24 13:45:30 UTC (rev 785) @@ -0,0 +1,3 @@ +#!/bin/sh +# Nothing here yet, will be here later +exit 0;