svn commit: r399866 - head/ports-mgmt/pkg

olli hauer ohauer at gmx.de
Tue Oct 20 18:59:24 UTC 2015


On 2015-10-20 18:04, Ryan Steinmetz wrote:
> Author: zi
> Date: Tue Oct 20 16:04:34 2015
> New Revision: 399866
> URL: https://svnweb.freebsd.org/changeset/ports/399866
> 
> Log:
>   - Add bapt-get symlink
>   - Bump PORTREVISION
>   
>   Approved by:	portmgr (bapt)
> 
> Modified:
>   head/ports-mgmt/pkg/Makefile
>   head/ports-mgmt/pkg/pkg-plist
> 
> Modified: head/ports-mgmt/pkg/Makefile
> ==============================================================================
> --- head/ports-mgmt/pkg/Makefile	Tue Oct 20 15:54:37 2015	(r399865)
> +++ head/ports-mgmt/pkg/Makefile	Tue Oct 20 16:04:34 2015	(r399866)
> @@ -2,6 +2,7 @@
>  
>  PORTNAME=	pkg
>  DISTVERSION=	1.6.1
> +PORTREVISION=	1
>  _PKG_VERSION=	${DISTVERSION}
>  CATEGORIES=	ports-mgmt
>  MASTER_SITES=	\
> @@ -71,6 +72,7 @@ PKG_DEPENDS=
>  PKG_BIN=	${WRKSRC}/src/pkg-static
>  
>  post-install:
> +	${LN} -sf ${PREFIX}/sbin/pkg ${STAGEDIR}${PREFIX}/sbin/bapt-get
>  	@${MV} ${STAGEDIR}${PREFIX}/lib/libpkg_static.a \
>  		${STAGEDIR}${PREFIX}/lib/libpkg.a
>  
> 
> Modified: head/ports-mgmt/pkg/pkg-plist
> ==============================================================================
> --- head/ports-mgmt/pkg/pkg-plist	Tue Oct 20 15:54:37 2015	(r399865)
> +++ head/ports-mgmt/pkg/pkg-plist	Tue Oct 20 16:04:34 2015	(r399866)
> @@ -50,6 +50,7 @@ man/man8/pkg-upgrade.8.gz
>  man/man8/pkg-version.8.gz
>  man/man8/pkg-which.8.gz
>  man/man8/pkg.8.gz
> +sbin/bapt-get
>  sbin/pkg
>  sbin/pkg-static
>  sbin/pkg2ng
> 

Hm, what's the purpose of the softlink for the average pkg user?
A hint in the commit message why this softlink is useful would be nice

-- 
olli


More information about the svn-ports-head mailing list