Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2014 15:55:05 +0200
From:      Bertram Scharpf <lists@bertram-scharpf.de>
To:        freebsd-questions@freebsd.org
Subject:   How do I build my own package server?
Message-ID:  <20140624135505.GA75895@becker.bs.l>

next in thread | raw e-mail | index | archive | help
Hi,

this is sort of what I did until now:

  Inside a jail:

  - SVN-Update "/usr/ports".
  - Merge my own patch files for several packages.
  - Find the outdated ports using a self-written tool.
  - Do "make clean" and "make package" for them.
  - Build a package list.

  On all other machines and jails:

  - Load the package list.
  - Find the outdated packages.
  - Do "pkg_delete" and "pkg_add" for them.

Now, the pkg_* tools are no longer supported! Rewriting my update tools
would take at least two days and I have better things to do. On the
other side, I doubt whether it would go any faster learning some
portmaster or portupgrade tool until I find the features I need.
(Actually, I tried portmaster and soon was tired of seeing it
redundantly cleaning and recompiling ports.)

Therefore my question: Is there any documentation how to build a package
server that can be understood in finite time?

On the other side: I do not feel very well having loads of SQLite
databases in the base system. Could it be worth the effort to further
develop the traditional pkg_* tools?

Thanks in advance,

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



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