mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-29 18:21:03 +02:00
asleap: fix keywords, fix cflags, fix libxcrypt profile, still doesn't respect ldflags
This commit is contained in:
parent
94865eaa2d
commit
a5874315be
3 changed files with 12 additions and 4 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST asleap-2.2.tgz 110622 BLAKE2B bcd4eeac4fa3a2041aa4aff4df8808b72c927a814092ca1744ecea4e8050c25b16c1d579dc64faeb6bd86868dd65048846257fb679c10881c6791ad4c07b4e6e SHA512 123d624e2c3e0f6b8d4974947044adb68a5e4e307a9b1117e866c64f0e7df7ec22570eebebedea281ba60d3f37ff21a2581867f7ff3fdd9d3ad34e315bc14836
|
||||
DIST asleap-2.2_p20160730.tar.gz 111453 BLAKE2B 1eaff9fa5bf9e47f5df76cac1a97be555570a060ae0184666bb6fa612292b102cbb9675e2b6486f2f871fe1e866339dda942494c6da6bb5ddbb60a0994aa868c SHA512 22dee22753f229adb882788a8e2b0b1e737c52ec908b40f4a683ea527066f2cd829e98e73a7446aa63a82db49608fdb56b2593d3b46f6977e8e390f8f0a1c896
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ SRC_URI="https://github.com/joswr1ght/asleap/archive/${HASH_COMMIT}.tar.gz -> ${
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
|
|
@ -26,7 +26,12 @@ DEPEND="${RDEPEND}"
|
|||
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/001_add_simple_password_bruteforcing_option.patch"
|
||||
"${FILESDIR}/002_added_the_possibility_to_verify_MSCHAP-V2_authentication.patch"
|
||||
"${FILESDIR}/010_replace_libcrypt_with_libxcrypt.patch"
|
||||
)
|
||||
default
|
||||
|
||||
sed -e "s/-pipe//;s/-Wall//;s/-g3 -ggdb -g/${CFLAGS}/" \
|
||||
-i Makefile || die
|
||||
|
|
@ -34,11 +39,12 @@ src_prepare() {
|
|||
sed -e "s/#define VER \"\(.*\)\"/#define VER \"${PV}\"/" \
|
||||
-i version.h || die
|
||||
|
||||
default
|
||||
sed -e 's#CFLAGS =#CFLAGS +=#' -i Makefile || die
|
||||
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC)
|
||||
CFLAGS="${CFLAGS}" emake CC=$(tc-getCC)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
~sys-libs/libcap-ng-0.7.4
|
||||
~sys-libs/libxcrypt-2.4
|
||||
|
|
|
|||
Loading…
Reference in a new issue