<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b65fb5f6f2a3b16e1c8013dbfe86eea2ebcd779d">https://github.com/macports/macports-ports/commit/b65fb5f6f2a3b16e1c8013dbfe86eea2ebcd779d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b65fb5f6f2a3b16e1c8013dbfe86eea2ebcd779d
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Thu Jun 29 06:02:10 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> rkhunter: update to version 1.4.4
</span>---
sysutils/rkhunter/Portfile | 6 +-
sysutils/rkhunter/files/patch-installer.sh.diff | 127 ++++++++++++++++--------
2 files changed, 86 insertions(+), 47 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/rkhunter/Portfile b/sysutils/rkhunter/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 389e104..5055c50 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/rkhunter/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/rkhunter/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,7 @@
</span> PortSystem 1.0
name rkhunter
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.4.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.4.4
</span> categories sysutils security
license GPL-2
maintainers {mps @Schamschula} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,8 +13,8 @@ platforms darwin
</span> homepage http://rkhunter.sourceforge.net/
master_sites sourceforge:project/rkhunter/rkhunter/${version}/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 3aa8823583117ef9a0257b6fdb2a25d84fc9622d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 789cc84a21faf669da81e648eead2e62654cfbe0b2d927119d8b1e55b22b65c3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 682ca61ebe59886c796a11e28d14e767d8d650cc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a8807c83f9f325312df05aa215fa75ad697c7a16163175363c2066baa26dda77
</span>
depends_lib port:wget
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/rkhunter/files/patch-installer.sh.diff b/sysutils/rkhunter/files/patch-installer.sh.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 62dd4c8..3301e82 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/rkhunter/files/patch-installer.sh.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/rkhunter/files/patch-installer.sh.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- installer.sh.orig 2014-02-23 20:37:15.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ installer.sh 2015-03-16 14:33:48.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -147,17 +147,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- installer.sh.orig 2017-06-29 02:51:56.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ installer.sh 2017-06-29 05:57:37.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -149,17 +149,17 @@
</span> exit 1
;;
*)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,7 +28,7 @@
</span> ;;
esac
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -234,7 +234,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -236,7 +236,7 @@
</span>
case "$1" in
/usr/local|custom_*)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,7 +37,7 @@
</span> ;;
RPM)
if [ $RPM_USING_ROOT -eq 1 ]; then
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -278,11 +278,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -280,11 +280,7 @@
</span> fi
if [ -z "${LIBDIR}" ]; then
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,7 +50,7 @@
</span> fi
BINDIR="${PREFIX}/bin"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -362,11 +358,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -364,11 +360,7 @@
</span> SHAREDIR="${PREFIX}/share"
;;
*)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -63,7 +63,7 @@
</span>
BINDIR="${PREFIX}/bin"
VARDIR="/var"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -410,8 +402,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -412,8 +404,8 @@
</span> RKHINST_MAN_DIR="${PREFIX}/man/man8"
else
RKHINST_DB_DIR="${VARDIR}/lib/${APPNAME}/db"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -74,7 +74,7 @@
</span> fi
RKHINST_LANG_DIR="${RKHINST_DB_DIR}/i18n"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -635,14 +627,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -637,14 +629,14 @@
</span> ;;
*)
# Check PREFIX
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -94,7 +94,7 @@
</span> chown -R ${RKHINST_OWNER} ./files
for DIR in `find ./files -type d -name CVS`; do
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -668,7 +660,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -670,7 +662,7 @@
</span>
PREFIX="${PWD}"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -103,7 +103,7 @@
</span> echo "TMPDIR=$PREFIX" >>rkhunter.conf
echo "DBDIR=$PREFIX" >>rkhunter.conf
echo "SCRIPTDIR=$PREFIX" >>rkhunter.conf
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -691,7 +683,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -693,7 +685,7 @@
</span> echo " Checking installation directory \"$PREFIX\": it exists, but it is not writable. Exiting."
exit 1
fi
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -112,7 +112,7 @@
</span> echo " Checking installation directory \"$PREFIX\": it is not a directory. Exiting."
exit 1
else
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -712,21 +704,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -714,21 +706,21 @@
</span>
umask 022
for DIR in ${RKHDIR_LIST}; do
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -141,9 +141,9 @@
</span> exit 1
fi
fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -734,28 +726,28 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- umask 027
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -736,28 +728,28 @@
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ umask 077
</span> for DIR in ${RKHINST_DIRS_EXCEP}; do
- if [ -d "${DIR}" ]; then
- if [ -w "${DIR}" ]; then
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -179,7 +179,7 @@
</span> ;;
esac
done
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -769,20 +761,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -772,20 +764,20 @@
</span> for FILE in ${RKHINST_SCRIPT_FILES} ${RKHINST_DB_FILES} ${RKHINST_MAN_FILES}; do
case "${FILE}" in
*.pl|*.sh)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -204,7 +204,7 @@
</span>
if [ -n "${RKHTMPVAR}" ]; then
echo " Installing ${FILE}: Locally modified - not overwritten"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -790,24 +782,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -793,24 +785,24 @@
</span> fi
fi
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -233,7 +233,7 @@
</span> else
echo " Installing ${FILE}: FAILED: Code $ERRCODE"
exit 1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -819,12 +811,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -822,12 +814,12 @@
</span>
# Application documents
for FILE in ${RKHINST_DOC_FILES}; do
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -248,25 +248,25 @@
</span> else
echo " Installing ${FILE}: FAILED: Code $ERRCODE"
exit 1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -836,7 +828,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ERRCODE=0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -843,7 +835,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span>
for FILE in `find ./files/i18n -type f`; do
- cp "${FILE}" "${RKHINST_LANG_DIR}" >/dev/null 2>&1
+ cp "${FILE}" "${DESTDIR}${RKHINST_LANG_DIR}" >/dev/null 2>&1
ERRCODE=$?
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test $ERRCODE -ne 0 && break
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -854,7 +846,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ERRCODE=0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FNAME=`echo ${FILE} | sed 's|^./files/i18n/||'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -872,7 +864,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span>
for FILE in `find ./files/signatures -type f`; do
- cp "${FILE}" "${RKHINST_SIG_DIR}" >/dev/null 2>&1
+ cp "${FILE}" "${DESTDIR}${RKHINST_SIG_DIR}" >/dev/null 2>&1
ERRCODE=$?
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test $ERRCODE -ne 0 && break
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -871,24 +863,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FNAME=`echo ${FILE} | sed 's|^./files/signatures/||'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -896,24 +888,24 @@
</span> for FILE in ${RKHINST_BIN_FILES}; do
case "${RKHINST_LAYOUT}" in
RPM|DEB|TGZ|TXZ)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -295,7 +295,7 @@
</span> else
echo " Installing ${FILE}: FAILED: Code $ERRCODE"
exit 1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -902,7 +894,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -927,7 +919,7 @@
</span> for FILE in ${RKHINST_ETC_FILE}; do
test $OVERWRITE -eq 1 && rm -f "${RKHINST_ETC_DIR}/${FILE}"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -304,7 +304,7 @@
</span> # We need people to make local changes themselves, so
# give opportunity and alert. Don't use Perl to get value.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -918,7 +910,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -943,36 +935,36 @@
</span>
NEWFILE="${FILE}.${RANDVAL}"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -313,15 +313,18 @@
</span> ERRCODE=$?
if [ $ERRCODE -eq 0 ]; then
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -929,18 +921,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo " Installing ${FILE} in no-clobber mode: OK"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- chmod "${RKHINST_MODE_RW}" "${RKHINST_ETC_DIR}/${NEWFILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ chmod "${RKHINST_MODE_RW}" "${DESTDIR}${RKHINST_ETC_DIR}/${NEWFILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo " Installing ${FILE} in no-clobber mode: FAILED: Code $ERRCODE"
</span> exit 1
fi
- echo "" >>"${RKHINST_ETC_DIR}/${NEWFILE}"
+ echo "" >>"${DESTDIR}${RKHINST_ETC_DIR}/${NEWFILE}"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-- test -z "${PREFIX}" && RKHTMPVAR="/" || RKHTMPVAR="${PREFIX}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ test -z "${DESTDIR}${PREFIX}" && RKHTMPVAR="/" || RKHTMPVAR="${DESTDIR}${PREFIX}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test -z "${PREFIX}" && RKHTMPVAR="/" || RKHTMPVAR="${PREFIX}"
</span>
- echo "INSTALLDIR=${RKHTMPVAR}" >>"${RKHINST_ETC_DIR}/${NEWFILE}"
- echo "DBDIR=${RKHINST_DB_DIR}" >>"${RKHINST_ETC_DIR}/${NEWFILE}"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -334,13 +337,22 @@
</span>
if [ "$FILE" = "rkhunter.conf" ]; then
- echo "USER_FILEPROP_FILES_DIRS=${RKHINST_ETC_DIR}/${FILE}" >>"${RKHINST_ETC_DIR}/${NEWFILE}"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-- test -f "${RKHINST_ETC_DIR}/${FILE}.local" && echo "USER_FILEPROP_FILES_DIRS=${RKHINST_ETC_DIR}/${FILE}.local" >>"${RKHINST_ETC_DIR}/${NEWFILE}"
</span> + echo "USER_FILEPROP_FILES_DIRS=${RKHINST_ETC_DIR}/${FILE}" >>"${DESTDIR}${RKHINST_ETC_DIR}/${NEWFILE}"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ test -f "${RKHINST_ETC_DIR}/${FILE}.local" && echo "USER_FILEPROP_FILES_DIRS=${RKHINST_ETC_DIR}/${FILE}.local" >>"${DESTDIR}${RKHINST_ETC_DIR}/${NEWFILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ -f "${RKHINST_ETC_DIR}/${FILE}.local" ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "USER_FILEPROP_FILES_DIRS=${RKHINST_ETC_DIR}/${FILE}.local" >>"${RKHINST_ETC_DIR}/${NEWFILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- chmod "${RKHINST_MODE_RW}" "${RKHINST_ETC_DIR}/${FILE}.local"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "USER_FILEPROP_FILES_DIRS=${RKHINST_ETC_DIR}/${FILE}.local" >>"${DESTDIR}${RKHINST_ETC_DIR}/${NEWFILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ chmod "${RKHINST_MODE_RW}" "${DESTDIR}${RKHINST_ETC_DIR}/${FILE}.local"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ -d "${RKHINST_ETC_DIR}/rkhunter.d" ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "USER_FILEPROP_FILES_DIRS=${RKHINST_ETC_DIR}/rkhunter.d/*.conf" >>"${RKHINST_ETC_DIR}/${NEWFILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "USER_FILEPROP_FILES_DIRS=${RKHINST_ETC_DIR}/rkhunter.d/*.conf" >>"${DESTDIR}${RKHINST_ETC_DIR}/${NEWFILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span> fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>- case "${RKHINST_LAYOUT}" in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -955,21 +947,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -988,12 +980,12 @@
</span> ;;
esac
else
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -352,21 +364,48 @@
</span> echo " Installing ${FILE}: OK"
- chmod "${RKHINST_MODE_RW}" "${RKHINST_ETC_DIR}/${FILE}"
+ chmod "${RKHINST_MODE_RW}" "${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo " Installing ${FILE}: FAILED: Code $ERRCODE"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- exit 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-- echo "" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ echo "" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ -f "${RKHINST_ETC_DIR}/${FILE}.local" ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ chmod "${RKHINST_MODE_RW}" "${RKHINST_ETC_DIR}/${FILE}.local"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1006,34 +998,34 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "" >>"${RKHINST_ETC_DIR}/${FILE}"
</span>
if [ -n "${RPM_BUILD_ROOT}" -a $RPM_USING_ROOT -eq 0 ]; then
- echo "INSTALLDIR=${PREFIX}" | sed "s|${RPM_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ echo "INSTALLDIR=${DESTDIR}${PREFIX}" | sed "s|${RPM_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo "DBDIR=${RKHINST_DB_DIR}" | sed "s|${RPM_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo "SCRIPTDIR=${RKHINST_SCRIPT_DIR}" | sed "s|${RPM_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo "TMPDIR=${RKHINST_TMP_DIR}" | sed "s|${RPM_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -992,11 +984,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "DBDIR=${RKHINST_DB_DIR}" | sed "s|${RPM_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "SCRIPTDIR=${RKHINST_SCRIPT_DIR}" | sed "s|${RPM_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "TMPDIR=${RKHINST_TMP_DIR}" | sed "s|${RPM_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "USER_FILEPROP_FILES_DIRS=${RKHINST_ETC_DIR}/${FILE}" | sed "s|${RPM_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "INSTALLDIR=${PREFIX}" | sed "s|${RPM_BUILD_ROOT}||g" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "DBDIR=${RKHINST_DB_DIR}" | sed "s|${RPM_BUILD_ROOT}||g" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "SCRIPTDIR=${RKHINST_SCRIPT_DIR}" | sed "s|${RPM_BUILD_ROOT}||g" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "TMPDIR=${RKHINST_TMP_DIR}" | sed "s|${RPM_BUILD_ROOT}||g" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "USER_FILEPROP_FILES_DIRS=${RKHINST_ETC_DIR}/${FILE}" | sed "s|${RPM_BUILD_ROOT}||g" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ elif [ -n "${TGZ_BUILD_ROOT}" -a $TGZ_USING_ROOT -eq 0 ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "INSTALLDIR=${PREFIX}" | sed "s|${TGZ_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "DBDIR=${RKHINST_DB_DIR}" | sed "s|${TGZ_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "SCRIPTDIR=${RKHINST_SCRIPT_DIR}" | sed "s|${TGZ_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "TMPDIR=${RKHINST_TMP_DIR}" | sed "s|${TGZ_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "USER_FILEPROP_FILES_DIRS=${RKHINST_ETC_DIR}/${FILE}" | sed "s|${TGZ_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "INSTALLDIR=${PREFIX}" | sed "s|${TGZ_BUILD_ROOT}||g" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "DBDIR=${RKHINST_DB_DIR}" | sed "s|${TGZ_BUILD_ROOT}||g" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "SCRIPTDIR=${RKHINST_SCRIPT_DIR}" | sed "s|${TGZ_BUILD_ROOT}||g" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "TMPDIR=${RKHINST_TMP_DIR}" | sed "s|${TGZ_BUILD_ROOT}||g" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "USER_FILEPROP_FILES_DIRS=${RKHINST_ETC_DIR}/${FILE}" | sed "s|${TGZ_BUILD_ROOT}||g" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ elif [ -n "${TXZ_BUILD_ROOT}" -a $TXZ_USING_ROOT -eq 0 ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "INSTALLDIR=${PREFIX}" | sed "s|${TXZ_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "DBDIR=${RKHINST_DB_DIR}" | sed "s|${TXZ_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "SCRIPTDIR=${RKHINST_SCRIPT_DIR}" | sed "s|${TXZ_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "TMPDIR=${RKHINST_TMP_DIR}" | sed "s|${TXZ_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo "USER_FILEPROP_FILES_DIRS=${RKHINST_ETC_DIR}/${FILE}" | sed "s|${TXZ_BUILD_ROOT}||g" >>"${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "INSTALLDIR=${PREFIX}" | sed "s|${TXZ_BUILD_ROOT}||g" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "DBDIR=${RKHINST_DB_DIR}" | sed "s|${TXZ_BUILD_ROOT}||g" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "SCRIPTDIR=${RKHINST_SCRIPT_DIR}" | sed "s|${TXZ_BUILD_ROOT}||g" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "TMPDIR=${RKHINST_TMP_DIR}" | sed "s|${TXZ_BUILD_ROOT}||g" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo "USER_FILEPROP_FILES_DIRS=${RKHINST_ETC_DIR}/${FILE}" | sed "s|${TXZ_BUILD_ROOT}||g" >>"${DESTDIR}${RKHINST_ETC_DIR}/${FILE}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ elif [ -n "${DEB_BUILD_ROOT}" ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Debian builds are handled with a patch during the build process.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ :
</span> else
test -z "${PREFIX}" && RKHTMPVAR="/" || RKHTMPVAR="${PREFIX}"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -383,7 +422,7 @@
</span> fi
fi
done
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1274,6 +1266,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1317,6 +1309,9 @@
</span> -o | --overwrite)
OVERWRITE=1
;;
</pre><pre style='margin:0'>
</pre>