e629c60d76
binary package to a FreeBSD binary pkg. pkgsrc binary packages keep more metadata, and do Dewey matching on package version numbers, so it's not possible to convert in the other direction. The DESCR says: This is a small utility to generate a FreeBSD pkg binary package from a pkgsrc binary package. It is invoked simply, using a command like: genpkgng ssam-1.9nb1.tgz and it will convert the pkgsrc binary package to a pkg one: % ./genpkgng.sh perl-5.18.1nb2.tgz Converting perl-5.18.1nb2.tgz -rw-r--r-- 1 agc users 16597860 Apr 24 19:01 perl-5.18.1nb2.txz %
77 lines
2.3 KiB
Groff
77 lines
2.3 KiB
Groff
.\" $NetBSD: genpkgng.1,v 1.1.1.1 2014/04/27 00:10:34 agc Exp $
|
|
.\"
|
|
.\" Copyright (c) 2014 Alistair Crooks <agc@NetBSD.org>
|
|
.\" All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
.\"
|
|
.Dd April 25, 2014
|
|
.Dt GENPKGNG 1
|
|
.Os
|
|
.Sh NAME
|
|
.Nm genraidconf
|
|
.Nd utility to configure RAID sets
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Fl nv
|
|
.Op Fl v
|
|
.Ar binpkg ...
|
|
.Sh DESCRIPTION
|
|
The
|
|
.Nm
|
|
command converts from a binary package
|
|
generated from the pkgsrc infratsructure to a binary
|
|
package which can be installed using the
|
|
.Fx
|
|
pkg packaging tool.
|
|
.Pp
|
|
It generates
|
|
.Dq +MANIFEST
|
|
and
|
|
.Dq +COMPACT_MANIFEST
|
|
metadata files, and also preserves the
|
|
.Dq build information
|
|
and
|
|
.Dq build versions
|
|
pkgsrc metadata, placing entries in the file system.
|
|
.Sh RETURN VALUES
|
|
The
|
|
.Nm
|
|
utility will return 0 for success,
|
|
and non-zero for failure.
|
|
.Sh EXAMPLES
|
|
.Bd -literal
|
|
% cp /usr/pkgsrc/packages/All/nettle-2.7.1nb1.tgz .
|
|
% genpkgng nettle-2.7.1nb1.tgz
|
|
Converting nettle-2.7.1nb1.tgz
|
|
-rw-r--r-- 1 agc agc 3962779 Apr 25 16:25 nettle-2.7.1nb1.txz
|
|
%
|
|
.Ed
|
|
.Sh SEE ALSO
|
|
.Xr pkg_info 1
|
|
.Sh HISTORY
|
|
The
|
|
.Nm
|
|
command first appeared in
|
|
.Nx 7.0 .
|
|
.Sh AUTHORS
|
|
.An -nosplit
|
|
.An Alistair Crooks Aq Mt agc@NetBSD.org
|