[med-svn] r3751 - trunk/packages/dicom3tools/trunk/debian

Mathieu Malaterre malat-guest at alioth.debian.org
Sun Aug 9 09:57:54 UTC 2009


Author: malat-guest
Date: 2009-08-09 09:57:54 +0000 (Sun, 09 Aug 2009)
New Revision: 3751

Modified:
   trunk/packages/dicom3tools/trunk/debian/README.Debian
   trunk/packages/dicom3tools/trunk/debian/changelog
   trunk/packages/dicom3tools/trunk/debian/rules
Log:
Redo packaging, only ship minimal cmd line utilities

Modified: trunk/packages/dicom3tools/trunk/debian/README.Debian
===================================================================
--- trunk/packages/dicom3tools/trunk/debian/README.Debian	2009-08-09 08:35:41 UTC (rev 3750)
+++ trunk/packages/dicom3tools/trunk/debian/README.Debian	2009-08-09 09:57:54 UTC (rev 3751)
@@ -5,11 +5,38 @@
 
 See: http://www.dclunie.com/dicom3tools.html
 
-Package details:
+We only distribute the read-only cmd line executable, just as the official ones:
+
+$ unzip dicom3tools_winexe_1.00.snapshot.20090716.zip
+Archive:  dicom3tools_winexe_1.00.snapshot.20090716.zip
+  inflating: andump.exe              
+  inflating: dcdump.exe              
+  inflating: dcentvfy.exe            
+  inflating: dcfile.exe              
+  inflating: dchist.exe              
+  inflating: dciodvfy.exe            
+  inflating: dckey.exe               
+  inflating: dcsort.exe              
+  inflating: dcsrdump.exe            
+  inflating: dcstats.exe             
+  inflating: dctable.exe             
+  inflating: cygwin1.dll             
+
+
+Historical footnote, at first the package was being distributed with tool that 
+would generate DICOM with invalid root UID:
+...
 The package is setup so that default Root UID is 0.0.0.0. This means that DICOM
 file created will be syntaxically correct, but will be refused by standard DICOM
 implementation as this is not allowed as valid Root UID. You should either only
 use this package for validation, but not in a production site, where produced
 DICOM files are supposed to be sent to the outside world.
+...
 
- -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Sun, 14 Dec 2008 17:28:00 +0100
+But the main author objected that this would be extremely dangerous, as such it was decided to
+only distribute the exact same binaries as the one for windows and macosx. Ref:
+
+Debian package for dicom3tools:
+http://groups.google.com/group/comp.protocols.dicom/browse_thread/thread/719f2662d40e5c63
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Sun, 09 Aug 2009 10:39:39 +0200

Modified: trunk/packages/dicom3tools/trunk/debian/changelog
===================================================================
--- trunk/packages/dicom3tools/trunk/debian/changelog	2009-08-09 08:35:41 UTC (rev 3750)
+++ trunk/packages/dicom3tools/trunk/debian/changelog	2009-08-09 09:57:54 UTC (rev 3751)
@@ -1,3 +1,10 @@
+dicom3tools (1.0~20090716-2) unstable; urgency=low
+
+  * Fix the copyright file, include exact wording,
+  * Only distribute the same binaries as what the main author is doing 
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Sun, 09 Aug 2009 10:39:39 +0200
+
 dicom3tools (1.0~20090716-1) unstable; urgency=low
 
   * Initial Release (Closes: #508901)

Modified: trunk/packages/dicom3tools/trunk/debian/rules
===================================================================
--- trunk/packages/dicom3tools/trunk/debian/rules	2009-08-09 08:35:41 UTC (rev 3750)
+++ trunk/packages/dicom3tools/trunk/debian/rules	2009-08-09 09:57:54 UTC (rev 3751)
@@ -85,8 +85,10 @@
 	# hyphen-used-as-minus-sign
 	#find $(CURDIR)/debian/dicom3tools/usr/share/man/man1 -type f -exec sed -i -e 's/-/\\-/g' {} \;
 	# Can't use above -> manpage-has-bad-whatis-entry
+	# Remove except list :
+	find $(CURDIR)/debian/dicom3tools/usr/bin -type f -not \( -name andump\* -o -name dcdump\* -o -name dcentvfy\* -o -name dcfile\* -o -name dchist\* -o -name dciodvfy\* -o -name dckey\* -o -name dcsort\* -o -name dcsrdump\* -o -name dcstats\* -o -name dctable\* \) -print | xargs rm; \
+	find $(CURDIR)/debian/dicom3tools/usr/share/man -type f -not \( -name andump\* -o -name dcdump\* -o -name dcentvfy\* -o -name dcfile\* -o -name dchist\* -o -name dciodvfy\* -o -name dckey\* -o -name dcsort\* -o -name dcsrdump\* -o -name dcstats\* -o -name dctable\* \) -print | xargs rm; \
 
-
 # Build architecture-independent files here.
 binary-indep: build install
 # We have nothing to do by default.




More information about the debian-med-commit mailing list