--- logapp-0.15.orig/debian/README.source +++ logapp-0.15/debian/README.source @@ -0,0 +1,12 @@ +taggrepper for Debian +===================== + +This package uses quilt with topgit for patch management. The +invocation is as per standard debhelper conventions. See +/usr/share/doc/quilt/README.Debian for details. + +For details on the Topgit implementation, please check the +Topgit+quilt HOWTO in the Topgit package's +/usr/share/doc/topgit/HOWTO-tg2quilt.gz file. + + -- Kumar Appaiah , Sat, 5 Dec 2009 19:33:41 -0600 --- logapp-0.15.orig/debian/changelog +++ logapp-0.15/debian/changelog @@ -0,0 +1,98 @@ +logapp (0.15-1build1) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:33:08 +0000 + +logapp (0.15-1) unstable; urgency=low + + * New upstream release + * Standards version is now 3.9.1 + + -- Kumar Appaiah Sun, 20 Feb 2011 21:47:50 -0600 + +logapp (0.14-3) unstable; urgency=low + + * debian/control, debian/rules: No longer use debhelper. + + -- Kumar Appaiah Mon, 21 Dec 2009 17:20:11 -0600 + +logapp (0.14-2) unstable; urgency=low + + * debian/patches/02makefile_destdir_fix.diff: + Fix use of CFLAGS to use environment specified ones. + * Switch to Topgit for patch queue management. + + -- Kumar Appaiah Sat, 05 Dec 2009 19:20:46 -0600 + +logapp (0.14-1) unstable; urgency=low + + * New upstream release + * Switch to debhelper 7 and quilt + * Standards Version is now 3.8.3 (No changes needed) + * Add README.source to describe patch system usage + + -- Kumar Appaiah Sun, 13 Sep 2009 01:36:10 -0500 + +logapp (0.13-1) unstable; urgency=low + + * New upstream release. + * Standards version is now 3.8.2 (no changes needed). + + -- Kumar Appaiah Tue, 14 Jul 2009 12:12:15 -0500 + +logapp (0.12-1) unstable; urgency=low + + * New upstream release. + * Standards version is now 3.8.1 (no changes needed). + + -- Kumar Appaiah Fri, 08 May 2009 10:41:05 -0500 + +logapp (0.11-1) unstable; urgency=low + + * New upstream release. + + -- Kumar Appaiah Thu, 26 Feb 2009 23:57:01 -0600 + +logapp (0.10-1) unstable; urgency=low + + * New upstream release. + * debian/control: + + Standards version is now 3.8.0 (no change needed.) + * debian/patches: + + 01manpage_hyphen_fix.dpatch: Applied upstream. + + 02makefile_destdir_fix.dpatch: Add description. + + -- Kumar Appaiah Sat, 20 Sep 2008 21:22:06 -0500 + +logapp (0.9-2) unstable; urgency=low + + * debian/control: + + Update e-mail my address. + + Update to use new Vcs-* locations. + + -- Kumar Appaiah Sun, 20 Apr 2008 15:16:50 +0530 + +logapp (0.9-1) unstable; urgency=low + + * New upstream release. + * Update copyright to newly proposed format, + to allow for machine readability. + * debian/control: + + Update standards version to 3.7.3 (no changes needed). + + -- Kumar Appaiah Sun, 23 Mar 2008 16:20:06 +0530 + +logapp (0.8-1) unstable; urgency=low + + * New upstream release + + -- Kumar Appaiah Mon, 08 Oct 2007 10:37:33 +0530 + +logapp (0.7-1) unstable; urgency=low + + * Initial release. (Closes: #436195) + * Added 01manpage_hyphen_fix.dpatch to ensure hyphens aren't used as minus signs. + * Added 02makefile_destdir_fix.dpatch to install to the right directory. + + -- Kumar Appaiah Thu, 16 Aug 2007 17:08:01 +0530 --- logapp-0.15.orig/debian/compat +++ logapp-0.15/debian/compat @@ -0,0 +1 @@ +5 --- logapp-0.15.orig/debian/control +++ logapp-0.15/debian/control @@ -0,0 +1,26 @@ +Source: logapp +Section: utils +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Kumar Appaiah +Build-Depends: quilt +Standards-Version: 3.9.1 +Homepage: http://logapp.sourceforge.net/ +Vcs-Git: git://git.debian.org/git/users/akumar/logapp.git +Vcs-Browser: http://git.debian.org/?p=users/akumar/logapp.git + +Package: logapp +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: supervise execution of applications producing heavy output + Logapp is a wrapper utility that helps supervise the execution of + applications that produce heavy console output (e.g. make, CVS and + Subversion). It does this by logging, trimming, and coloring each + line of the output before displaying it. It can be called instead of + the executable that should be monitored; it then starts the + application and logs all of its console output to a file. The output + shown in the terminal is preprocessed, e.g. to limit the length of + printed lines and to show the stderr output in a different color. It + is also possible to automatically highlight lines that match a + certain regular expression. The output is therefore reduced to the + necessary amount, and all important lines are easy to identify. --- logapp-0.15.orig/debian/copyright +++ logapp-0.15/debian/copyright @@ -0,0 +1,16 @@ +Original source may be found at: http://logapp.sourceforge.net/ + +Files: debian/* +Copyright: (C) 2007, Kumar Appaiah +License: GPL-2+ + +Files: * +Copyright: (C) 2007 Michael Brunner +License: GPL-2+ + 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. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- logapp-0.15.orig/debian/dirs +++ logapp-0.15/debian/dirs @@ -0,0 +1 @@ +usr/bin --- logapp-0.15.orig/debian/docs +++ logapp-0.15/debian/docs @@ -0,0 +1,2 @@ +README +TODO --- logapp-0.15.orig/debian/examples +++ logapp-0.15/debian/examples @@ -0,0 +1 @@ +example.conf --- logapp-0.15.orig/debian/links +++ logapp-0.15/debian/links @@ -0,0 +1,3 @@ +usr/share/man/man1/logapp.1 usr/share/man/man1/logcvs.1 +usr/share/man/man1/logapp.1 usr/share/man/man1/logsvn.1 +usr/share/man/man1/logapp.1 usr/share/man/man1/logmake.1 --- logapp-0.15.orig/debian/patches/debian/locations.diff +++ logapp-0.15/debian/patches/debian/locations.diff @@ -0,0 +1,74 @@ +From: Kumar Appaiah +Subject: [PATCH] debian/locations + +This patch fixes the Debian specific installation locations for +logapp. + +Signed-off-by: Kumar Appaiah + +--- + Makefile | 26 ++++++++++++-------------- + 1 files changed, 12 insertions(+), 14 deletions(-) + +diff --git a/Makefile b/Makefile +index ada407d..bf71678 100644 +--- a/Makefile ++++ b/Makefile +@@ -28,11 +28,9 @@ DEBUG_BUILD ?= 0 + + # This defines which symlinks are created during the installation + SYMLINKS = logmake logsvn logcvs +- +-# Installation directories are defined here +-PREFIX ?= /usr/local +-DESTDIR = $(PREFIX)/bin/ +-MANDIR = $(PREFIX)/share/man/man1/ ++PREFIX = $(DESTDIR)/usr/ ++BINDESTDIR = $(PREFIX)bin/ ++MANDIR = $(PREFIX)share/man/man1/ + + # Tool definitions + INSTALL = install -c +@@ -53,8 +51,8 @@ DEFS = -DSVN_REVISION='"$(shell svnversion -cn . 2>/dev/null \ + -DEXECUTABLE='"$(TARGET)"' \ + -DCONFIG_SUPPORT_PTY="$(SUPPORT_PTY)" \ + -DCONFIG_USE_THREADS="$(USE_THREADS)" +- +-CFLAGS = -Wall -Wextra $(DEFS) ++ ++CFLAGS := $(CFLAGS) -Wall -Wextra $(DEFS) + + # Do not optimize code when creating a debug build + ifeq ($(DEBUG_BUILD),1) +@@ -96,22 +94,22 @@ $(TARGET): $(OBJECTS) + $(LINK) $(LINKFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) + + install: all install_links +- $(INSTALL) -d $(DESTDIR) +- $(INSTALL) $(TARGET) $(DESTDIR) +- $(INSTALL) -d $(MANDIR) +- $(INSTALL) -m 644 $(MANPAGE) $(MANDIR) ++ install -d $(BINDESTDIR) ++ install -t $(BINDESTDIR) $(TARGET) ++ install -d $(MANDIR) ++ install -m 644 -t $(MANDIR) $(MANPAGE) + + install_links: +- for L in $(SYMLINKS); do ln -s -f $(TARGET) $(DESTDIR)$$L ; done ++ for L in $(SYMLINKS); do ln -s -f $(TARGET) $(BINDESTDIR)$$L ; done + + uninstall: deinstall + + deinstall: remove_links +- rm -f $(DESTDIR)$(TARGET) ++ rm -f $(BINDESTDIR)$(TARGET) + rm -f $(MANDIR)$(MANPAGE) + + remove_links: +- for L in $(SYMLINKS); do rm -f $(DESTDIR)$$L ; done ++ for L in $(SYMLINKS); do rm -f $(BINDESTDIR)$$L ; done + + clean: + rm -f *.o $(TARGET) $(DEPENDENCIES) +-- +tg: (9f0216d..) debian/locations (depends on: master) --- logapp-0.15.orig/debian/patches/series +++ logapp-0.15/debian/patches/series @@ -0,0 +1 @@ +debian/locations.diff -p1 --- logapp-0.15.orig/debian/rules +++ logapp-0.15/debian/rules @@ -0,0 +1,98 @@ +#!/usr/bin/make -f +# -*- makefile -*- +export DH_VERBOSE=1 + +TG_BRANCHES := "debian/locations" + +include /usr/share/quilt/quilt.make +-include /usr/share/topgit/tg2quilt.mk + +# Package name +PACKAGE_NAME = logapp + +# Install program +INSTALL = install + +INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 +INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 +INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755 +INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755 + + +# The installation directory +PACKAGE_DIR = debian/$(PACKAGE_NAME) + +# Set default CFLAGS +CFLAGS = -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +INSTALL_PROGRAM += -s +endif + +build: build-stamp + +build-stamp: patch + $(checkdir) + $(MAKE) + touch $@ + +clean: checkroot unpatch + $(checkdir) + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) clean + rm -rf $(PACKAGE_DIR) debian/files debian/substvars debian/logapplogmake \ + debian/logapplogsvn debian/logapplogcvs debian/logapp.substvars + +install: checkroot build + $(checkdir) + $(INSTALL_DIR) $(PACKAGE_DIR)/usr/bin + $(MAKE) DESTDIR=$(CURDIR)/$(PACKAGE_DIR) install + +# Build architecture-independent files here. +binary-indep: checkroot build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: checkroot build install + $(checkdir) + $(INSTALL_DIR) $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/ + for i in README TODO;do \ + $(INSTALL_FILE) -m 644 $$i $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/; \ + done; + $(INSTALL_FILE) -m 644 debian/changelog $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/changelog.Debian + gzip -9v $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/changelog.Debian + $(INSTALL_FILE) -m 644 debian/copyright $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/copyright + $(INSTALL_DIR) $(PACKAGE_DIR)/usr/share/man/man1 + $(INSTALL_FILE) -m 644 $(PACKAGE_NAME).1 $(PACKAGE_DIR)/usr/share/man/man1 + gzip -9v $(PACKAGE_DIR)/usr/share/man/*/* + (cd $(PACKAGE_DIR)/usr/share/man/man1/;for i in logcvs logmake logsvn;do ln -s logapp.1.gz $$i.1.gz; done) + # Recreate the symbolic links for the executables, to ensure that they are relative to $PWD + (cd $(PACKAGE_DIR)/usr/bin;for i in logcvs logmake logsvn;do rm -f "$$i"; ln -s logapp $$i; done) + +# Strip binaries +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + strip -R.note -R.comment $(PACKAGE_DIR)/usr/bin/* +endif + dpkg-shlibdeps $(PACKAGE_DIR)/usr/bin/logapp + $(INSTALL_DIR) $(PACKAGE_DIR)/DEBIAN + cd $(PACKAGE_DIR) && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums + dpkg-gencontrol -p$(PACKAGE_NAME) -P$(PACKAGE_DIR) + dpkg-deb --build $(PACKAGE_DIR) .. + +binary: binary-indep binary-arch + +define checkdir + test -f logapp.h && test -f debian/rules +endef + +checkroot: + $(checkdir) + test root = "`whoami`" + + +.PHONY: build clean binary-indep binary-arch binary install checkroot --- logapp-0.15.orig/debian/watch +++ logapp-0.15/debian/watch @@ -0,0 +1,4 @@ +version=3 +http://sf.net/logapp/logapp-(.*)\.tar\.gz + +