[med-svn] r9776 - in trunk/packages/ffindex: . trunk trunk/debian trunk/debian/patches trunk/debian/source

Laszlo Kajan lkajan-guest at alioth.debian.org
Fri Feb 24 13:45:03 UTC 2012


Author: lkajan-guest
Date: 2012-02-24 13:45:02 +0000 (Fri, 24 Feb 2012)
New Revision: 9776

Added:
   trunk/packages/ffindex/tags/
   trunk/packages/ffindex/trunk/
   trunk/packages/ffindex/trunk/debian/
   trunk/packages/ffindex/trunk/debian/README.source
   trunk/packages/ffindex/trunk/debian/changelog
   trunk/packages/ffindex/trunk/debian/compat
   trunk/packages/ffindex/trunk/debian/control
   trunk/packages/ffindex/trunk/debian/copyright
   trunk/packages/ffindex/trunk/debian/docs
   trunk/packages/ffindex/trunk/debian/ffindex.install
   trunk/packages/ffindex/trunk/debian/ffindex.manpages
   trunk/packages/ffindex/trunk/debian/libffindex0-dev.install
   trunk/packages/ffindex/trunk/debian/libffindex0.install
   trunk/packages/ffindex/trunk/debian/libffindex0.lintian-overrides
   trunk/packages/ffindex/trunk/debian/patches/
   trunk/packages/ffindex/trunk/debian/patches/Makefile
   trunk/packages/ffindex/trunk/debian/patches/series
   trunk/packages/ffindex/trunk/debian/rules
   trunk/packages/ffindex/trunk/debian/source/
   trunk/packages/ffindex/trunk/debian/source/format
   trunk/packages/ffindex/trunk/debian/watch
Modified:
   trunk/packages/ffindex/
Log:
functional packaging of ffindex


Property changes on: trunk/packages/ffindex
___________________________________________________________________
Added: svn:ignore
   + build-area
tarballs



Property changes on: trunk/packages/ffindex/trunk/debian
___________________________________________________________________
Added: svn:ignore
   + *.substvars

Added: mergeWithUpstream
   + 1


Added: trunk/packages/ffindex/trunk/debian/README.source
===================================================================
--- trunk/packages/ffindex/trunk/debian/README.source	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/README.source	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1,8 @@
+ffindex for Debian
+------------------
+
+Patches
+.......
+Patches are documented in their headers.
+
+# vim:et:ts=2:

Added: trunk/packages/ffindex/trunk/debian/changelog
===================================================================
--- trunk/packages/ffindex/trunk/debian/changelog	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/changelog	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1,6 @@
+ffindex (0.9.3-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #661111)
+
+ -- Laszlo Kajan <lkajan at rostlab.org>  Fri, 24 Feb 2012 10:38:57 +0100
+

Added: trunk/packages/ffindex/trunk/debian/compat
===================================================================
--- trunk/packages/ffindex/trunk/debian/compat	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/compat	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1 @@
+8

Added: trunk/packages/ffindex/trunk/debian/control
===================================================================
--- trunk/packages/ffindex/trunk/debian/control	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/control	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1,64 @@
+Source: ffindex
+Section: science
+Priority: extra
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Laszlo Kajan <lkajan at rostlab.org>
+Build-Depends: debhelper (>= 8.0.0), help2man
+Standards-Version: 3.9.2
+Homepage: http://pubshare.genzentrum.lmu.de/scientific_computing/software/ffindex/
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/ffindex/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/ffindex/trunk/
+DM-Upload-Allowed: yes
+
+Package: ffindex
+Architecture: any
+Depends: libffindex0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: simple index/database for huge amounts of small files
+ FFindex is a very simple index/database for huge amounts of small files. The
+ files are stored concatenated in one big data file, separated by '\0'. A
+ second file contains a plain text index, giving name, offset and length of
+ the small files. The lookup is currently done with a binary search on an
+ array made from the index file.
+ .
+ This package provides the executables.
+
+Package: libffindex0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: simple index/database for huge amounts of small files
+ FFindex is a very simple index/database for huge amounts of small files. The
+ files are stored concatenated in one big data file, separated by '\0'. A
+ second file contains a plain text index, giving name, offset and length of
+ the small files. The lookup is currently done with a binary search on an
+ array made from the index file.
+ .
+ This package provides the shared library.
+
+Package: libffindex0-dev
+Architecture: any
+Section: libdevel
+Depends: libffindex0 (= ${binary:Version}), ${misc:Depends}
+Provides: libffindex-dev
+Description: simple index/database for huge amounts of small files
+ FFindex is a very simple index/database for huge amounts of small files. The
+ files are stored concatenated in one big data file, separated by '\0'. A
+ second file contains a plain text index, giving name, offset and length of
+ the small files. The lookup is currently done with a binary search on an
+ array made from the index file.
+ .
+ This package contains the header files and documentation needed to develop
+ applications with libffindex.
+
+Package: ffindex-dbg
+Architecture: any
+Section: debug
+Depends: ffindex (= ${binary:Version}), libffindex0 (= ${binary:Version}), ${misc:Depends}
+Description: simple index/database for huge amounts of small files
+ FFindex is a very simple index/database for huge amounts of small files. The
+ files are stored concatenated in one big data file, separated by '\0'. A
+ second file contains a plain text index, giving name, offset and length of
+ the small files. The lookup is currently done with a binary search on an
+ array made from the index file.
+ .
+ This package provides the detached debug symbols for ffindex and libffindex.

Added: trunk/packages/ffindex/trunk/debian/copyright
===================================================================
--- trunk/packages/ffindex/trunk/debian/copyright	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/copyright	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1,72 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: ffindex
+Upstream-Contact: Andreas Hauser <hauser at genzentrum.lmu.de>
+Source: http://pubshare.genzentrum.lmu.de/scientific_computing/software/ffindex/
+
+Files: src/ext/*
+Copyright: 2009 Open Information Security Foundation
+License: GPL-2.0+
+
+Files: debian/*
+Copyright: 2012 Laszlo Kajan <lkajan at rostlab.org>
+License: GPL-3.0+
+
+Files: *
+Copyright: Andreas Hauser <hauser at genzentrum.lmu.de>
+License: CC-BY-SA-3.0
+
+License: CC-BY-SA-3.0
+ Create Commons license "Attribution-ShareAlike 3.0"
+ .
+ See: http://creativecommons.org/licenses/by-sa/3.0/
+ .
+ Basically you are free:
+ .
+     * to Share — to copy, distribute and transmit the work
+     * to Remix — to adapt the work
+ .
+ Under the following conditions:
+ .
+     * Attribution
+       You must attribute the work in the manner specified by the author or
+       licensor (but not in any way that suggests that they endorse you or your
+       use of the work).
+     * Share Alike
+       If you alter, transform, or build upon this work, you may distribute the
+       resulting work only under the same or similar license to this one. 
+
+License: GPL-2.0+
+ 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, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+License: GPL-3.0+
+ 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 3 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 program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+

Added: trunk/packages/ffindex/trunk/debian/docs
===================================================================
--- trunk/packages/ffindex/trunk/debian/docs	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/docs	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1 @@
+README

Added: trunk/packages/ffindex/trunk/debian/ffindex.install
===================================================================
--- trunk/packages/ffindex/trunk/debian/ffindex.install	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/ffindex.install	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1 @@
+usr/bin/ff*

Added: trunk/packages/ffindex/trunk/debian/ffindex.manpages
===================================================================
--- trunk/packages/ffindex/trunk/debian/ffindex.manpages	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/ffindex.manpages	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1,3 @@
+ffindex_build.1
+ffindex_get.1
+ffindex_modify.1

Added: trunk/packages/ffindex/trunk/debian/libffindex0-dev.install
===================================================================
--- trunk/packages/ffindex/trunk/debian/libffindex0-dev.install	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/libffindex0-dev.install	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1,3 @@
+usr/include/*
+usr/lib/libffindex.a
+usr/lib/libffindex.so

Added: trunk/packages/ffindex/trunk/debian/libffindex0.install
===================================================================
--- trunk/packages/ffindex/trunk/debian/libffindex0.install	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/libffindex0.install	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1 @@
+usr/lib/libffindex.so.*

Added: trunk/packages/ffindex/trunk/debian/libffindex0.lintian-overrides
===================================================================
--- trunk/packages/ffindex/trunk/debian/libffindex0.lintian-overrides	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/libffindex0.lintian-overrides	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1 @@
+libffindex0: shlib-with-executable-stack usr/lib/libffindex.so.0.1.0

Added: trunk/packages/ffindex/trunk/debian/patches/Makefile
===================================================================
--- trunk/packages/ffindex/trunk/debian/patches/Makefile	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/patches/Makefile	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1,196 @@
+* make Makefile DESTDIR-aware
+* deinstall -> uninstall
+* fix issues where the path in help pages is taken from the build-time location of the executables
+Index: ffindex-0.9.3/Makefile
+===================================================================
+--- ffindex-0.9.3.orig/Makefile	2012-02-24 11:51:44.275044508 +0100
++++ ffindex-0.9.3/Makefile	2012-02-24 11:57:11.291044574 +0100
+@@ -6,15 +6,8 @@
+ MFILE=Makefile
+ endif
+ 
+-.PHONY: clean install deinstall clean
+ all:
+-	$(MAKE) -C src -f $(MFILE)
++	$(MAKE) -C src -f $(MFILE) $@
+ 
+-install:
+-	$(MAKE) -C src install
+-
+-deinstall:
+-	$(MAKE) -C src deinstall
+-
+-clean:
+-	$(MAKE) -C src clean
++%:
++	$(MAKE) -C src -f $(MFILE) $@
+Index: ffindex-0.9.3/src/Makefile
+===================================================================
+--- ffindex-0.9.3.orig/src/Makefile	2012-02-24 11:51:44.303044506 +0100
++++ ffindex-0.9.3/src/Makefile	2012-02-24 14:29:50.919044571 +0100
+@@ -1,12 +1,14 @@
+-INSTALL_DIR?=..
+-libdir=`([ -d /usr/lib64 ] && echo lib64) || echo lib`
++PREFIX?=/usr
++libdir=lib
+ LANG=C
+ CFLAGS+=-std=c99 -openmp -g -fPIC -Wall
++SOCURRENT=0
++SOVERSION=$(SOCURRENT).1.0
+ ifdef FFINDEX_STATIC
+ 	LDFLAGS+=-static
+ 	FFINDEX_OBJECTS=libffindex.a
+ else
+-	FFINDEX_OBJECTS=libffindex.so libffindex.so.0.1 
++	FFINDEX_OBJECTS=libffindex.so libffindex.so.$(SOVERSION)
+ endif
+ 
+ #-Wl,--version-script=libffindex.map
+@@ -24,16 +26,17 @@
+ ffindex_modify: $(FFINDEX_OBJECTS) ffindex_modify.o ffindex.h
+ 	$(CC) -o $@ ffindex_modify.o $(LDFLAGS) -L. -lffindex
+ 
+-libffindex.so.0.1: ffindex.o ffutil.o
+-	$(CC) -Wl,-z,defs -shared -Wl,-soname,libffindex.so.0.1 -o libffindex.so.0.1 ffindex.o ffutil.o -lc
++libffindex.so.$(SOVERSION): ffindex.o ffutil.o
++	$(CC) -Wl,-z,defstack -shared -Wl,-soname,libffindex.so.$(SOCURRENT) -o libffindex.so.$(SOVERSION) ffindex.o ffutil.o -lc
+ 
+-libffindex.so: libffindex.so.0.1
+-	ln -sf libffindex.so.0.1 libffindex.so
++libffindex.so: libffindex.so.$(SOVERSION)
++	ln -sf libffindex.so.$(SOVERSION) libffindex.so.$(SOCURRENT)
++	ln -sf libffindex.so.$(SOVERSION) libffindex.so
+ 
+ libffindex.a: ffindex.o ffutil.o
+ 	ar rcs libffindex.a ffutil.o ffindex.o 
+ 
+-test:
++check:
+ 	rm -f /tmp/test.data /tmp/test.ffindex
+ 	LD_LIBRARY_PATH=".:$(LD_LIBRARY_PATH)" ./ffindex_build -s /tmp/test.data /tmp/test.ffindex ../test/data ../test/data2
+ 	LD_LIBRARY_PATH=".:$(LD_LIBRARY_PATH)" ./ffindex_get  /tmp/test.data /tmp/test.ffindex a b foo | tee /tmp/test.out
+@@ -53,25 +56,28 @@
+ 	LD_LIBRARY_PATH=".:$(LD_LIBRARY_PATH)" zsh -c "time ./ffindex_get  ../test_big/nr20_11Jan10_a3m_db ../test_big/nr20_11Jan10_a3m_db.ffindex BABBAMIBA.a3m KARDUZEBA.a3m HARPAQIBA.a3m WOQQATEBA.a3m BEBRAQIBA.a3m GIRSAKEBA.a3m NAQTIFIBA.a3m BIWCIQABA.a3m > /dev/null"
+ 
+ clean:
+-	rm -f ffindex.o ffutil.o ffindex_build ffindex_build.o ffindex_get ffindex_get.o libffindex.so libffindex.so.0.1 ffindex_modify ffindex_modify.o libffindex.a
++	rm -f ffindex.o ffutil.o ffindex_build ffindex_build.o ffindex_get ffindex_get.o libffindex.so libffindex.so.$(SOCURRENT) libffindex.so.$(SOVERSION) ffindex_modify ffindex_modify.o libffindex.a
++
++distclean: clean
+ 
+ install:
+-	mkdir -p $(INSTALL_DIR)/bin
+-	mkdir -p $(INSTALL_DIR)/$(libdir)
+-	mkdir -p $(INSTALL_DIR)/include
+-	install ffindex_get $(INSTALL_DIR)/bin/ffindex_get
+-	install ffindex_build $(INSTALL_DIR)/bin/ffindex_build
+-	install ffindex_modify $(INSTALL_DIR)/bin/ffindex_modify
+-	install libffindex.so.0.1 $(INSTALL_DIR)/$(libdir)/libffindex.so.0.1
+-	install libffindex.a $(INSTALL_DIR)/$(libdir)/libffindex.a
+-	ln -sf libffindex.so.0.1 $(INSTALL_DIR)/$(libdir)/libffindex.so
+-	install ffindex.h $(INSTALL_DIR)/include/ffindex.h
+-	install ffutil.h $(INSTALL_DIR)/include/ffutil.h
+-
+-deinstall:
+-	rm -f $(INSTALL_DIR)/bin/ffindex_get $(INSTALL_DIR)/bin/ffindex_build $(INSTALL_DIR)/bin/ffindex_modify \
+-		$(INSTALL_DIR)/$(libdir)/libffindex.so.0.1 $(INSTALL_DIR)/$(libdir)/libffindex.a \
+-		$(INSTALL_DIR)/$(libdir)/libffindex.so $(INSTALL_DIR)/include/ffindex.h $(INSTALL_DIR)/include/ffutil.h
+-	rmdir $(INSTALL_DIR)/bin || true
+-	rmdir $(INSTALL_DIR)/$(libdir) || true
+-	rmdir $(INSTALL_DIR)/include || true
++	mkdir -p $(DESTDIR)$(PREFIX)/bin
++	mkdir -p $(DESTDIR)$(PREFIX)/$(libdir)
++	mkdir -p $(DESTDIR)$(PREFIX)/include
++	install ffindex_get $(DESTDIR)$(PREFIX)/bin/ffindex_get
++	install ffindex_build $(DESTDIR)$(PREFIX)/bin/ffindex_build
++	install ffindex_modify $(DESTDIR)$(PREFIX)/bin/ffindex_modify
++	install libffindex.so.$(SOVERSION) $(DESTDIR)$(PREFIX)/$(libdir)/libffindex.so.$(SOVERSION)
++	install libffindex.a $(DESTDIR)$(PREFIX)/$(libdir)/libffindex.a
++	ln -sf libffindex.so.$(SOVERSION) $(DESTDIR)$(PREFIX)/$(libdir)/libffindex.so.$(SOCURRENT)
++	ln -sf libffindex.so.$(SOVERSION) $(DESTDIR)$(PREFIX)/$(libdir)/libffindex.so
++	install ffindex.h $(DESTDIR)$(PREFIX)/include/ffindex.h
++	install ffutil.h $(DESTDIR)$(PREFIX)/include/ffutil.h
++
++uninstall:
++	rm -f $(PREFIX)/bin/ffindex_get $(PREFIX)/bin/ffindex_build $(PREFIX)/bin/ffindex_modify \
++		$(PREFIX)/$(libdir)/libffindex.so.$(SOVERSION) $(PREFIX)/$(libdir)/libffindex.a \
++		$(PREFIX)/$(libdir)/libffindex.so.$(SOCURRENT) $(PREFIX)/$(libdir)/libffindex.so $(PREFIX)/include/ffindex.h $(PREFIX)/include/ffutil.h
++	rmdir $(PREFIX)/bin || true
++	rmdir $(PREFIX)/$(libdir) || true
++	rmdir $(PREFIX)/include || true
+Index: ffindex-0.9.3/src/ffindex_build.c
+===================================================================
+--- ffindex-0.9.3.orig/src/ffindex_build.c	2012-02-24 11:49:40.279044528 +0100
++++ ffindex-0.9.3/src/ffindex_build.c	2012-02-24 11:51:49.663044720 +0100
+@@ -31,7 +31,7 @@
+ 
+ void usage(char *program_name)
+ {
+-    fprintf(stderr, "USAGE: %s [-a|-v] [-s] [-f file]* data_filename index_filename [dir_to_index|file]*\n"
++    fprintf(stderr, "USAGE: ffindex_build [-a|-v] [-s] [-f file]* data_filename index_filename [dir_to_index|file]*\n"
+                     "\t-a\tappend\n"
+                     "\t-d a second ffindex data file for inserting/appending\n"
+                     "\t-i a second ffindex index file for insterting/appending\n"
+@@ -39,7 +39,7 @@
+                     "\t\t-f can be specified up to %d times\n"
+                     "\t-s\tsort index file\n"
+                     "\t-v\tprint version and other info then exit\n"
+-                    "\nDesigned and implemented by Andreas W. Hauser <hauser at genzentrum.lmu.de>.\n", program_name, MAX_FILENAME_LIST_FILES);
++                    "\nDesigned and implemented by Andreas W. Hauser <hauser at genzentrum.lmu.de>.\n", MAX_FILENAME_LIST_FILES);
+ }
+ 
+ int main(int argn, char **argv)
+Index: ffindex-0.9.3/src/ffindex_get.c
+===================================================================
+--- ffindex-0.9.3.orig/src/ffindex_get.c	2012-02-24 11:49:40.299044548 +0100
++++ ffindex-0.9.3/src/ffindex_get.c	2012-02-24 11:51:49.671044437 +0100
+@@ -26,9 +26,8 @@
+ {
+   if(argn < 3)
+   {
+-    fprintf(stderr, "USAGE: %s data_filename index_filename filename(s)\n"
+-                    "\nDesigned and implemented by Andreas W. Hauser <hauser at genzentrum.lmu.de>.\n",
+-                    argv[0]);
++    fprintf(stderr, "USAGE: ffindex_get data_filename index_filename filename(s)\n"
++                    "\nDesigned and implemented by Andreas W. Hauser <hauser at genzentrum.lmu.de>.\n");
+     return -1;
+   }
+   char *data_filename  = argv[1];
+Index: ffindex-0.9.3/src/ffindex_modify.c
+===================================================================
+--- ffindex-0.9.3.orig/src/ffindex_modify.c	2012-02-24 11:49:40.331044474 +0100
++++ ffindex-0.9.3/src/ffindex_modify.c	2012-02-24 12:53:15.362982150 +0100
+@@ -30,7 +30,7 @@
+ 
+ void usage(char *program_name)
+ {
+-    fprintf(stderr, "USAGE: %s [-s|-u|-v] [-t] [-f file]* index_filename [filename]*\n"
++    fprintf(stderr, "USAGE: ffindex_modify [-s|-u|-v] [-t] [-f file]* index_filename [filename]*\n"
+                     "\t-f file\tfile each line containing a filename\n"
+                     "\t\t-f can be specified up to %d times\n"
+                     "\t-s\tsort index file\n"
+@@ -38,7 +38,7 @@
+                     "\t-u\tunlink entry (remove from index only)\n"
+                     "\t-v\tprint version and other info then exit\n"
+                     "\nDesigned and implemented by Andreas W. Hauser <hauser at genzentrum.lmu.de>.\n",
+-                    program_name, MAX_FILENAME_LIST_FILES);
++                    MAX_FILENAME_LIST_FILES);
+ }
+ 
+ int main(int argn, char **argv)
+@@ -149,14 +149,9 @@
+         sorted_names_to_unlink[y] = argv[i];
+       ffindex_unlink_entries(index, sorted_names_to_unlink, y);
+ 
+-      /* Sort the index entries and write back */
++      /* Sort the index entries */
+       if(sort)
+-      {
+         ffindex_sort_index_file(index);
+-        index_file = fopen(index_filename, "w");
+-        if(index_file == NULL) { perror(index_filename); return EXIT_FAILURE; }
+-        err += ffindex_write(index, index_file);
+-      }
+     }
+   }
+ 

Added: trunk/packages/ffindex/trunk/debian/patches/series
===================================================================
--- trunk/packages/ffindex/trunk/debian/patches/series	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/patches/series	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1 @@
+Makefile

Added: trunk/packages/ffindex/trunk/debian/rules
===================================================================
--- trunk/packages/ffindex/trunk/debian/rules	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/rules	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1,32 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+%:
+	dh $@ --parallel
+
+FFMANPAGES = ffindex_build.1 ffindex_get.1 ffindex_modify.1
+BINNAMES =	ffindex_build="build file index from files in directories";\
+		ffindex_get="retrieve entries from file index";\
+		ffindex_modify="modify file index entries";\
+
+.PHONY: override_dh_installman
+override_dh_installman: $(FFMANPAGES)
+	dh_installman
+
+$(FFMANPAGES): %.1 : debian/tmp/usr/bin/%
+	unset LD_PRELOAD && export LD_LIBRARY_PATH=debian/tmp/usr/lib && eval '$(BINNAMES)' && help2man --no-info --no-discard-stderr '--help-option= ' -n "$$$*" --version-option="-v" '$<' -o '$@'
+
+.PHONY: override_dh_clean
+override_dh_clean:
+	rm -f $(FFMANPAGES)
+	dh_clean
+
+.PHONY: override_dh_strip
+override_dh_strip:
+	dh_strip --dbg-package=ffindex-dbg
+
+get-orig-source:
+	mkdir -p ../tarballs
+	uscan --verbose --force-download --destdir=../tarballs


Property changes on: trunk/packages/ffindex/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/packages/ffindex/trunk/debian/source/format
===================================================================
--- trunk/packages/ffindex/trunk/debian/source/format	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/source/format	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: trunk/packages/ffindex/trunk/debian/watch
===================================================================
--- trunk/packages/ffindex/trunk/debian/watch	                        (rev 0)
+++ trunk/packages/ffindex/trunk/debian/watch	2012-02-24 13:45:02 UTC (rev 9776)
@@ -0,0 +1,5 @@
+version=3
+
+# Homepage  Pattern  [Version  [Action]]
+http://pubshare.genzentrum.lmu.de/scientific_computing/software/ffindex/ \
+            ffindex-([0-9][0-9.]*)\.tar\.[gzbl2]{2,3}




More information about the debian-med-commit mailing list