[lucene2] 15/104: Moved dpatch files from lucene 2.1.0 to old/

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Wed Mar 23 16:27:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

seamlik-guest pushed a commit to branch master
in repository lucene2.

commit 6d27fb17c1387a752153b020fc8344e2bb0cfd55
Author: Jan-Pascal van Best <janpascal at vanbest.org>
Date:   Wed Aug 1 20:30:38 2007 +0000

    Moved dpatch files from lucene 2.1.0 to old/
---
 debian/patches/old/01_remove_all_jarfiles.dpatch   | 33 ++++++++++++++++++++++
 debian/patches/{ => old}/02_full.dpatch            |  0
 .../03_fix-benchmark-jar-locations.dpatch          |  0
 .../04_fix-junit-error-in-contrib-highlight.dpatch |  0
 4 files changed, 33 insertions(+)

diff --git a/debian/patches/old/01_remove_all_jarfiles.dpatch b/debian/patches/old/01_remove_all_jarfiles.dpatch
new file mode 100755
index 0000000..9519714
--- /dev/null
+++ b/debian/patches/old/01_remove_all_jarfiles.dpatch
@@ -0,0 +1,33 @@
+#! /bin/sh
+## 01_remove_all_jarfiles.dpatch -- Jan-Pascal van Best <janpascal at vanbest.org>
+##
+## DP: We want to be use we do not build using jar files contained
+## DP: in the Lucene distribution tarball, so we start by removing
+## DP: all jar files.
+
+OPERATION="$1"
+DIRECTORY="$2"
+
+if [ -z "$OPERATION" ]; then
+	echo "Illegal arguments"
+	exit 1
+fi
+
+if [ -z "$DIRECTORY" ]; then
+	DIRECTORY="."
+fi
+
+case "$OPERATION" in
+  -patch)
+		echo "Removing all jar files under $DIRECTORY"
+		find $DIRECTORY -name \*.jar -exec rm {} \;
+		;;
+  -unpatch)
+		echo "Unable to magic back jar files..."
+		;;
+  *)
+		echo "Illegal command line $1 $2"
+		exit 1
+		;;
+esac
+
diff --git a/debian/patches/02_full.dpatch b/debian/patches/old/02_full.dpatch
similarity index 100%
rename from debian/patches/02_full.dpatch
rename to debian/patches/old/02_full.dpatch
diff --git a/debian/patches/03_fix-benchmark-jar-locations.dpatch b/debian/patches/old/03_fix-benchmark-jar-locations.dpatch
similarity index 100%
rename from debian/patches/03_fix-benchmark-jar-locations.dpatch
rename to debian/patches/old/03_fix-benchmark-jar-locations.dpatch
diff --git a/debian/patches/04_fix-junit-error-in-contrib-highlight.dpatch b/debian/patches/old/04_fix-junit-error-in-contrib-highlight.dpatch
similarity index 100%
rename from debian/patches/04_fix-junit-error-in-contrib-highlight.dpatch
rename to debian/patches/old/04_fix-junit-error-in-contrib-highlight.dpatch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lucene2.git



More information about the pkg-java-commits mailing list