--- asmix-1.5.orig/debian/rules
+++ asmix-1.5/debian/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
--- asmix-1.5.orig/debian/watch
+++ asmix-1.5/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://www.tigr.net/afterstep//download/asmix/asmix-(.*)\.tar\.gz
--- asmix-1.5.orig/debian/compat
+++ asmix-1.5/debian/compat
@@ -0,0 +1 @@
+6
--- asmix-1.5.orig/debian/control
+++ asmix-1.5/debian/control
@@ -0,0 +1,18 @@
+Source: asmix
+Section: x11
+Priority: optional
+Maintainer: Varun Hiremath <varun@debian.org>
+Uploaders: Torsten Werner <twerner@debian.org>
+Build-Depends: debhelper (>= 6), cdbs, libx11-dev, libxext-dev,
+  libxpm-dev, x11proto-core-dev, quilt
+Standards-Version: 3.8.0
+Homepage: http://www.tigr.net/afterstep/view.php?applet=asmix/data
+Vcs-Svn: https://bollin.googlecode.com/svn/asmix/trunk
+Vcs-Browser: http://bollin.googlecode.com/svn/asmix/trunk
+
+Package: asmix
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: display a volume knob
+ The volume knob adjusts the master volume of your sound card.  
+ Just grab the knob with the left button of your mouse and drag it around.
--- asmix-1.5.orig/debian/docs
+++ asmix-1.5/debian/docs
@@ -0,0 +1,2 @@
+CHANGES
+README
--- asmix-1.5.orig/debian/changelog
+++ asmix-1.5/debian/changelog
@@ -0,0 +1,105 @@
+asmix (1.5-4.5.201410312334) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. The following patches have been applied to the original source package
+    0001-bump-version-for-ucs400
+
+ -- Univention builddaemon <buildd@univention.de>  Fri, 31 Oct 2014 23:34:17 +0100
+
+asmix (1.5-4) unstable; urgency=low
+
+  * Bump version, otherwise the build stamp in UCS 3.2 is higher than the 4.0
+    build (Bug #35387)
+
+ -- Sönke Schwardt-Krummrich <schwardt@univention.de>  Fri, 30 Oct 2014 14:43:23 +0200
+
+asmix (1.5-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: asmix.c:580:5: error: format not a string literal and no
+    format arguments [-Werror=format-security]": new patch
+    Werror-format-security.diff from Bart Martens.
+    Closes: #643353
+
+ -- gregor herrmann <gregoa@debian.org>  Thu, 13 Oct 2011 18:32:46 +0200
+
+asmix (1.5-4) unstable; urgency=low
+
+  * Change Build-Depends x-dev to x11proto-core-dev (Closes: #515357)
+  * Bump Standards-Version to 3.8.0
+  * Switch to cdbs and use quilt for patches
+
+ -- Varun Hiremath <varun@debian.org>  Mon, 23 Feb 2009 19:29:35 -0500
+
+asmix (1.5-3) unstable; urgency=low
+
+  [ Varun Hiremath ]
+  * Add watch file
+
+  [ Torsten Werner ]
+  * Add Homepage and Vcs header to debian/control.
+  * Set Standards-Version: 3.7.3.
+  * Some minor cleanups.
+
+ -- Torsten Werner <twerner@debian.org>  Fri, 21 Dec 2007 22:37:46 +0100
+
+asmix (1.5-2) unstable; urgency=low
+
+  [ Varun Hiremath ]
+  * New Maintainer (Closes: #369066)
+  * Upgrade to Debian Policy 3.7.2
+     + debian/control: Change Build-Depends debhelper (>=5)
+     + debian/rules: Change DH_COMPAT=5
+  * debian/copyright: Add copyright holders
+
+  [ Torsten Werner ]
+  * add myself to Uploaders in debian/control
+
+ -- Torsten Werner <twerner@debian.org>  Tue,  5 Sep 2006 20:02:55 +0200
+
+asmix (1.5-1) unstable; urgency=low
+
+  * QA upload
+  * Set maintainer to QA group
+    * acknowledge NMUS: Closes: #346690, #329447
+  * New upstream release (Closes: #254378)
+  * Use newer Debhelper, depend on at least 4.0.0
+  * Clean up debian/rules
+     + use dh_installman
+     + use dh_install for installing the binary
+     + remove call for dh_suidregister
+     + remove ln call for needless manpage linking
+     + general cleanup
+  * Update debian/copyright
+  * Update short package description
+  * Make Package overall Lintian and linda clean.
+  * Conforms with new Standards version
+
+ -- Michael Ablassmeier <abi@debian.org>  Tue, 20 Jun 2006 15:03:39 +0200
+
+asmix (1.3-3.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Split xlibs-dev build-dep (Closes: #346690).
+  * Fix FTBFS on GNU/kFreeBSD (Closes: #329447).
+
+ -- Luk Claes <luk@debian.org>  Sun, 15 Jan 2006 18:06:00 +0100
+
+asmix (1.3-3) unstable; urgency=low
+
+  * Build-Depends inserted in debian/control, closes: #146929
+  * Standarts-Version updated
+  * binary moved to /usr/bin/
+
+ -- Alexander Kotelnikov <sacha@debian.org>  Tue, 14 May 2002 21:29:51 +0400
+
+asmix (1.3-2) unstable; urgency=low
+
+  * Description field fixed. closes: #72300, #72364. 
+
+ -- Alexander Kotelnikov <sacha@debian.org>  Mon, 25 Sep 2000 18:45:40 +0400
+
+asmix (1.3-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Alexander Kotelnikov <sacha@debian.org>  Sun, 27 Aug 2000 13:33:14 +0400
--- asmix-1.5.orig/debian/copyright
+++ asmix-1.5/debian/copyright
@@ -0,0 +1,37 @@
+This package was debianized by Alexander Kotelnikov <sacha@debian.org> on
+Sun, 27 Aug 2000 13:33:14 +0400.
+Taken by Varun Hiremath <varunhiremath@gmail.com> on
+Tue,  5 Sep 2006 20:33:47 +0530
+
+It was downloaded from http://www.tigr.net/afterstep/as-apps/download/asmix/
+
+Upstream Authors: 
+
+original author unknown, 
+Albert "Tigr" Dorofeev <albert@tigr.net>, 
+John "wizgrav" Gravezas <wizgrav@netsmart.gr>
+
+Copyright:
+
+(c) 1998-2004  Albert "Tigr" Dorofeev <albert@tigr.net>
+(c) 2000  John "wizgrav" Gravezas <wizgrav@netsmart.gr>
+(c) 1997 1998 Guylhem AZNAR <guylhem@oeil.qc.ca>
+
+License:
+
+   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; either version 2 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 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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+The Debian packaging is (C) 2006, Varun Hiremath <varunhiremath@gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- asmix-1.5.orig/debian/README.Debian
+++ asmix-1.5/debian/README.Debian
@@ -0,0 +1,7 @@
+asmix for Debian
+----------------------
+
+asmix is a volume control knob for X windows and for AfterStep 
+window manager especially.
+
+ -- Alexander Kotelnikov <sacha@debian.org>, Sun, 27 Aug 2000 13:33:14 +0400
--- asmix-1.5.orig/debian/patches/series
+++ asmix-1.5/debian/patches/series
@@ -0,0 +1,3 @@
+config.diff
+manpage.diff
+Werror-format-security.diff
--- asmix-1.5.orig/debian/patches/manpage.diff
+++ asmix-1.5/debian/patches/manpage.diff
@@ -0,0 +1,34 @@
+Index: asmix-1.5/asmix.man
+===================================================================
+--- asmix-1.5.orig/asmix.man	2009-02-23 20:45:35.000000000 -0500
++++ asmix-1.5/asmix.man	2009-02-23 20:45:55.000000000 -0500
+@@ -4,13 +4,13 @@
+ \fBasmix\fP \- the AfterStep volume control knob
+ .SH SYNOPSIS
+ .B asmix
+-[-h] [-V]
+-        [-iconic] [-shape] [-withdrawn]
+-        [-geometry \fI[+|-]x[+|-]y\fP]
+-        [-channel \fIchannel-id\fP]
+-        [-exe \fIcommand\fP]
+-        [-device \fImixer-device\fP]
+-        [-name \fIwindow-name\fP]
++[\-h] [\-V]
++        [\-iconic] [\-shape] [\-withdrawn]
++        [\-geometry \fI[+|-]x[+|-]y\fP]
++        [\-channel \fIchannel-id\fP]
++        [\-exe \fIcommand\fP]
++        [\-device \fImixer-device\fP]
++        [\-name \fIwindow-name\fP]
+ .SH DESCRIPTION
+ The \fBasmix\fP is a X11 application that acts as
+ a volume control knob for the /dev/mixer device.
+@@ -93,7 +93,7 @@
+ Another way to call \fBasmix\fP is from the AfterStep Wharf:
+ .nf
+ 
+-	*Wharf asmix nil Swallow "asmix" asmix -shape &
++	*Wharf asmix nil Swallow "asmix" asmix \-shape &
+ 
+ .fi
+ This line, when placed in the \fIwharf\fP file in the users Afterstep
--- asmix-1.5.orig/debian/patches/config.diff
+++ asmix-1.5/debian/patches/config.diff
@@ -0,0 +1,89 @@
+Index: asmix-1.5/configure
+===================================================================
+--- asmix-1.5.orig/configure	2004-11-01 06:56:26.000000000 -0500
++++ asmix-1.5/configure	2009-02-23 20:32:36.000000000 -0500
+@@ -2117,7 +2117,7 @@
+ fi
+ done
+ 
+-for ac_hdr in machine/soundcard.h linux/soundcard.h linux/radio.h
++for ac_hdr in sys/soundcard.h linux/soundcard.h linux/radio.h
+ do
+ ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+Index: asmix-1.5/autoconf/configure.in
+===================================================================
+--- asmix-1.5.orig/autoconf/configure.in	2004-11-01 06:55:34.000000000 -0500
++++ asmix-1.5/autoconf/configure.in	2009-02-23 20:32:36.000000000 -0500
+@@ -58,7 +58,7 @@
+ AC_PATH_XTRA
+ AC_CHECK_HEADERS(sys/wait.h sys/time.h)
+ AC_CHECK_HEADERS(sys/statvfs.h sys/vfs.h sys/mount.h ustat.h)
+-AC_CHECK_HEADERS(machine/soundcard.h linux/soundcard.h linux/radio.h)
++AC_CHECK_HEADERS(sys/soundcard.h linux/soundcard.h linux/radio.h)
+ AC_CONFIG_HEADER(config.h)
+ 
+ dnl# Check for X
+Index: asmix-1.5/autoconf/config.h.in
+===================================================================
+--- asmix-1.5.orig/autoconf/config.h.in	2004-11-01 06:55:01.000000000 -0500
++++ asmix-1.5/autoconf/config.h.in	2009-02-23 20:32:36.000000000 -0500
+@@ -9,8 +9,8 @@
+ /* Define if you have the <linux/soundcard.h> header file.  */
+ #undef HAVE_LINUX_SOUNDCARD_H
+ 
+-/* Define if you have the <machine/soundcard.h> header file.  */
+-#undef HAVE_MACHINE_SOUNDCARD_H
++/* Define if you have the <sys/soundcard.h> header file.  */
++#undef HAVE_SYS_SOUNDCARD_H
+ 
+ /* Define if you have the <sys/mount.h> header file.  */
+ #undef HAVE_SYS_MOUNT_H
+Index: asmix-1.5/asmix.c
+===================================================================
+--- asmix-1.5.orig/asmix.c	2004-11-01 06:28:49.000000000 -0500
++++ asmix-1.5/asmix.c	2009-02-23 20:32:36.000000000 -0500
+@@ -22,8 +22,8 @@
+ #include <sys/errno.h>
+ #include <sys/ioctl.h>
+ #include <fcntl.h>
+-#ifdef HAVE_MACHINE_SOUNDCARD_H
+-#  include <machine/soundcard.h>
++#ifdef HAVE_SYS_SOUNDCARD_H
++#  include <sys/soundcard.h>
+ #endif
+ #ifdef HAVE_LINUX_SOUNDCARD_H
+ #  include <linux/soundcard.h>
+Index: asmix-1.5/autoconf/Makefile.defines.in
+===================================================================
+--- asmix-1.5.orig/autoconf/Makefile.defines.in	2004-11-01 06:55:01.000000000 -0500
++++ asmix-1.5/autoconf/Makefile.defines.in	2009-02-23 20:32:36.000000000 -0500
+@@ -36,8 +36,8 @@
+ LIBS_M		= -lm
+ LIBRARIES	= $(LIBS_X) $(LIBS_XPM) $(LIBS_JPEG) $(LIBS_XEXTS) $(LIBS_AFTERSTEP) $(LIBS_M)
+ 
+-AFTER_BIN_DIR	= @bindir@
+-AFTER_MAN_DIR	= @mandir@/man1
++AFTER_BIN_DIR	= $(DESTDIR)/@bindir@
++AFTER_MAN_DIR	= $(DESTDIR)/@mandir@/man1
+ AFTER_DOC_DIR	= @datadir@/afterstep/doc
+ AFTER_SHAREDIR	= @datadir@/afterstep
+ GNUSTEP		= @with_gnustep_dir@
+Index: asmix-1.5/autoconf/Makefile.common.in
+===================================================================
+--- asmix-1.5.orig/autoconf/Makefile.common.in	2004-11-01 06:55:01.000000000 -0500
++++ asmix-1.5/autoconf/Makefile.common.in	2009-02-23 20:32:47.000000000 -0500
+@@ -11,10 +11,12 @@
+ 
+ install.bin:	$(PROG)
+ 		$(STRIP) $(PROG)
++		$(MKDIR) -p $(AFTER_BIN_DIR)
+ 		$(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR)
+ 
+ install.man:
+-		$(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1x
++		$(MKDIR) -p $(AFTER_MAN_DIR)
++		$(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1
+ 
+ uninstall:
+ 		$(RMF) $(AFTER_BIN_DIR)/$(PROG)
--- asmix-1.5.orig/debian/patches/Werror-format-security.diff
+++ asmix-1.5/debian/patches/Werror-format-security.diff
@@ -0,0 +1,19 @@
+--- ./asmix.c.orig	2011-10-05 18:32:32.000000000 +0200
++++ ./asmix.c	2011-10-05 18:33:22.000000000 +0200
+@@ -577,14 +577,14 @@
+   ret = XpmCreatePixmapFromData(dpy, Root, bg_xpm, &asMix.pixmap, 
+ 				&asMix.mask, &asMix.attributes);
+   if(ret != XpmSuccess)
+-    {fprintf(stderr, ERR_colorcells);exit(1);}
++    {fprintf(stderr, "%s", ERR_colorcells);exit(1);}
+ 
+ 
+   Mark.attributes.valuemask |= (XpmReturnPixels | XpmReturnExtensions);
+   ret = XpmCreatePixmapFromData(dpy, Root, mark_xpm, &Mark.pixmap, 
+ 				&Mark.mask, &Mark.attributes);
+   if(ret != XpmSuccess)
+-    {fprintf(stderr, ERR_colorcells);exit(1);}
++    {fprintf(stderr, "%s", ERR_colorcells);exit(1);}
+ 
+ }
+ /****************************************************************************/
