debian/0000755000000000000000000000000012152613456007173 5ustar debian/Q68_qrisk2_2012_1_0_qriskAge.10000644000000000000000000000240212151612072014045 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.2. .TH Q68_QRISK2_2012_1_0_QRISKAGE "1" "April 2013" "Q68_qrisk2_2012_1_0_qriskAge * Copyright 2012 ClinRisk Ltd." "User Commands" .SH NAME Q68_qrisk2_2012_1_0_qriskAge \- female version of 2012 risk age .SS "Usage:" .IP Q68_qrisk2_2012_1_0_qriskAge age b_AF b_ra b_renal b_treatedhyp b_type2 bmi ethrisk fh_cvd rati sbp smoke_cat surv town .TP \fBage\fR age of person (30..84) .TP \fBb_AF\fR Atrial fibrillation (0..1) .TP \fBb_ra\fR Rheumatoid arthritis (0..1) .TP \fBb_renal\fR .TP \fBb_treatedhyp\fR On blood pressure treatment (0..1) .TP \fBb_type2\fR Diabetic (0..1) .TP \fBbmi\fR Body Mass Index (20..40) .TP \fBethrisk\fR Ethnicity .IP \fB1\fR white or not stated .IP \fB2\fR Indian .IP \fB3\fR Pakistani .IP \fB4\fR Bangladeshi .IP \fB5\fR Other Asian .IP \fB6\fR Black Caribbean .IP \fB7\fR Black African .IP \fB8\fR Chinese .IP \fB9\fR Other ethnic group .TP \fBfh_cvd\fR .TP \fBrati\fR Cholesterol/HDL ratio (1..12) .TP \fBsbp\fR Systolic blood pressure (mmHg) (70..210) .TP \fBsmoke_cat\fR Smoking status (0..4) .IP \fB0\fR non smoker .IP \fB1\fR ex smoker .IP \fB2\fR light smoker (<10) .IP \fB3\fR moderate smoker (10..19) .IP \fB4\fR heavy smoker >=20 .TP \fBsurv\fR .TP \fBtown\fR UK postcode .IP debian/control0000644000000000000000000000315212151612072010567 0ustar Source: qrisk2 Section: science Priority: optional Maintainer: Debian Med Packaging Team Uploaders: Andreas Tille , Thorsten Alteholz Build-Depends: debhelper (>= 9), xutils-dev Standards-Version: 3.9.4 Homepage: http://qrisk.org/ Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/qrisk2/trunk/ Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/qrisk2/trunk/ Package: qrisk2 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: cardiovascular disease risk calculator You can use this calculator to work out your risk of having a heart attack or stroke over the next ten years by answering some simple questions. It is suitable for people who do not already have a diagnosis of heart disease or stroke. . The QRISK®2 algorithm has been developed by doctors and academics working in the UK National Health Service and is based on routinely collected data from many thousands of GPs across the country who have freely contributed data for medical research. . Whilst QRISK2 has been developed for use in the UK, it is being used internationally. For non-UK use, if the postcode field is left blank the score will be calculated using an average value. Users should note, however, that CVD risk is likely to be under-estimated in patients from deprived areas and over-estimated for patients from affluent areas. All medical decisions need to be taken by a patient in consultation with their doctor. The authors and the sponsors accept no responsibility for clinical use or misuse of these score. debian/Q77_qrisk2_2013_1_commandLine.10000644000000000000000000000250012152613236014312 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.2. .TH Q77_QRISK2_2013_1_COMMANDLINE "1" "June 2013" "Q77_qrisk2_2013_1_commandLine * Copyright 2013 ClinRisk Ltd." "User Commands" .SH NAME Q77_qrisk2_2013_1_commandLine \- male version of 2013 risk analysis .SS "Usage:" .IP Q77_qrisk2_2013_1_commandLine age b_AF b_ra b_renal b_treatedhyp b_type1 b_type2 bmi ethrisk fh_cvd rati sbp smoke_cat surv town .TP \fBage\fR age of person (30..84) .TP \fBb_AF\fR Atrial fibrillation (0..1) .TP \fBb_ra\fR Rheumatoid arthritis (0..1) .TP \fBb_renal\fR .TP \fBb_treatedhyp\fR On blood pressure treatment (0..1) .TP \fBb_type1\fR Diabetic type 1 (0..1) .TP \fBb_type2\fR Diabetic type 2 (0..1) .TP \fBbmi\fR Body Mass Index (20..40) .TP \fBethrisk\fR Ethnicity .IP \fB1\fR white or not stated .IP \fB2\fR Indian .IP \fB3\fR Pakistani .IP \fB4\fR Bangladeshi .IP \fB5\fR Other Asian .IP \fB6\fR Black Caribbean .IP \fB7\fR Black African .IP \fB8\fR Chinese .IP \fB9\fR Other ethnic group .TP \fBfh_cvd\fR .TP \fBrati\fR Cholesterol/HDL ratio (1..12) .TP \fBsbp\fR Systolic blood pressure (mmHg) (70..210) .TP \fBsmoke_cat\fR Smoking status (0..4) .IP \fB0\fR non smoker .IP \fB1\fR ex smoker .IP \fB2\fR light smoker (<10) .IP \fB3\fR moderate smoker (10..19) .IP \fB4\fR heavy smoker >=20 .TP \fBsurv\fR .TP \fBtown\fR UK postcode .IP debian/copyright0000644000000000000000000000100012151612072011105 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: QRISK®2 Source: http://svn.clinrisk.co.uk/opensource/ Files: * Copyright: © 2008-2012 ClinRisk Ltd. License: LGPLv3 Files: debian/* Copyright: © 2012 Andreas Tille © 2013 Thorsten Alteholz License: LGPLv3 License: LGPLv3 On Debian systems, the complete text of the GNU Lesser General Public License version 3 can be found in "/usr/share/common-licenses/LGPL-3". debian/changelog0000644000000000000000000000070412152456740011047 0ustar qrisk2 (0.0.r31-1) unstable; urgency=low * new upstream version: QRISK2-2013 release * debian/control: remove "." at end of long description (Closes: #705791) -- Thorsten Alteholz Sat, 01 Jun 2013 22:00:00 +0200 qrisk2 (0.0.r30-1) unstable; urgency=low * Initial release (Closes: #705694) Part of packaging has been done by Andreas Tille -- Thorsten Alteholz Thu, 18 Apr 2013 18:00:00 +0200 debian/Q68_qrisk2_2012_1_1_qriskAge.10000644000000000000000000000240012151612072014044 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.2. .TH Q68_QRISK2_2012_1_1_QRISKAGE "1" "April 2013" "Q68_qrisk2_2012_1_1_qriskAge * Copyright 2012 ClinRisk Ltd." "User Commands" .SH NAME Q68_qrisk2_2012_1_1_qriskAge \- male version of 2012 risk age .SS "Usage:" .IP Q68_qrisk2_2012_1_1_qriskAge age b_AF b_ra b_renal b_treatedhyp b_type2 bmi ethrisk fh_cvd rati sbp smoke_cat surv town .TP \fBage\fR age of person (30..84) .TP \fBb_AF\fR Atrial fibrillation (0..1) .TP \fBb_ra\fR Rheumatoid arthritis (0..1) .TP \fBb_renal\fR .TP \fBb_treatedhyp\fR On blood pressure treatment (0..1) .TP \fBb_type2\fR Diabetic (0..1) .TP \fBbmi\fR Body Mass Index (20..40) .TP \fBethrisk\fR Ethnicity .IP \fB1\fR white or not stated .IP \fB2\fR Indian .IP \fB3\fR Pakistani .IP \fB4\fR Bangladeshi .IP \fB5\fR Other Asian .IP \fB6\fR Black Caribbean .IP \fB7\fR Black African .IP \fB8\fR Chinese .IP \fB9\fR Other ethnic group .TP \fBfh_cvd\fR .TP \fBrati\fR Cholesterol/HDL ratio (1..12) .TP \fBsbp\fR Systolic blood pressure (mmHg) (70..210) .TP \fBsmoke_cat\fR Smoking status (0..4) .IP \fB0\fR non smoker .IP \fB1\fR ex smoker .IP \fB2\fR light smoker (<10) .IP \fB3\fR moderate smoker (10..19) .IP \fB4\fR heavy smoker >=20 .TP \fBsurv\fR .TP \fBtown\fR UK postcode .IP debian/compat0000644000000000000000000000000212151612072010361 0ustar 9 debian/qrisk2.install0000644000000000000000000000002612151612072011764 0ustar executables/* usr/bin debian/Q68_qrisk2_2012_1_1_commandLine.10000644000000000000000000000242112151612072014527 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.2. .TH Q68_QRISK2_2012_1_1_COMMANDLINE "1" "April 2013" "Q68_qrisk2_2012_1_1_commandLine * Copyright 2012 ClinRisk Ltd." "User Commands" .SH NAME Q68_qrisk2_2012_1_1_commandLine \- male version of 2012 risk analysis .SS "Usage:" .IP Q68_qrisk2_2012_1_1_commandLine age b_AF b_ra b_renal b_treatedhyp b_type2 bmi ethrisk fh_cvd rati sbp smoke_cat surv town .TP \fBage\fR age of person (30..84) .TP \fBb_AF\fR Atrial fibrillation (0..1) .TP \fBb_ra\fR Rheumatoid arthritis (0..1) .TP \fBb_renal\fR .TP \fBb_treatedhyp\fR On blood pressure treatment (0..1) .TP \fBb_type2\fR Diabetic (0..1) .TP \fBbmi\fR Body Mass Index (20..40) .TP \fBethrisk\fR Ethnicity .IP \fB1\fR white or not stated .IP \fB2\fR Indian .IP \fB3\fR Pakistani .IP \fB4\fR Bangladeshi .IP \fB5\fR Other Asian .IP \fB6\fR Black Caribbean .IP \fB7\fR Black African .IP \fB8\fR Chinese .IP \fB9\fR Other ethnic group .TP \fBfh_cvd\fR .TP \fBrati\fR Cholesterol/HDL ratio (1..12) .TP \fBsbp\fR Systolic blood pressure (mmHg) (70..210) .TP \fBsmoke_cat\fR Smoking status (0..4) .IP \fB0\fR non smoker .IP \fB1\fR ex smoker .IP \fB2\fR light smoker (<10) .IP \fB3\fR moderate smoker (10..19) .IP \fB4\fR heavy smoker >=20 .TP \fBsurv\fR .TP \fBtown\fR UK postcode .IP debian/Q68_qrisk2_2012_1_0_commandLine.10000644000000000000000000000242312151612072014530 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.2. .TH Q68_QRISK2_2012_1_0_COMMANDLINE "1" "April 2013" "Q68_qrisk2_2012_1_0_commandLine * Copyright 2012 ClinRisk Ltd." "User Commands" .SH NAME Q68_qrisk2_2012_1_0_commandLine \- female version of 2012 risk analysis .SS "Usage:" .IP Q68_qrisk2_2012_1_0_commandLine age b_AF b_ra b_renal b_treatedhyp b_type2 bmi ethrisk fh_cvd rati sbp smoke_cat surv town .TP \fBage\fR age of person (30..84) .TP \fBb_AF\fR Atrial fibrillation (0..1) .TP \fBb_ra\fR Rheumatoid arthritis (0..1) .TP \fBb_renal\fR .TP \fBb_treatedhyp\fR On blood pressure treatment (0..1) .TP \fBb_type2\fR Diabetic (0..1) .TP \fBbmi\fR Body Mass Index (20..40) .TP \fBethrisk\fR Ethnicity .IP \fB1\fR white or not stated .IP \fB2\fR Indian .IP \fB3\fR Pakistani .IP \fB4\fR Bangladeshi .IP \fB5\fR Other Asian .IP \fB6\fR Black Caribbean .IP \fB7\fR Black African .IP \fB8\fR Chinese .IP \fB9\fR Other ethnic group .TP \fBfh_cvd\fR .TP \fBrati\fR Cholesterol/HDL ratio (1..12) .TP \fBsbp\fR Systolic blood pressure (mmHg) (70..210) .TP \fBsmoke_cat\fR Smoking status (0..4) .IP \fB0\fR non smoker .IP \fB1\fR ex smoker .IP \fB2\fR light smoker (<10) .IP \fB3\fR moderate smoker (10..19) .IP \fB4\fR heavy smoker >=20 .TP \fBsurv\fR .TP \fBtown\fR UK postcode .IP debian/watch0000644000000000000000000000011112151612072010205 0ustar # upstream does not release tar files, sources are taken from repository debian/upstream0000644000000000000000000000100412151612072010741 0ustar Reference: Author: Julia Hippisley-Cox and Carol Coupland and Yana Vinogradova and John Robson and Rubin Minhas and Aziz Sheikh and Peter Brindle Title: "Predicting cardiovascular risk in England and Wales: prospective derivation and validation of QRISK2" Journal: British Medical Journal Year: 2008 Volume: 336 Number: 7659 Pages: 1475-82 DOI: 10.1136/bmj.39609.449676.25 PMID: 18573856 URL: http://www.bmj.com/content/336/7659/1475 eprint: http://www.bmj.com/content/336/7659/1475.pdf%2Bhtml debian/qrisk2.manpages0000644000000000000000000000011712152612313012111 0ustar debian/Q77_qrisk2_2013_0_commandLine.1 debian/Q77_qrisk2_2013_1_commandLine.1 debian/get-orig-source0000755000000000000000000000257712151612072012137 0ustar #!/bin/bash PACKAGE=qrisk2 PACKAGEVERSION=`dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)-[^-]*$/\1/p'` declare -i CHANGELOGREVISION=`echo ${PACKAGEVERSION}|awk -F"." '{print $3}'|awk -F"-" '{print $1}'|sed "s/r//g"` declare -i SVNREVISION=`svn info http://svn.clinrisk.co.uk/opensource/qrisk2|grep "Revision:"|awk '{print $2}'` echo "I: package version: ${PACKAGEVERSION}" echo "I: version from changelog: ${CHANGELOGREVISION}" echo "I: version from repository: ${SVNREVISION}" FOLDER=${PACKAGE}_${PACKAGEVERSION} TARFILE=${FOLDER}.orig.tar.gz NEWFOLDER=${PACKAGE}_`echo ${PACKAGEVERSION}|sed "s/${CHANGELOGREVISION}/${SVNREVISION}/g"` NEWTARFILE=${NEWFOLDER}.orig.tar.gz mkdir -p ../tarballs cd ../tarballs CHECKOUT=0 if [ ! -f $TARFILE ]; then CHECKOUT=1 echo "I: orig.tar.gz from version in changelog not available, checkout latest version (${SVNREVISION})" fi if [ ${SVNREVISION} -gt ${CHANGELOGREVISION} ]; then CHECKOUT=1 echo "I: new version in svn available, checkout latest version (${SVNREVISION})" fi if [ "$CHECKOUT" == "1" ]; then if [ -f ${NEWTARFILE} ]; then echo "W: ${NEWTARFILE} already available, delete to force new download" else echo "I: create ${NEWTARFILE}" svn co http://svn.clinrisk.co.uk/opensource/qrisk2 ${NEWFOLDER} GZIP="--best --no-name" tar --exclude-vcs -czf ${NEWTARFILE} ${NEWFOLDER} rm -rf ${NEWFOLDER} fi fi debian/patches/0000755000000000000000000000000012152613456010622 5ustar debian/patches/series0000644000000000000000000000002612151612072012025 0ustar hardening-flags.patch debian/patches/hardening-flags.patch0000644000000000000000000000142512151612072014666 0ustar Description: Allow hardening flags to be used Author: Thorsten Alteholz Index: qrisk2_0.0.r30/Makefile =================================================================== --- qrisk2_0.0.r30.orig/Makefile 2013-04-18 14:55:20.000000000 +0200 +++ qrisk2_0.0.r30/Makefile 2013-04-18 14:55:42.000000000 +0200 @@ -41,8 +41,8 @@ # compiler CC = gcc -CCFLAGS = -LDFLAGS = +#CCFLAGS = +#LDFLAGS = # library paths LIBS = -Llib -lclinrisk -lm @@ -57,10 +57,10 @@ $(EXECUTABLES): $(LIB_OUT) .c: - $(CC) $(INCLUDES) $(LDFLAGS) $< -o $@ $(LIBS) + $(CC) $(INCLUDES) $(LDFLAGS) $(CPPFLAGS) $< -o $@ $(LIBS) .c.o: - $(CC) $(INCLUDES) $(CCFLAGS) -c $< -o $@ + $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) -c $< -o $@ $(LIB_OUT): $(LIB_OBJ) ar rcs $(LIB_OUT) $(LIB_OBJ) debian/Q77_qrisk2_2013_0_commandLine.10000644000000000000000000000250212152613163014312 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.2. .TH Q77_QRISK2_2013_0_COMMANDLINE "1" "June 2013" "Q77_qrisk2_2013_0_commandLine * Copyright 2013 ClinRisk Ltd." "User Commands" .SH NAME Q77_qrisk2_2013_0_commandLine \- female version of 2013 risk analysis .SS "Usage:" .IP Q77_qrisk2_2013_0_commandLine age b_AF b_ra b_renal b_treatedhyp b_type1 b_type2 bmi ethrisk fh_cvd rati sbp smoke_cat surv town .TP \fBage\fR age of person (30..84) .TP \fBb_AF\fR Atrial fibrillation (0..1) .TP \fBb_ra\fR Rheumatoid arthritis (0..1) .TP \fBb_renal\fR .TP \fBb_treatedhyp\fR On blood pressure treatment (0..1) .TP \fBb_type1\fR Diabetic type 1 (0..1) .TP \fBb_type2\fR Diabetic type 2 (0..1) .TP \fBbmi\fR Body Mass Index (20..40) .TP \fBethrisk\fR Ethnicity .IP \fB1\fR white or not stated .IP \fB2\fR Indian .IP \fB3\fR Pakistani .IP \fB4\fR Bangladeshi .IP \fB5\fR Other Asian .IP \fB6\fR Black Caribbean .IP \fB7\fR Black African .IP \fB8\fR Chinese .IP \fB9\fR Other ethnic group .TP \fBfh_cvd\fR .TP \fBrati\fR Cholesterol/HDL ratio (1..12) .TP \fBsbp\fR Systolic blood pressure (mmHg) (70..210) .TP \fBsmoke_cat\fR Smoking status (0..4) .IP \fB0\fR non smoker .IP \fB1\fR ex smoker .IP \fB2\fR light smoker (<10) .IP \fB3\fR moderate smoker (10..19) .IP \fB4\fR heavy smoker >=20 .TP \fBsurv\fR .TP \fBtown\fR UK postcode .IP debian/rules0000755000000000000000000000013512151612072010242 0ustar #!/usr/bin/make -f # DH_VERBOSE := 1 %: dh $@ get-orig-source: ./debian/get-orig-source debian/qrisk2.lintian-overrides0000644000000000000000000000040712152611677013772 0ustar # these flags are really used qrisk2: hardening-no-fortify-functions usr/bin/Q77_qrisk2_2013_0_commandLine qrisk2: hardening-no-fortify-functions usr/bin/Q77_qrisk2_2013_1_commandLine debian/source/0000755000000000000000000000000012152613456010473 5ustar debian/source/format0000644000000000000000000000001412151612072011671 0ustar 3.0 (quilt)