Release Instructions

From Net-SNMP Wiki
Revision as of 08:42, 6 January 2011 by Dts12 (Talk | contribs) (Fuller description of generating Linux RPMs)

Jump to: navigation, search

This page documents varios aspects of creating releases and binary builds suitable for distribution of the project products:

Releasing Source Code

The current release procedures are reliant on the makerelease system

...

Producing Binaries

Linux RPMs

Creating binaries for SuSE-based and RedHat-based systems (including RHEL, Fedora and CentOS distributions) uses the RPM spec file from dist/net-snmp.spec.

The procedure is as follows:

  • Create $HOME/rpmbuild/SPECS and copy the spec file there
  • Create $HOME/rpmbuild/SOURCES and copy the tarball there
  • Ensure Version in the spec file matches the version of the tarball
  • Append a suitable vendor identifier to the Release in the spec file
  • Run the command rpmbuild -ba $HOME/rpmbuild/SPECS/net-snmp.spec

This produces three binary RPM files (under $HOME/rpmbuild/RPMs) together with a source RPM file (under $HOME/rpmbuild/SRPMs)


Linux DEBs

Solaris

  • SYSV packages
    • see dist/net-snmp-solaris-build
  • tar balls
    • to be unpacked beneath /usr/local

Windows