/* This is the list of distro packages which are
 * installed on the appliance.
 *
 * This file is processed by cpp with one of the
 * following symbols defined (depending on the distro):
 *
 *   REDHAT=1     For Fedora, RHEL, EPEL and workalikes.
 *   DEBIAN=1     For Debian.
 *   UBUNTU=1     For Ubuntu.
 *   ARCHLINUX=1  For Archlinux.
 *
 * There is also a list of packages which are excluded if they appear
 * as dependencies of the packages below.  See: excludelist.in
 *
 * To add arbitrary extra packages, use:
 *
 *   ./configure --with-extra-packages="gdb valgrind [etc]"
 */

/* Basically the same with a few minor tweaks. */
#ifdef UBUNTU
#define DEBIAN 1
#endif

#ifdef REDHAT
  augeas-libs
  btrfs-progs
  cryptsetup
  cryptsetup-luks /* old name used before Fedora 17 */
  e2fsprogs
  /* e4fsprogs only exists on RHEL 5, will be ignored everywhere else. */
  e4fsprogs
  genisoimage
  gfs-utils
  gfs2-utils
  grub
  hfsplus-tools
  hivex
  iproute
  iputils
  kernel
  libcap
  libldm /* only Fedora has this for now, but we should add it to others later*/
  nilfs-utils
  ntfsprogs
  ntfs-3g
  openssh-clients
  pcre
  reiserfs-utils
  libselinux
  syslinux-extlinux
  systemd /* for /sbin/reboot and udevd */
  vim-minimal
  xz
  yajl
  zfs-fuse
#endif /* REDHAT */

#ifdef DEBIAN
  bsdmainutils
  btrfs-tools
  cryptsetup
  e2fsprogs
  extlinux
  genisoimage
  gfs-tools
  gfs2-tools
  grub-pc
  hfsplus
  iproute
  libaugeas0
  libcap2
  libhivex0
  libpcre3
  libyajl2
  linux-image
  /* syslinux 'suggests' mtools, but in reality it's a hard dependency: */
  mtools
  nilfs-tools
  ntfs-3g
  ntfsprogs
  openssh-client
  reiserfsprogs
  sysvinit /* for /sbin/reboot */
  ufsutils
  vim-tiny
  xz-utils
  zfs-fuse
#endif /* DEBIAN */

#ifdef ARCHLINUX
  augeas
  btrfs-progs
  cdrkit
  cryptsetup
  e2fsprogs
  grub
  hivex
  iproute2
  iputils
  libcap
  linux
  lrzip
  nilfs-utils
  ntfsprogs
  ntfs-3g
  pcre
  reiserfsprogs
  systemd
  vim
  xz
  yajl
  zfs-fuse
#endif /* ARCHLINUX */

#ifdef FRUGALWARE
  augeas
  btrfs-progs
  cryptsetup-luks
  e2fsprogs
  cdrkit
  grub2
  hfsplus
  iproute2
  iputils
  kernel
  libcap
  ntfsprogs
  ntfs-3g
  openssh
  pcre
  reiserfsprogs
  syslinux
  systemd
  vim
  xz
  yajl
  xfsprogs-acl
  xfsprogs-attr
  bash
  binutils
  bzip2
  coreutils
  cpio
  diffutils
  dosfstools
  file
  findutils
  gawk
  gptfdisk
  grep
  gzip
  jfsutils
  kmod
  less
  libxml2
  lsof
  lsscsi
  lvm2
  mdadm
  module-init-tools
  parted
  procps
  psmisc
  rsync
  sed
  strace
  syslinux
  tar
  util-linux
  xfsprogs
#endif /* FRUGALWARE */

acl
attr
bash
binutils
bzip2
coreutils
cpio
diffutils
dosfstools
file
findutils
gawk
gdisk
grep
gzip
jfsutils
kmod
less
libxml2
lsof
lsscsi
lvm2
lzop
mdadm
module-init-tools
/*
Enabling this pulls out 140 extra packages
into the appliance:
ocfs2-tools
*/
parted
procps
procps-ng
psmisc
rsync
scrub
sed
strace
syslinux
tar
udev
util-linux
util-linux-ng
#ifndef UBUNTU
/* on Ubuntu contains a file in /lib64 which conflicts with libc6 that has
 * /lib64 as a symbolic link
 */
xfsprogs
#endif
zerofree

#ifdef VALGRIND_DAEMON
valgrind
#endif

/* Define this by doing: ./configure --with-extra-packages="..." */
EXTRA_PACKAGES
