pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/smtpd Convert to use the pkginstall framework...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b886a7df871
branches:  trunk
changeset: 516429:4b886a7df871
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Jul 20 20:07:13 2006 +0000

description:
Convert to use the pkginstall framework for INSTALL/DEINSTALL scripts.

diffstat:

 security/smtpd/DEINSTALL |  17 -----------------
 security/smtpd/Makefile  |   9 +++------
 2 files changed, 3 insertions(+), 23 deletions(-)

diffs (49 lines):

diff -r 253e43cf4474 -r 4b886a7df871 security/smtpd/DEINSTALL
--- a/security/smtpd/DEINSTALL  Thu Jul 20 20:02:23 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-#! /bin/sh
-#
-# $NetBSD: DEINSTALL,v 1.1 2001/11/01 01:17:48 zuntum Exp $
-#
-
-case "$2" in
-        DEINSTALL) cat <<EOF
-
-=============================================================
-Note that the configuration and spool dir (/var/spool/smtpd)
-are not removed in the deinstallation process. You should
-remove those by hand, if you no longer need them.
-=============================================================
-
-EOF
-        ;;
-esac
diff -r 253e43cf4474 -r 4b886a7df871 security/smtpd/Makefile
--- a/security/smtpd/Makefile   Thu Jul 20 20:02:23 2006 +0000
+++ b/security/smtpd/Makefile   Thu Jul 20 20:07:13 2006 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2006/03/14 01:14:33 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2006/07/20 20:07:13 jlam Exp $
 #
 
 DISTNAME=      smtpd-2.0
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    mail security
 MASTER_SITES=  ftp://ftp.obtuse.com/pub/smtpd/
 
@@ -26,12 +26,9 @@
 OPSYSVARS+=    LD_LIBS
 LD_LIBS.SunOS+=        -lnsl -lsocket -lresolv
 MAKE_ENV+=     LD_LIBS=${LD_LIBS:Q}
-DEINSTALL_SRC= ${PKGDIR}/DEINSTALL
-INSTALL_SRC=   # empty
-
-.include "../../mk/bsd.prefs.mk"
 
 INSTALLATION_DIRS=     sbin
+OWN_DIRS=              ${SPOOL}
 
 do-install:
        ${INSTALL_DATA_DIR} ${SPOOL}/etc



Home | Main Index | Thread Index | Old Index