pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc + Remove pkgtools/pax and pkgtools/tnftp as they are n...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a4e5a7101962
branches:  trunk
changeset: 539454:a4e5a7101962
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Mar 06 04:45:58 2008 +0000

description:
+ Remove pkgtools/pax and pkgtools/tnftp as they are no longer different
  from archivers/pax and net/tnftp, respectively.  In the past, the
  pkgtools version of these packages installed into ${PKG_TOOLS_BIN},
  but this was changed in:

        pkgtools/pax/Makefile:1.15
        pkgtools/tnftp/Makefile:1.3

+ Get rid of archivers/pax/Makefile.common and net/tnftp/Makefile.common
  by merging them into their respective Makefiles.  The Makefile.common
  files existed solely for inclusion by the pkgtools versions of these
  packages, but with the removal of those packages, these files are
  now unnecessary.

+ Add full DESTDIR support to archivers/pax and net/tnftp.

+ Modify the bootstrap to build archivers/pax and net/tnftp instead of
  the pkgtools versions of these packages.

diffstat:

 archivers/pax/Makefile          |  31 ++++++++++++++++++++++-------
 archivers/pax/Makefile.common   |  28 ---------------------------
 archivers/pax/files/Makefile.in |  27 +++++++++++++------------
 bootstrap/bootstrap             |   6 ++--
 net/tnftp/Makefile              |  42 ++++++++++++++++++++++++++++++++++++----
 net/tnftp/Makefile.common       |  28 ---------------------------
 net/tnftp/files/src/Makefile.in |  11 +++++----
 pkgtools/pax/Makefile           |  14 -------------
 pkgtools/tnftp/Makefile         |  15 --------------
 9 files changed, 83 insertions(+), 119 deletions(-)

diffs (294 lines):

diff -r 60a2177d4463 -r a4e5a7101962 archivers/pax/Makefile
--- a/archivers/pax/Makefile    Thu Mar 06 02:57:10 2008 +0000
+++ b/archivers/pax/Makefile    Thu Mar 06 04:45:58 2008 +0000
@@ -1,17 +1,32 @@
-# $NetBSD: Makefile,v 1.34 2008/02/07 22:27:53 joerg Exp $
+# $NetBSD: Makefile,v 1.35 2008/03/06 04:45:58 jlam Exp $
 
-USE_FEATURES=  nbcompat
+DISTNAME=              pax-20080110
+CATEGORIES=            archivers
+MASTER_SITES=          # empty
+DISTFILES=             # empty
 
-.include "Makefile.common"
+MAINTAINER=            grant%NetBSD.org@localhost
+HOMEPAGE=              http://www.NetBSD.org/
+COMMENT=               POSIX standard archiver with many extensions
 
-CATEGORIES=    archivers
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_FEATURES=          nbcompat
+
+.include "../../mk/bsd.prefs.mk"
 
 # pax installs "tar" and "cpio"
-.if defined(GNU_PROGRAM_PREFIX) && ${GNU_PROGRAM_PREFIX} == ""
-CONFLICTS+=    gcpio-[0-9]*
+.if defined(GNU_PROGRAM_PREFIX) && empty(GNU_PROGRAM_PREFIX)
+CONFLICTS+=            gcpio-[0-9]*
 .endif
-.if defined(GTAR_PROGRAM_PREFIX) && ${GTAR_PROGRAM_PREFIX} == ""
-CONFLICTS+=    gtar-base-[0-9]*
+.if defined(GTAR_PROGRAM_PREFIX) && empty(GTAR_PROGRAM_PREFIX)
+CONFLICTS+=            gtar-base-[0-9]*
 .endif
 
+GNU_CONFIGURE=         yes
+NO_CHECKSUM=           yes
+
+do-extract:
+       ${CP} -R ${FILESDIR} ${WRKSRC}
+
 .include "../../mk/bsd.pkg.mk"
diff -r 60a2177d4463 -r a4e5a7101962 archivers/pax/Makefile.common
--- a/archivers/pax/Makefile.common     Thu Mar 06 02:57:10 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-# $NetBSD: Makefile.common,v 1.4 2008/02/07 22:27:53 joerg Exp $
-#
-# This Makefile fragment is included by:
-#
-#      pkgsrc/archivers/pax/Makefile
-#      pkgsrc/pkgtools/pax/Makefile
-#
-
-DISTNAME=              pax-20080110
-MASTER_SITES=          # empty
-DISTFILES=             # empty
-
-MAINTAINER=            grant%NetBSD.org@localhost
-HOMEPAGE=              http://www.NetBSD.org/
-COMMENT=               POSIX standard archiver with many extensions
-
-GNU_CONFIGURE=         yes
-
-NO_CHECKSUM=           yes
-NO_MTREE=              yes
-
-FILESDIR=              ${.CURDIR}/../../archivers/pax/files
-PKGDIR=                        ${.CURDIR}/../../archivers/pax
-
-.include "../../mk/bsd.prefs.mk"
-
-do-extract:
-       ${CP} -R ${FILESDIR} ${WRKSRC}
diff -r 60a2177d4463 -r a4e5a7101962 archivers/pax/files/Makefile.in
--- a/archivers/pax/files/Makefile.in   Thu Mar 06 02:57:10 2008 +0000
+++ b/archivers/pax/files/Makefile.in   Thu Mar 06 04:45:58 2008 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: Makefile.in,v 1.9 2005/12/01 03:00:01 minskim Exp $
+#      $NetBSD: Makefile.in,v 1.10 2008/03/06 04:45:58 jlam Exp $
 
 srcdir=                @srcdir@
 
+DESTDIR=       
 prefix=                @prefix@
 exec_prefix=   @exec_prefix@
 bindir=                @bindir@
@@ -43,15 +44,15 @@
        rm -f configure.lineno config.log
 
 install:
-       $(INSTALL) -m 755 -d $(bindir)
-       $(INSTALL) -m 755 -d $(man1dir)
-       $(INSTALL) -m 755 -d $(cat1dir)
-       $(INSTALL) $(PROG) $(bindir)
-       ln -f $(bindir)/$(PROG) $(bindir)/cpio
-       ln -f $(bindir)/$(PROG) $(bindir)/tar
-       $(INSTALL) -m 444 $(PROG).1 $(man1dir)/$(PROG).1
-       $(INSTALL) -m 444 $(PROG).cat1 $(cat1dir)/$(PROG).0
-       $(INSTALL) -m 444 cpio.1 $(man1dir)/cpio.1
-       $(INSTALL) -m 444 cpio.cat1 $(cat1dir)/cpio.0
-       $(INSTALL) -m 444 tar.1 $(man1dir)/tar.1
-       $(INSTALL) -m 444 tar.cat1 $(cat1dir)/tar.0
+       $(INSTALL) -m 755 -d $(DESTDIR)$(bindir)
+       $(INSTALL) -m 755 -d $(DESTDIR)$(man1dir)
+       $(INSTALL) -m 755 -d $(DESTDIR)$(cat1dir)
+       $(INSTALL) $(PROG) $(DESTDIR)$(bindir)
+       ln -f $(DESTDIR)$(bindir)/$(PROG) $(DESTDIR)$(bindir)/cpio
+       ln -f $(DESTDIR)$(bindir)/$(PROG) $(DESTDIR)$(bindir)/tar
+       $(INSTALL) -m 444 $(PROG).1 $(DESTDIR)$(man1dir)/$(PROG).1
+       $(INSTALL) -m 444 $(PROG).cat1 $(DESTDIR)$(cat1dir)/$(PROG).0
+       $(INSTALL) -m 444 cpio.1 $(DESTDIR)$(man1dir)/cpio.1
+       $(INSTALL) -m 444 cpio.cat1 $(DESTDIR)$(cat1dir)/cpio.0
+       $(INSTALL) -m 444 tar.1 $(DESTDIR)$(man1dir)/tar.1
+       $(INSTALL) -m 444 tar.cat1 $(DESTDIR)$(cat1dir)/tar.0
diff -r 60a2177d4463 -r a4e5a7101962 bootstrap/bootstrap
--- a/bootstrap/bootstrap       Thu Mar 06 02:57:10 2008 +0000
+++ b/bootstrap/bootstrap       Thu Mar 06 04:45:58 2008 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.120 2008/01/30 22:57:31 tron Exp $
+# $NetBSD: bootstrap,v 1.121 2008/03/06 04:45:58 jlam Exp $
 #
 #
 # Copyright (c) 2001-2002 Alistair G. Crooks.  All rights reserved.
@@ -1026,10 +1026,10 @@
 yes)   build_package "pkgtools/bootstrap-extras";;
 esac
 case "$need_ftp" in
-yes)   build_package "pkgtools/tnftp";;
+yes)   build_package "net/tnftp";;
 esac
 case "$need_pax" in
-yes)   build_package "pkgtools/pax";;
+yes)   build_package "archivers/pax";;
 esac
 build_package "pkgtools/pkg_install"
 
diff -r 60a2177d4463 -r a4e5a7101962 net/tnftp/Makefile
--- a/net/tnftp/Makefile        Thu Mar 06 02:57:10 2008 +0000
+++ b/net/tnftp/Makefile        Thu Mar 06 04:45:58 2008 +0000
@@ -1,12 +1,44 @@
-# $NetBSD: Makefile,v 1.22 2007/08/07 04:59:52 lukem Exp $
+# $NetBSD: Makefile,v 1.23 2008/03/06 04:45:58 jlam Exp $
 
-.include "Makefile.common"
+DISTNAME=              tnftp-20070806
+SVR4_PKGNAME=          tnftp
+CATEGORIES=            net
+MASTER_SITES=          # empty
+DISTFILES=             # empty
+
+# distfile obtained from: ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnftp
 
-CATEGORIES=    net
+CONFLICTS+=            kth-krb4-[0-9]*
+CONFLICTS+=            lukemftp-[0-9]*
+
+MAINTAINER=            lukem%NetBSD.org@localhost
+COMMENT=               The enhanced FTP client in NetBSD
 
-CONFLICTS+=    kth-krb4-[0-9]*
-CONFLICTS+=    lukemftp-[0-9]*
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+GNU_CONFIGURE=         yes
+NO_CHECKSUM=           yes
+
+OPSYSVARS+=            MAKE_ENV
+MAKE_ENV.SunOS+=       CPPFLAGS=""
 
 .include "options.mk"
 
+do-extract:
+       @${CP} -R ${FILESDIR} ${WRKSRC}
+       @${RM} -f ${WRKSRC}/INSTALL
+
+# Use readline/builtin.mk to check for an editline library on the
+# system.  If we use the system editline library, then use the built-in
+# termcap library.
+#
+CHECK_BUILTIN.readline:=       yes
+.include "../../devel/readline/builtin.mk"
+CHECK_BUILTIN.readline:=       no
+
+.if !empty(BUILTIN_LIB_FOUND.edit:M[yY][eE][sS])
+USE_BUILTIN.termcap=   yes
+.endif
+
+.include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 60a2177d4463 -r a4e5a7101962 net/tnftp/Makefile.common
--- a/net/tnftp/Makefile.common Thu Mar 06 02:57:10 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-# $NetBSD: Makefile.common,v 1.3 2007/08/07 04:56:22 lukem Exp $
-
-DISTNAME=              tnftp-20070806
-SVR4_PKGNAME=          tnftp
-MASTER_SITES=          # empty
-DISTFILES=             # empty
-
-# distfile obtained from: ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnftp
-
-MAINTAINER=            lukem%NetBSD.org@localhost
-COMMENT=               The enhanced FTP client in NetBSD
-
-GNU_CONFIGURE=         YES
-
-NO_CHECKSUM=           yes
-NO_MTREE=              yes
-
-FILESDIR=              ${.CURDIR}/../../net/tnftp/files
-PKGDIR=                        ${.CURDIR}/../../net/tnftp
-
-OPSYSVARS+=            MAKE_ENV
-MAKE_ENV.SunOS+=       CPPFLAGS=""
-
-.include "../../mk/bsd.prefs.mk"
-
-do-extract:
-       @${CP} -R ${FILESDIR} ${WRKSRC}
-       @${RM} -f ${WRKSRC}/INSTALL
diff -r 60a2177d4463 -r a4e5a7101962 net/tnftp/files/src/Makefile.in
--- a/net/tnftp/files/src/Makefile.in   Thu Mar 06 02:57:10 2008 +0000
+++ b/net/tnftp/files/src/Makefile.in   Thu Mar 06 04:45:58 2008 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: Makefile.in,v 1.5 2007/08/07 02:07:01 lukem Exp $
+#      $NetBSD: Makefile.in,v 1.6 2008/03/06 04:45:58 jlam Exp $
 #
 
 srcdir = @srcdir@
 VPATH  = @srcdir@
 SHELL  = /bin/sh
 
+DESTDIR        =
 prefix = @prefix@
 exec_prefix = @exec_prefix@
 bindir = @bindir@
@@ -39,10 +40,10 @@
        ${CC} ${CFLAGS} ${CPPFLAGS} -c $<
 
 install: all
-       -mkdir -p ${bindir}
-       ${INSTALL} -m 555 ${PROG} ${bindir}/`echo ${PROG}|sed '$(transform)'`
-       -mkdir -p ${mandircat1}
-       ${INSTALL} -m 444 ${srcdir}/${PROG}.cat1 ${mandircat1}/`echo ${PROG}|sed '$(transform)'`.0
+       -mkdir -p ${DESTDIR}${bindir}
+       ${INSTALL} -m 555 ${PROG} ${DESTDIR}${bindir}/`echo ${PROG}|sed '$(transform)'`
+       -mkdir -p ${DESTDIR}${mandircat1}
+       ${INSTALL} -m 444 ${srcdir}/${PROG}.cat1 ${DESTDIR}${mandircat1}/`echo ${PROG}|sed '$(transform)'`.0
 
 clean:
        rm -f core ${PROG} ${OBJS}
diff -r 60a2177d4463 -r a4e5a7101962 pkgtools/pax/Makefile
--- a/pkgtools/pax/Makefile     Thu Mar 06 02:57:10 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-# $NetBSD: Makefile,v 1.18 2008/02/07 22:27:53 joerg Exp $
-#
-# This version of pax installs into ${PKG_TOOLS_BIN}.
-#
-
-USE_FEATURES=  nbcompat
-
-.include "../../archivers/pax/Makefile.common"
-
-CATEGORIES=    pkgtools
-
-NO_PKGTOOLS_REQD_CHECK=        yes
-
-.include "../../mk/bsd.pkg.mk"
diff -r 60a2177d4463 -r a4e5a7101962 pkgtools/tnftp/Makefile
--- a/pkgtools/tnftp/Makefile   Thu Mar 06 02:57:10 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-# $NetBSD: Makefile,v 1.4 2007/08/07 05:05:04 lukem Exp $
-#
-# This version of tnftp installs into ${PKG_TOOLS_BIN}.
-#
-
-.include "../../net/tnftp/Makefile.common"
-
-CATEGORIES=    pkgtools
-
-NO_PKGTOOLS_REQD_CHECK=        yes
-
-CONFLICTS+=    kth-krb4-[0-9]*
-CONFLICTS+=    lukemftp-[0-9]*
-
-.include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index