Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2008 23:24:33 -0700
From:      Christopher Cowart <ccowart@rescomp.berkeley.edu>
To:        Catalin Miclaus <catalin@starcomms.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Right way to build package from non-port software
Message-ID:  <20080311062433.GY30324@hal.rescomp.berkeley.edu>
In-Reply-To: <3A0AA7018522134597ED63B3B794C92A0180F1FB@STA-HQ-S001.starcomms.local>
References:  <3A0AA7018522134597ED63B3B794C92A0180F1FB@STA-HQ-S001.starcomms.local>

next in thread | previous in thread | raw e-mail | index | archive | help

--e8znkWhb8vS+si4n
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 11, 2008 at 12:38:40AM +0100, Catalin Miclaus wrote:
> What is the right way of building packages for non-ports applications?
>=20
> AFAIK 'make package' and ' pkg_create -b name' are based on ports
> installed packages.
>=20
> Is there any way of using same commands or additional scripts to achieve
> similar results?
>=20
> If it matters I'm trying to create packages from net-snmp-5.4.1 sources
> (needed for 64-bits counters feature) since ports version is based on
> 5.3.2.
>=20
> Suggestions are welcome.

In this situation, my team generally gets its hands dirty and bumps the
port. Usually it's as easy as updating the PORTVERSION variable. Then
attach the port diff to a PR and it'll be updated in the official ports
tree fast.=20

Unfortunately, net-snmp looks like a pretty complex port that isn't
going to be quite so easy. You might consider pinging the maintainer
about the new upstream version to see if there's any interest in bumping
the port.

You might also just be able to write your own port for the new version
=66rom scratch (it sounds like you just grabbed the source tarball and
didn't apply all the FreeBSD patches). See the handbook [1]. Your best
bet may be a combination of the two approaches.=20

[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/quick=
-porting.html

Good luck,

--=20
Chris Cowart
Network Technical Lead
Network & Infrastructure Services, RSSP-IT
UC Berkeley

--e8znkWhb8vS+si4n
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iQIVAwUBR9YloSPHEDszU3zYAQI4PA/+Knq3+HEooQp7ONHhOABBqZPKTuJ4Ed2k
Rqc6Dj0lDKUkuwVmNIYGj3mZswrAYRISCPxRHE/C9TmNl+LI5lKv8bTmBckE6UuS
PKYCrRr+N+l3+QMySYCsXMJqnw8inajfMBHtq8qBz0ltsCmmnxlqyGEtwxack19i
n7WA9KOrnPBepfddM6uL9Vdjc8vVeg1ZhWUB7wAYhs/MaRSClT+QqdbYQImqQjqj
yAxSI/fla/ZWZMsmxig3mb9J6leajy3eM7sqlpOx4hH3hKlr6ZBaEyRTMHc0oVvz
BD2wtsBLiGjZXZ0c7yySJzkap+Xl79ByMg7ohn09GWue0HmuihZCuP1e9EPrfzK/
9YZwlvCZYFZvavirHcBbcleF/zIOkjQ0kqcBPrevVPBG6C40RPt9VtCO+Y7hVmXm
+kapmynqjsTKAGcIv/5YJfXGXhFSVYK1+/4+J5k3WVH1JKs/GZMTDIam8p8W8wOI
z3syydw9JjeoHR7RkHtPgole8ueiSogmLXHbc/doVeJ4FO28khOZZUFHNc6fmwvl
iAPnizFOU1u5MAIMKrKgtWlVw5Sm8OBGWgzqJLrOfajxF83bbBmPIidj7Y0Qc8gT
uCuFVES3qyEmu85VZ2AobzGPwF+lkQuKxyWmQ5BD4TzVrVdeokI2ZLssKZKLFYo2
MDnYJUMvLdI=
=0lRz
-----END PGP SIGNATURE-----

--e8znkWhb8vS+si4n--



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