==> Creating clean working copy [build]...done
==> Making package: mpc-git r19.b18f793-2 (Sun May 29 16:09:33 EDT 2016)
==> Retrieving sources...
  -> Cloning mpc-git git repo...
Cloning into bare repository '/srv/build/builder/plugbuild/work/mpc-git/mpc-git'...
==> Validating source files with sha512sums...
    mpc-git ... Skipped
==> Making package: mpc-git r19.b18f793-2 (Sun May 29 16:09:33 EDT 2016)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (23) dbus-1.10.8-1  git-2.8.3-1  hwids-20160306-1  iptables-1.6.0-1  kbd-2.0.3-1  kmod-22-1  libdbus-1.10.8-1  libelf-0.166-1  libmnl-1.0.3-2  libnftnl-1.0.5-1  libnl-3.2.27-1  libpcap-1.7.4-1  libseccomp-2.3.1-1  libusb-1.0.20-1  libxml2-2.9.4+0+gbdec218-2  libxslt-1.1.29-1  libyaml-0.1.6-1  perl-error-0.17024-1  postgresql-libs-9.5.2-1  ruby-2.3.1-1  ruby-bundler-1.12.5-1  systemd-229-3  metasploit-1:4.12.4-1

Total Installed Size:  289.20 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libyaml...
installing ruby...
The default location of gem installs is $HOME/.gem/ruby
Add the following line to your PATH if you plan to install using gem
$(ruby -rubygems -e "puts Gem.user_dir")/bin
If you want to install to the system wide location, you must either:
edit /etc/gemrc or run gem with the --no-user-install flag.
Optional dependencies for ruby
    ruby-docs: Ruby documentation
    tk: for Ruby/TK
installing ruby-bundler...
installing perl-error...
installing git...
Optional dependencies for git
    tk: gitk and git gui
    perl-libwww: git svn
    perl-term-readkey: git svn
    perl-mime-tools: git send-email
    perl-net-smtp-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    python2: various helper scripts
    subversion: git svn
    cvsps2: git cvsimport
    gnome-keyring: GNOME keyring credential helper
installing libxml2...
installing libxslt...
installing postgresql-libs...
installing libnl...
installing libdbus...
installing dbus...
Optional dependencies for dbus
    libx11: dbus-launch support
installing libmnl...
installing libnftnl...
installing iptables...
installing kbd...
installing kmod...
installing hwids...
installing libelf...
installing libseccomp...
installing systemd...
Initializing machine ID from random generator.
Creating group systemd-journal-remote with gid 998.
Creating user systemd-journal-remote (systemd Journal Remote) with uid 998 and gid 998.
Creating group systemd-coredump with gid 997.
Creating user systemd-coredump (systemd Core Dumper) with uid 997 and gid 997.
Creating group systemd-journal-upload with gid 996.
Creating user systemd-journal-upload (systemd Journal Upload) with uid 996 and gid 996.
Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service, pointing to /usr/lib/systemd/system/getty@.service.
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target, pointing to /usr/lib/systemd/system/remote-fs.target.
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
   bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Optional dependencies for systemd
    cryptsetup: required for encrypted block devices
    libmicrohttpd: remote journald capabilities
    quota-tools: kernel-level quota management
    systemd-sysvcompat: symlink package to provide sysvinit binaries
    polkit: allow administration as unprivileged user
installing libusb...
installing libpcap...
installing metasploit...

:: HOWTO: Setup PostgreSQL Database for operation with Metastploit ::

1) Create "volatile and temporary files and directories" for PostgreSQL:
    # systemd-tmpfiles --create postgresql.conf

2) Initialize the database cluster:
    # sudo su - postgres -c "initdb --locale en_US.UTF-8 -E UTF8 -D '/var/lib/postgres/data'"

3) Start PostgreSQL and, optionally, add it to the list of daemons that start on system startup:
    # systemctl start postgresql
    # systemctl enable postgresql

4) Configure PostgreSQL server:
4.a) Become the 'postgres' user
    # sudo -i -u postgres

4.b) As the 'postgres' user: Create a PostgreSQL user = 'msf', and database = 'msf', then exit:
    $ createuser msfdbuser -P -S -R -D
    $ createdb -O msfdbuser msfdb
    $ exit

5) Create '/usr/share/metasploit/database.yml' (make sure password is equal to 'msf' user):
production:
  adapter: "postgresql"
  database: "msfdb"
  username: "msfdbuser"
  password: "CHANGEME"
  port: 55553
  host: "localhost"
  pool: 256
  timeout: 5

6) Set environment variable MSF_DATABASE_CONFIG points to 'database.yml':
    # sudo echo 'export MSF_DATABASE_CONFIG=/opt/framework/database.yml' > /etc/profile.d/msf.sh
    # chmod +x /etc/profile.d/msf.sh

6.a) Source '/etc/profile.d/msf.sh' or Logout and Log back into the system:
    # source /etc/profile.d/msf.sh

7) Start '/usr/bin/msfconsole', it will detect if '/usr/share/metasploit/database.yml' exists and connect to the PostgreSQL database.
    # /usr/bin/msfconsole

Optional dependencies for metasploit
    java-environment: msfgui
    dradis: dradisis database system
==> Checking buildtime dependencies...
==> Retrieving sources...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    mpc-git ... Skipped
==> Extracting sources...
  -> Creating working copy of mpc git repo...
Cloning into 'mpc-git'...
done.
==> Starting pkgver()...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "mpc-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
error: invalid option '--noprogressbar'
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: mpc-git r19.b18f793-2 (Sun May 29 16:09:49 EDT 2016)
==> Cleaning up...
==> Removing installed dependencies...
checking dependencies...
:: gettext optionally requires git: for autopoint infrastructure updates
:: glib2 optionally requires libelf: gresource inspection tool

Packages (23) dbus-1.10.8-1  git-2.8.3-1  hwids-20160306-1  iptables-1.6.0-1  kbd-2.0.3-1  kmod-22-1  libdbus-1.10.8-1  libelf-0.166-1  libmnl-1.0.3-2  libnftnl-1.0.5-1  libnl-3.2.27-1  libpcap-1.7.4-1  libseccomp-2.3.1-1  libusb-1.0.20-1  libxml2-2.9.4+0+gbdec218-2  libxslt-1.1.29-1  libyaml-0.1.6-1  metasploit-1:4.12.4-1  perl-error-0.17024-1  postgresql-libs-9.5.2-1  ruby-2.3.1-1  ruby-bundler-1.12.5-1  systemd-229-3

Total Removed Size:  289.20 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
removing metasploit...
removing ruby-bundler...
removing ruby...
removing postgresql-libs...
removing libyaml...
removing libxslt...
removing libxml2...
removing libpcap...
removing libusb...
removing systemd...
removing libseccomp...
removing libnl...
removing libelf...
removing kmod...
removing kbd...
removing iptables...
removing libnftnl...
removing libmnl...
removing hwids...
removing git...
removing perl-error...
removing dbus...
removing libdbus...