Skip to content

Commit

Permalink
Prepare for 1.0.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
squinky86 committed Jan 31, 2020
1 parent eadc4fb commit 974fd0a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 1.0.0
## 1.0.0 20200131
- Stabilized database (reverse compatibility will be maintained)
- Updated Detailed Findings Report (issues #41, #34)
- Updates for eMASS Test Results (issues #42, #43, #48)
Expand Down
9 changes: 5 additions & 4 deletions doc/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ function exists {
ret=$?
#program doesn't exist; check if aliased
if [ $ret -gt 0 ]; then
echo "Checking alias for $1..."
if [ -z "$2" ]; then
echo "Checking alias for $1..."
fi
type -a $1
# > /dev/null 2> /dev/null
ret=$?
fi
if [ $ret -gt 0 ]; then
echo "Please install ${1} before building the documentation."
if [ -z "$2" ]; then
echo "Please install ${1} before building the documentation."
exit 1
fi
return 1
Expand Down Expand Up @@ -40,8 +42,7 @@ function lbll {
exists lualatex
exists biber
if ! exists pdfsizeopt 1; then
echo "Warning, pdfsizeopt is not installed."
sleep 5
echo "Not running pdfsizeopt for documentation compression."
fi

for x in [a-z][a-z].tex; do
Expand Down
20 changes: 15 additions & 5 deletions gentoo/app-forensics/stigqter/stigqter-1.0.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SRC_URI="https://github.com/squinky86/STIGQter/archive/${PV}.tar.gz -> ${P}.tar.
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
IUSE="doc"

MY_PN="STIGQter"
S="${WORKDIR}/${MY_PN}-${PV}"
Expand All @@ -23,17 +23,27 @@ CDEPEND="
>=dev-libs/libzip-1.3
>=dev-qt/qtgui-5"
DEPEND="${CDEPEND}
sys-libs/zlib"
sys-libs/zlib
doc? (
dev-texlive/texlive-luatex
dev-texlive/texlive-fontsextra
dev-tex/biber
)"
RDEPEND="${CDEPEND}
>=dev-libs/openssl-1"

src_configure() {
eqmake5 ${MY_PN}.pro -r PREFIX="/usr"
doicon src/STIGQter.svg
domenu STIGQter.desktop
dodoc doc/STIGQter.pdf
}

src_compile() {
default
use doc && pushd doc && ./build.sh && popd
}

src_install() {
emake INSTALL_ROOT="${D}" install
doicon src/STIGQter.svg
domenu STIGQter.desktop
use doc && dodoc doc/UsersGuide.pdf
}

0 comments on commit 974fd0a

Please sign in to comment.