*.so
noipv6
noipv4
+debian/files
+debian/gaise
+debian/substvars.*
rm -f noipv6
rm -f noipv4
+distclean: clean
+
dist:
rm -rf gaise-${VERSION}
mkdir gaise-${VERSION}
--- /dev/null
+gaise (0.1) unstable; urgency=low
+
+ * Initial Debianization
+
+ -- Richard Kettlewell <rjk@greenend.org.uk> Sun, 06 Feb 2011 13:34:55 +0000
+
--- /dev/null
+Source: gaise
+Maintainer: Richard Kettlewell <richard+autoztool@sfere.greenend.org.uk>
+Priority: optional
+Standards-Version: 3.0.1.0
+Vcs-Git: http://www.greenend.org.uk/rjk/git/gaise
+
+Package: gaise
+Architecture: any
+Section: utils
+Depends: ${shlibs:Depends}
+Description: Suppress IPv6 addresses
+ Provides the noipv6 and noipv4 commands, which suppress IPv6 and IPv4
+ results (respectively) from getaddrinfo() calls. This allows you
+ force program to use IPv4 even in full IPv6 environment.
--- /dev/null
+
+Copyright (C) 2011 Richard Kettlewell
+
+This program 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 program 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 program; if not, write to the Free Software Foundation, Inc.,
+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+On Debian systems, look in /usr/share/common-licenses/GPL-2 for a copy
+of the GPL.
--- /dev/null
+#! /usr/bin/make -f
+#
+
+INSTALL=install
+CHANGELOG=changelog
+
+build:
+ $(MAKE) prefix=/usr
+
+cleanpkg-gaise:
+ rm -rf debian/gaise
+
+pkg-gaise:
+ rm -rf debian/gaise
+ mkdir -p debian/gaise
+ mkdir -p debian/gaise/DEBIAN
+ mkdir -p debian/gaise/usr/share/doc/gaise
+ cp debian/copyright \
+ debian/gaise/usr/share/doc/gaise/copyright
+ cp debian/changelog \
+ debian/gaise/usr/share/doc/gaise/${CHANGELOG}
+ gzip -9 debian/gaise/usr/share/doc/gaise/${CHANGELOG}
+ mkdir -p debian/gaise/usr/bin
+ mkdir -p debian/gaise/usr/lib/gaise
+ mkdir -p debian/gaise/usr/share/man/man1
+ $(MAKE) install prefix=debian/gaise/usr mandir=debian/gaise/usr/share/man
+ strip --strip-unneeded \
+ --remove-section=.comment \
+ debian/gaise/usr/lib/gaise/gaise.so
+ dpkg-shlibdeps -Tdebian/substvars.gaise \
+ debian/gaise/usr/lib/gaise/*
+ dpkg-gencontrol -isp -pgaise -Pdebian/gaise -Tdebian/substvars.gaise
+ cd debian/gaise && \
+ find -name DEBIAN -prune -o -type f -print \
+ | sed 's/^\.\///' \
+ | xargs md5sum > DEBIAN/md5sums
+ chown -R root:root debian/gaise
+ chmod -R g-ws debian/gaise
+ dpkg --build debian/gaise ..
+
+
+binary: binary-arch binary-indep
+binary-arch: pkg-gaise
+binary-indep:
+
+clean: cleanpkg-gaise
+ $(MAKE) distclean
+ rm -f debian/files
+ rm -f debian/substvars