--- asterisk-aastra-1.0.1.orig/debian/changelog
+++ asterisk-aastra-1.0.1/debian/changelog
@@ -0,0 +1,24 @@
+asterisk-aastra (1.0.1-2) unstable; urgency=medium
+
+  * Package the lighting files
+
+ -- James Bottomley <James.Bottomley@HansenPartnership.com>  Fri, 23 Jan 2026 11:12:03 -0500
+
+asterisk-aastra (1.0.1-1) stable; urgency=low
+
+  * Resync with what was deployed
+
+ -- James Bottomley <James.Bottomley@HansenPartnership.com>  Sun, 23 Nov 2025 10:44:19 -0500
+
+asterisk-aastra (1.0.0-1) stable; urgency=low
+
+  * php 7.2
+  * Timezone additions
+
+ -- James Bottomley <James.Bottomley@HansenPartnership.com>  Sat, 2 Jun 2018 09:20:00 -0700
+
+asterisk-aastra (0.001-3) stable; urgency=low
+
+  * Initial release.
+
+ -- James Bottomley <JBottomley@parallels.com>  Thu, 21 Feb 2013 04:48:34 -0600
--- asterisk-aastra-1.0.1.orig/debian/compat
+++ asterisk-aastra-1.0.1/debian/compat
@@ -0,0 +1 @@
+9
--- asterisk-aastra-1.0.1.orig/debian/control
+++ asterisk-aastra-1.0.1/debian/control
@@ -0,0 +1,37 @@
+Source: asterisk-aastra
+Section: comm
+Priority: optional
+Maintainer: James Bottomley <JBottomley@Parallels.com>
+Build-depends: debhelper, php-dev
+
+Package: asterisk-aastra-common
+Depends: apache2, php, asterisk
+Architecture: all
+Description:
+ Base package containing common classes for Aastra XML web server for asterisk
+
+Package: asterisk-aastra-blacklist
+Depends: asterisk-aastra-common
+Architecture: all
+Description:
+ Classes for implementing an XML based blacklist/whitelist manager
+
+Package: asterisk-aastra-actionuri
+Depends: asterisk-aastra-common
+Architecture: all
+Description:
+ Classes for implementing actionuri callbacks from the phone.  You don't need
+ to install this package since it is only a helper for some of the other XML
+ functions.
+
+Package: asterisk-aastra-voicemail
+Depends: asterisk-aastra-common, asterisk-aastra-actionuri
+Architecture: all
+Description:
+ Classes for implementing an XML based voicemail manager
+
+Package: asterisk-aastra-lighting
+Depends: asterisk-aastra-common, asterisk-aastra-actionuri
+Architecture: all
+Description:
+ Classes for implementing an XML based homeseer lighting control
--- asterisk-aastra-1.0.1.orig/debian/rules
+++ asterisk-aastra-1.0.1/debian/rules
@@ -0,0 +1,96 @@
+#!/usr/bin/make -f
+# 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=9
+
+CFLAGS = -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+CFLAGS += -O0
+else
+CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	make
+	# --- end custom part for compiling
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	make clean || true
+	# --- end custom part for cleaning up
+
+	dh_clean
+
+packages := blacklist actionuri voicemail lighting
+debian_prefix := /usr/src/packages/BUILD/debian/
+php_prefix := /usr/share/php/asterisk-aastra
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package
+	# The DESTDIR Has To Be Exactly  /usr/src/packages/BUILD/debian/<nameOfPackage>
+	make install-base prefix=$(debian_prefix)/asterisk-aastra-common php_prefix=$(debian_prefix)/asterisk-aastra-common/$(php_prefix) doc_prefix=$(debian_prefix)/asterisk-aastra-common/usr/share/doc/asterisk-aastra-common
+	install -d /usr/src/packages/BUILD/debian/asterisk-aastra-common/usr/share/doc/asterisk-aastra-common/
+	install -m 644 COPYING /usr/src/packages/BUILD/debian/asterisk-aastra-common/usr/share/doc/asterisk-aastra-common/
+	for p in $(packages); do \
+	make install-$$p prefix=$(debian_prefix)/asterisk-aastra-$$p php_prefix=$(debian_prefix)/asterisk-aastra-$$p/$(php_prefix) doc_prefix=$(debian_prefix)/asterisk-aastra-$$p/usr/share/doc/asterisk-aastra-$$p; \
+	install -d $(debian_prefix)/asterisk-aastra-$$p/usr/share/doc/asterisk-aastra-$$p/ ; \
+	install -m 644 COPYING $(debian_prefix)/asterisk-aastra-$$p/usr/share/doc/asterisk-aastra-$$p/ ; \
+	done
+	# --- end custom part for installing
+
+# 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_installdebconf
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+	dh_installcron
+	dh_installman
+	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
