head	1.8;
access;
symbols;
locks; strict;
comment	@# @;


1.8
date	99.08.24.12.14.01;	author rkrusty;	state dead;
branches;
next	1.7;

1.7
date	99.08.23.23.12.14;	author rkrusty;	state Exp;
branches;
next	1.6;

1.6
date	99.08.23.22.40.15;	author rkrusty;	state Exp;
branches;
next	1.5;

1.5
date	99.08.19.20.15.10;	author rkrusty;	state Exp;
branches;
next	1.4;

1.4
date	99.08.10.08.13.35;	author rkrusty;	state Exp;
branches;
next	1.3;

1.3
date	99.06.16.03.32.16;	author rkrusty;	state Exp;
branches;
next	1.2;

1.2
date	99.06.16.02.02.16;	author rkrusty;	state Exp;
branches;
next	1.1;

1.1
date	99.06.16.01.48.35;	author rkrusty;	state Exp;
branches;
next	;


desc
@@


1.8
log
@[IEM] I missed a few
@
text
@#!/usr/bin/make -f
# Made with the aid of dh_make, by Craig Small
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
# Some lines taken from debmake, by Cristoph Lameter.

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

build: build-stamp
build-stamp:

	#**** Off we go... ****
	touch build-stamp

clean:
	dh_testdir
	rm -f build-stamp install-stamp 
	-rm -f debian/files
	-rm -f debian/substvars
	dh_clean

install: build-stamp install-stamp
install-stamp: 
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs

	-cp -R * debian/tmp/usr/share/horde/skattek/
	-rm -rf debian/tmp/usr/share/horde/skattek/debian
	cd debian/tmp/usr/share/horde/skattek && rm COPYING HELP CREDITS \
		ChangeLog INSTALL README TODO build-stamp
	mv debian/tmp/usr/share/horde/skattek/docs/examples debian/tmp/usr/doc/skattek
	mv debian/tmp/usr/share/horde/skattek/docs/* debian/tmp/usr/doc/skattek/
	mv debian/tmp/usr/share/horde/skattek/contrib debian/tmp/usr/doc/skattek
	rm -rf debian/tmp/usr/share/horde/skattek/docs
	rm -rf `find debian/tmp/ -print | grep CVS`
	mv debian/tmp/usr/share/horde/skattek/config/* debian/tmp/etc/skattek
	mv debian/tmp/etc/skattek/skattek_module_config.php3 debian/tmp/usr/doc/skattek/skattek_config.php3

	chmod 644 `find debian/tmp -type f -print`
	chmod 755 debian/tmp/usr/doc/skattek/scripts/*.sh \
	  debian/tmp/usr/share/horde/skattek/lib/src/uninstall.pl \
	  debian/tmp/usr/share/horde/skattek/lib/src/build.pl
	-rm -rf debian/tmp/usr/share/horde/skattek/config

	touch install-stamp

binary-indep: install
	dh_testdir
	dh_testroot
	dh_installdocs 
	dh_installexamples
	dh_undocumented  
	dh_installchangelogs ChangeLog
	dh_link
	dh_strip
	dh_compress
	dh_fixperms 
	chmod 755 debian/tmp/usr/doc/skattek/scripts/*.sh* \
		debian/tmp/usr/doc/skattek/contrib/zerodiv/sbin/*.pl*
	chown -R www-data.root debian/tmp/usr/share/horde/skattek \
		debian/tmp/etc/skattek
	dh_suidregister
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	cd debian/tmp && find ./etc/skattek -type f -print | sed -e 's#^./#/#' > DEBIAN/conffiles
	dh_md5sums
	dh_builddeb

source diff:                                                                  
	@@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false

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


1.7
log
@[IEM] ok..this takes care of the rest of the horde 1.2.x conversion. No
authentication yet due to the migration but I'm going to dig into the new
auth stuff and start working that into the whole thing
@
text
@@


1.6
log
@[IEM] things allows us to use horde (1.2.x).  Fixing up debian pieces to
talk with new horde-core package
@
text
@d56 1
@


1.5
log
@[IEM] Updating install procedures to work with new 2.2 horde-core package
@
text
@d39 7
d67 1
@


1.4
log
@[IEM] more fixes, adding in a postrm cleanup script, adding a generic
defaults.php3 file for now
@
text
@d33 3
a35 3
	mv debian/tmp/usr/share/horde/skattek/docs/examples debian/tmp/usr/share/doc/skattek
	mv debian/tmp/usr/share/horde/skattek/docs/* debian/tmp/usr/share/doc/skattek/
	mv debian/tmp/usr/share/horde/skattek/contrib debian/tmp/usr/share/doc/skattek
a38 5
	ln -s /etc/skattek/MOTD.html debian/tmp/usr/share/horde/skattek/config/
	ln -s /etc/skattek/defaults.php3 debian/tmp/usr/share/horde/skattek/config/
	ln -s /etc/skattek/html.php3 debian/tmp/usr/share/horde/skattek/config/
	ln -s /etc/skattek/lang.php3 debian/tmp/usr/share/horde/skattek/config/
	ln -s /etc/skattek/menu.txt debian/tmp/usr/share/horde/skattek/config/
d52 2
a53 2
	chmod 755 debian/tmp/usr/share/doc/skattek/scripts/*.sh* \
		debian/tmp/usr/share/doc/skattek/contrib/zerodiv/sbin/*.pl*
@


1.3
log
@[IEM] database build procedures.  Debian package now configures postgres
properly (as long as pam-apps isn't installed).
@
text
@d33 3
a35 3
	mv debian/tmp/usr/share/horde/skattek/docs/examples debian/tmp/usr/doc/skattek
	mv debian/tmp/usr/share/horde/skattek/docs/* debian/tmp/usr/doc/skattek/
	mv debian/tmp/usr/share/horde/skattek/contrib debian/tmp/usr/doc/skattek
d38 6
a43 6
	mv debian/tmp/usr/share/horde/skattek/config/* debian/tmp/etc/horde/skattek
	ln -s /etc/horde/skattek/MOTD.html debian/tmp/usr/share/horde/skattek/config/
	ln -s /etc/horde/skattek/defaults.php3 debian/tmp/usr/share/horde/skattek/config/
	ln -s /etc/horde/skattek/html.php3 debian/tmp/usr/share/horde/skattek/config/
	ln -s /etc/horde/skattek/lang.php3 debian/tmp/usr/share/horde/skattek/config/
	ln -s /etc/horde/skattek/menu.txt debian/tmp/usr/share/horde/skattek/config/
a53 1
	dh_link
d57 2
a58 2
	chmod 755 debian/tmp/usr/doc/skattek/scripts/*.sh* \
		debian/tmp/usr/doc/skattek/contrib/zerodiv/sbin/*.pl*
d60 1
a60 1
		debian/tmp/etc/horde/skattek
@


1.2
log
@[IEM] It builds...woohoo....

now all I really need is all the setup mumbo jumbo so it will actually
do something out of the box.

tho...it still needs alot more work on the actual code for it to be usable
but this at least gives a mechanism for easy modding... :)
@
text
@a38 1
	cp debian/menu.txt debian/tmp/etc/horde/skattek
@


1.1
log
@[IEM] The start of the Debian package build stuff
@
text
@d9 6
d17 1
a17 1
	rm -f install-stamp 
d22 1
a22 1
install: install-stamp
d31 6
a36 2
	mv debian/tmp/usr/share/horde/skattek/config/examples debian/tmp/usr/doc/skattek
	mv debian/tmp/usr/share/horde/skattek/config/scripts debian/tmp/usr/doc/skattek
d42 3
a44 3
	ln -s /etc/horde/imp/html.php3 debian/tmp/usr/share/horde/imp/config/
	ln -s /etc/horde/imp/lang.php3 debian/tmp/usr/share/horde/imp/config/
	ln -s /etc/horde/imp/menu.txt debian/tmp/usr/share/horde/imp/config/
d54 1
a54 1
	dh_installchangelogs CHANGES
d59 4
a62 1
	chown -R www-data.root debian/tmp/usr/share/horde/skattek
d74 1
a74 1
.PHONY: clean binary-indep binary
@

