[BACK]Return to DEINSTALL CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / geeklog

File: [cvs.NetBSD.org] / pkgsrc / www / geeklog / DEINSTALL (download)

Revision 1.5, Tue May 26 14:19:29 2009 UTC (10 years, 7 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, HEAD
Changes since 1.4: +10 -34 lines

Update geeklog package from 1.4.1nb4 to 1.5.2.4 (1.5.2sr4).

pkgsrc changes: overhaul this package.

	* Add LICENSE.
	* Clean up bmake's macros, such as addition of PRINT_PLIST_AWK.

Geeklog changes: too many chagnes to write here.

	* New user-friendly installation.
	* New Configuration GUI.
	* New Webservice GUI.
	* And more.

	Please refer http://www.geeklog.net/docs/english/changes.html
	for more information.

Fixed some security problems about SQL injection vulnerability.

# $NetBSD: DEINSTALL,v 1.5 2009/05/26 14:19:29 taca Exp $

GEEKLOG_PUBDIR="${PREFIX}/@GEEKLOG_PUB@"
GEEKLOG_DIR="${PREFIX}/@GEEKLOG_BASE@"
GEEKLOG_TMPL_DIR="${PREFIX}/@GL_TMPL@"
GEEKLOG_TMPL_SUB="@GL_TMPL_SUB@"

case ${STAGE} in
DEINSTALL)
	(cd ${GEEKLOG_DIR}; \
		if [ ! -s logs/error.log ]; then
			rm -f logs/error.log
		fi
	)
	(cd ${GEEKLOG_PUBDIR}; ${RM} -fr admin)
	(cd ${GEEKLOG_TMPL_DIR}
	${FIND} ${GEEKLOG_TMPL_SUB} -type f -print | \
		while read f; do
			file="${GEEKLOG_PUBDIR}/$f"
			if ${TEST} -f ${file} -a -f ${f} && \
			    ${CMP} -s ${file} ${f}; then
				${RM} -f ${file}
			fi
		done
	cd ${GEEKLOG_PUBDIR}
	${FIND} -d ${GEEKLOG_TMPL_SUB} -type d -print |
		while read d; do
			${RMDIR} ${d} 2>/dev/null
		done
	)
	;;
esac