• Ubuntu Precise Kernel patching and packaging
  • Install the “build” dependencies
  • Install the “kernel and/or kernel module” build dependencies
  • Get the kernel sources
  • Get the latest official Ubuntu kernel
  • Optain SAref patches from OpenSwan HTTP server
  • Obtain the OCF patch (optional and untested on Precise)
  • Update the changelog by editing debian.master/changelog to look like this :
  • Compile the kernel
  • Install the kernel
  • Build the IPsec module deb package (aka “kmod” package)