mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-06 07:44:52 +01:00
parent
7b20031419
commit
1c5eee7739
4 changed files with 6 additions and 296 deletions
|
|
@ -11,8 +11,6 @@ AUX msfrpcd-4.4-conf 598 SHA256 3ad3e837061fd2b8b28d5afede50fc1965b0df083a8e4b74
|
|||
AUX msfrpcd-4.4-initd 638 SHA256 4e3f18ab619a0067c7ac9a9f13d6824496cb36adf20c216bb96ad365b1ef2725 SHA512 21faadd62a90deaecb617cb106a471de39147e1702f149c1d356ae18f188bf3102bb9e9642122afa2d9c49325bd4cba6f04acaa8f5be2ca238adeb56c9c81821 WHIRLPOOL 8069bec85919e26faf838b8965153425adbd5c46c004ddb0a94c7e6d2b63aeaa30479592b556f2939c90c216d63103931967c36a21b3d9eaa2763d0120c9ba09
|
||||
AUX msfweb.confd 273 SHA256 006040ecd27dc0279c2bea6d69365fe1f0d66f507c039ae43720662abe9f4460 SHA512 58481d69f99bec1644188ecb5f67249c3c85c12ae65d46643c3daf42b5221f8d1b025ea318ed6d11557cbc16e50acc5eaabb99162d538518265755ebcdb042ab WHIRLPOOL 1cbb5a5ff20eb90f7db6f5523bf8834cfd5aa2c98e378408e418f388993af661273257112db2ebcd950bfa9243e9f19ba4a5262fd2bccc7cc6276658f86115bb
|
||||
AUX msfweb.initd 533 SHA256 4fd9668e4b467ecfa5160e2c108ac8ace71fbeaefaf829d2f7bfb566d44bb13c SHA512 ec8eb9c09191d273417174c23d2fb1a3d27939a74b010fa33ca696bcce88e9c81d6cc1e6ebff90ea97cb6d730776364de4560db1bed10516ba4a7030e7233a53 WHIRLPOOL dec6ca3cf45ac4e6cea35266df1342b4dcdb3f813dc90820603f23e9d62ee67a9633de17d747cc12d7cb9c982e8868559896c2f8c42540a5005f485045d9730a
|
||||
DIST framework-4.10.0.tar.bz2 33584784 SHA256 4a09287badc62c9362a3a8bf5f169038e2e8880611026f5ba82fa7e30364f8f5 SHA512 91f51e17623d2d68871dc24e4410c8fb5222a1a15d5e9264f67f23c1b6274b5360052176c7e748cd1219f534f9fc620aa636c3c0f31291b96b589d48f2c2b11a WHIRLPOOL 10069dcd919342c766a063a242eec7f0e7aac36e986d8bdc7bcbee4d72c369d6b3c8fe59ff53c6ea5054728370e0ad57397233640741c0d3688a135aeb77e25f
|
||||
DIST metasploit-4.11.0.tar.gz 36105268 SHA256 54817f7ed648818492f866db821dce7177adab8d1163e1d59e76695362720c55 SHA512 9462c2727a26fdfa5e626bb8bbf49229df7c736303d887c15f4dc6870d731fe4e6431a1bc2855b5f42f2f8bee5283d8559169bd2b7e8f18b86c0ff4d07f31889 WHIRLPOOL e978d6dad2a696b3b0ecd0943251493f1209d4d1d7fc23e07941bd5929cab579152c454f2afa1a7eef3c595254a68045e17c0ae3756cf2f91d3ccf5eec0169d5
|
||||
EBUILD metasploit-4.10.0-r1.ebuild 10954 SHA256 66fe271c8cde359d44307f389a14c078f177260670be591a90e07b7177cdaba5 SHA512 42703b03d44733b4d4a46e138b95133d47c507272a99dbfd0720a3f6026cf92ddba261df34b67b2420daebfde7520c5f3911d85757a78e682b416a0c8acd1dce WHIRLPOOL 1f8c9732f01a4c989b583b7292b7a4fecdae310064e38a38cb73e05741d8753a1b64b34a581413a7c8e1f0a6bf2162e7441445cb3c7c32c061297e4af4191636
|
||||
EBUILD metasploit-4.11.0-r2.ebuild 11160 SHA256 2d459015f701437d4288b3415b48f3fe0fba57d8ac3d8ab8246cb6eb89285a79 SHA512 5dacdce864d21e4b864aab389e0b5a2127027c738e1bb88e117b430f653da99c111ed103bc6ed451b0058efc1e778dae390a5a0889ab8b153fae2514109f8c80 WHIRLPOOL c879dbdca550eaf211081f22ceddea8d6856312ffb83080f03b5f465207da93edad4d65bff1c253768747dfcc9606e07e52ddcb2d1179f91daf16ddbe8d6a43d
|
||||
EBUILD metasploit-9999.ebuild 11048 SHA256 7128ccc76be782586cc7d76f20b4076d387029f6cab1b12e02145a607ece8df2 SHA512 80d8e4035ac5d8a3cc24af3c926c8d0681f623f57c4b7fbb9d3a2c2d6b6254f0f0e00bcb8e3e973a74504fecdd91089e958390969457a12b7c2249f41c4c538d WHIRLPOOL b76ab29d1ec57e8bc41b41cd2d34de5b4e56848524d83e61957759f0123accfb38c49905d72ce71804a19f6718cb93a53db8d8c566ff8ee6c69c5cab304a213f
|
||||
EBUILD metasploit-4.11.0-r2.ebuild 11160 SHA256 d2eb3c128fdbbb28de1d235c7ff840029354859b5515a4bcfef1df6f972d150e SHA512 9e2b1fdb9d8033c96a3640bd87099f206cc3d3180d5e4920a7fde10640906ea9ef303d6b0f549502ce20f94be698e43ce88c73860efbc624aa28aa4824f9219d WHIRLPOOL d60a1b83d3441a5394e18b2c4ab4097e7569f7bb6a0b01791a238fe34bf608658132f90ab835cee73b078c12a0c50bcc79be5b8c63017e570fc8a8227495d2b5
|
||||
EBUILD metasploit-9999.ebuild 11041 SHA256 8eab7496d52be1bcc75d61f97385105396648efa0ebad29d92a4da1acf99320b SHA512 eb797a5d51ed0d646be80c0d095db6f7b06c3c0c5e78039d19bf0dcc0c44ad290d3a15dae75a539516e63d24427a7b658edfc6d7a64a4eb20b1697b17be6bd7b WHIRLPOOL 32599b964651d011e126f87319aed5c1ec168331584954d370f39115d119cc2e450b5adcebb0b2df8ad541d38e2f01649961c33de6f820b1d5fb35b7a9cc165e
|
||||
|
|
|
|||
|
|
@ -1,288 +0,0 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-9999.ebuild,v 1.32 2014/07/17 19:28:14 zerochaos Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/rapid7/metasploit-framework.git"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}"/all
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
SLOT="9999"
|
||||
else
|
||||
#https://github.com/rapid7/metasploit-framework/wiki/Downloads-by-Version
|
||||
SRC_URI="http://downloads.metasploit.com/data/releases/archive/framework-${PV}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
S="${WORKDIR}"/msf3
|
||||
inherit versionator
|
||||
SLOT="$(get_version_component_range 1).$(get_version_component_range 2)"
|
||||
fi
|
||||
|
||||
#ruby20 doesn't have wide enough support in gentoo yet (but is semi-supported upstream)
|
||||
USE_RUBY="ruby19"
|
||||
inherit eutils ruby-ng
|
||||
|
||||
DESCRIPTION="Advanced open-source framework for developing, testing, and using vulnerability exploit code"
|
||||
HOMEPAGE="http://www.metasploit.org/"
|
||||
LICENSE="BSD"
|
||||
IUSE="development +java lorcon oracle +pcap test"
|
||||
|
||||
#multiple known bugs with tests reported upstream and ignored
|
||||
#http://dev.metasploit.com/redmine/issues/8418 - worked around (fix user creation when possible)
|
||||
RESTRICT="test"
|
||||
|
||||
RUBY_COMMON_DEPEND="virtual/ruby-ssl
|
||||
dev-ruby/activesupport:3.2
|
||||
dev-ruby/activerecord:3.2
|
||||
dev-ruby/bcrypt-ruby
|
||||
dev-ruby/builder:3
|
||||
dev-ruby/bundler
|
||||
=dev-ruby/jsobfu-0.2*
|
||||
dev-ruby/json
|
||||
dev-ruby/kissfft
|
||||
dev-ruby/metasploit_data_models:0.19
|
||||
>=dev-ruby/metasploit-model-0.26.1:0.26
|
||||
dev-ruby/meterpreter_bins:0.0.6
|
||||
>=dev-ruby/metasploit-credential-0.8.6:0.8
|
||||
dev-ruby/msgpack
|
||||
dev-ruby/nokogiri
|
||||
=dev-ruby/recog-1*
|
||||
=dev-ruby/rkelly-remix-0.0.6
|
||||
dev-ruby/sqlite3
|
||||
>=dev-ruby/pg-0.11
|
||||
=dev-ruby/packetfu-1.1.9
|
||||
dev-ruby/rubyzip
|
||||
dev-ruby/rb-readline
|
||||
dev-ruby/robots
|
||||
java? ( dev-ruby/rjb )
|
||||
lorcon? ( net-wireless/lorcon[ruby] )
|
||||
oracle? ( dev-ruby/ruby-oci8 )
|
||||
pcap? ( dev-ruby/pcaprub
|
||||
dev-ruby/network_interface )
|
||||
development? ( dev-ruby/fivemat
|
||||
dev-ruby/pry
|
||||
dev-ruby/redcarpet
|
||||
dev-ruby/yard
|
||||
>=dev-ruby/rake-10.0.0
|
||||
>=dev-ruby/factory_girl-4.1.0 )"
|
||||
ruby_add_bdepend "${RUBY_COMMON_DEPEND}
|
||||
test? ( >=dev-ruby/factory_girl-4.1.0
|
||||
dev-ruby/fivemat
|
||||
dev-ruby/database_cleaner
|
||||
>=dev-ruby/rspec-2.12
|
||||
dev-ruby/shoulda-matchers
|
||||
dev-ruby/timecop
|
||||
>=dev-ruby/rake-10.0.0 )"
|
||||
ruby_add_rdepend "${RUBY_COMMON_DEPEND}"
|
||||
|
||||
COMMON_DEPEND="dev-db/postgresql[server]
|
||||
>=app-crypt/johntheripper-1.7.9-r1[-minimal]
|
||||
net-analyzer/nmap"
|
||||
RDEPEND+=" ${COMMON_DEPEND}
|
||||
>=app-admin/eselect-metasploit-0.14"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_linux.bin
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_armle_linux.bin
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_solaris.bin
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x64_linux.bin
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x64_linux_dll.bin
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_bsd.bin
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_mipsbe_linux.bin
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_mipsle_linux.bin
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/msflinker_linux_x86.bin
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_sniffer.lso
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_networkpug.lso
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_stdapi.lso
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/exploits/CVE-2013-2171.bin
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/android/libs/x86/libndkstager.so
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/android/libs/mips/libndkstager.so
|
||||
usr/$(get_libdir)/${PN}${SLOT}/data/android/libs/armeabi/libndkstager.so
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if use test; then
|
||||
su postgres -c "dropdb msf_test_database" #this is intentionally allowed to fail
|
||||
su postgres -c "createuser msf_test_user -d -S -R"
|
||||
if [ $? -ne 0 ]; then
|
||||
su postgres -c "dropuser msf_test_user" || die
|
||||
su postgres -c "createuser msf_test_user -d -S -R" || die
|
||||
fi
|
||||
su postgres -c "createdb --owner=msf_test_user msf_test_database" || die
|
||||
fi
|
||||
ruby-ng_pkg_setup
|
||||
}
|
||||
|
||||
all_ruby_unpack() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
default_src_unpack
|
||||
mv "${WORKDIR}"/all/msf3/* "${WORKDIR}"/all
|
||||
rm -r msf3
|
||||
fi
|
||||
}
|
||||
|
||||
all_ruby_prepare() {
|
||||
# add psexec patch from pull request 2657 to allow custom exe templates from any files, bypassing most AVs
|
||||
#epatch "${FILESDIR}/agix_psexec_pull-2657.patch"
|
||||
epatch_user
|
||||
|
||||
#unbundle johntheripper, at least it now defaults to running the system version
|
||||
rm -r data/john/run.*
|
||||
rm -r data/john/src.tar.bz2
|
||||
#remove random "cpuinfo" binaries which a only needed to detect which bundled john to run
|
||||
rm -r data/cpuinfo
|
||||
|
||||
#remove random oudated collected garbage
|
||||
rm -r external
|
||||
|
||||
#remove unneeded ruby bundler versioning files
|
||||
#Gemfile.lock contains the versions tested by the msf team but not the hard requirements
|
||||
#we regen this file in each_ruby_prepare
|
||||
rm Gemfile.lock
|
||||
#The Gemfile contains real known deps
|
||||
#add our dep on upstream rb-readline instead of bundled one
|
||||
#and then they broke it...
|
||||
#sed -i "/gem 'packetfu'/a #use upstream readline instead of bundled\ngem 'rb-readline'" Gemfile || die
|
||||
sed -i "/gem 'fivemat'/s/, '1.2.1'//" Gemfile || die
|
||||
#remove the bundled readline
|
||||
#https://github.com/rapid7/metasploit-framework/pull/3105
|
||||
#this PR was closed due to numerous changes to their local fork, almost entirely for non-linux
|
||||
#but now we have to go back to bundled readline because otherwise it's broken
|
||||
#rm lib/rbreadline.rb
|
||||
#now we edit the Gemfile based on use flags
|
||||
#even if we pass --without=blah bundler still calculates the deps and messes us up
|
||||
if ! use pcap; then
|
||||
sed -i -e "/^group :pcap do/,/^end$/d" Gemfile || die
|
||||
fi
|
||||
if ! use development; then
|
||||
sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
|
||||
fi
|
||||
if ! use test; then
|
||||
sed -i -e "/^group :test/,/^end$/d" Gemfile || die
|
||||
fi
|
||||
if ! use test && ! use development; then
|
||||
sed -i -e "/^group :development/,/^end$/d" Gemfile || die
|
||||
fi
|
||||
if use test; then
|
||||
#We don't need simplecov
|
||||
sed -i -e "s#gem 'simplecov', '0.5.4', :require => false##" Gemfile || die
|
||||
sed -i -e "s#require 'simplecov'##" spec/spec_helper.rb || die
|
||||
fi
|
||||
|
||||
#we need to edit the gemspec too, since it tries to call git instead of anything sane
|
||||
#probably a better way to fix this... if I care at some point
|
||||
sed -i -e "/^ spec.files/,/^ }/d" metasploit-framework.gemspec || die
|
||||
|
||||
#let's bogart msfupdate
|
||||
rm msfupdate
|
||||
echo "#!/bin/sh" > msfupdate
|
||||
echo "echo \"[*]\"" >> msfupdate
|
||||
echo "echo \"[*] Attempting to update the Metasploit Framework...\"" >> msfupdate
|
||||
echo "echo \"[*]\"" >> msfupdate
|
||||
echo "echo \"\"" >> msfupdate
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
echo "if [ -x /usr/bin/smart-live-rebuild ]; then" >> msfupdate
|
||||
echo " smart-live-rebuild -f net-analyzer/metasploit" >> msfupdate
|
||||
echo "else" >> msfupdate
|
||||
echo " echo \"Please install app-portage/smart-live-rebuild for a better experience.\"" >> msfupdate
|
||||
echo "emerge --oneshot \"=${CATEGORY}/${PF}\"" >> msfupdate
|
||||
echo "fi" >> msfupdate
|
||||
else
|
||||
echo "echo \"Unable to update tagged version of metasploit.\"" >> msfupdate
|
||||
echo "echo \"If you want the latest please install and eselect the live version (metasploit9999)\"" >> msfupdate
|
||||
echo "echo \"emerge metasploit:9999 -vat && eselect metasploit set metasploit9999\"" >> msfupdate
|
||||
fi
|
||||
#this is set executable in src_install
|
||||
|
||||
#install our database.yml file before tests are run
|
||||
cp "${FILESDIR}"/database.yml config/
|
||||
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
MSF_ROOT="." BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
|
||||
MSF_ROOT="." BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
|
||||
|
||||
#force all metasploit executables to ruby19, ruby18 is not supported anymore and ruby20 is not supported yet
|
||||
#https://dev.metasploit.com/redmine/issues/8357
|
||||
for file in $(ls -1 msf*)
|
||||
do
|
||||
#poorly adapted from python.eclass
|
||||
sed -e "1s:^#![[:space:]]*\([^[:space:]]*/usr/bin/env[[:space:]]\)\?[[:space:]]*\([^[:space:]]*/\)\?ruby\([[:digit:]]\+\(\.[[:digit:]]\+\)\?\)\?\(\$\|[[:space:]].*\):#!\1\2${RUBY}:" -i "${file}" || die "Conversion of shebang in '${file}' failed"
|
||||
done
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
#review dev-python/pymongo for ways to make the test compatible with FEATURES=network-sandbox
|
||||
|
||||
#we bogart msfupdate so no point in trying to test it
|
||||
rm spec/msfupdate_spec.rb || die
|
||||
#we don't really want to be uploading to virustotal during the tests
|
||||
rm spec/tools/virustotal_spec.rb || die
|
||||
|
||||
# https://dev.metasploit.com/redmine/issues/8425
|
||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle exec rake db:create || die
|
||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle exec rake db:migrate || die
|
||||
|
||||
MSF_DATABASE_CONFIG=config/database.yml BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle exec rake || die
|
||||
su postgres -c "dropuser msf_test_user" || die "failed to cleanup msf_test-user"
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
#Tests have already been run, we don't need this stuff
|
||||
rm -r spec || die
|
||||
rm -r test || die
|
||||
rm Gemfile.lock || die
|
||||
|
||||
#I'm 99% sure that this will only work for as long as we only support one ruby version. Creativity will be needed if we wish to support multiple.
|
||||
# should be as simple as copying everything into the target...
|
||||
dodir /usr/$(get_libdir)/${PN}${SLOT}
|
||||
cp -R * "${ED}"/usr/$(get_libdir)/${PN}${SLOT} || die "Copy files failed"
|
||||
rm -Rf "${ED}"/usr/$(get_libdir)/${PN}${SLOT}/documentation "${ED}"/usr/$(get_libdir)/${PN}${SLOT}/README.md
|
||||
fowners -R root:0 /
|
||||
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
# do not remove LICENSE, bug #238137
|
||||
dodir /usr/share/doc/${PF}
|
||||
cp -R {documentation,README.md} "${ED}"/usr/share/doc/${PF} || die
|
||||
dosym /usr/share/doc/${PF}/documentation /usr/$(get_libdir)/${PN}${SLOT}/documentation
|
||||
|
||||
fperms +x /usr/$(get_libdir)/${PN}${SLOT}/msfupdate
|
||||
|
||||
#tell revdep-rebuild to ignore binaries meant for the target
|
||||
dodir /etc/revdep-rebuild
|
||||
cat <<-EOF > "${ED}"/etc/revdep-rebuild/99-metasploit${SLOT}
|
||||
#These dirs contain prebuilt binaries for running on the TARGET not the HOST
|
||||
SEARCH_DIRS_MASK="/usr/lib*/${PN}${SLOT}/data/meterpreter"
|
||||
SEARCH_DIRS_MASK="/usr/lib*/${PN}${SLOT}/data/exploits"
|
||||
SEARCH_DIRS_MASK="/usr/lib*/${PN}${SLOT}/data/android/libs"
|
||||
EOF
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Before use you should run 'env-update' and '. /etc/profile'"
|
||||
elog "otherwise you may be missing important environmental variables."
|
||||
|
||||
elog "You need to prepare the database by running:"
|
||||
elog "emerge --config postgresql-server"
|
||||
elog "/etc/init.d/postgresql-<version> start"
|
||||
elog "emerge --config =metasploit-${PV}"
|
||||
|
||||
"${EROOT}"/usr/bin/eselect metasploit set --use-old ${PN}${SLOT}
|
||||
|
||||
einfo
|
||||
elog "Adjust /usr/lib/${PN}${SLOT}/config/database.yml if necessary"
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
einfo "If the following fails, it is likely because you forgot to start/config postgresql first"
|
||||
su postgres -c "createuser msf_user -D -S -R"
|
||||
su postgres -c "createdb --owner=msf_user msf_database"
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-9999.ebuild,v 1.32 2014/07/17 19:28:14 zerochaos Exp $
|
||||
|
||||
|
|
@ -6,7 +6,7 @@ EAPI="5"
|
|||
|
||||
#we want to support ruby19 and ruby21 until January, but meh, what's a week?
|
||||
#waiting on a few fixes in gentoo before switching to ruby21 only...
|
||||
USE_RUBY="ruby19"
|
||||
USE_RUBY="ruby19 ruby21"
|
||||
inherit eutils ruby-ng
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
|
|
@ -273,7 +273,7 @@ pkg_postinst() {
|
|||
elog "otherwise you may be missing important environmental variables."
|
||||
|
||||
elog "You need to prepare the database by running:"
|
||||
elog "emerge --config postgresql-server"
|
||||
elog "emerge --config postgresql"
|
||||
elog "/etc/init.d/postgresql-<version> start"
|
||||
elog "emerge --config =metasploit-${PV}"
|
||||
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@ pkg_postinst() {
|
|||
elog "otherwise you may be missing important environmental variables."
|
||||
|
||||
elog "You need to prepare the database by running:"
|
||||
elog "emerge --config postgresql-server"
|
||||
elog "emerge --config postgresql"
|
||||
elog "/etc/init.d/postgresql-<version> start"
|
||||
elog "emerge --config =metasploit-${PV}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue