Skip to content

Build deb for percona-server sphinx-se plugin "ha_sphinx.so" with fpm

Notifications You must be signed in to change notification settings

b3rs3rk/dpkg-sphinx-se

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dpkg-sphinx-se

Script that compiles and builds a debian package for percona-server sphinx-se plugin "ha_sphinx.so" with fpm.

Who is who

  • scripts/postinst - script for debian package that is used after installing the new package to register the plugin.
  • scripts/prerm - script for debian package that is used before purging package that removes the plugin.
  • build.sh - main script: downloads sources, compiles with sphinx, and packs to .deb.

Options build.sh

Automatic detection of your percona / sphinx / debian|ubuntu|mint|etc versions:

  • -a - true or false

Entering your versions manually:

  • -s - version of sphinxsearch
  • -p - version of percona server
  • -d - version of percona server in Debian repo
  • -o - optional. Used to mark the iteration of the package (example: wheezy1, myorg2, etc)

Pre-Requisites

  • apt-get install bundler (required to run bundle command)

Usage

bundle install
build.sh -s 2.1.9 -p 5.6.19-67.0 -d 5.6.19-67.0-618.trusty -o trusty

The above paramaters work well for Ubuntu 14.04 LTS 'Trusty' and the most up-to-date Percona Server 5.6 from the Percona APT repository.

You'll find your .deb in the _pkg directory.

Links

About

Build deb for percona-server sphinx-se plugin "ha_sphinx.so" with fpm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 99.3%
  • Ruby 0.7%