head	1.8;
access;
symbols
	pkgsrc-2026Q1:1.8.0.164
	pkgsrc-2026Q1-base:1.8
	pkgsrc-2025Q4:1.8.0.162
	pkgsrc-2025Q4-base:1.8
	pkgsrc-2025Q3:1.8.0.160
	pkgsrc-2025Q3-base:1.8
	pkgsrc-2025Q2:1.8.0.158
	pkgsrc-2025Q2-base:1.8
	pkgsrc-2025Q1:1.8.0.156
	pkgsrc-2025Q1-base:1.8
	pkgsrc-2024Q4:1.8.0.154
	pkgsrc-2024Q4-base:1.8
	pkgsrc-2024Q3:1.8.0.152
	pkgsrc-2024Q3-base:1.8
	pkgsrc-2024Q2:1.8.0.150
	pkgsrc-2024Q2-base:1.8
	pkgsrc-2024Q1:1.8.0.148
	pkgsrc-2024Q1-base:1.8
	pkgsrc-2023Q4:1.8.0.146
	pkgsrc-2023Q4-base:1.8
	pkgsrc-2023Q3:1.8.0.144
	pkgsrc-2023Q3-base:1.8
	pkgsrc-2023Q2:1.8.0.142
	pkgsrc-2023Q2-base:1.8
	pkgsrc-2023Q1:1.8.0.140
	pkgsrc-2023Q1-base:1.8
	pkgsrc-2022Q4:1.8.0.138
	pkgsrc-2022Q4-base:1.8
	pkgsrc-2022Q3:1.8.0.136
	pkgsrc-2022Q3-base:1.8
	pkgsrc-2022Q2:1.8.0.134
	pkgsrc-2022Q2-base:1.8
	pkgsrc-2022Q1:1.8.0.132
	pkgsrc-2022Q1-base:1.8
	pkgsrc-2021Q4:1.8.0.130
	pkgsrc-2021Q4-base:1.8
	pkgsrc-2021Q3:1.8.0.128
	pkgsrc-2021Q3-base:1.8
	pkgsrc-2021Q2:1.8.0.126
	pkgsrc-2021Q2-base:1.8
	pkgsrc-2021Q1:1.8.0.124
	pkgsrc-2021Q1-base:1.8
	pkgsrc-2020Q4:1.8.0.122
	pkgsrc-2020Q4-base:1.8
	pkgsrc-2020Q3:1.8.0.120
	pkgsrc-2020Q3-base:1.8
	pkgsrc-2020Q2:1.8.0.116
	pkgsrc-2020Q2-base:1.8
	pkgsrc-2020Q1:1.8.0.96
	pkgsrc-2020Q1-base:1.8
	pkgsrc-2019Q4:1.8.0.118
	pkgsrc-2019Q4-base:1.8
	pkgsrc-2019Q3:1.8.0.114
	pkgsrc-2019Q3-base:1.8
	pkgsrc-2019Q2:1.8.0.112
	pkgsrc-2019Q2-base:1.8
	pkgsrc-2019Q1:1.8.0.110
	pkgsrc-2019Q1-base:1.8
	pkgsrc-2018Q4:1.8.0.108
	pkgsrc-2018Q4-base:1.8
	pkgsrc-2018Q3:1.8.0.106
	pkgsrc-2018Q3-base:1.8
	pkgsrc-2018Q2:1.8.0.104
	pkgsrc-2018Q2-base:1.8
	pkgsrc-2018Q1:1.8.0.102
	pkgsrc-2018Q1-base:1.8
	pkgsrc-2017Q4:1.8.0.100
	pkgsrc-2017Q4-base:1.8
	pkgsrc-2017Q3:1.8.0.98
	pkgsrc-2017Q3-base:1.8
	pkgsrc-2017Q2:1.8.0.94
	pkgsrc-2017Q2-base:1.8
	pkgsrc-2017Q1:1.8.0.92
	pkgsrc-2017Q1-base:1.8
	pkgsrc-2016Q4:1.8.0.90
	pkgsrc-2016Q4-base:1.8
	pkgsrc-2016Q3:1.8.0.88
	pkgsrc-2016Q3-base:1.8
	pkgsrc-2016Q2:1.8.0.86
	pkgsrc-2016Q2-base:1.8
	pkgsrc-2016Q1:1.8.0.84
	pkgsrc-2016Q1-base:1.8
	pkgsrc-2015Q4:1.8.0.82
	pkgsrc-2015Q4-base:1.8
	pkgsrc-2015Q3:1.8.0.80
	pkgsrc-2015Q3-base:1.8
	pkgsrc-2015Q2:1.8.0.78
	pkgsrc-2015Q2-base:1.8
	pkgsrc-2015Q1:1.8.0.76
	pkgsrc-2015Q1-base:1.8
	pkgsrc-2014Q4:1.8.0.74
	pkgsrc-2014Q4-base:1.8
	pkgsrc-2014Q3:1.8.0.72
	pkgsrc-2014Q3-base:1.8
	pkgsrc-2014Q2:1.8.0.70
	pkgsrc-2014Q2-base:1.8
	pkgsrc-2014Q1:1.8.0.68
	pkgsrc-2014Q1-base:1.8
	pkgsrc-2013Q4:1.8.0.66
	pkgsrc-2013Q4-base:1.8
	pkgsrc-2013Q3:1.8.0.64
	pkgsrc-2013Q3-base:1.8
	pkgsrc-2013Q2:1.8.0.62
	pkgsrc-2013Q2-base:1.8
	pkgsrc-2013Q1:1.8.0.60
	pkgsrc-2013Q1-base:1.8
	pkgsrc-2012Q4:1.8.0.58
	pkgsrc-2012Q4-base:1.8
	pkgsrc-2012Q3:1.8.0.56
	pkgsrc-2012Q3-base:1.8
	pkgsrc-2012Q2:1.8.0.54
	pkgsrc-2012Q2-base:1.8
	pkgsrc-2012Q1:1.8.0.52
	pkgsrc-2012Q1-base:1.8
	pkgsrc-2011Q4:1.8.0.50
	pkgsrc-2011Q4-base:1.8
	pkgsrc-2011Q3:1.8.0.48
	pkgsrc-2011Q3-base:1.8
	pkgsrc-2011Q2:1.8.0.46
	pkgsrc-2011Q2-base:1.8
	pkgsrc-2011Q1:1.8.0.44
	pkgsrc-2011Q1-base:1.8
	pkgsrc-2010Q4:1.8.0.42
	pkgsrc-2010Q4-base:1.8
	pkgsrc-2010Q3:1.8.0.40
	pkgsrc-2010Q3-base:1.8
	pkgsrc-2010Q2:1.8.0.38
	pkgsrc-2010Q2-base:1.8
	pkgsrc-2010Q1:1.8.0.36
	pkgsrc-2010Q1-base:1.8
	pkgsrc-2009Q4:1.8.0.34
	pkgsrc-2009Q4-base:1.8
	pkgsrc-2009Q3:1.8.0.32
	pkgsrc-2009Q3-base:1.8
	pkgsrc-2009Q2:1.8.0.30
	pkgsrc-2009Q2-base:1.8
	pkgsrc-2009Q1:1.8.0.28
	pkgsrc-2009Q1-base:1.8
	pkgsrc-2008Q4:1.8.0.26
	pkgsrc-2008Q4-base:1.8
	pkgsrc-2008Q3:1.8.0.24
	pkgsrc-2008Q3-base:1.8
	cube-native-xorg:1.8.0.22
	cube-native-xorg-base:1.8
	pkgsrc-2008Q2:1.8.0.20
	pkgsrc-2008Q2-base:1.8
	cwrapper:1.8.0.18
	pkgsrc-2008Q1:1.8.0.16
	pkgsrc-2008Q1-base:1.8
	pkgsrc-2007Q4:1.8.0.14
	pkgsrc-2007Q4-base:1.8
	pkgsrc-2007Q3:1.8.0.12
	pkgsrc-2007Q3-base:1.8
	pkgsrc-2007Q2:1.8.0.10
	pkgsrc-2007Q2-base:1.8
	pkgsrc-2007Q1:1.8.0.8
	pkgsrc-2007Q1-base:1.8
	pkgsrc-2006Q4:1.8.0.6
	pkgsrc-2006Q4-base:1.8
	pkgsrc-2006Q3:1.8.0.4
	pkgsrc-2006Q3-base:1.8
	pkgsrc-2006Q2:1.8.0.2
	pkgsrc-2006Q2-base:1.8
	pkgsrc-2006Q1:1.6.0.10
	pkgsrc-2006Q1-base:1.6
	pkgsrc-2005Q4:1.6.0.8
	pkgsrc-2005Q4-base:1.6
	pkgsrc-2005Q3:1.6.0.6
	pkgsrc-2005Q3-base:1.6
	pkgsrc-2005Q2:1.6.0.4
	pkgsrc-2005Q2-base:1.6
	pkgsrc-2005Q1:1.6.0.2
	pkgsrc-2005Q1-base:1.6
	pkgsrc-2004Q4:1.5.0.4
	pkgsrc-2004Q4-base:1.5
	pkgsrc-2004Q3:1.5.0.2
	pkgsrc-2004Q3-base:1.5
	pkgsrc-2004Q2:1.4.0.4
	pkgsrc-2004Q2-base:1.4
	pkgsrc-2004Q1:1.4.0.2
	pkgsrc-2004Q1-base:1.4
	pkgsrc-2003Q4:1.3.0.10
	pkgsrc-2003Q4-base:1.3
	netbsd-1-6-1:1.3.0.6
	netbsd-1-6-1-base:1.3
	netbsd-1-6:1.3.0.8
	netbsd-1-6-RELEASE-base:1.3
	pkgviews:1.3.0.4
	pkgviews-base:1.3
	buildlink2:1.3.0.2
	buildlink2-base:1.3
	netbsd-1-5-PATCH003:1.3;
locks; strict;
comment	@# @;


1.8
date	2006.06.09.22.12.10;	author jlam;	state Exp;
branches;
next	1.7;

1.7
date	2006.04.28.18.15.20;	author jlam;	state Exp;
branches;
next	1.6;

1.6
date	2005.02.18.22.12.46;	author jlam;	state Exp;
branches;
next	1.5;

1.5
date	2004.07.14.20.07.16;	author jlam;	state Exp;
branches;
next	1.4;

1.4
date	2004.02.22.03.13.07;	author jlam;	state Exp;
branches;
next	1.3;

1.3
date	2002.01.22.22.08.48;	author jlam;	state Exp;
branches;
next	1.2;

1.2
date	2002.01.02.22.19.37;	author jlam;	state Exp;
branches;
next	1.1;

1.1
date	2001.11.01.00.59.42;	author zuntum;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Update mail/courier-imap to 4.1.1.  Changes from version 4.1.0 include:

   * Fix quota calculations on 32 bit platforms with 64 bit off_t.
@
text
@# $NetBSD: DEINSTALL,v 1.7 2006/04/28 18:15:20 jlam Exp $

case ${STAGE} in
DEINSTALL)
	#
	# Note some additional files that may be created by the sysadmin
	# that can probably be removed.
	#
	if ${TEST} -x ./+FILES; then
		for file in						\
			${PKG_SYSCONFDIR}/imapd.pem			\
			${PKG_SYSCONFDIR}/imapd.rand			\
			${PKG_SYSCONFDIR}/pop3d.pem			\
			${PKG_SYSCONFDIR}/pop3d.rand
		do
			${ECHO} "# FILE: $file . /dev/null" >> ./+FILES
		done
	fi
	;;
esac
@


1.7
log
@Update mail/courier-imap to 4.1.0.  Changes from version 4.0.6 include:

  + Install some more of the HTML documentation in the location expected
    by courier-mta.

  + Moved the default locations for the imapd and pop3d SSL certificates
    into ${PKG_SYSCONFDIR}.  These paths may be changed directly in the
    imapd-ssl and pop3d-ssl configuration files by modifying TLS_CERTFILE.

  * New capability to control announcements of IMAP ACL support when
    starting imapd.

  * Optimization: Skip going through the motions of outputting the results
    of a SORT if the number of sorted messages is 0.

  * Have CREATE and RENAME also create courierimapuidlist.

  * Log total bytes sent/received in IMAP and POP3 sessions.
@
text
@d1 1
a1 1
# $NetBSD: DEINSTALL,v 1.6 2005/02/18 22:12:46 jlam Exp $
a19 10

POST-DEINSTALL)
	couriersslcache="@@COURIER_STATEDIR@@/couriersslcache"
	if ${TEST} -f "$couriersslcache"; then
		# Unconditionally remove the SSL cache file.
		${ECHO} "Removing Courier SSL cache file:"
		${ECHO} "	$couriersslcache"
		${RM} -f $couriersslcache
	fi
	;;
@


1.6
log
@Update mail/courier-imap to courier-imap-4.0.1.  Changes from version
3.0.5 include:

    * Implemented IMAP and POP3 proxy aggregator.  With a proxy
      aggregator, the mail accounts are split between multiple,
      independent servers, with an IMAP/POP3 server running on each
      individual server.  A separate, proxy server sits in front and
      accepts ordinary IMAP and POP3 connections.  It reads the login
      ID, determines which server the account is located on, connects
      to the server, and logs in.  Then, for the lifetime on the login
      session the front-end server takes itself out of the loop, and
      forwards all session traffic between the IMAP/POP3 client, and
      the back-end server.

    * Use courier-authlib for user authentication.

    * IPv6 support.

    * Minor bug fixes.

Please note when updating that the locations of the userdb files has
changed to be within the courier-authlib config directory, e.g.
/usr/pkg/etc/authlib/userdb*.
@
text
@d1 1
a1 1
# $NetBSD: DEINSTALL,v 1.5 2004/07/14 20:07:16 jlam Exp $
d11 1
d13 2
a14 3
			${PKG_SYSCONFDIR}/pop3d.rand			\
			@@SSLCERTS@@/imapd.pem				\
			@@SSLCERTS@@/pop3d.pem
d22 1
a22 1
	couriersslcache="@@VARBASE@@/couriersslcache"
@


1.5
log
@Update mail/courier-imap to 3.0.5 (based on the courier-0.45.6
distribution).  Changes from version 2.2.1 include:

  * Honor ${VARBASE}.
  * courierlogger(1) has been moved to mail/courier-auth.
  * Use the sysconftool from courier-auth to merge config files.
  * The courier* rc.d scripts now check that authdaemond is also set to
    "YES" to ensure that authdaemond is running before the courier-imap
    daemons are started.
  * Support for the ACL IMAP extension (RFC 2086 as well as the 2nd draft
    revision of the ACL specification) via shared maildirs.
  * Bug fixes and improvements to MIME encoding.
  * Fixes buffer overflow vulnerability (PR 25774):
	http://www.securityfocus.com/bid/9845
	http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0224
@
text
@d1 1
a1 1
# $NetBSD: DEINSTALL,v 1.4 2004/02/22 03:13:07 jlam Exp $
d3 17
a19 5
# Additional files that are may be created for courier-imap.
ALL_FILES="${ALL_FILES} /dev/null ${PKG_SYSCONFDIR}/imapd.rand"
ALL_FILES="${ALL_FILES} /dev/null ${PKG_SYSCONFDIR}/pop3d.rand"
ALL_FILES="${ALL_FILES} /dev/null @@SSLCERTS@@/imapd.pem"
ALL_FILES="${ALL_FILES} /dev/null @@SSLCERTS@@/pop3d.pem"
a20 1
case ${STAGE} in
d22 7
a28 2
	# Unconditionally remove the SSL cache file.
	${RM} -f @@VARBASE@@/couriersslcache
@


1.4
log
@Update mail/courier-imap to 2.2.1.  Changes from version 1.4.2 include
addition of keywords on Maildir messages, use of FAM if it exists to
allow simultaneous access to the same Maildir from multiple clients,
and fixed handling of DELETEd messages and the Trash folder.
@
text
@d1 1
a1 1
# $NetBSD: DEINSTALL,v 1.3 2002/01/22 22:08:48 jlam Exp $
d4 2
a5 2
ALL_FILES="${ALL_FILES} /dev/null @@PKG_SYSCONFDIR@@/imapd.rand"
ALL_FILES="${ALL_FILES} /dev/null @@PKG_SYSCONFDIR@@/pop3d.rand"
d12 1
a12 1
	${RM} -f /var/couriersslcache
@


1.3
log
@Update mail/courier-imap to 1.4.2.  Changes from version 1.4.0 include minor
bug fixes, plus the major change of moving the authentication modules into
a separate package (courier-auth).  The authentication modules are to be
shared with a forthcoming sqwebmail package.
@
text
@d1 1
a1 1
# $NetBSD: DEINSTALL,v 1.2 2002/01/02 22:19:37 jlam Exp $
d8 7
@


1.2
log
@Update mail/courier-imap to 1.4.0.  Pkgsrc changes include splitting the
Makefile into package and common parts to facilitate creating sub-packages
for the separate authentication modules, and using the general INSTALL
scripts.  Changes from version 1.3.8.2 include:

	* bug fixes
	* move authentication modules into a separate daemon process
	* partial support of the IMAP QUOTA extension.
	* added experimental PostgreSQL authentication module.
	* added experimental LDAP_TLS option to LDAP authentication.
	* workarounds for Outlook
	* Disable MSIE 6.0 smart tags in all html files
@
text
@d1 1
a1 1
# $NetBSD$
a3 3
ALL_FILES="${ALL_FILES} /dev/null @@PKG_SYSCONFDIR@@/userdb"
ALL_FILES="${ALL_FILES} /dev/null @@PKG_SYSCONFDIR@@/userdb.dat"
ALL_FILES="${ALL_FILES} /dev/null @@PKG_SYSCONFDIR@@/userdbshadow.dat"
a7 10

case ${STAGE} in
POST-DEINSTALL)
	#
	# Unconditionally remove authdaemon state directory as it contains
	# files and sockets that authdaemond creates every time it is
	# started.
	#
	${RM} -rf /var/authdaemon
esac
@


1.1
log
@Move pkg/ files into package's toplevel directory
@
text
@d1 1
a1 3
#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.2 2001/08/15 19:40:07 jlam Exp $
d3 8
a10 18
PKGNAME=$1
STAGE=$2

CAT="@@CAT@@"
CMP="@@CMP@@"
RM="@@RM@@"
RMDIR="@@RMDIR@@"
TRUE="@@TRUE@@"

SAMPLECONFDIR=${PKG_PREFIX}/share/examples/courier
CONFDIR=/etc/courier
SSLCERTS=@@SSLCERTS@@
CONFFILES_1="imapd.dist imapd-ssl.dist pop3d.dist pop3d-ssl.dist"
CONFFILES_2="imapd.cnf pop3d.cnf"
CONFFILES_3="quotawarnmsg"
NONCONFFILES="userdb.dat userdbshadow.dat"
RANDFILES="imapd.rand pop3d.rand"
PEMFILES="imapd.pem pop3d.pem"
d13 5
a17 3
DEINSTALL)
	# Remove configuration files if they don't differ from the default
	# config file.
d19 1
a19 104
	GENERATED_CONFFILES=
	for file in ${CONFFILES_1}
	do
		FILE=${SAMPLECONFDIR}/${file}
		GENFILE=${CONFDIR}/${file%.dist}
		GENERATED_CONFFILES="${GENERATED_CONFFILES} ${file%.dist}"
		if ${CMP} -s ${GENFILE} ${FILE}
		then
			${RM} -f ${GENFILE}
		fi
        done
	for file in ${CONFFILES_2}
	do
		FILE=${CONFDIR}/${file}
		SAMPLEFILE=${SAMPLECONFDIR}/${file}
		if ${CMP} -s ${FILE} ${SAMPLEFILE}
		then
			${RM} -f ${FILE}
		fi
	done
	for file in ${CONFFILES_3}
	do
		FILE=${CONFDIR}/${file}
		SAMPLEFILE=${SAMPLECONFDIR}/${file}.example
		if ${CMP} -s ${FILE} ${SAMPLEFILE}
		then
			${RM} -f ${FILE}
		fi
	done
	;;

POST-DEINSTALL)
	modified_files=''
	for file in							\
		${GENERATED_CONFFILES} ${CONFFILES_1}			\
		${CONFFILES_2} ${CONFFILES_3} ${NONCONFFILES}		\
		${RANDFILES}
	do
		FILE=${CONFDIR}/${file}
		if [ -f ${FILE} ]
		then
			modified_files="${modified_files} ${FILE}"
		fi
	done
	for file in ${PEMFILES}
	do
		FILE=${SSLCERTS}/${file}
		if [ -f ${FILE} ]
		then
			modified_files="${modified_files} ${FILE}"
		fi
	done

	${RMDIR} ${CONFDIR} 2>/dev/null || ${TRUE}

	existing_dirs=''
	for dir in ${CONFDIR}
	do
		if [ -d ${dir} ]
		then
			existing_dirs="${existing_dirs} ${dir}"
		fi
	done

	if [ -n "${modified_files}" -o -n "${existing_dirs}" ]
	then
		${CAT} << EOF
===========================================================================
If you won't be using ${PKGNAME} any longer, you may want to remove:
EOF
		if [ -n "${modified_files}" ]
		then
			${CAT} << EOF

  * the following files:

EOF
			for file in ${modified_files}
			do
				echo "	${file}"
			done
		fi
		if [ -n "${existing_dirs}" ]
		then
			${CAT} << EOF

  * the following directories:

EOF
			for dir in ${existing_dirs}
			do
				echo "	${dir}"
			done
		fi
		${CAT} << EOF
===========================================================================
EOF
	fi
	;;

*)
	echo "Unexpected argument: ${STAGE}"
	exit 1
	;;
a20 1
exit 0
@

