Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2014 17:12:47 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348493 - in head/ports-mgmt/pkg-devel: . files
Message-ID:  <201403171712.s2HHClvO058704@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Mar 17 17:12:47 2014
New Revision: 348493
URL: http://svnweb.freebsd.org/changeset/ports/348493
QAT: https://qat.redports.org/buildarchive/r348493/

Log:
  Update to 1.3.0.a1:
  - New solver that can support external solvers using the CUDF format and the internal SAT solver
  - pkg-ssh(8) is now sandboxed with capsicum if it is available
  - pkg-ssh(8) now uses poll(2)
  - Remove StringList usage to improve portability
  - Rework the build system to use autotools to help portability
  - Now fetching is done to a temporary location and cleaned up if it fails
  - Remove PACKAGESITE
  - pkg-audit: remove support for portaudit compact database (only VulnXML will be used)
  - Improved UI experience based on jmmv write up (http://julipedia.meroh.net/search/label/cli-design)
  - Hide the average speed from the progress bar (confusing for users)
  - Reworking the database locking mechanism into a finer grain and more clever system
  - Dynamic conflict handling if a conflict on files is detected at the sanity check level, try to solve the problem again with the new conflict information
  - Fix %t (timestamp) modifier in pkg_printf(3)
  - Full output now has a new field "date installed"
  - New pkg -o A=B to overwrite configuration from command line without the need of defining environment variables
  - pkg-install now can handle local files
  - pkg-add is now an alias on pkg-install
  - Simplify API by using more and more libucl objects (hidden behind an opaque 'pkg_object')
  
  Special thanks to Vsevolod Stakhov (vsevolod@)

Modified:
  head/ports-mgmt/pkg-devel/Makefile
  head/ports-mgmt/pkg-devel/distinfo
  head/ports-mgmt/pkg-devel/files/extra-patch-pkg_pkg.8
  head/ports-mgmt/pkg-devel/pkg-plist

Modified: head/ports-mgmt/pkg-devel/Makefile
==============================================================================
--- head/ports-mgmt/pkg-devel/Makefile	Mon Mar 17 17:02:33 2014	(r348492)
+++ head/ports-mgmt/pkg-devel/Makefile	Mon Mar 17 17:12:47 2014	(r348493)
@@ -1,11 +1,12 @@
 # $FreeBSD$
 
 PORTNAME=	pkg
-DISTVERSION=	1.2.7
+DISTVERSION=	1.3.0.a1
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	\
-		http://files.etoilebsd.net/${PORTNAME}/ \
+		http://files.etoilebsd.net/pkg/ \
 		http://mirror.shatow.net/freebsd/${PORTNAME}/ \
+		http://miwibox.org/distfiles/${PORTNAME}/ \
 		LOCAL/portmgr
 PKGNAMESUFFIX=	-devel
 
@@ -14,16 +15,12 @@ COMMENT=	Package manager
 
 LICENSE=	BSD2CLAUSE
 
-USES=		tar:xz uidfix
-
 # Disable CCACHE support because of the chicken/egg problem pkg should always
 # With no dependency at all
 NO_CCACHE=	yes
 USE_LDCONFIG=	yes
-MAKE_ARGS+=	PKG_PORTSDIR=${PORTSDIR}
-
-MAKE_ENV+=	WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null \
-		PORTREVISION=${PORTREVISION}
+USES=		tar:xz
+GNU_CONFIGURE=	yes
 
 # Use a submake as 'deinstall install' needs to reevaluate PKG_CMD
 # so that pkg-static is used from the wrkdir
@@ -88,15 +85,14 @@ LATEST_LINK=	pkg-devel
 PKG_DEPENDS=
 .undef INSTALLS_DEPENDS
 .if !exists(${LOCALBASE}/sbin/pkg)
-PKG_BIN=	${WRKSRC}/pkg/pkg-static
+PKG_BIN=	${WRKSRC}/src/pkg-static
 .endif
 .endif
 
-PERIODIC_DAILY=		400.status-pkg 411.pkg-backup 490.status-pkg-changes
-PERIODIC_SECURITY=	410.pkg-audit 460.pkg-checksum
-PERIODIC_ALL=		${PERIODIC_DAILY} ${PERIODIC_SECURITY}
-
 post-install:
-	@${INSTALL_DATA} ${WRKSRC}/pkg/pkg.conf.sample ${STAGEDIR}${PREFIX}/etc
+	@${RM} -f ${STAGEDIR}${PREFIX}/lib/*.la
+	@${MV} ${STAGEDIR}${PREFIX}/lib/libpkg_static.a \
+		${STAGEDIR}${PREFIX}/lib/libpkg.a
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpkg.so.2
 
 .include <bsd.port.post.mk>

Modified: head/ports-mgmt/pkg-devel/distinfo
==============================================================================
--- head/ports-mgmt/pkg-devel/distinfo	Mon Mar 17 17:02:33 2014	(r348492)
+++ head/ports-mgmt/pkg-devel/distinfo	Mon Mar 17 17:12:47 2014	(r348493)
@@ -1,2 +1,2 @@
-SHA256 (pkg-1.2.7.tar.xz) = 450f51a4c6e3d05fac9b0e408e5dfe252ac87abe72481a5b4711f077178ba4c1
-SIZE (pkg-1.2.7.tar.xz) = 1822868
+SHA256 (pkg-1.3.0.a1.tar.xz) = 41c59160877e7133789542b07c3a38130b5315c30753c997731a9db591908ad0
+SIZE (pkg-1.3.0.a1.tar.xz) = 1622316

Modified: head/ports-mgmt/pkg-devel/files/extra-patch-pkg_pkg.8
==============================================================================
--- head/ports-mgmt/pkg-devel/files/extra-patch-pkg_pkg.8	Mon Mar 17 17:02:33 2014	(r348492)
+++ head/ports-mgmt/pkg-devel/files/extra-patch-pkg_pkg.8	Mon Mar 17 17:12:47 2014	(r348493)
@@ -1,5 +1,5 @@
---- pkg/pkg.8.orig	2013-11-27 18:14:50.000000000 +0000
-+++ pkg/pkg.8
+--- src/pkg.8.orig	2013-11-27 18:14:50.000000000 +0000
++++ src/pkg.8
 @@ -30,7 +30,7 @@
  .Op Fl d
  .Op Fl l

Modified: head/ports-mgmt/pkg-devel/pkg-plist
==============================================================================
--- head/ports-mgmt/pkg-devel/pkg-plist	Mon Mar 17 17:02:33 2014	(r348492)
+++ head/ports-mgmt/pkg-devel/pkg-plist	Mon Mar 17 17:12:47 2014	(r348493)
@@ -8,7 +8,7 @@ etc/pkg.conf.sample
 include/pkg.h
 lib/libpkg.a
 lib/libpkg.so
-lib/libpkg.so.1
+lib/libpkg.so.2
 libdata/pkgconfig/pkg.pc
 man/man3/pkg_printf.3.gz
 man/man3/pkg_repos.3.gz
@@ -50,7 +50,7 @@ man/man8/pkg.8.gz
 sbin/pkg
 sbin/pkg-static
 sbin/pkg2ng
-share/zsh/site-functions/_pkg
+share/zsh/site-functions/_pkg.zsh
 @dirrmtry etc/bash_completion.d
 @dirrmtry etc/periodic/daily
 @dirrmtry etc/periodic/security



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403171712.s2HHClvO058704>