Subject: pkg/16706: teapop upgrade
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dawszy@arhea.net>
List: netbsd-bugs
Date: 05/08/2002 00:43:06
>Number: 16706
>Category: pkg
>Synopsis: new files in pkgsrc/teapop
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Tue May 07 15:44:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Dawid Szymański
>Release: NetBSD 1.5.2
>Organization:
/*
%http://people.arhea.net/dawszy/%ham:sq6emm%mobile:+48 691626681%
If you're not googleable, you don't exist.
*/
>Environment:
System: NetBSD gornik 1.5.2 NetBSD 1.5.2 (GENERIC) #1: Thu Mar 14 10:39:39 CET 2002 root@gornik:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
Added:
- /usr/pkg/etc/rc.d/teapop script
- MESSAGE
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/teapop/Makefile,v
retrieving revision 1.8
diff -b -u -r1.8 Makefile
--- Makefile 2002/04/29 16:44:17 1.8
+++ Makefile 2002/05/07 22:38:32
@@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.8 2002/04/29 16:44:17 hubertf Exp $
DISTNAME= teapop-0.3.4
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.toontown.org/pub/teapop/ \
http://www.toontown.org/pub/teapop/
@@ -34,9 +35,13 @@
LDFLAGS+= -L${LOCALBASE}/lib/mysql -Wl,-R${LOCALBASE}/lib/mysql
.endif
+post-build:
+ ${SED} ${FILES_SUBST_SED} ${FILESDIR}/teapop > ${WRKDIR}/teapop
+
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/etc/teapop.passwd ${EGDIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/teapop ${PREFIX}/etc/rc.d/teapop
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/mail/teapop/PLIST,v
retrieving revision 1.1
diff -b -u -r1.1 PLIST
--- PLIST 2001/11/01 01:01:36 1.1
+++ PLIST 2002/05/07 22:38:32
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:01:36 zuntum Exp $
+@comment $NetBSD$
+etc/rc.d/teapop
+etc/teapop.passwd
libexec/teapop
man/man8/teapop.8
+sbin/cronpopauth.pl
share/examples/teapop/teapop.passwd
@dirrm share/examples/teapop
Here is MESSAGE file:
================================================================================
You may also wish to:
cp ${PREFIX}/etc/rc.d/teapop /etc/rc.d/teapop
echo "teapop=YES" >> /etc/rc.conf
================================================================================
Here is teapop file:
#!/bin/sh
#
# $NetBSD$
#
# PROVIDE: teapop
# REQUIRE: DAEMON
. /etc/rc.subr
name="teapop"
rcvar=$name
command="@PREFIX@/libexec/${name}"
command_args="-s"
pidfile="/var/run/${name}.pid"
required_files="@PREFIX@/etc/teapop.passwd"
sig_stop="INT"
load_rc_config $name
run_rc_command "$1"
>Release-Note:
>Audit-Trail:
>Unformatted: