pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/rpm Don't bother with overriding the main templat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/27c9b813cb5e
branches:  trunk
changeset: 460459:27c9b813cb5e
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Aug 30 19:45:00 2003 +0000

description:
Don't bother with overriding the main templates... just add on to the
scripts.

diffstat:

 misc/rpm/DEINSTALL |  12 +-----------
 misc/rpm/INSTALL   |  12 +-----------
 misc/rpm/Makefile  |   5 +----
 3 files changed, 3 insertions(+), 26 deletions(-)

diffs (76 lines):

diff -r bab13249ec9a -r 27c9b813cb5e misc/rpm/DEINSTALL
--- a/misc/rpm/DEINSTALL        Sat Aug 30 19:07:10 2003 +0000
+++ b/misc/rpm/DEINSTALL        Sat Aug 30 19:45:00 2003 +0000
@@ -1,13 +1,8 @@
-# DEINSTALL_TMPL replacement
-#
-# $NetBSD: DEINSTALL,v 1.2 2002/10/20 23:09:27 jlam Exp $
+# $NetBSD: DEINSTALL,v 1.3 2003/08/30 19:45:00 jlam Exp $
 
 RPMDIR="@RPMDIR@"
 
 case ${STAGE} in
-DEINSTALL)
-       ;;
-
 POST-DEINSTALL)
        for db in ${RPMDIR}/*.rpm; do
                if [ ${RPMDIR}/.pre-timestamp -ot $db ] && \
@@ -36,9 +31,4 @@
 EOF
        fi
        ;;
-
-*)
-       ${ECHO} "Unexpected argument: ${STAGE}"
-       exit 1
-       ;;
 esac
diff -r bab13249ec9a -r 27c9b813cb5e misc/rpm/INSTALL
--- a/misc/rpm/INSTALL  Sat Aug 30 19:07:10 2003 +0000
+++ b/misc/rpm/INSTALL  Sat Aug 30 19:45:00 2003 +0000
@@ -1,14 +1,9 @@
-# INSTALL_TMPL replacement
-#
-# $NetBSD: INSTALL,v 1.2 2002/10/20 23:09:27 jlam Exp $
+# $NetBSD: INSTALL,v 1.3 2003/08/30 19:45:00 jlam Exp $
 
 RPM="${PKG_PREFIX}/bin/rpm"
 RPMDIR="@RPMDIR@"
 
 case ${STAGE} in
-PRE-INSTALL)
-       ;;
-
 POST-INSTALL)
        ${MKDIR} ${RPMDIR}
        ${TOUCH} ${RPMDIR}/.pre-timestamp
@@ -20,9 +15,4 @@
        sleep 1
        ${TOUCH} ${RPMDIR}/.post-timestamp
        ;;
-
-*)
-       ${ECHO} "Unexpected argument ${STAGE}"
-       exit 1
-       ;;
 esac
diff -r bab13249ec9a -r 27c9b813cb5e misc/rpm/Makefile
--- a/misc/rpm/Makefile Sat Aug 30 19:07:10 2003 +0000
+++ b/misc/rpm/Makefile Sat Aug 30 19:45:00 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2003/07/17 21:49:52 grant Exp $
+# $NetBSD: Makefile,v 1.43 2003/08/30 19:45:00 jlam Exp $
 
 DISTNAME=      rpm-2.5.4
 PKGREVISION=   1
@@ -19,9 +19,6 @@
 USE_GMAKE=             yes
 GNU_CONFIGURE=         yes
 
-DEINSTALL_TMPL=                ${.CURDIR}/DEINSTALL
-INSTALL_TMPL=          ${.CURDIR}/INSTALL
-
 # The rpm databases are kept under ${RPM_DB_PREFIX}/lib/rpm.
 CONFIGURE_ENV+=                varprefix="${RPM_DB_PREFIX}"
 



Home | Main Index | Thread Index | Old Index