[Dbconfig-common-devel] dbconfig-common/examples/db-example-2.1/debian changelog, NONE, 1.1 control, NONE, 1.1 copyright, NONE, 1.1 db-test-mysql-perl.config, NONE, 1.1 db-test-mysql-perl.dirs, NONE, 1.1 db-test-mysql-perl.postinst, NONE, 1.1 db-test-mysql-perl.postrm, NONE, 1.1 db-test-mysql-perl.preinst, NONE, 1.1 db-test-mysql-perl.prerm, NONE, 1.1 db-test-mysql.config, NONE, 1.1 db-test-mysql.dirs, NONE, 1.1 db-test-mysql.postinst, NONE, 1.1 db-test-mysql.postrm, NONE, 1.1 db-test-mysql.preinst, NONE, 1.1 db-test-mysql.prerm, NONE, 1.1 db-test-pgsql.config, NONE, 1.1 db-test-pgsql.dirs, NONE, 1.1 db-test-pgsql.postinst, NONE, 1.1 db-test-pgsql.postrm, NONE, 1.1 db-test-pgsql.preinst, NONE, 1.1 db-test-pgsql.prerm, NONE, 1.1 db-test.config, NONE, 1.1 db-test.dirs, NONE, 1.1 db-test.postinst, NONE, 1.1 db-test.postrm, NONE, 1.1 db-test.preinst, NONE, 1.1 db-test.prerm, NONE, 1.1 docs, NONE, 1.1 rules, NONE, 1.1

seanius at haydn.debian.org seanius at haydn.debian.org
Sat Jul 30 08:08:19 UTC 2005


Update of /cvsroot/dbconfig-common/dbconfig-common/examples/db-example-2.1/debian
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv5607/db-example-2.1/debian

Added Files:
	changelog control copyright db-test-mysql-perl.config 
	db-test-mysql-perl.dirs db-test-mysql-perl.postinst 
	db-test-mysql-perl.postrm db-test-mysql-perl.preinst 
	db-test-mysql-perl.prerm db-test-mysql.config 
	db-test-mysql.dirs db-test-mysql.postinst db-test-mysql.postrm 
	db-test-mysql.preinst db-test-mysql.prerm db-test-pgsql.config 
	db-test-pgsql.dirs db-test-pgsql.postinst db-test-pgsql.postrm 
	db-test-pgsql.preinst db-test-pgsql.prerm db-test.config 
	db-test.dirs db-test.postinst db-test.postrm db-test.preinst 
	db-test.prerm docs rules 
Log Message:
here's the sample reference packages, now included as part of
the main package.


--- NEW FILE: changelog ---
db-common-example (2.1) unstable; urgency=low

  * and here's a 2.1 release, which will show the upgrade functionality
    of dbconfig-common if you've already installed a 2.0 version of a
    test package.

 -- sean finney <seanius at debian.org>  Thu, 17 Mar 2005 00:33:00 -0500

db-common-example (2.0) unstable; urgency=low

  * okay, this should be the final version common across all db-test* 
    packages, minus another version for testing upgrade paths one
    more time.

 -- sean finney <seanius at debian.org>  Wed, 16 Mar 2005 19:13:05 -0500

db-common-example (1.1) unstable; urgency=low

  * now testing script based mysql install/upgrades

 -- Sean Finney <seanius at debian.org>  Fri, 04 Mar 2005 00:12:58 -0500

db-common-example (0.9) unstable; urgency=low

  * now testing automatic include file generation in db-test-mysql

 -- Sean Finney <seanius at debian.org>  Thu, 24 Feb 2005 23:44:00 -0500

db-common-example (0.8) unstable; urgency=low

  * another test for upgrade path with db-test-pgsql

 -- Sean Finney <seanius at debian.org>  Tue, 25 Jan 2005 00:06:29 -0500

db-common-example (0.7) unstable; urgency=low

  * test for upgrade path with db-test-pgsql

 -- Sean Finney <seanius at debian.org>  Fri, 24 Dec 2004 22:50:35 -0800

db-common-example (0.6) unstable; urgency=low

  * db-test-pgsql now attempts to use postgres support.

 -- Sean Finney <seanius at debian.org>  Sun, 05 Dec 2004 22:49:16 -0500

db-common-example (0.5) unstable; urgency=low

  * upgrade test for db-test-mysql

 -- Sean Finney <seanius at debian.org>  Mon, 29 Nov 2004 01:36:33 -0500

db-common-example (0.4) unstable; urgency=low

  * baseline test for db-test-mysql

 -- Sean Finney <seanius at debian.org>  Sat, 20 Nov 2004 20:51:45 -0500

db-common-example (0.3) unstable; urgency=low

  * lots of work done on the db-test-mysql package:
    - config script with bulk of debconf questions
    - postinst script which adds database user and creates
      database

 -- Sean Finney <seanius at debian.org>  Mon, 25 Oct 2004 22:18:08 -0400

db-common-example (0.2) unstable; urgency=low

  * seperate packages for generic, mysql, and pgsql

 -- Sean Finney <seanius at debian.org>  Tue, 19 Oct 2004 00:17:28 -0400

db-common-example (0.1) unstable; urgency=low

  * initial version

 -- Sean Finney <seanius at debian.org>  Sat, 09 Oct 2004 17:19:56 -0400

--- NEW FILE: control ---
Source: db-common-example
Section: misc
Priority: optional
Maintainer: sean finney <seanius at debian.org>
Build-Depends-Indep: debhelper (>> 3.0.0)
Standards-Version: 3.5.9

Package: db-test
Architecture: all
Depends: dbconfig-common
Recommends: mysql-server | postgresql
Description: a package to test dbconfig-common (generic version)
 this is a package to test the dbconfig-common package.  
 .
 this version should work with any database supported by dbconfig-common.

Package: db-test-mysql
Architecture: all
Depends: dbconfig-common
Recommends: mysql-server
Description: a package to test dbconfig-common (mysql version)
 this is a package to test the dbconfig-common package.  
 .
 this version should work with mysql database servers.

Package: db-test-mysql-perl
Architecture: all
Depends: dbconfig-common, libdbd-mysql-perl
Recommends: mysql-server
Description: a package to test dbconfig-common (mysql+perl version)
 this is a package to test the dbconfig-common package.  
 .
 this version should work with mysql database servers, using a perl
 script instead of just sql code.

Package: db-test-pgsql
Architecture: all
Recommends: postgresql
Depends: dbconfig-common
Description: a package to test dbconfig-common (pgsql version)
 this is a package to test the dbconfig-common package.  
 .
 this version should work with postgresql database servers.

--- NEW FILE: copyright ---
This package was debianized by Sean Finney <seanius at debian.org> on
Sat, 09 Oct 2004 17:58:13 -0400

It was downloaded from (somewhere)

Upstream Author: Sean Finney <seanius at debian.org>

Copyright:

   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; version 2 dated June, 1991.

   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., 59 Temple Place - Suite 330, Boston, MA
   02111-1307, USA.

On Debian GNU/Linux systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.

--- NEW FILE: db-test-mysql-perl.config ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/config.mysql 
dbc_go db-test-mysql-perl $@

--- NEW FILE: db-test-mysql-perl.dirs ---
usr/share/db-test-mysql-perl
usr/share/dbconfig-common/scripts/db-test-mysql-perl/install
usr/share/dbconfig-common/scripts/db-test-mysql-perl/upgrade/mysql
etc/db-test-mysql-perl

--- NEW FILE: db-test-mysql-perl.postinst ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postinst.mysql 
dbc_generate_include=perl:/etc/db-test-mysql-perl/debian-db.pm
dbc_go db-test-mysql-perl $@

#DEBHELPER#

--- NEW FILE: db-test-mysql-perl.postrm ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postrm.mysql 
dbc_go db-test-mysql-perl $@

if [ "$1" = "purge" ]; then
	rm -f /etc/db-test-mysql-perl/debian-db.pm
fi

#DEBHELPER#

--- NEW FILE: db-test-mysql-perl.preinst ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/preinst.mysql 
dbc_go db-test-mysql-perl $@

#DEBHELPER#

--- NEW FILE: db-test-mysql-perl.prerm ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/prerm.mysql 
dbc_go db-test-mysql-perl $@

#DEBHELPER#

--- NEW FILE: db-test-mysql.config ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/config.mysql 
dbc_go db-test-mysql $@

--- NEW FILE: db-test-mysql.dirs ---
usr/share/db-test-mysql
usr/share/dbconfig-common/data/db-test-mysql/install
usr/share/dbconfig-common/data/db-test-mysql/upgrade/mysql
etc/db-test-mysql

--- NEW FILE: db-test-mysql.postinst ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postinst.mysql 
dbc_generate_include=php:/etc/db-test-mysql/debian-db.php
dbc_go db-test-mysql $@

#DEBHELPER#

--- NEW FILE: db-test-mysql.postrm ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postrm.mysql 
dbc_go db-test-mysql $@

if [ "$1" = "purge" ]; then
	rm -f /etc/db-test-mysql/debian-db.php
fi

#DEBHELPER#

--- NEW FILE: db-test-mysql.preinst ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/preinst.mysql 
dbc_go db-test-mysql $@

#DEBHELPER#

--- NEW FILE: db-test-mysql.prerm ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/prerm.mysql 
dbc_go db-test-mysql $@

#DEBHELPER#

--- NEW FILE: db-test-pgsql.config ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/config.pgsql 

dbc_go db-test-pgsql $@

--- NEW FILE: db-test-pgsql.dirs ---
usr/share/db-test-pgsql
usr/share/dbconfig-common/data/db-test-pgsql/install
usr/share/dbconfig-common/data/db-test-pgsql/upgrade/pgsql

--- NEW FILE: db-test-pgsql.postinst ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postinst.pgsql 
dbc_go db-test-pgsql $@

#DEBHELPER#

--- NEW FILE: db-test-pgsql.postrm ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postrm.pgsql 
dbc_go db-test-pgsql $@

#DEBHELPER#

--- NEW FILE: db-test-pgsql.preinst ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/preinst.pgsql 
dbc_go db-test-pgsql $@

#DEBHELPER#

--- NEW FILE: db-test-pgsql.prerm ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/prerm.pgsql 
dbc_go db-test-pgsql $@

#DEBHELPER#

--- NEW FILE: db-test.config ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule

dbc_dbtypes="mysql, pgsql"
. /usr/share/dbconfig-common/dpkg/config 
dbc_go db-test $@

--- NEW FILE: db-test.dirs ---
usr/share/db-test
usr/share/dbconfig-common/data/db-test/install
usr/share/dbconfig-common/data/db-test/upgrade/mysql
usr/share/dbconfig-common/data/db-test/upgrade/pgsql

--- NEW FILE: db-test.postinst ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postinst 
dbc_go db-test $@

#DEBHELPER#

--- NEW FILE: db-test.postrm ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/postrm 
dbc_go db-test $@

#DEBHELPER#

--- NEW FILE: db-test.preinst ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/preinst 
dbc_go db-test $@

#DEBHELPER#

--- NEW FILE: db-test.prerm ---
#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/prerm 
dbc_go db-test $@

#DEBHELPER#

--- NEW FILE: docs ---
README

--- NEW FILE: rules ---
#!/usr/bin/make -f
# debian/rules for test-installdb package, by
# sean finney <seanius at debian.org>
#
# modified from:
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

# This is the debhelper compatibility version to use.
export DH_COMPAT=3


configure: configure-stamp
configure-stamp:
	dh_testdir
	touch configure-stamp


build: build-indep build-stamp
build-stamp: configure-stamp 
	dh_testdir
	touch build-stamp

build-indep:
	dh_testdir

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp configure-stamp
	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs
	#
	# db-test-mysql needs the sql skeleton/upgrade here:
	#
	cp install-files/mysql.sql debian/db-test-mysql/usr/share/dbconfig-common/data/db-test-mysql/install/mysql
	# and the upgrade file
	cp upgrade-files/db-test-mysql-2.1.sql debian/db-test-mysql/usr/share/dbconfig-common/data/db-test-mysql/upgrade/mysql/2.1
	#
	# db-test-pgsql needs the sql skeleton/upgrade here:
	#
	cp install-files/pgsql.sql debian/db-test-pgsql/usr/share/dbconfig-common/data/db-test-pgsql/install/pgsql
	# and the upgrade file
	cp upgrade-files/db-test-pgsql-2.1.sql debian/db-test-pgsql/usr/share/dbconfig-common/data/db-test-pgsql/upgrade/pgsql/2.1
	#
	# db-test needs both of the files, since it can work with both
	#
	cp install-files/mysql.sql debian/db-test/usr/share/dbconfig-common/data/db-test/install/mysql
	cp install-files/pgsql.sql debian/db-test/usr/share/dbconfig-common/data/db-test/install/pgsql
	# and the upgrade files
	cp upgrade-files/db-test-pgsql-2.1.sql debian/db-test/usr/share/dbconfig-common/data/db-test/upgrade/pgsql/2.1
	cp upgrade-files/db-test-mysql-2.1.sql debian/db-test/usr/share/dbconfig-common/data/db-test/upgrade/mysql/2.1
	#
	# and finally, db-test-mysql-perl uses these perl scripts:
	#
	cp install-files/mysql-install.pl debian/db-test-mysql-perl/usr/share/dbconfig-common/scripts/db-test-mysql-perl/install/mysql
	cp upgrade-files/mysql-upgrade-2.1.pl debian/db-test-mysql-perl/usr/share/dbconfig-common/scripts/db-test-mysql-perl/upgrade/mysql

# Build architecture-independent files here.
binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installdebconf	
	dh_installdocs
	dh_installexamples
	dh_installlogrotate
	dh_installman
	dh_installinfo
	dh_installchangelogs
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_perl
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep
.PHONY: build clean binary-indep binary install configure




More information about the Dbconfig-common-devel mailing list