parent
00e85910ca
commit
c5aa1f0bff
@ -1,2 +1 @@
|
||||
DIST hardening-wrapper_2.4.tar.gz 21082 SHA256 411248b1f89e512bd27f96cfaef2aac4fe5c50884ca0769ba94dd2b90bea5d5a SHA512 59366393821116493e204972009bc614a3aee61b15427ecf0a4bc23accea00e0891196b1250f6a3c30e9633ca54022f39ad83d49a213cd4c9aaa78e992647a07 WHIRLPOOL a2aef6b6b302a2b238953b53946865ab7864b36914d0f168073a958c8ae8041d75456283f806d99a124fd853bf775635c7bb4af0f74a5245f49b378eb28ee763
|
||||
DIST hardening-wrapper_2.5.tar.gz 21157 SHA256 9ae2cc44d9543476b5b8655b4699af5421218dce44ce0d4a89cf5d81ba12b9bf SHA512 e2c183736e9f1dd1b39ecde7d2bf2c22d4c87c69cb158d98bb527b8325d88ea86bceb6087633cc761e973a22d0cf97c6266464d117e408ed2aee2e67c8ab5565 WHIRLPOOL 652327876a29ad8a69529bcb85b1331a227348a1ca87c1e5cf69fbcea0ad7c57afdcb14536eebfc8668834a701ee80f8579b8851f596e41ee782e4c6dbf47cb9
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/hardening-check/hardening-check-2.4.ebuild,v 1.3 2013/11/01 13:35:47 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_PN="hardening-wrapper"
|
||||
|
||||
DESCRIPTION="Report the hardening characterists of a set of binaries"
|
||||
HOMEPAGE="https://wiki.debian.org/Hardening"
|
||||
SRC_URI="mirror://debian/pool/main/h/${MY_PN}/${MY_PN}_${PV}.tar.gz"
|
||||
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="dev-lang/perl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
|
||||
src_prepare() {
|
||||
# This is what the Makefile does to detect FORTIFY_SOURCE
|
||||
perl -pi -e "s/^my %libc;/my %libc = (\n$(perl hardening-check --find-libc-functions /bin/ls)\n);/;" ${PN} || die
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
}
|
@ -1 +1 @@
|
||||
DIST sysrqd-14.tar.gz 4759 RMD160 10135f460eb04ede4b147517692d0d3330d8e78d SHA1 49de3043304aab5ca80abed01681073176ef6855 SHA256 aa938dc663b73fb28d165c8145f51b6c2412ccb202e641548452c9583d593428
|
||||
DIST sysrqd-14.tar.gz 4759 SHA256 aa938dc663b73fb28d165c8145f51b6c2412ccb202e641548452c9583d593428
|
||||
|
@ -1 +1,2 @@
|
||||
DIST dpkg_1.17.10.tar.xz 4198340 SHA256 a3a6d4da2b99484c04b2aa8af83d59d87a988baea627d276308467b22310b4d9 SHA512 db4fdd08cf00eeb611759c02eb70285f36d8fadb7d9d5b35123c02181889319ae46e8ec0d051b64f0d5e7ea3c20da63ba7b9015a9aecdba9b2cb3e20f2e87ecd WHIRLPOOL 15be369b0e10bd8f18ad212d03f614feccf612a125227644d39611beac78b0e42971399b1def825ce9c336aa32c07a8740e7180954879bef7940b641ff02169f
|
||||
DIST dpkg_1.17.11.tar.xz 4210392 SHA256 02ba4776d2cae24a6908879bf557196edda1ec97d8519d28e877da45f1a3a95b SHA512 a07f0830f65b9bb4f5fab573c474d9f6c974bc9eca4e11d487eac7715e88ff58960dc70d2e2a1e40925c8fef4b0e40e664cb4428d081e03f13f87338b3708149 WHIRLPOOL abd18440f9836a24ab79a361212a0b55ffb9e4ebdc5b90c802be9c06b9727945ee553178f060bb6867b78a608e86da0c8ea4a85a10a85eb26ffa731e9bbb6524
|
||||
|
@ -0,0 +1,92 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.17.11.ebuild,v 1.1 2014/08/10 09:38:03 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="Package maintenance system for Debian"
|
||||
HOMEPAGE="http://packages.qa.debian.org/dpkg"
|
||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="+bzip2 +lzma nls selinux test unicode +update-alternatives +zlib"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/perl-5.6.0
|
||||
dev-perl/TimeDate
|
||||
>=sys-libs/ncurses-5.2-r7
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
zlib? ( >=sys-libs/zlib-1.1.4 )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
nls? (
|
||||
app-text/po4a
|
||||
>=sys-devel/gettext-0.18.2
|
||||
)
|
||||
test? (
|
||||
dev-perl/DateTime-Format-DateParse
|
||||
dev-perl/IO-String
|
||||
dev-perl/Test-Pod
|
||||
virtual/perl-Test-Harness
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( ChangeLog THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
# do not expect Debian's gzip --rsyncable extension
|
||||
epatch "${FILESDIR}"/${PN}-1.17.0-gzip-rsyncable.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.17.1-flags.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.17.11-selinux.patch
|
||||
|
||||
# Force the use of the running bash for get-version (this file is never
|
||||
# installed, so no need to worry about hardcoding a temporary bash)
|
||||
sed -i -e '1c\#!'"${BASH}" get-version || die
|
||||
|
||||
# test fails (bug #414095)
|
||||
sed -i utils/Makefile.am \
|
||||
-e '/^test_cases/d;/100_update_alternatives/d' || die
|
||||
|
||||
use nls && strip-linguas -i po
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable unicode) \
|
||||
$(use_enable update-alternatives) \
|
||||
$(use_with bzip2 bz2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with zlib) \
|
||||
$(use_with lzma liblzma) \
|
||||
--disable-compiler-warnings \
|
||||
--disable-dselect \
|
||||
--disable-silent-rules \
|
||||
--disable-start-stop-daemon \
|
||||
--localstatedir="${EPREFIX}"/var
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR=$(tc-getAR)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
keepdir /usr/$(get_libdir)/db/methods/{mnt,floppy,disk}
|
||||
keepdir /usr/$(get_libdir)/db/{alternatives,info,methods,parts,updates}
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
- AM_CONDITIONAL should not be run conditionally.
|
||||
- When you have established you cannot build it, you cannot test it either.
|
||||
- Why does it try to build libselinux compatibility _using_ the libselinux headers and library?
|
||||
|
||||
--- a/m4/dpkg-libs.m4
|
||||
+++ b/m4/dpkg-libs.m4
|
||||
@@ -92,15 +92,16 @@
|
||||
[AC_DEFINE([HAVE_SETEXECFILECON], [1],
|
||||
[Define to 1 if SELinux setexecfilecon is present])
|
||||
])
|
||||
- AM_CONDITIONAL(HAVE_SETEXECFILECON,
|
||||
- [test "x$ac_cv_lib_selinux_setexecfilecon" = "xyes"])
|
||||
-
|
||||
AC_CHECK_HEADER([selinux/selinux.h],,
|
||||
[if test -n "$with_selinux"; then
|
||||
AC_MSG_FAILURE([selinux header not found])
|
||||
fi])
|
||||
fi
|
||||
-])# DPKG_LIB_SELINUX
|
||||
+AM_CONDITIONAL(HAVE_SETEXECFILECON,
|
||||
+ [test "x$ac_cv_lib_selinux_setexecfilecon" = "xyes"])
|
||||
+])
|
||||
+
|
||||
+# DPKG_LIB_SELINUX
|
||||
|
||||
# _DPKG_CHECK_LIB_CURSES_NARROW
|
||||
# -----------------------------
|
||||
--- a/lib/compat/Makefile.am
|
||||
+++ b/lib/compat/Makefile.am
|
||||
@@ -10,7 +10,6 @@
|
||||
libcompat_test_la_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_LIBCOMPAT=1
|
||||
libcompat_test_la_SOURCES = \
|
||||
compat.h \
|
||||
- selinux.c \
|
||||
strnlen.c \
|
||||
strndup.c \
|
||||
strerror.c \
|
||||
@@ -57,7 +56,7 @@
|
||||
libcompat_la_SOURCES += strsignal.c
|
||||
endif
|
||||
|
||||
-if !HAVE_SETEXECFILECON
|
||||
+if HAVE_SETEXECFILECON
|
||||
libcompat_la_SOURCES += selinux.c
|
||||
endif
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue