--- fileschanged-0.6.5.orig/debian/copyright +++ fileschanged-0.6.5/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Juan A. Diaz on +Mon, 4 Sep 2006 01:10:08 -0300. + +It was downloaded from http://fileschanged.sourceforge.net/ + +Upstream Author: Ben Asselstine + +Copyright: 2002-2006 Ben Asselstine + +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 + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2006, Juan A. Diaz and +is licensed under the GPL, see above. --- fileschanged-0.6.5.orig/debian/README.Debian +++ fileschanged-0.6.5/debian/README.Debian @@ -0,0 +1,7 @@ +fileschanged for Debian +----------------------- + +The upstream tarball of fileschanged already contained a debian/ directory. +I removed it and repacked the tarball to keep things more sane. + + -- Juan A. Diaz Mon, 4 Sep 2006 01:10:08 -0300 --- fileschanged-0.6.5.orig/debian/info +++ fileschanged-0.6.5/debian/info @@ -0,0 +1 @@ +info/fileschanged.info --- fileschanged-0.6.5.orig/debian/changelog +++ fileschanged-0.6.5/debian/changelog @@ -0,0 +1,37 @@ +fileschanged (0.6.5-1.2ubuntu1) trusty; urgency=low + + * Use autotools-dev for arm64. + + -- Daniel T Chen Wed, 12 Feb 2014 13:50:56 -0500 + +fileschanged (0.6.5-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Fix "ftbfs with gcc-4.6 -Werror": add patch 07_unused_variables.dpatch + from Ubuntu / Colin Watson: + - Avoid unused variable warnings so they don't cause build failures with + -Werror (closes: #625330, LP: #831209). + * Stop installing /usr/share/info/dir.gz (ftp-master autoreject reason). + + -- gregor herrmann Sat, 15 Oct 2011 17:27:14 +0200 + +fileschanged (0.6.5-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Removed patch 03_configure_ac because it causes an autotools rebuild which + in turn causes a double build failure. Closes: #442564 + * Bumped Standards-Version to 3.7.3, no change needed. + * Removed dependency on autotool, not needed anymore. + * Rearranged debian/rules so "make clean" is called before unpatch target + because upstream Makefile is buggy. + * Moved homepage from description to its own field. + * Moved copying of config.[sub|guess] to configure target. + + -- Michael Meskes Mon, 21 Apr 2008 14:05:34 +0200 + +fileschanged (0.6.5-1) unstable; urgency=low + + * Initial release Closes: #327463 + + -- Juan A. Diaz Mon, 4 Sep 2006 01:10:08 -0300 + --- fileschanged-0.6.5.orig/debian/docs +++ fileschanged-0.6.5/debian/docs @@ -0,0 +1,2 @@ +README +TODO --- fileschanged-0.6.5.orig/debian/control +++ fileschanged-0.6.5/debian/control @@ -0,0 +1,21 @@ +Source: fileschanged +Section: utils +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Juan A. Diaz +Build-Depends: debhelper (>= 5.0.0), dpatch, help2man, texinfo, libfam-dev (>= 2.7.0-10) | libgamin-dev (>= 0.1.7-4), autotools-dev +Standards-Version: 3.7.3 +Homepage: http://fileschanged.sourceforge.net/ + +Package: fileschanged +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, fam (>= 2.7.0-10) | gamin (>= 0.1.7-4) +Description: command-line utility that reports when files have been altered + This software is a client to FAM (File Alteration Monitor). + You can use fileschanged in shell scripts to take action when monitored files + become altered. In it's simplest form, you can give filenames to monitor from + standard-input, and it will report when those files have changed via + standard-output. In a more complex usage, fileschanged can monitor + command-line specified files recursively, while following symbolic links, + while staying on the current filesystem, and reporting deleted files as well + as created and changed files that haven't been written to for 2 seconds. --- fileschanged-0.6.5.orig/debian/compat +++ fileschanged-0.6.5/debian/compat @@ -0,0 +1 @@ +5 --- fileschanged-0.6.5.orig/debian/rules +++ fileschanged-0.6.5/debian/rules @@ -0,0 +1,83 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This package uses dpatch +include /usr/share/dpatch/dpatch.make + +# 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) + + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS = -O0 -Wall -g +else + CFLAGS = -O2 -Wall -g +endif + +configure: configure-stamp +configure-stamp: patch + dh_testdir + + dh_autotools-dev_updateconfig + ./configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + $(MAKE) + touch $@ + +up_clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + [ ! -f Makefile ] || $(MAKE) clean + +clean: up_clean unpatch + dh_autotools-dev_restoreconfig + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/fileschanged + $(RM) -v $(CURDIR)/debian/fileschanged/usr/share/info/dir + + +# Build architecture-independent files here. +binary-indep: build install + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean up_clean binary-indep binary-arch binary install patch unpatch --- fileschanged-0.6.5.orig/debian/patches/01_Makefile.am.dpatch +++ fileschanged-0.6.5/debian/patches/01_Makefile.am.dpatch @@ -0,0 +1,17 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_Makefile.am.dpatch.dpatch by Juan A. Diaz +## +## DP: Deleted the reference to debian directory on the original tarball + +@DPATCH@ + +--- fileschanged-0.6.5.orig/Makefile.am 2006-09-04 00:51:25.000000000 -0300 ++++ fileschanged-0.6.5/Makefile.am 2006-09-26 23:13:02.000000000 -0300 +@@ -1,6 +1,4 @@ +-SUBDIRS= m4 src man info debian po +- +-dist_pkgdata_DATA=ChangeLog AUTHORS NEWS README INSTALL ++SUBDIRS= m4 src man info po + + ACLOCAL_AMFLAGS = -I m4 + --- fileschanged-0.6.5.orig/debian/patches/02_Makefile.in.dpatch +++ fileschanged-0.6.5/debian/patches/02_Makefile.in.dpatch @@ -0,0 +1,132 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_Makefile.in.dpatch.dpatch by Juan A. Diaz +## +## DP: Regenerated with automake-1.9 (1.9.6) + +@DPATCH@ + +--- fileschanged-0.6.5.orig/Makefile.in 2006-09-04 00:51:25.000000000 -0300 ++++ fileschanged-0.6.5/Makefile.in 2006-09-26 23:13:02.000000000 -0300 +@@ -13,7 +13,6 @@ + # PARTICULAR PURPOSE. + + @SET_MAKE@ +- + srcdir = @srcdir@ + top_srcdir = @top_srcdir@ + VPATH = @srcdir@ +@@ -36,9 +35,9 @@ + POST_UNINSTALL = : + build_triplet = @build@ + host_triplet = @host@ +-DIST_COMMON = README $(am__configure_deps) $(dist_pkgdata_DATA) \ +- $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ +- $(srcdir)/config.h.in $(top_srcdir)/configure \ ++DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ ++ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ ++ $(top_srcdir)/configure \ + $(top_srcdir)/redhat/fileschanged.spec.in ABOUT-NLS AUTHORS \ + COPYING ChangeLog INSTALL NEWS TODO config.guess config.rpath \ + config.sub depcomp install-sh missing mkinstalldirs +@@ -64,15 +63,6 @@ + install-recursive installcheck-recursive installdirs-recursive \ + pdf-recursive ps-recursive uninstall-info-recursive \ + uninstall-recursive +-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +-am__vpath_adj = case $$p in \ +- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ +- *) f=$$p;; \ +- esac; +-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; +-am__installdirs = "$(DESTDIR)$(pkgdatadir)" +-dist_pkgdataDATA_INSTALL = $(INSTALL_DATA) +-DATA = $(dist_pkgdata_DATA) + ETAGS = etags + CTAGS = ctags + DIST_SUBDIRS = $(SUBDIRS) +@@ -183,8 +173,7 @@ + sharedstatedir = @sharedstatedir@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ +-SUBDIRS = m4 src man info debian po +-dist_pkgdata_DATA = ChangeLog AUTHORS NEWS README INSTALL ++SUBDIRS = m4 src man info po + ACLOCAL_AMFLAGS = -I m4 + EXTRA_DIST = config.rpath mkinstalldirs + all: config.h +@@ -244,23 +233,6 @@ + redhat/fileschanged.spec: $(top_builddir)/config.status $(top_srcdir)/redhat/fileschanged.spec.in + cd $(top_builddir) && $(SHELL) ./config.status $@ + uninstall-info-am: +-install-dist_pkgdataDATA: $(dist_pkgdata_DATA) +- @$(NORMAL_INSTALL) +- test -z "$(pkgdatadir)" || $(mkdir_p) "$(DESTDIR)$(pkgdatadir)" +- @list='$(dist_pkgdata_DATA)'; for p in $$list; do \ +- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- f=$(am__strip_dir) \ +- echo " $(dist_pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \ +- $(dist_pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ +- done +- +-uninstall-dist_pkgdataDATA: +- @$(NORMAL_UNINSTALL) +- @list='$(dist_pkgdata_DATA)'; for p in $$list; do \ +- f=$(am__strip_dir) \ +- echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \ +- rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \ +- done + + # This directory's subdirectories are mostly independent; you can cd + # into them and run `make' without going through this Makefile. +@@ -538,12 +510,9 @@ + exit 1; } >&2 + check-am: all-am + check: check-recursive +-all-am: Makefile $(DATA) config.h ++all-am: Makefile config.h + installdirs: installdirs-recursive + installdirs-am: +- for dir in "$(DESTDIR)$(pkgdatadir)"; do \ +- test -z "$$dir" || $(mkdir_p) "$$dir"; \ +- done + install: install-recursive + install-exec: install-exec-recursive + install-data: install-data-recursive +@@ -587,7 +556,7 @@ + + info-am: + +-install-data-am: install-dist_pkgdataDATA ++install-data-am: + + install-exec-am: + +@@ -615,7 +584,7 @@ + + ps-am: + +-uninstall-am: uninstall-dist_pkgdataDATA uninstall-info-am ++uninstall-am: uninstall-info-am + + uninstall-info: uninstall-info-recursive + +@@ -626,13 +595,12 @@ + distclean-hdr distclean-recursive distclean-tags \ + distcleancheck distdir distuninstallcheck dvi dvi-am html \ + html-am info info-am install install-am install-data \ +- install-data-am install-dist_pkgdataDATA install-exec \ +- install-exec-am install-info install-info-am install-man \ +- install-strip installcheck installcheck-am installdirs \ +- installdirs-am maintainer-clean maintainer-clean-generic \ +- maintainer-clean-recursive mostlyclean mostlyclean-generic \ +- mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ +- uninstall uninstall-am uninstall-dist_pkgdataDATA \ ++ install-data-am install-exec install-exec-am install-info \ ++ install-info-am install-man install-strip installcheck \ ++ installcheck-am installdirs installdirs-am maintainer-clean \ ++ maintainer-clean-generic maintainer-clean-recursive \ ++ mostlyclean mostlyclean-generic mostlyclean-recursive pdf \ ++ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ + uninstall-info-am + + # Tell versions [3.59,3.63) of GNU make to not export all variables. --- fileschanged-0.6.5.orig/debian/patches/06_info_fileschanged.texinfo.dpatch +++ fileschanged-0.6.5/debian/patches/06_info_fileschanged.texinfo.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 06_info_fileschanged.texinfo.dpatch.dpatch by Juan A. Diaz +## +## DP: Add dircategory + +@DPATCH@ + +--- fileschanged-0.6.5.orig/info/fileschanged.texinfo 2006-09-04 00:51:25.000000000 -0300 ++++ fileschanged-0.6.5/info/fileschanged.texinfo 2006-09-26 23:16:39.000000000 -0300 +@@ -37,6 +37,11 @@ + by the Foundation. + @end ifinfo + ++@dircategory Utilities ++@direntry ++* Fileschanged: (fileschanged). The `fileschanged' command which displays altered files ++@end direntry ++ + @titlepage + @title fileschanged + @subtitle displays altered files --- fileschanged-0.6.5.orig/debian/patches/05_info_Makefile.in.dpatch +++ fileschanged-0.6.5/debian/patches/05_info_Makefile.in.dpatch @@ -0,0 +1,27 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_info_Makefile.in.dpatch.dpatch by Juan A. Diaz +## +## DP: Regenerated with automake-1.9 (1.9.6) + +@DPATCH@ + +--- fileschanged-0.6.5.orig/info/Makefile.in 2006-09-04 00:51:25.000000000 -0300 ++++ fileschanged-0.6.5/info/Makefile.in 2006-09-26 23:13:02.000000000 -0300 +@@ -278,10 +278,13 @@ + $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \ + esac; \ + if test -f $$base; then d=.; else d=$(srcdir); fi; \ +- for file in $$d/$$base*; do \ +- relfile=`expr "$$file" : "$$d/\(.*\)"`; \ +- test -f $(distdir)/$$relfile || \ +- cp -p $$file $(distdir)/$$relfile; \ ++ base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \ ++ for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \ ++ if test -f $$file; then \ ++ relfile=`expr "$$file" : "$$d/\(.*\)"`; \ ++ test -f $(distdir)/$$relfile || \ ++ cp -p $$file $(distdir)/$$relfile; \ ++ else :; fi; \ + done; \ + done + --- fileschanged-0.6.5.orig/debian/patches/07_unused_variables.dpatch +++ fileschanged-0.6.5/debian/patches/07_unused_variables.dpatch @@ -0,0 +1,59 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 07_unused_variables.dpatch by Colin Watson +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: GCC 4.6 warns about unused variables, and fileschanged builds with +## DP: -Werror, so deal with unused variable warnings. + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' fileschanged-0.6.5~/src/filelist.c fileschanged-0.6.5/src/filelist.c +--- fileschanged-0.6.5~/src/filelist.c 2006-04-19 20:42:28.000000000 +0100 ++++ fileschanged-0.6.5/src/filelist.c 2011-09-14 01:17:40.000000000 +0100 +@@ -40,10 +40,9 @@ + on_the_command_line (int (*process_file)(void *list, char *filename), void *list) + { + unsigned int i; +- int retval; + for(i = 0; i < arguments.arraylen; i++) + { +- retval = process_file (list, arguments.args[i]); ++ process_file (list, arguments.args[i]); + } + return 0; + } +@@ -66,7 +65,6 @@ + char *filename; + char *line = NULL; + size_t n = 0; +- int retval; + filename = arguments.fileschanged.filelist_filename; + if (strcmp (filename, "-") == 0) + fileptr = stdin; +@@ -80,7 +78,7 @@ + { + chop (line); + if (line[0] != '#') +- retval = process_file (list, line); ++ process_file (list, line); + free (line); line = NULL; + n = 0; + } +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' fileschanged-0.6.5~/src/monitor.c fileschanged-0.6.5/src/monitor.c +--- fileschanged-0.6.5~/src/monitor.c 2006-04-19 20:42:29.000000000 +0100 ++++ fileschanged-0.6.5/src/monitor.c 2011-09-14 01:17:23.000000000 +0100 +@@ -84,6 +84,7 @@ + retval = FAMMonitorDirectory (c, node->filename, &node->request, + (void *) node); + //printf ("FAMMonitorDirectory returns %d (reqnum %d)\n", retval, node->request.reqnum); ++ (void) retval; + } + else if (S_ISREG (node->statbuf.st_mode)) + { +@@ -91,6 +92,7 @@ + retval = FAMMonitorFile (c, node->filename, &node->request, + (void *) node); + //printf ("FAMMonitorFile returns %d (reqnum %d)\n", retval, node->request.reqnum); ++ (void) retval; + } + monitor_handle_events (c, list, 0, 30); + } --- fileschanged-0.6.5.orig/debian/patches/00list +++ fileschanged-0.6.5/debian/patches/00list @@ -0,0 +1,6 @@ +01_Makefile.am.dpatch +02_Makefile.in.dpatch +04_configure.dpatch +05_info_Makefile.in.dpatch +06_info_fileschanged.texinfo.dpatch +07_unused_variables.dpatch --- fileschanged-0.6.5.orig/debian/patches/04_configure.dpatch +++ fileschanged-0.6.5/debian/patches/04_configure.dpatch @@ -0,0 +1,26 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_configure.dpatch.dpatch by Juan A. Diaz +## +## DP: Regenerated with autoconf (2.59) & automake-1.9 (1.9.6) + +@DPATCH@ + +--- fileschanged-0.6.5.orig/configure 2006-09-04 00:51:25.000000000 -0300 ++++ fileschanged-0.6.5/configure 2006-09-26 23:13:02.000000000 -0300 +@@ -6495,7 +6495,7 @@ + PACKAGE_WEBSITE="http://fileschanged.sf.net/" + PACKAGE_TEX_BUGREPORT="benasselstine\@sf.net" + +- ac_config_files="$ac_config_files Makefile info/Makefile man/Makefile info/package.texinfo src/Makefile redhat/fileschanged.spec debian/Makefile po/Makefile.in m4/Makefile" ++ ac_config_files="$ac_config_files Makefile info/Makefile man/Makefile info/package.texinfo src/Makefile redhat/fileschanged.spec po/Makefile.in m4/Makefile" + cat >confcache <<\_ACEOF + # This file is a shell script that caches the results of configure + # tests run on this system so they can be shared between configure +@@ -7065,7 +7065,6 @@ + "info/package.texinfo" ) CONFIG_FILES="$CONFIG_FILES info/package.texinfo" ;; + "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; + "redhat/fileschanged.spec" ) CONFIG_FILES="$CONFIG_FILES redhat/fileschanged.spec" ;; +- "debian/Makefile" ) CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;; + "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; + "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; + "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;