mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-29 08:44:21 +02:00
Minor changes to build script for DEB
This commit is contained in:
parent
f465da5351
commit
64b5d9b9c3
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
lynis (1.6.3-1) utopic; urgency=low
|
||||||
|
|
||||||
|
* Release 1.6.3
|
||||||
|
|
||||||
|
-- Michael Boelen <michael.boelen@cisofy.com> Fri, 24 Oct 2014 10:58:23 +0200
|
||||||
|
|
||||||
lynis (1.6.2-1) utopic; urgency=low
|
lynis (1.6.2-1) utopic; urgency=low
|
||||||
|
|
||||||
* Release 1.6.2
|
* Release 1.6.2
|
||||||
|
4
debian/rules
vendored
4
debian/rules
vendored
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
build: build-indep build-arch
|
build: build-arch build-indep
|
||||||
build-indep: build-stamp
|
build-indep: build-stamp
|
||||||
build-arch: build-stamp
|
build-arch: build-stamp
|
||||||
build-stamp:
|
build-stamp:
|
||||||
@ -36,6 +36,7 @@ install: build
|
|||||||
|
|
||||||
|
|
||||||
# Build architecture-dependent files here.
|
# Build architecture-dependent files here.
|
||||||
|
binary-arch: build install
|
||||||
binary-indep: build install
|
binary-indep: build install
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
@ -53,7 +54,6 @@ binary-indep: build install
|
|||||||
dh_md5sums
|
dh_md5sums
|
||||||
dh_builddeb
|
dh_builddeb
|
||||||
|
|
||||||
binary-arch: build install
|
|
||||||
|
|
||||||
binary: binary-indep binary-arch
|
binary: binary-indep binary-arch
|
||||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
.PHONY: build clean binary-indep binary-arch binary install configure
|
||||||
|
@ -232,7 +232,7 @@
|
|||||||
else
|
else
|
||||||
echo "[X] Could not find source file (${SOURCEFILE_RPM})"
|
echo "[X] Could not find source file (${SOURCEFILE_RPM})"
|
||||||
echo " Hint: cp <lynis.tar.gz> ${SOURCEFILE_RPM}"
|
echo " Hint: cp <lynis.tar.gz> ${SOURCEFILE_RPM}"
|
||||||
ExitFatal
|
#ExitFatal
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "[*] Starting with DEB building process"
|
echo "[*] Starting with DEB building process"
|
||||||
@ -271,6 +271,14 @@
|
|||||||
# echo "Output: ${BZRSTATUS}"
|
# echo "Output: ${BZRSTATUS}"
|
||||||
# fi
|
# fi
|
||||||
|
|
||||||
|
if [ -d ${MYBUILDDIR}/git/Lynis ]; then
|
||||||
|
echo "git clone already exists"
|
||||||
|
rm -rf ${MYBUILDDIR}/git/Lynis
|
||||||
|
#git checkout tags/${LYNIS_VERSION}
|
||||||
|
fi
|
||||||
|
git clone https://github.com/CISOfy/Lynis.git ${MYBUILDDIR}/git/Lynis
|
||||||
|
#git tag -l ${MYBUILDDIR}/git/Lynis
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
${GITBUILDPACKAGEBINARY} --git-tarball-dir=${MYBUILDDIR} --git-export-dir=${DEBWORKDIR}
|
${GITBUILDPACKAGEBINARY} --git-tarball-dir=${MYBUILDDIR} --git-export-dir=${DEBWORKDIR}
|
||||||
cd ${MYWORKDIR}
|
cd ${MYWORKDIR}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user