debian/0000775000000000000000000000000012272276442007200 5ustar debian/rules0000775000000000000000000000417412272276347010272 0ustar #!/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 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif config.status: configure dh_testdir dh_autoreconf dh_autotools-dev_updateconfig # Add here commands to configure the package. ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info build: build-stamp build-stamp: config.status dh_testdir # Add here commands to compile the package. $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. #Stupid upstream included Makefile! [ ! -f config.h ] || [ ! -f Makefile ] || $(MAKE) distclean rm -f Makefile dh_autotools-dev_restoreconfig dh_autoreconf_clean dh_clean install: build dh_testdir dh_testroot dh_prep # Add here commands to install the package into debian/tmp $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp #Remove static library rm -f $(CURDIR)/debian/tmp/usr/lib/*.a # 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_installchangelogs ChangeLog dh_installdocs dh_installexamples dh_install --list-missing -Xlibmimedir.la # dh_installmenu # dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_installinit # dh_installcron # dh_installinfo dh_installman dh_link dh_strip dh_compress dh_fixperms # dh_perl # d_python dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/watch0000664000000000000000000000010111625016041010205 0ustar version=3 http://sf.net/libmimedir/libmimedir-([\d.]+)\.tar\.gz debian/changelog0000664000000000000000000000757612272276436011074 0ustar libmimedir (0.5.1-4ubuntu2) trusty; urgency=medium * Reinstate autotools-dev to update config.{sub,guess} for new arches. -- Logan Rosen Wed, 29 Jan 2014 17:13:07 -0500 libmimedir (0.5.1-4ubuntu1) trusty; urgency=medium * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el by getting new libtool macros (still updates config.{sub,guess}). * Update Makefile.in patch to use system libtool, and build-depend on libtool accordingly. -- Logan Rosen Wed, 29 Jan 2014 16:50:48 -0500 libmimedir (0.5.1-4) unstable; urgency=low * QA upload. * Fix short description to not start with an article. * Bump Standards-Version to 3.9.2. * Add missing ${misc:Depends}. * Drop remaining la file. * Remove duplicate section field for the libmimedir0 binary package. * Exclude la files from dh_install. * Set source format to 3.0 (quilt), drop the quilt build-dependency, and remove inclusion of the quilt.make and patching targets. * Bump debhelper compat to 8. Set build-depend accordingly. -- Regis Boudin Tue, 23 Aug 2011 22:48:22 +0100 libmimedir (0.5.1-3) unstable; urgency=low * QA upload. * Cleanup quilt usage... it was removing .pc directory before calling quilt pop! -- Raphael Hertzog Sat, 25 Jul 2009 15:19:07 +0200 libmimedir (0.5.1-2) unstable; urgency=low * QA upload. * Don't install the static library. (Closes: #514921). -- Barry deFreese Wed, 11 Feb 2009 17:41:15 -0500 libmimedir (0.5.1-1) unstable; urgency=low * QA upload. + Set maintainer to Debian QA Group . * New upstream release. * Add Homepage. * Update watch file. * Add ${misc:Depends} to Depends. * Replace deprecated ${Source-Version} with ${binary:Version}. * Make clean not ignore errors. * Add quilt patch system. * 01_makefile_in.diff - Add DESTDIR. * Bump debhelper build-dep and compat to 5. * Bump Standards Version to 3.8.0. -- Barry deFreese Tue, 03 Feb 2009 15:39:55 -0500 libmimedir (0.4-4) unstable; urgency=low * Fixed unistallable bug -- Volker Christian Sat, 17 Sep 2005 20:35:29 +0200 libmimedir (0.4-3) unstable; urgency=low * Maintainer email changed to voc@debian.org * Update standard to 3.6.2 * Update watch file -- Volker Christian Sun, 11 Sep 2005 20:57:50 +0200 libmimedir (0.4-2) unstable; urgency=low * Added the libmimedir.la file again -- Volker Christian Sun, 6 Mar 2005 15:05:43 +0100 libmimedir (0.4-1) unstable; urgency=low * New upstream release The new release fixes a bug in the flex code. -- Volker Christian Sat, 5 Mar 2005 17:49:19 +0100 libmimedir (0.3-6) unstable; urgency=low * Added a watch file * changed prefix=$\(CURDIR\)/debian/tmp/usr to DESTDIR=$\(CURDIR\)/debian/tmp * Now following standard 3.6.1 -- Volker Christian Thu, 2 Sep 2004 21:05:01 +0200 libmimedir (0.3-5) unstable; urgency=low * Changed development package section from devel to libdevel -- Volker Christian Mon, 10 Jun 2004 23:27:20 +0200 libmimedir (0.3-4) unstable; urgency=low * Updated libmimedir part of libs and not devel -- Volker Christian Mon, 24 Mar 2004 20:35:17 +0200 libmimedir (0.3-3) unstable; urgency=low * Make libmimedir-dev depend on libmimedir -- Volker Christian Mon, 7 Mar 2004 12:00:28 +0200 libmimedir (0.3-2) unstable; urgency=low * Build shared libraries also. * New Maintainer (voc) -- Volker Christian Mon, 16 Feb 2004 21:10:20 +0200 libmimedir (0.3-1) unstable; urgency=low * Initial Release. -- Thomas Butter Sat, 9 Aug 2003 08:32:34 +0200 debian/compat0000664000000000000000000000000211625020374010366 0ustar 8 debian/copyright0000664000000000000000000000316511625016041011124 0ustar This package was debianized by Thomas Butter on Sat, 9 Aug 2003 08:32:34 +0200. It was downloaded from http://sourceforge.net/projects/libmimedir Upstream Author: Lev Walkin Copyright: /*- * Copyright (c) 2001, 2003 Lev Walkin . * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: COPYING,v 1.2 2003/07/30 05:22:46 vlm Exp $ */ debian/source/0000775000000000000000000000000011625017577010503 5ustar debian/source/format0000664000000000000000000000001411625017576011710 0ustar 3.0 (quilt) debian/libmimedir-dev.install0000664000000000000000000000005711625016503013452 0ustar debian/tmp/usr/lib/*.so debian/tmp/usr/include debian/stamp-patched0000664000000000000000000000000011625017405011634 0ustar debian/libmimedir0.install0000664000000000000000000000003211625016041012744 0ustar debian/tmp/usr/lib/*.so.* debian/control0000664000000000000000000000200412272276360010576 0ustar Source: libmimedir Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian QA Group Build-Depends: debhelper (>> 8.0.0), autotools-dev, dh-autoreconf, bison, flex, libtool Standards-Version: 3.9.2 Homepage: http://sourceforge.net/projects/libmimedir Package: libmimedir0 Architecture: any Provides: libmimedir Replaces: libmimedir Conflicts: libmimedir Depends: ${shlibs:Depends}, ${misc:Depends} Description: Library to parse RFC 2425 Directory Information blocks RFC 2425 defines a MIME Content-Type for Directory Information. This library contains necessary methods to parse information blocks arranged in such a manner. Package: libmimedir-dev Section: libdevel Architecture: any Depends: libmimedir0 (= ${binary:Version}), ${misc:Depends} Description: Developer files for libmimedir RFC 2425 defines a MIME Content-Type for Directory Information. . This package contains the development files for libmimedir. debian/docs0000664000000000000000000000000711625016041010034 0ustar README debian/patches/0000775000000000000000000000000012272275044010624 5ustar debian/patches/01_makefile_in.diff0000664000000000000000000000146712272275023014226 0ustar Add DESDIR support to Makefile.in --- a/Makefile.in +++ b/Makefile.in @@ -14,7 +14,7 @@ LEX= @LEX@ INSTALL= @INSTALL@ RANLIB= @RANLIB@ -LIBTOOL= @LIBTOOL@ +LIBTOOL= libtool LIBS= -L. libmimedir.la OBJS= dirlex.o dirsynt.o parse.o get.o dup.o free.o memmem.o add.o count.o del.o @@ -55,9 +55,11 @@ ./test install: all - ${INSTALL} -m 444 libmimedir.h ${includedir} - ${INSTALL} -m 444 libmimedir.a ${libdir} - $(LIBTOOL) --mode=install ${INSTALL} -c -m 444 libmimedir.la ${libdir}/libmimedir.la + mkdir -p ${DESTDIR}${includedir} + mkdir -p ${DESTDIR}${libdir} + ${INSTALL} -m 444 libmimedir.h ${DESTDIR}${includedir} + ${INSTALL} -m 444 libmimedir.a ${DESTDIR}${libdir} + $(LIBTOOL) --mode=install ${INSTALL} -c -m 444 libmimedir.la ${DESTDIR}${libdir} clean: rm -f $(OBJS) $(LOBJS) test.o *.a *.la *.core debian/patches/series0000664000000000000000000000002411625016041012024 0ustar 01_makefile_in.diff