summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChema Alonso Josa <nimiux@gentoo.org>2017-04-04 13:33:21 +0200
committerChema Alonso Josa <nimiux@gentoo.org>2017-04-04 13:33:50 +0200
commit58425fa60abecaa7f98e9d609a2fb23b933b385b (patch)
tree37f235aeac9401f3646592725845566912bb60c1 /app-admin/mktwpol
parentdev-perl/Parse-RecDescent: Bump to version 1.967.14 (diff)
downloadgentoo-58425fa60abecaa7f98e9d609a2fb23b933b385b.tar.gz
gentoo-58425fa60abecaa7f98e9d609a2fb23b933b385b.tar.bz2
gentoo-58425fa60abecaa7f98e9d609a2fb23b933b385b.zip
app-admin/mktwpol: Bumps version to 1.0.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-admin/mktwpol')
-rw-r--r--app-admin/mktwpol/Manifest1
-rw-r--r--app-admin/mktwpol/mktwpol-1.0.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/app-admin/mktwpol/Manifest b/app-admin/mktwpol/Manifest
index 7d8309c8765d..b1282e3f0c13 100644
--- a/app-admin/mktwpol/Manifest
+++ b/app-admin/mktwpol/Manifest
@@ -1,2 +1,3 @@
DIST mktwpol-0.2.5.tar.gz 54627 SHA256 3d1a06fedd2ff7fc02180ea12bdda64f2d9b952bdeeef77408dcdc17fc4f57cb SHA512 2c9a6b6573b7922f63e992f107fb95251f35bacd38a7ceccffb438be257c2a577e0ed34bb21f063d263f31d7725360db7df5e0235331d3a465304447e35f2fab WHIRLPOOL a5a64326900686e9d7d3d2a1c2b0baed9dbfe2ec35cba020d17193d83ce958b0c7964b317268f71af428ab967309710bf232b4cb2aa23cc67b276e2b49e1ebf7
DIST mktwpol-0.2.6.tar.gz 55328 SHA256 e1adfe151d4bf98eb28d4f4c6cd9303ec9e2cf3a8c5efc3f4fa9fc38a2ac62b7 SHA512 58d739bf789f7e25678adb19cc2d05bf98920d4f42a761f2c1fc45c72ac9080def9f2533f63c10dfea50f5d8428f7d4a19760a38dcc34bff9aaeb6fdd7e89434 WHIRLPOOL 33170e4fa54e99644a32977637fd2d47ee6739150cd70a2e381cb2ecba89b2fe20bcf6b8566f607a2dc45d725feb0ec7db63beb13903373461feefb158f9bcde
+DIST mktwpol-1.0.0.tar.gz 59748 SHA256 1aad28f5b90bfb4ad7ae0218470b7e7e046f1419c86ea6ae6f0e6a0210238e9c SHA512 f7a04bb3acdada6407e3e422e26ba2c0c454f10011a2848d0c8e962996e135a381c893f7fcdea67e1a3a23f503eb2071448beca05b7ca90e179d2a28173a973e WHIRLPOOL 997488dcee1ce4b55beee3225af58bc88c23420d9458eebd6a07b5ecb50efae4476efac3489527187cb580d3868aa0a179674360b7e19df301453b50434e763a
diff --git a/app-admin/mktwpol/mktwpol-1.0.0.ebuild b/app-admin/mktwpol/mktwpol-1.0.0.ebuild
new file mode 100644
index 000000000000..e96d90062715
--- /dev/null
+++ b/app-admin/mktwpol/mktwpol-1.0.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Bash scripts to install tripwire and generate tripwire policy files"
+HOMEPAGE="https://sourceforge.net/projects/mktwpol"
+SRC_URI="mirror://sourceforge/mktwpol/${P}.tar.gz"
+
+LICENSE="CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="app-admin/tripwire"
+
+src_prepare() {
+ default
+ sed -i -e 's|/usr/local|/usr|' Makefile || die
+}
+
+pkg_postinst() {
+ elog
+ elog "Installation and setup of tripwire ..."
+ elog " - Run: \`twsetup.sh\`"
+ elog
+ elog "Maintenance of tripwire as packages are added and/or deleted ..."
+ elog " - Run: \`mktwpol.sh -u\` to update tripwire policy and database"
+ elog
+ elog "Mktwpol is packaged with multiple policy-rules-generating files."
+ elog "The default \"rules file\" is installed in /etc/tripwire"
+ elog "Alternatives are installed in /usr/share/doc/${P}"
+ elog "To use an alternative \"rules file\" ..."
+ elog "copy it to /etc/tripwire, uncompress it, and \`touch\` it ..."
+ elog
+ elog "\`cp /usr/share/doc/${P}/mktwpol*.rules.bz2 /etc/tripwire\`"
+ elog "\`bunzip2 /etc/tripwire/mktwpol*.rules.bz2\`"
+ elog
+ elog "mktwpol.sh uses the rules file with the most recent date."
+ elog "Use \`touch\` to choose between multiple rules files."
+ elog
+}