tech-pkg archive

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

Re: [GSoC2011][STATUS-UPDATE]Add support for FreeBSD package format, RPM and Debian packages(if time allows) to pkgsrc



Hi,

On Thu, 30 Jun 2011 17:16:33 +0900, Anton Panev 
<antonpanev87%gmail.com@localhost> wrote:

Hi,

What is done (in repo):

- changed "flavor" to "pkgformat"
- changed "FLAVOR" to "PKG_FORMAT"

Does it means that current mk/flavor/* files will be renamed?

NOTES:
In bsd.pkg.mk I added the following to make sure that the rpm tool is
installed:
.if defined(PKG_FORMAT) && !empty(PKG_FORMAT) && (${PKG_FORMAT} == "rpm")
. include "../../misc/rpm/buildlink3.mk"
.endif
I'm not sure that is the best way to do it.
Maybe this can be achieved in
pkgsrc/mk/pkgformats(flavors)/rpm/pkgformat(flavor)-vars.mk?

I feel so, like current mk/flavor/pkg/flavor-vars.mk for pkgtools/pkg_install.
No need to buildlink to rpm, just BOOTSTRAP_DEPENDS is sufficient.

Can you recommend some packages to use for testing?

I usually create dummy packages sufficient for test cases.

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index