[med-svn] r24375 - in trunk/packages/orthanc-postgresql: tags tags/2.0-4 tags/2.0-4/configuration tags/2.0-4/patches tags/2.0-4/source tags/2.0-4/upstream trunk/debian
Sebastien Jodogne
jodogne-guest at moszumanska.debian.org
Mon Oct 16 08:07:55 UTC 2017
Author: jodogne-guest
Date: 2017-10-16 08:07:54 +0000 (Mon, 16 Oct 2017)
New Revision: 24375
Added:
trunk/packages/orthanc-postgresql/tags/2.0-4/
trunk/packages/orthanc-postgresql/tags/2.0-4/README.Debian
trunk/packages/orthanc-postgresql/tags/2.0-4/changelog
trunk/packages/orthanc-postgresql/tags/2.0-4/compat
trunk/packages/orthanc-postgresql/tags/2.0-4/configuration/
trunk/packages/orthanc-postgresql/tags/2.0-4/configuration/postgresql.json
trunk/packages/orthanc-postgresql/tags/2.0-4/control
trunk/packages/orthanc-postgresql/tags/2.0-4/copyright
trunk/packages/orthanc-postgresql/tags/2.0-4/install
trunk/packages/orthanc-postgresql/tags/2.0-4/patches/
trunk/packages/orthanc-postgresql/tags/2.0-4/patches/postgresql-10
trunk/packages/orthanc-postgresql/tags/2.0-4/patches/series
trunk/packages/orthanc-postgresql/tags/2.0-4/patches/shlibs
trunk/packages/orthanc-postgresql/tags/2.0-4/postinst
trunk/packages/orthanc-postgresql/tags/2.0-4/postrm
trunk/packages/orthanc-postgresql/tags/2.0-4/rules
trunk/packages/orthanc-postgresql/tags/2.0-4/source/
trunk/packages/orthanc-postgresql/tags/2.0-4/source/format
trunk/packages/orthanc-postgresql/tags/2.0-4/upstream/
trunk/packages/orthanc-postgresql/tags/2.0-4/upstream/metadata
trunk/packages/orthanc-postgresql/tags/2.0-4/watch
Modified:
trunk/packages/orthanc-postgresql/trunk/debian/changelog
Log:
Tagged 2.0-4
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/README.Debian
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/README.Debian (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/README.Debian 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1,139 @@
+General
+=======
+
+Orthanc PostgreSQL is a set of 2 plugins to Orthanc, a lightweight,
+RESTful Vendor Neutral Archive for medical imaging. These plugins
+override the default SQLite engine of Orthanc with a PostgreSQL
+back-end. They bring scalability to Orthanc, making it
+enterprise-ready.
+
+Homepage: http://www.orthanc-server.com/static.php?page=postgresql
+
+
+
+Configuration
+=============
+
+To enable the plugin, you must specify the parameters of your
+PostgreSQL database by adapting the configuration file
+"/etc/orthanc/postgresql.json". Then, restart the Orthanc service:
+
+ $> sudo systemctl restart orthanc.service
+
+
+
+Upgrade
+=======
+
+The schema of the Orthanc database evolves across versions. If you use
+a PostgreSQL database that was created for an older version of the
+schema, Orthanc will fail to start and you will have to manually
+upgrade the database.
+
+You can read the status of the Orthanc service in the log:
+
+ $> cat /var/log/orthanc/Orthanc.log
+
+If, after upgrading the orthanc-postgresql package, Orthanc complains
+that the database schema must be upgraded, type the following commands
+(reconstructing the database may take some time):
+
+ $> sudo systemctl stop orthanc.service
+ $> sudo /usr/sbin/Orthanc /etc/orthanc --verbose --upgrade
+ $> sudo systemctl start orthanc.service
+
+
+NOTE: As an alternative to the automated upgrade (e.g. if you face
+problems or if you wish to keep the older version of the database),
+you can have a look at the instructions for replication in the Orthanc
+Book: https://orthanc.chu.ulg.ac.be/book/users/replication.html
+
+
+
+Step-by-step tutorial
+=====================
+
+(1) Install the database server:
+
+ $> sudo apt-get install postgresql
+
+
+(2) Create a database account a database to store the
+ content of Orthanc:
+
+ $> sudo -u postgres createuser -e orthanc
+ $> sudo -u postgres createdb -e -E utf8 -O orthanc orthanc_db
+
+
+(3) Restrict access to the Orthanc database:
+
+ Edit /etc/postgresql/VERSION/main/pg_hba.conf to contain
+
+ local orthanc_db orthanc ident
+
+ somewhere AFTER the lines
+
+ # Database administrative login by Unix domain socket
+ local all postgres ident
+
+ Reload PostgreSQL configuration
+
+ $> sudo systemctl reload postgresql.service
+
+
+(3) Edit the configuration file "/etc/orthanc/postgresql.json"
+ to make Orthanc connect to PostgreSQL:
+
+ "PostgreSQL" : {
+ "EnableIndex" : true,
+ "EnableStorage": true,
+ "ConnectionUri" : "postgresql:///orthanc_db?user=orthanc",
+ }
+
+ Make sure to comment out all individual authentication
+ parameters such as Host, Port, ...
+
+
+(4) Restart the Orthanc service and check the logs:
+
+ $> sudo apt-get install postgresql
+ $> sudo less /var/log/orthanc/Orthanc.WARNING
+ $> sudo less /var/log/postgresql/postgresl-VERSION-main.log
+
+
+
+Further notes
+=============
+
+Setup
+
+One can use any name for the database, as long as reality and
+configuration match.
+
+The database account should be "orthanc" in order to enable intuitive use
+of PEER authentication because Orthanc is running as the "orthanc" system
+user. If you need to use another database account adjust pg_hba.conf
+accordingly or use a user name mapping (see PostgreSQL documentation).
+
+
+Data integrity
+
+If you intend to set "StoreMD5ForAttachments" to "true" in orthanc.json
+you should strongly consider making sure the PostgreSQL cluster is set to
+provide on-disk data page checksumming instead. Check with the following
+SQL query:
+
+ psql> select * from pg_settings where name = 'data_checksums';
+
+There is no need to make Orthanc calculate MD5 sums when PostgreSQL is
+already doing it for on-disk storage.
+
+
+Data compression
+
+Also, strongly consider to NOT set "StorageCompression" to "true" when
+using PostgreSQL because the database will already compress data (TOAST,
+EXTENDED storage, pg_largeobject)
+
+
+Data migration
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/changelog
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/changelog (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/changelog 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1,52 @@
+orthanc-postgresql (2.0-4) unstable; urgency=medium
+
+ * Fix to find PostgreSQL 10 dev headers. Closes: #878565
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Mon, 16 Oct 2017 09:20:09 +0200
+
+orthanc-postgresql (2.0-3) unstable; urgency=medium
+
+ * Fix to find PostgreSQL 9.6 dev headers. Closes: #839309
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Mon, 03 Oct 2016 10:45:00 +0200
+
+orthanc-postgresql (2.0-2) unstable; urgency=medium
+
+ * Fix to find PostgreSQL 9.5 dev headers. Closes: #811141
+ * Add hardening flags
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Wed, 29 Jun 2016 17:02:36 +0200
+
+orthanc-postgresql (2.0-1) unstable; urgency=medium
+
+ * New upstream version.
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Thu, 10 Dec 2015 15:13:49 +0100
+
+orthanc-postgresql (1.3-1) unstable; urgency=medium
+
+ * New upstream version
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Wed, 07 Oct 2015 11:41:47 +0200
+
+orthanc-postgresql (1.2-1) unstable; urgency=medium
+
+ [ Sebastien Jodogne ]
+ * New upstream version
+
+ [ Karsten Hilbert ]
+ * Enhancements for README.Debian
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Mon, 03 Aug 2015 09:23:28 +0200
+
+orthanc-postgresql (1.1-1) unstable; urgency=medium
+
+ * New upstream version.
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Fri, 03 Jul 2015 11:48:52 +0200
+
+orthanc-postgresql (1.0-1) unstable; urgency=low
+
+ * Initial release. (Closes: #779327)
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Fri, 27 Feb 2015 21:29:38 +0100
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/compat
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/compat (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/compat 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1 @@
+9
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/configuration/postgresql.json
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/configuration/postgresql.json (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/configuration/postgresql.json 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1,29 @@
+{
+ /**
+ * Configuration to use PostgreSQL instead of the default SQLite
+ * back-end of Orthanc. You will have to install the
+ * "orthanc-postgresql" package to take advantage of this feature.
+ * Have a look at "/usr/share/doc/orthanc-postgresql/README.Debian"
+ * for a tutorial.
+ **/
+ "PostgreSQL" : {
+ // Enable the use of PostgreSQL to store the Orthanc index?
+ "EnableIndex" : false,
+
+ // Enable the use of PostgreSQL to store the DICOM files?
+ "EnableStorage" : false,
+
+ // Option 1: Specify explicit authentication parameters
+ "Host" : "localhost",
+ "Port" : 5432,
+ "Database" : "orthanc_db",
+ "Username" : "orthanc_user",
+ "Password" : "my_password",
+
+ // Option 2: Authenticate using PostgreSQL connection URI
+ // "ConnectionUri" : "postgresql://orthanc_user:my_password@localhost:5432/orthanc_db",
+
+ // Optional: Disable the locking of the PostgreSQL database
+ "Lock" : false
+ }
+}
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/control
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/control (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/control 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1,33 @@
+Source: orthanc-postgresql
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Sebastien Jodogne <s.jodogne at gmail.com>,
+ Andreas Tille <tille at debian.org>
+Section: science
+Priority: optional
+Build-Depends: cmake,
+ debhelper (>= 9),
+ libboost-all-dev,
+ libgtest-dev,
+ libjsoncpp-dev,
+ libpq-dev,
+ orthanc-dev,
+ postgresql-server-dev-all,
+ unzip,
+ uuid-dev
+Standards-Version: 4.1.1
+Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/orthanc-postgresql/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/orthanc-postgresql/trunk/
+Homepage: https://www.orthanc-server.com/static.php?page=postgresql
+
+Package: orthanc-postgresql
+Architecture: any
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
+ orthanc (>= 0.9.5)
+Suggests: postgresql
+Description: Plugins to use PostgreSQL as a database back-end to Orthanc
+ Orthanc PostgreSQL is a set of two plugins to Orthanc, a lightweight,
+ RESTful Vendor Neutral Archive for medical imaging. These plugins
+ override the default SQLite engine of Orthanc with a PostgreSQL
+ back-end. They bring scalability to Orthanc, making it
+ enterprise-ready.
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/copyright
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/copyright (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/copyright 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1,90 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: OrthancPostgreSQL
+Upstream-Contact: Sebastien Jodogne <s.jodogne at gmail.com>
+Source: https://bitbucket.org/sjodogne/orthanc-postgresql
+
+Files: *
+Copyright: 2012-2015 Sebastien Jodogne <s.jodogne at gmail.com>, University Hospital of Liege, Belgium
+License: AGPL-3
+
+Files: Orthanc/*
+Copyright: 2012-2015 Sebastien Jodogne <s.jodogne at gmail.com>, University Hospital of Liege, Belgium
+License: GPL-3 with OpenSSL exception
+
+Files: Orthanc/Resources/ThirdParty/VisualStudio/*
+Copyright: 2006-2008 Alexander Chemeris
+License: BSD-3-clause
+
+License: AGPL-3
+ This program is free software: you can redistribute it and/or
+ modify it under the terms of the GNU Affero General Public License
+ as published by the Free Software Foundation, either version 3 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
+ Affero General Public License for more details.
+ .
+ You should have received a copy of the GNU Affero General Public License
+ along with this package; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+License: BSD-3-clause
+ 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.
+ .
+ * The name of the autors 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.
+
+License: GPL-3 with OpenSSL exception
+ 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.
+ .
+ In addition, as a special exception, the copyright holders of this
+ program give permission to link the code of its release with the
+ OpenSSL project's "OpenSSL" library (or with modified versions of it
+ that use the same license as the "OpenSSL" library), and distribute
+ the linked executables. You must obey the GNU General Public License
+ in all respects for all of the code used other than "OpenSSL". If you
+ modify file(s) with this exception, you may extend this exception to
+ your version of the file(s), but you are not obligated to do so. If
+ you do not wish to do so, delete this exception statement from your
+ version. If you delete this exception statement from all source files
+ in the program, then also delete it here.
+ .
+ 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 package; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ On Debian systems, the full text of the GNU General Public License
+ version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/install
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/install (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/install 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1 @@
+debian/configuration/postgresql.json etc/orthanc
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/patches/postgresql-10
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/patches/postgresql-10 (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/patches/postgresql-10 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1,17 @@
+Description: Fix #878565: orthanc-postgresql FTBFS with PostgreSQL 10
+Author: Sebastien Jodogne <s.jodogne at gmail.com>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: OrthancPostgreSQL-2.0/Resources/CMake/FindPostgreSQL.cmake
+===================================================================
+--- OrthancPostgreSQL-2.0.orig/Resources/CMake/FindPostgreSQL.cmake
++++ OrthancPostgreSQL-2.0/Resources/CMake/FindPostgreSQL.cmake
+@@ -75,7 +75,7 @@ set(PostgreSQL_ROOT_DIR_MESSAGE "Set the
+
+
+ set(PostgreSQL_KNOWN_VERSIONS ${PostgreSQL_ADDITIONAL_VERSIONS}
+- "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
++ "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
+
+ # Define additional search paths for root directories.
+ if ( WIN32 )
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/patches/series
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/patches/series (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/patches/series 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1,2 @@
+shlibs
+postgresql-10
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/patches/shlibs
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/patches/shlibs (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/patches/shlibs 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1,30 @@
+Description: Fix the soname of the shared libraries
+Author: Sebastien Jodogne <s.jodogne at gmail.com>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: OrthancPostgreSQL-2.0/CMakeLists.txt
+===================================================================
+--- OrthancPostgreSQL-2.0.orig/CMakeLists.txt
++++ OrthancPostgreSQL-2.0/CMakeLists.txt
+@@ -147,15 +147,12 @@ message("Setting the version of the libr
+
+ add_definitions(-DORTHANC_POSTGRESQL_VERSION="${ORTHANC_POSTGRESQL_VERSION}")
+
+-set_target_properties(OrthancPostgreSQLStorage PROPERTIES
+- VERSION ${ORTHANC_POSTGRESQL_VERSION}
+- SOVERSION ${ORTHANC_POSTGRESQL_VERSION}
+- )
+-
+-set_target_properties(OrthancPostgreSQLIndex PROPERTIES
+- VERSION ${ORTHANC_POSTGRESQL_VERSION}
+- SOVERSION ${ORTHANC_POSTGRESQL_VERSION}
+- )
++set_target_properties(OrthancPostgreSQLStorage PROPERTIES
++ LINK_FLAGS "-Wl,-soname,libOrthancPostgreSQLStorage.so.${DEB_VERSION}"
++ NO_SONAME ON)
++set_target_properties(OrthancPostgreSQLIndex PROPERTIES
++ LINK_FLAGS "-Wl,-soname,libOrthancPostgreSQLIndex.so.${DEB_VERSION}"
++ NO_SONAME ON)
+
+ install(
+ TARGETS OrthancPostgreSQLStorage OrthancPostgreSQLIndex
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/postinst
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/postinst (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/postinst 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+set -e
+
+case $1 in
+ configure)
+ # Configure the permissions of the configuration file
+ chown -R orthanc:orthanc /etc/orthanc/postgresql.json
+ chmod 0664 /etc/orthanc/postgresql.json
+
+ # Restart the Orthanc service
+ # https://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3.2
+ if [ -x /etc/init.d/orthanc ]; then
+ if which invoke-rc.d >/dev/null 2>&1; then
+ invoke-rc.d orthanc restart
+ else
+ /etc/init.d/orthanc restart
+ fi
+ fi
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
Property changes on: trunk/packages/orthanc-postgresql/tags/2.0-4/postinst
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/postrm
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/postrm (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/postrm 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+set -e
+
+case $1 in
+ purge|remove|upgrade)
+ # Restart the Orthanc service
+ # https://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3.2
+ if [ -x /etc/init.d/orthanc ]; then
+ if which invoke-rc.d >/dev/null 2>&1; then
+ invoke-rc.d orthanc restart
+ else
+ /etc/init.d/orthanc restart
+ fi
+ fi
+ ;;
+
+ failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
Property changes on: trunk/packages/orthanc-postgresql/tags/2.0-4/postrm
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/rules
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/rules (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/rules 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1,40 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/pkg-info.mk # To access the "DEB_VERSION" variable
+
+export JAVASCRIPT_LIBS := Build/javascript-libs
+export UPSTREAM_VERSION := $(shell echo "$(DEB_VERSION)" | cut -d '+' -f 1)
+export TARGET_INDEX := libOrthancPostgreSQLIndex.so
+export TARGET_STORAGE := libOrthancPostgreSQLStorage.so
+
+export DEB_BUILD_MAINT_OPTIONS := hardening=+all
+
+%:
+ dh $@ --parallel --builddirectory=Build
+
+CMAKE_EXTRA_FLAGS += \
+ -DCMAKE_SKIP_RPATH:BOOL=ON \
+ -DSTATIC_BUILD:BOOL=OFF \
+ -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE:BOOL=ON \
+ -DDEB_VERSION=$(DEB_VERSION) \
+ -DCMAKE_BUILD_TYPE="" # The build type must be left empty, see #711515
+
+override_dh_auto_configure:
+ dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)
+
+override_dh_auto_install:
+ cp Build/${TARGET_INDEX} Build/${TARGET_INDEX}.${UPSTREAM_VERSION}
+ cp Build/${TARGET_STORAGE} Build/${TARGET_STORAGE}.${UPSTREAM_VERSION}
+
+ dh_install Build/${TARGET_INDEX}.${UPSTREAM_VERSION} usr/lib
+ dh_install Build/${TARGET_STORAGE}.${UPSTREAM_VERSION} usr/lib
+
+override_dh_link:
+ dh_link usr/lib/${TARGET_INDEX}.${UPSTREAM_VERSION} usr/share/orthanc/plugins/${TARGET_INDEX}
+ dh_link usr/lib/${TARGET_STORAGE}.${UPSTREAM_VERSION} usr/share/orthanc/plugins/${TARGET_STORAGE}
+
+override_dh_installchangelogs:
+ dh_installchangelogs -k NEWS
+
+get-orig-source:
+ uscan --verbose --force-download --repack --compression xz
Property changes on: trunk/packages/orthanc-postgresql/tags/2.0-4/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/source/format
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/source/format (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/source/format 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/upstream/metadata
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/upstream/metadata (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/upstream/metadata 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1,6 @@
+Reference:
+ Author: S. Jodogne and C. Bernard and M. Devillers and E. Lenaerts and P. Coucke
+ Title: "Orthanc -- A Lightweight, RESTful DICOM Server for Healthcare and Medical Research"
+ Type: book
+ Booktitle: Proc. of the International Symposium on Biomedical Imaging
+ Year: 2013
Added: trunk/packages/orthanc-postgresql/tags/2.0-4/watch
===================================================================
--- trunk/packages/orthanc-postgresql/tags/2.0-4/watch (rev 0)
+++ trunk/packages/orthanc-postgresql/tags/2.0-4/watch 2017-10-16 08:07:54 UTC (rev 24375)
@@ -0,0 +1,3 @@
+version=3
+opts="downloadurlmangle=s/\/browse\.php\?path=//g" \
+https://www.orthanc-server.com/browse.php?path=/plugin-postgresql downloads/get\.php\?path=/plugin-postgresql/OrthancPostgreSQL-(\d\S*)\.tar\.gz
Modified: trunk/packages/orthanc-postgresql/trunk/debian/changelog
===================================================================
--- trunk/packages/orthanc-postgresql/trunk/debian/changelog 2017-10-16 07:46:45 UTC (rev 24374)
+++ trunk/packages/orthanc-postgresql/trunk/debian/changelog 2017-10-16 08:07:54 UTC (rev 24375)
@@ -1,4 +1,4 @@
-orthanc-postgresql (2.0-4) UNRELEASED; urgency=medium
+orthanc-postgresql (2.0-4) unstable; urgency=medium
* Fix to find PostgreSQL 10 dev headers. Closes: #878565
More information about the debian-med-commit
mailing list