pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkgin pkgin 0.3.3 import from wip/pkgin-20100123



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c72282279f1f
branches:  trunk
changeset: 570056:c72282279f1f
user:      imil <imil%pkgsrc.org@localhost>
date:      Sun Jan 24 14:56:24 2010 +0000

description:
pkgin 0.3.3 import from wip/pkgin-20100123

- Solaris 10 support
- Mac OS X support
- Added -l status flags
- autoconf support
- percentage redraw fix (jmcneill)
- variables cleanups (PKG_SYSCONFDIR, VARBASE) (sketch)
- auto-lookup for SUMEXTS, removed options.mk (sketch)
- opensolaris fixes (sketch)
- repositories.conf variables substitution (tuxillo)
- impact mutex (Johannes Hofmann)
- SunOS 5.8 support (Mikhail T.)

Plus many cleanups from stacktic@
- Replaced strstr's with str{n}cmp when possible
- #ifdef'ed PROVIDES
- Queries are now const chars
- Added -n (no-flag)
- Various memleaks fixed
- pkgname comparison fix
- Cleaned up trailing spaces
- Got rid of recursion !

diffstat:

 pkgtools/pkgin/MESSAGE  |   4 ++--
 pkgtools/pkgin/Makefile |  21 ++++++++++-----------
 pkgtools/pkgin/distinfo |   8 ++++----
 3 files changed, 16 insertions(+), 17 deletions(-)

diffs (76 lines):

diff -r b7c7a7980346 -r c72282279f1f pkgtools/pkgin/MESSAGE
--- a/pkgtools/pkgin/MESSAGE    Sun Jan 24 14:46:29 2010 +0000
+++ b/pkgtools/pkgin/MESSAGE    Sun Jan 24 14:56:24 2010 +0000
@@ -1,9 +1,9 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2009/06/08 13:58:26 imil Exp $
+$NetBSD: MESSAGE,v 1.2 2010/01/24 14:56:24 imil Exp $
 
 First steps before using pkgin.
 
-. Modify ${PREFIX}/etc/pkgin/repositories.conf to suit your platform
+. Modify ${PKG_SYSCONFDIR}/pkgin/repositories.conf to suit your platform
 . Initialize the database :
 
        # pkgin update
diff -r b7c7a7980346 -r c72282279f1f pkgtools/pkgin/Makefile
--- a/pkgtools/pkgin/Makefile   Sun Jan 24 14:46:29 2010 +0000
+++ b/pkgtools/pkgin/Makefile   Sun Jan 24 14:56:24 2010 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2010/01/17 12:02:37 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2010/01/24 14:56:24 imil Exp $
 #
 
-DISTNAME=              pkgin-0.2.5
-PKGREVISION=           1
+DISTNAME=              pkgin-0.3.3
 CATEGORIES=            pkgtools
 MASTER_SITES=          ftp://ftp.NetBSD.org/pub/NetBSD/misc/imil/
 
@@ -17,25 +16,25 @@
 CONF_FILES=            ${EGDIR}/repositories.conf.example              \
                        ${PKG_SYSCONFDIR}/${PKGBASE}/repositories.conf
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 ${EGDIR}                  \
-                       ${PKG_SYSCONFDIR}/${PKGBASE}
+OWN_DIRS+=             ${PKG_SYSCONFDIR}/${PKGBASE}
+INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1 ${EGDIR}
 
 WRKSRC=                        ${WRKDIR}/pkgin
 
 SUBST_CLASSES+=                path
 SUBST_STAGE.path=      pre-configure
 SUBST_MESSAGE.path=    Adjusting path.
-SUBST_FILES.path=      Makefile actions.c pkgin.1
-SUBST_SED.path=                -e "s|/usr/pkg|${PREFIX}|g"
+SUBST_FILES.path=      Makefile.in actions.c pkgin.1
+SUBST_SED.path=                -e "s|/usr/pkg/etc|${PKG_SYSCONFDIR}|g"
+SUBST_SED.path+=       -e "s|/usr/pkg|${PREFIX}|g"
 SUBST_SED.path+=       -e "s|/usr/sbin|${PKG_TOOLS_BIN}|g"
+SUBST_SED.path+=       -e "s|/var|${VARBASE}|g"
 
-USE_BSD_MAKEFILE=              yes
-USE_FEATURES=                  nbcompat
+GNU_CONFIGURE=         yes
+USE_FEATURES=          nbcompat
 
 NBCOMPAT_CONFIGURE_ARGS+=      --enable-db
 
-.include "options.mk"
-
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/pkgin ${DESTDIR}${PREFIX}/bin
        ${INSTALL_MAN} ${WRKSRC}/pkgin.1                                \
diff -r b7c7a7980346 -r c72282279f1f pkgtools/pkgin/distinfo
--- a/pkgtools/pkgin/distinfo   Sun Jan 24 14:46:29 2010 +0000
+++ b/pkgtools/pkgin/distinfo   Sun Jan 24 14:56:24 2010 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/06/08 13:58:26 imil Exp $
+$NetBSD: distinfo,v 1.2 2010/01/24 14:56:24 imil Exp $
 
-SHA1 (pkgin-0.2.5.tar.gz) = 27373fb35a142fdf5b097bd173cbc8453786b85e
-RMD160 (pkgin-0.2.5.tar.gz) = 70854b01e1d2c12ed6be09175eaf5e48c0aa15ef
-Size (pkgin-0.2.5.tar.gz) = 71392 bytes
+SHA1 (pkgin-0.3.3.tar.gz) = fa0320e18a9f44d094d4cf5f3757e7069bd401b0
+RMD160 (pkgin-0.3.3.tar.gz) = 02c5b2a7c428f6c1d73d1e12f32f651ad075c48f
+Size (pkgin-0.3.3.tar.gz) = 140679 bytes



Home | Main Index | Thread Index | Old Index