From owner-freebsd-questions Wed Jan 16 4:42:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from q3.cybg.com (digex-ext.cybg.com [209.119.171.80]) by hub.freebsd.org (Postfix) with SMTP id 3223437B404 for ; Wed, 16 Jan 2002 04:42:29 -0800 (PST) Message-ID: From: Beth Reid To: "'questions@freebsd.org'" Subject: FreeBSD patch/packaging questions Date: Wed, 16 Jan 2002 07:39:22 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C19E8A.D2DF0F16" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C19E8A.D2DF0F16 Content-Type: text/plain; charset="iso-8859-1" Hi I have a few questions regarding non-kernel FreeBSD patch distribution. Any information is really appreciated. If all of this is documented somewhere, I would be happy to do the research if someone could point me to the document. 1 ) If I produced a product based on FreeBSD 4.3, how would my customers get the patches? I can see there was a binary distribution of the patches using pkg_add. This seems to work very nicely in distributing patches to customers. However, this process seemed to change with the openssh patch 01:63. The binary distribution was for FreeBSD 4.4 only. How does one ship a binary installation of that patch to their customers who are running 4.3? (Same goes for patches 02:01 and 02:02.) The customer's system does not have source. :-/ 2) Do you provide a mechanism where I can create my own binary installations using pkg_add? It seems I can use pkg_create. That seems to work fine, but can I get more information on the packinglist file? Is creating a very simple packinglist such as this for the pw patch seem okay? (There seemed to be a lot of more complex options. I am not too sure about the mtree and unexec lines.) @cwd /usr/sbin @srcdir source_directory @owner root @group wheel @mode 555 pw 3) What about patches that patch libraries which impact several executables? If there is a patch that patches a library (similar to the old 01:40) patch, how do you know which commands that it would impact and which to include in the binary package? Would it be documented in the README? Thanx! Beth Reid CyberGuard Corporation phone: 954-958-3900 x3230 email: breid@cyberguard.com fax: 954-958-3901 See the LX, a new, low-cost EAL4 certified firewall/VPN compact appliance! http://www.cyberguard.com/SOLUTIONS/Solutions_lx1.html ------_=_NextPart_001_01C19E8A.D2DF0F16 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable FreeBSD patch/packaging questions

Hi

I have a few questions regarding = non-kernel FreeBSD patch distribution.  Any information is really = appreciated.  If all of this is documented somewhere, I would be = happy to do the research if someone could point me to the document. =

1 ) If I produced a product based on = FreeBSD 4.3, how would my customers get the patches?

I can see there was a binary = distribution of the patches using pkg_add.  This seems to work = very nicely in distributing patches to customers.  However, this = process seemed to change with the openssh patch 01:63.  The binary = distribution was for FreeBSD 4.4 only.  How does one ship a binary = installation of that patch to their customers who are running = 4.3?  (Same goes for patches 02:01 and 02:02.)  The = customer's system does not have source. :-/

2)  Do you provide a mechanism = where I can create my own binary installations using pkg_add?

It seems I can use pkg_create.  = That seems to work fine, but can I get more information on the = packinglist file?  Is creating a very simple packinglist such as = this for the pw patch seem okay?  (There seemed to be a lot of = more complex options.  I am not too sure about the mtree and = unexec lines.)

      @cwd /usr/sbin
      @srcdir source_directory
      @owner root
      @group wheel
      @mode 555
      pw

3) What about patches that patch = libraries which impact several executables? 

If there is a patch that patches a = library (similar to the old 01:40) patch, how do you know which = commands that it would impact and which to include in the binary = package?  Would it be documented in the README?

Thanx!

Beth Reid
CyberGuard = Corporation

phone: 954-958-3900 x3230
email: breid@cyberguard.com
fax: 954-958-3901


See the LX, a = new, low-cost EAL4 certified firewall/VPN compact = appliance!
http://www.cyberguard.com/SOLUTIONS/Solutions_lx1.html=

------_=_NextPart_001_01C19E8A.D2DF0F16-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message