Re: Bind9.7.1 Package

2010-08-11 Thread Martin McCormick
Matthew Seaman writes:
># pkg_create -b pkg-config-0.23_1
> 
> pkg-config is an indirect dependency for bind -- it's required by
> security/openssl and textproc/libxml2 either of which bind are optional
> dependencies for dns/bind97.

Thank you. This put me on the right track. When I used
the full name of the dependency, the command did not work with
the complaint that it could not find the package so I did a
pkg_info and looked for any reference to pkg-config. It turns
out that if one chops off the _1 at the end, it did recover
another package as in
pkg-config-0.23.tbz which appeared in /uar/ports/dns/bind97. I
copied it to the same directory as the other tar balls so
pkg_add should find it also now.

Martin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Bind9.7.1 Package

2010-08-10 Thread Matthew Seaman
On 10/08/2010 21:05:35, Martin McCormick wrote:
> I get a message about 
> pkg-config-0.23_1
> 
> and can not seem to find anything to save from the port that
> contains that string or any part there of.
> 
>   There is obviously some other little file I need to save
> from somewhere, but I am not sure what to look for.

pkg-config was probably already installed on your build machine before
you did 'make package-recursive' and since the ports won't reinstall
exactly the same thing again, that would have prevented it being
packaged.  The fact that you have to (re)install a port before you can
make a package from it is considered a fairly big flaw, and there are
proposals under consideration to modify that behaviour -- OpenBSD's
ports system is frequently cited as an example of how such things should
work.

The solution is probably to create a package directly from what's
already installed:

   # pkg_create -b pkg-config-0.23_1

pkg-config is an indirect dependency for bind -- it's required by
security/openssl and textproc/libxml2 either of which bind are optional
dependencies for dns/bind97.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Bind9.7.1 Package

2010-08-10 Thread Martin McCormick
I wrote to the list about building a package out of a
port of bind97 and am almost there.

Matthew Seaman writes:
> # make package-recursive

which I did after configuring and installing bind9.7.1P2. I then
put all the tar balls the make created in to a directory that is
put on to the new system along with the bind97 base tar ball and
tried to install the package on to a brand new system with
pkg_add. It acts as if I almost have it in that it does find all
the tar archives but there is one last complaint which kills the
whole install.
I get a message about 
pkg-config-0.23_1

and can not seem to find anything to save from the port that
contains that string or any part there of.

There is obviously some other little file I need to save
from somewhere, but I am not sure what to look for.

Thanks.

Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Bind9.7.1 Package

2010-08-06 Thread Matthew Seaman
On 06/08/2010 16:15, Martin McCormick wrote:
>   In the /usr/ports/dns/bind9 ports there is a bind97 port
> that I had no trouble at all installing on a 8.0 system. If I do
> a pkg_add -r bind97, however, pkg_add reports that it is
> unavailable.  I will be building several FreeBSD boxes with
> bind9.7.1 on them so a package would be faster. Am I missing the
> name of the package? If there is no package of bind97, this is not
> a huge setback but it will make each installation take longer
> before named starts to work.

If you've built and installed bind97 already on one machine, you can
create a pkg tarball easily:

# pkg_create -b bind97-9.7.1.2

Assuming the machines are the same FreeBSD major version and have the
same CPU architecture specified in /etc/make.conf and that they have the
appropriate versions of all the dependencies already installed.

Or just use:

# pkg_create -R -b bind97-9.7.1.2

to create pkg tarballs of bind97 and everything it depends on.

If you haven't built and installed anything yet, try:

# cd /usr/ports/dns/bind97
# make package

or

# make package-recursive

Generic package taballs should be available on the servers eventually --
keep checking in the 'Latest' directory

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Bind9.7.1 Package

2010-08-06 Thread Daniel Bye
On Fri, Aug 06, 2010 at 10:15:15AM -0500, Martin McCormick wrote:
>   In the /usr/ports/dns/bind9 ports there is a bind97 port
> that I had no trouble at all installing on a 8.0 system. If I do
> a pkg_add -r bind97, however, pkg_add reports that it is
> unavailable.  I will be building several FreeBSD boxes with
> bind9.7.1 on them so a package would be faster. Am I missing the
> name of the package? If there is no package of bind97, this is not
> a huge setback but it will make each installation take longer
> before named starts to work.

If you can build the port successfully, you can build your own package.
`make package' in the appropriate place will do it for you. Note that
you will probably have to uninstall BIND first on the build machine, but
`make package' will install it and create a binary package for you. You
can then put the package on a local ftp server and point pkg_add in its
direction or use NFS to share it.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpTurowcwPYQ.pgp
Description: PGP signature


Bind9.7.1 Package

2010-08-06 Thread Martin McCormick
In the /usr/ports/dns/bind9 ports there is a bind97 port
that I had no trouble at all installing on a 8.0 system. If I do
a pkg_add -r bind97, however, pkg_add reports that it is
unavailable.  I will be building several FreeBSD boxes with
bind9.7.1 on them so a package would be faster. Am I missing the
name of the package? If there is no package of bind97, this is not
a huge setback but it will make each installation take longer
before named starts to work.

Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"