1660 Add DCMTK package
authorPaolo Marcheschi <paolo.marcheschi@gmail.com>
Sat, 19 Nov 2011 12:41:07 -0500
changeset 487 ef261e04aa6b
parent 486 dd715789f356
child 488 8e8c25bf32f7
1660 Add DCMTK package
components/dcmtk/Makefile
components/dcmtk/dcmtk.licence
components/dcmtk/dcmtk.p5m
components/dcmtk/patches/dcmtk.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/dcmtk/Makefile	Sat Nov 19 12:41:07 2011 -0500
@@ -0,0 +1,49 @@
+#
+# This file and its contents are supplied under the terms of the
+# Common Development and Distribution License ("CDDL)". You may
+# only use this file in accordance with the terms of the CDDL.
+#
+# A full copy of the text of the CDDL should have accompanied this
+# source. A copy of the CDDL is also available via the Internet at
+# http://www.illumos.org/license/CDDL.
+#
+
+#
+# Copyright 2011 Paolo Marcheschi [email protected]
+# with the invaluable help of Josef 'Jeff' Sipek <[email protected]>
+#
+include ../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		dcmtk
+COMPONENT_VERSION=	3.6.0
+COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
+COMPONENT_ARCHIVE=	$(COMPONENT_SRC).zip
+COMPONENT_ARCHIVE_HASH=	sha1:e3cab3cadbdb68c92939439cf14425b06a334204
+COMPONENT_ARCHIVE_URL=	http://dicom.offis.de/download/dcmtk/dcmtk360/$(COMPONENT_ARCHIVE)
+COMPONENT_PROJECT_URL=	http://dicom.offis.de/dcmtk
+
+include ../../make-rules/prep.mk
+include ../../make-rules/configure.mk
+include ../../make-rules/ips.mk
+
+COMPILER=gcc
+
+COMPONENT_PRE_CONFIGURE_ACTION = \
+	($(CLONEY) $(SOURCE_DIR) $(@D))
+
+CONFIGURE_OPTIONS       += --sysconfdir=/etc
+CONFIGURE_OPTIONS       += --with-private-tags
+CONFIGURE_OPTIONS       += --datarootdir=/usr/share
+CONFIGURE_OPTIONS       += --datadir=/usr/share/dcmtk
+CONFIGURE_OPTIONS       += --docdir=$(CONFIGURE_PREFIX)/share/doc/dcmtk
+
+
+build:		$(BUILD_32)
+
+install:	$(INSTALL_32)
+
+test:		$(TEST_32)
+
+BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
+
+include ../../make-rules/depend.mk
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/dcmtk/dcmtk.licence	Sat Nov 19 12:41:07 2011 -0500
@@ -0,0 +1,373 @@
+COPYRIGHT
+
+Unless otherwise specified, the DCMTK software package has the following
+copyright:
+
+/*
+ *  Copyright (C) 1994-2011, OFFIS e.V.
+ *  All rights reserved.
+ *
+ *  This software and supporting documentation were developed by
+ *
+ *    OFFIS e.V.
+ *    R&D Division Health
+ *    Escherweg 2
+ *    26121 Oldenburg, Germany
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions
+ *  are met:
+ *
+ *  - Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ *
+ *  - Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ *  - Neither the name of OFFIS nor the names of its contributors may be
+ *    used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ *  HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ */
+
+Please note that some DCMTK modules, especially those that are not part
+of the free toolkit, are covered by a separate license which can be found
+in the COPYRIGHT file in the corresponding module directory.
+
+Some portions of the DCMTK software package are derived from earlier
+versions of this software with the following copyright, and can be
+identified by the following copyright notice located in each source file:
+
+/*
+ *  Copyright (C) 1993/1994, OFFIS, Oldenburg University and CERIUM
+ *
+ *  This software and supporting documentation were
+ *  developed by
+ *
+ *    Institut OFFIS
+ *    Bereich Kommunikationssysteme
+ *    Westerstr. 10-12
+ *    26121 Oldenburg, Germany
+ *
+ *    Fachbereich Informatik
+ *    Abteilung Prozessinformatik
+ *    Carl von Ossietzky Universitaet Oldenburg
+ *    Ammerlaender Heerstr. 114-118
+ *    26111 Oldenburg, Germany
+ *
+ *    CERIUM
+ *    Laboratoire SIM
+ *    Faculte de Medecine
+ *    2 Avenue du Pr. Leon Bernard
+ *    35043 Rennes Cedex, France
+ *
+ *  for CEN/TC251/WG4 as a contribution to the Radiological
+ *  Society of North America (RSNA) 1993 Digital Imaging and
+ *  Communications in Medicine (DICOM) Demonstration.
+ *
+ *  THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND NEITHER OFFIS,
+ *  OLDENBURG UNIVERSITY NOR CERIUM MAKE ANY WARRANTY REGARDING
+ *  THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR
+ *  FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER
+ *  DISEASES OR ITS CONFORMITY TO ANY SPECIFICATION.  THE
+ *  ENTIRE RISK AS TO QUALITY AND PERFORMANCE OF THE SOFTWARE
+ *  IS WITH THE USER.
+ *
+ *  Copyright of the software and supporting documentation
+ *  is, unless otherwise stated, jointly owned by OFFIS,
+ *  Oldenburg University and CERIUM and free access is hereby
+ *  granted as a license to use this software, copy this
+ *  software and prepare derivative works based upon this
+ *  software. However, any distribution of this software
+ *  source code or supporting documentation or derivative
+ *  works (source code and supporting documentation) must
+ *  include the three paragraphs of this copyright notice.
+ *
+ */
+
+Some other parts of this software within the dcmtk/dcmnet sub-package
+related to the DICOM Upper Layer Protocol are derived from software
+developed for the RSNA'93 DICOM demonstration and kindly made available
+to us by the Mallinckrodt Institute of Radiology.  Such software can be
+identified by the following copyright notice located in each affected
+source file:
+
+/*
+ *  Copyright (C) 1993, RSNA and Washington University
+ *
+ *  The software and supporting documentation for the Radiological
+ *  Society of North America (RSNA) 1993 Digital Imaging and
+ *  Communications in Medicine (DICOM) Demonstration were developed
+ *  at the
+ *          Electronic Radiology Laboratory
+ *          Mallinckrodt Institute of Radiology
+ *          Washington University School of Medicine
+ *          510 S. Kingshighway Blvd.
+ *          St. Louis, MO 63110
+ *  as part of the 1993 DICOM Central Test Node project for, and
+ *  under contract with, the Radiological Society of North America.
+ *
+ *  THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND NEITHER RSNA NOR
+ *  WASHINGTON UNIVERSITY MAKE ANY WARRANTY ABOUT THE SOFTWARE, ITS
+ *  PERFORMANCE, ITS MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR
+ *  USE, FREEDOM FROM ANY COMPUTER DISEASES OR ITS CONFORMITY TO ANY
+ *  SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND PERFORMANCE OF
+ *  THE SOFTWARE IS WITH THE USER.
+ *
+ *  Copyright of the software and supporting documentation is
+ *  jointly owned by RSNA and Washington University, and free access
+ *  is hereby granted as a license to use this software, copy this
+ *  software and prepare derivative works based upon this software.
+ *  However, any distribution of this software source code or
+ *  supporting documentation or derivative works (source code and
+ *  supporting documentation) must include the three paragraphs of
+ *  the copyright notice.
+ */
+
+The dcmjpeg sub-package includes an adapted version of the Independent
+JPEG Group Toolkit Version 6b, which is contained in dcmjpeg/libijg8,
+dcmjpeg/libijg12 and dcmjpeg/libijg16.  This toolkit is covered by the
+following copyright.  The original README file for the Independent JPEG
+Group Toolkit is located in dcmjpeg/docs/ijg_readme.txt.
+
+/*
+ *  The authors make NO WARRANTY or representation, either express or implied,
+ *  with respect to this software, its quality, accuracy, merchantability, or
+ *  fitness for a particular purpose.  This software is provided "AS IS", and you,
+ *  its user, assume the entire risk as to its quality and accuracy.
+ *
+ *  This software is copyright (C) 1991-1998, Thomas G. Lane.
+ *  All Rights Reserved except as specified below.
+ *
+ *  Permission is hereby granted to use, copy, modify, and distribute this
+ *  software (or portions thereof) for any purpose, without fee, subject to these
+ *  conditions:
+ *  (1) If any part of the source code for this software is distributed, then this
+ *  README file must be included, with this copyright and no-warranty notice
+ *  unaltered; and any additions, deletions, or changes to the original files
+ *  must be clearly indicated in accompanying documentation.
+ *  (2) If only executable code is distributed, then the accompanying
+ *  documentation must state that "this software is based in part on the work of
+ *  the Independent JPEG Group".
+ *  (3) Permission for use of this software is granted only if the user accepts
+ *  full responsibility for any undesirable consequences; the authors accept
+ *  NO LIABILITY for damages of any kind.
+ *
+ *  These conditions apply to any software derived from or based on the IJG code,
+ *  not just to the unmodified library.  If you use our work, you ought to
+ *  acknowledge us.
+ *
+ *  Permission is NOT granted for the use of any IJG author's name or company name
+ *  in advertising or publicity relating to this software or products derived from
+ *  it.  This software may be referred to only as "the Independent JPEG Group's
+ *  software".
+ *
+ *  We specifically permit and encourage the use of this software as the basis of
+ *  commercial products, provided that all warranty or liability claims are
+ *  assumed by the product vendor.
+ */
+
+The code for the interpolatePixel() image scaling algorithm in module
+dcmimgle has been derived from code written by Jef Poskanzer for the
+"Extended Portable Bitmap Toolkit" (pbmplus10dec91) which has the
+following copyright:
+
+/*
+ * Copyright (C) 1991 by Jef Poskanzer.
+ *
+ * Permission to use, copy, modify, and distribute this software and its
+ * documentation for any purpose and without fee is hereby granted, provided
+ * that the above copyright notice appear in all copies and that both that
+ * copyright notice and this permission notice appear in supporting
+ * documentation.  This software is provided "as is" without express or
+ * implied warranty.
+ */
+
+The color quantization code in module dcmimage (dcmquant and the related
+classes) has been derived from code written by Jef Poskanzer for the
+NetPBM toolkit which has the following copyright:
+
+/*
+ * Copyright (C) 1989, 1991 by Jef Poskanzer.
+ *
+ * Permission to use, copy, modify, and distribute this software and its
+ * documentation for any purpose and without fee is hereby granted, provided
+ * that the above copyright notice appear in all copies and that both that
+ * copyright notice and this permission notice appear in supporting
+ * documentation.  This software is provided "as is" without express or
+ * implied warranty.
+ */
+
+The code for the OFStandard::strlcpy and OFStandard::strlcat helper
+functions in ofstd/libsrc/ofstd.cc has been derived from the BSD
+implementation of strlcpy() and strlcat() and which carries the
+following copyright notice:
+
+/*
+ *  Copyright (c) 1998 Todd C. Miller <Todd.Miller(at)courtesan.com>
+ *  All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions
+ *  are met:
+ *  1. Redistributions of source code must retain the above copyright
+ *     notice, this list of conditions and the following disclaimer.
+ *  2. Redistributions in binary form must reproduce the above copyright
+ *     notice, this list of conditions and the following disclaimer in the
+ *     documentation and/or other materials provided with the distribution.
+ *  3. The name of the author may not be used to endorse or promote products
+ *     derived from this software without specific prior written permission.
+ *
+ *  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ *  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+ *  AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ *  THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ *  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+ *  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ *  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ *  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ *  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+The code for the OFStandard::atof helper function in ofstd/libsrc/ofstd.cc
+has been derived from an implementation which carries the following
+copyright notice:
+
+/*
+ *  Copyright 1988 Regents of the University of California
+ *  Permission to use, copy, modify, and distribute this software and
+ *  its documentation for any purpose and without fee is hereby granted,
+ *  provided that the above copyright notice appear in all copies.  The
+ *  University of California makes no representations about the
+ *  suitability of this software for any purpose.  It is provided "as
+ *  is" without express or implied warranty.
+ *
+ *
+ *  The code for OFStandard::ftoa has been derived
+ *  from an implementation which carries the following copyright notice:
+ *
+ *  Copyright (c) 1988 Regents of the University of California.
+ *  All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms are permitted
+ *  provided that the above copyright notice and this paragraph are
+ *  duplicated in all such forms and that any documentation,
+ *  advertising materials, and other materials related to such
+ *  distribution and use acknowledge that the software was developed
+ *  by the University of California, Berkeley.  The name of the
+ *  University may not be used to endorse or promote products derived
+ *  from this software without specific prior written permission.
+ *  THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ *  IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ *  WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+The "Base64" encoder/decoder in ofstd/libsrc/ofstd.cc has been derived
+from an implementation which carries the following copyright notice:
+
+/*
+ *  Copyright (c) 1999, Bob Withers - bwit(at)pobox.com
+ *
+ *  This code may be freely used for any purpose, either personal or commercial,
+ *  provided the authors copyright notice remains intact.
+ */
+
+The oflog sub-package is based on the log4cplus library which is covered by
+the following two copyright notices (for details see oflog/docs/LICENSE):
+
+/*
+ *     Copyright (C) 1999-2009 Contributors to log4cplus project.
+ *     All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without modifica-
+ *  tion, are permitted provided that the following conditions are met:
+ *
+ *  1. Redistributions of  source code must  retain the above copyright  notice,
+ *     this list of conditions and the following disclaimer.
+ *
+ *  2. Redistributions in binary form must reproduce the above copyright notice,
+ *     this list of conditions and the following disclaimer in the documentation
+ *     and/or other materials provided with the distribution.
+ *
+ *  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
+ *  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ *  FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
+ *  APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
+ *  INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
+ *  DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ *  OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
+ *  ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
+ *  (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
+ *  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ */
+
+// Module:  Log4CPLUS
+// File:    appender.h
+// Created: 6/2001
+// Author:  Tad E. Smith
+//
+//
+// Copyright 2001-2009 Tad E. Smith
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+The dcmjpls sub-package is based on the CharLS library, which is contained
+in dcmjpls/libcharls. This toolkit is covered by the following copyright:
+
+/*
+ *  The CharLS library is available under the following license:
+ *  -------------------------------------------------------------------------------
+ *  Copyright (c) 2007-2010, Jan de Vaan
+ *  All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  * Redistributions of source code must retain the above copyright notice, this
+ *    list of conditions and the following disclaimer.
+ *
+ *  * Redistributions in binary form must reproduce the above copyright notice,
+ *    this list of conditions and the following disclaimer in the documentation
+ *    and/or other materials provided with the distribution.
+ *
+ *  * Neither the name of my employer, nor the names of its contributors may be
+ *    used to endorse or promote products derived from this software without
+ *    specific prior written permission.
+ *
+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ *  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ *  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ *  DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ *  ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ *  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ *  ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ *  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/dcmtk/dcmtk.p5m	Sat Nov 19 12:41:07 2011 -0500
@@ -0,0 +1,179 @@
+#
+# This file and its contents are supplied under the terms of the
+# Common Development and Distribution License ("CDDL)". You may
+# only use this file in accordance with the terms of the CDDL.
+#
+# A full copy of the text of the CDDL should have accompanied this
+# source. A copy of the CDDL is also available via the Internet at
+# http://www.illumos.org/license/CDDL.
+#
+
+#
+# Copyright 2011 Paolo Marcheschi [email protected]
+#
+
+<transform file path=usr/share/man/.+ -> default mangler.man.stability uncommitted>
+set name=pkg.fmri value=pkg://image/dcmtk@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="DCMTK is a collection of libraries and applications implementing large parts the DICOM standard."
+set name=info.classification value="org.opensolaris.category.2008:Applications/Graphics and Imaging"
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+
+license dcmtk.licence license='BSD'
+
+dir  path=etc
+file path=etc/dcmpstat.cfg
+file path=etc/dcmqrscp.cfg
+file path=etc/filelog.cfg
+file path=etc/logger.cfg
+file path=etc/printers.cfg
+file path=etc/storescp.cfg
+file path=etc/storescu.cfg
+dir  path=usr
+dir  path=usr/bin
+file path=usr/bin/dcm2pdf
+file path=usr/bin/dcm2pnm
+file path=usr/bin/dcm2xml
+file path=usr/bin/dcmcjpeg
+file path=usr/bin/dcmcjpls
+file path=usr/bin/dcmconv
+file path=usr/bin/dcmcrle
+file path=usr/bin/dcmdjpeg
+file path=usr/bin/dcmdjpls
+file path=usr/bin/dcmdrle
+file path=usr/bin/dcmdspfn
+file path=usr/bin/dcmdump
+file path=usr/bin/dcmftest
+file path=usr/bin/dcmgpdir
+file path=usr/bin/dcmj2pnm
+file path=usr/bin/dcml2pnm
+file path=usr/bin/dcmmkcrv
+file path=usr/bin/dcmmkdir
+file path=usr/bin/dcmmklut
+file path=usr/bin/dcmodify
+file path=usr/bin/dcmp2pgm
+file path=usr/bin/dcmprscp
+file path=usr/bin/dcmprscu
+file path=usr/bin/dcmpschk
+file path=usr/bin/dcmpsmk
+file path=usr/bin/dcmpsprt
+file path=usr/bin/dcmpsrcv
+file path=usr/bin/dcmpssnd
+file path=usr/bin/dcmqridx
+file path=usr/bin/dcmqrscp
+file path=usr/bin/dcmqrti
+file path=usr/bin/dcmquant
+file path=usr/bin/dcmscale
+file path=usr/bin/dcmsign
+file path=usr/bin/dcod2lum
+file path=usr/bin/dconvlum
+file path=usr/bin/dsr2html
+file path=usr/bin/dsr2xml
+file path=usr/bin/dsrdump
+file path=usr/bin/dump2dcm
+file path=usr/bin/echoscu
+file path=usr/bin/findscu
+file path=usr/bin/img2dcm
+file path=usr/bin/movescu
+file path=usr/bin/pdf2dcm
+file path=usr/bin/storescp
+file path=usr/bin/storescu
+file path=usr/bin/termscu
+file path=usr/bin/wlmscpfs
+file path=usr/bin/xml2dcm
+file path=usr/bin/xml2dsr
+dir  path=usr/share
+dir  path=usr/share/dcmtk
+file path=usr/share/dcmtk/SC.dump
+file path=usr/share/dcmtk/VLP.dump
+file path=usr/share/dcmtk/camera.lut
+file path=usr/share/dcmtk/dcm2xml.dtd
+file path=usr/share/dcmtk/dicom.dic
+file path=usr/share/dcmtk/diconde.dic
+file path=usr/share/dcmtk/dsr2xml.xsd
+file path=usr/share/dcmtk/dumppat.txt
+file path=usr/share/dcmtk/monitor.lut
+file path=usr/share/dcmtk/philips.lut
+file path=usr/share/dcmtk/printer.lut
+file path=usr/share/dcmtk/private.dic
+file path=usr/share/dcmtk/report.css
+file path=usr/share/dcmtk/reportx.css
+file path=usr/share/dcmtk/scanner.lut
+dir  path=usr/share/dcmtk/wlistdb
+dir  path=usr/share/dcmtk/wlistdb/OFFIS
+dir  path=usr/share/dcmtk/wlistqry
+dir  path=usr/share/doc
+dir  path=usr/share/doc/dcmtk
+file path=usr/share/doc/dcmtk/ANNOUNCE.360
+file path=usr/share/doc/dcmtk/CHANGES.360
+file path=usr/share/doc/dcmtk/COPYRIGHT
+file path=usr/share/doc/dcmtk/FAQ
+file path=usr/share/doc/dcmtk/HISTORY
+file path=usr/share/doc/dcmtk/VERSION
+file path=usr/share/doc/dcmtk/asconfig.txt
+file path=usr/share/doc/dcmtk/ciphers.txt
+file path=usr/share/doc/dcmtk/config.txt
+file path=usr/share/doc/dcmtk/datadict.txt
+file path=usr/share/doc/dcmtk/dcmqrcnf.txt
+file path=usr/share/doc/dcmtk/dcmqrset.txt
+file path=usr/share/doc/dcmtk/dirstruc.txt
+file path=usr/share/doc/dcmtk/envvars.txt
+file path=usr/share/doc/dcmtk/macros.txt
+file path=usr/share/doc/dcmtk/modules.txt
+file path=usr/share/doc/dcmtk/randseed.txt
+file path=usr/share/doc/dcmtk/testing.txt
+file path=usr/share/doc/dcmtk/wwwapp.txt
+dir  path=usr/share/man
+dir  path=usr/share/man/man1
+file path=usr/share/man/man1/dcm2pdf.1
+file path=usr/share/man/man1/dcm2pnm.1
+file path=usr/share/man/man1/dcm2xml.1
+file path=usr/share/man/man1/dcmcjpeg.1
+file path=usr/share/man/man1/dcmcjpls.1
+file path=usr/share/man/man1/dcmconv.1
+file path=usr/share/man/man1/dcmcrle.1
+file path=usr/share/man/man1/dcmdjpeg.1
+file path=usr/share/man/man1/dcmdjpls.1
+file path=usr/share/man/man1/dcmdrle.1
+file path=usr/share/man/man1/dcmdspfn.1
+file path=usr/share/man/man1/dcmdump.1
+file path=usr/share/man/man1/dcmftest.1
+file path=usr/share/man/man1/dcmgpdir.1
+file path=usr/share/man/man1/dcmj2pnm.1
+file path=usr/share/man/man1/dcml2pnm.1
+file path=usr/share/man/man1/dcmmkcrv.1
+file path=usr/share/man/man1/dcmmkdir.1
+file path=usr/share/man/man1/dcmmklut.1
+file path=usr/share/man/man1/dcmodify.1
+file path=usr/share/man/man1/dcmp2pgm.1
+file path=usr/share/man/man1/dcmprscp.1
+file path=usr/share/man/man1/dcmprscu.1
+file path=usr/share/man/man1/dcmpschk.1
+file path=usr/share/man/man1/dcmpsmk.1
+file path=usr/share/man/man1/dcmpsprt.1
+file path=usr/share/man/man1/dcmpsrcv.1
+file path=usr/share/man/man1/dcmpssnd.1
+file path=usr/share/man/man1/dcmqridx.1
+file path=usr/share/man/man1/dcmqrscp.1
+file path=usr/share/man/man1/dcmqrti.1
+file path=usr/share/man/man1/dcmquant.1
+file path=usr/share/man/man1/dcmscale.1
+file path=usr/share/man/man1/dcmsign.1
+file path=usr/share/man/man1/dcod2lum.1
+file path=usr/share/man/man1/dconvlum.1
+file path=usr/share/man/man1/dsr2html.1
+file path=usr/share/man/man1/dsr2xml.1
+file path=usr/share/man/man1/dsrdump.1
+file path=usr/share/man/man1/dump2dcm.1
+file path=usr/share/man/man1/echoscu.1
+file path=usr/share/man/man1/findscu.1
+file path=usr/share/man/man1/img2dcm.1
+file path=usr/share/man/man1/movescu.1
+file path=usr/share/man/man1/pdf2dcm.1
+file path=usr/share/man/man1/storescp.1
+file path=usr/share/man/man1/storescu.1
+file path=usr/share/man/man1/termscu.1
+file path=usr/share/man/man1/wlmscpfs.1
+file path=usr/share/man/man1/xml2dcm.1
+file path=usr/share/man/man1/xml2dsr.1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/dcmtk/patches/dcmtk.patch	Sat Nov 19 12:41:07 2011 -0500
@@ -0,0 +1,23 @@
+diff -ur dcmtk2/dcmdata/libsrc/vrscanl.c dcmtk1/dcmdata/libsrc/vrscanl.c
+--- dcmtk2/dcmdata/libsrc/vrscanl.c	2010-10-14 13:07:00.000000000 +0000
++++ dcmtk1/dcmdata/libsrc/vrscanl.c	2011-10-31 17:41:34.398884922 +0000
+@@ -5603,7 +5603,6 @@
+  * %option nounistd
+  */
+ #line 120 "vrscanl.l"
+-static int isatty(int fd) { return 0; }
+ #line 5605 "vrscanl.c"
+ 
+ #define INITIAL 0
+diff -ur dcmtk2/dcmwlm/data/Makefile.in dcmtk1/dcmwlm/data/Makefile.in
+--- dcmtk2/dcmwlm/data/Makefile.in	2010-12-06 10:20:01.000000000 +0000
++++ dcmtk1/dcmwlm/data/Makefile.in	2011-10-31 17:36:44.805339017 +0000
+@@ -20,7 +20,7 @@
+ 	$(configdir)/mkinstalldirs $(DESTDIR)$(datadir)
+ 	for folder in $(folders); do \
+ 		$(configdir)/mkinstalldirs $(DESTDIR)$(datadir)/$$folder ;\
+-		find $$folder -maxdepth 1 -type f -exec $(INSTALL_DATA) {} $(DESTDIR)$(datadir)/$$folder \; ;\
++		find $$folder -prune -type f -exec $(INSTALL_DATA) {} $(DESTDIR)$(datadir)/$$folder \; ;\
+ 	done
+ 
+ clean: