aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Shelton <stuart@shelton.me>2015-11-07 12:54:05 +0000
committerStuart Shelton <stuart@shelton.me>2015-11-07 12:54:05 +0000
commit3597c91a8b3c36e35d8f550c5392f15371ec0317 (patch)
tree649c983c101d34c846f5b7ae4cada3dc6feceb87 /sys-auth
parentUpdate sys-apps/util-linux-2.26.2 (diff)
downloadsrcshelton-3597c91a8b3c36e35d8f550c5392f15371ec0317.tar.gz
srcshelton-3597c91a8b3c36e35d8f550c5392f15371ec0317.tar.bz2
srcshelton-3597c91a8b3c36e35d8f550c5392f15371ec0317.zip
Update sys-auth/pam_mobile_otp-0.6.1
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pam_mobile_otp/Manifest3
-rw-r--r--sys-auth/pam_mobile_otp/files/__stack_chk_fail_local.patch12
-rw-r--r--sys-auth/pam_mobile_otp/pam_mobile_otp-0.6.1.ebuild3
3 files changed, 16 insertions, 2 deletions
diff --git a/sys-auth/pam_mobile_otp/Manifest b/sys-auth/pam_mobile_otp/Manifest
index a7924739..b0e6c8f0 100644
--- a/sys-auth/pam_mobile_otp/Manifest
+++ b/sys-auth/pam_mobile_otp/Manifest
@@ -1,6 +1,7 @@
AUX Makefile.patch 765 SHA256 97e02b3316d05b4ed4fc1f587aaaf3230bb6424367ab3373a17972cbb90674b8 SHA512 9fa77cc799305377f8878b51f359faa53087eb11b12ffcd3ec8cb62d91153a44b3f180a85db112d69517a187aad8801dc98bf7b07573ef02e973612e895aa3be WHIRLPOOL 03711b6b9782136558e8e36be903f902c8a952d402813052f637b1b5257d949bbe186f70355ceda95553dee62015b558cb8c5df7ee534208570d034023a843c6
+AUX __stack_chk_fail_local.patch 367 SHA256 3fa34ae31c12b159f69ed4a86760891968792bd3056b90a077dae8ed61f8986c SHA512 f1b3ddcc781ab42d01e0f79b6648ddf982c16e154d3ca28d8dd609b730539f6653e9db73a9a1cf3ae3cf35acac3b9d35f51217c8e866b46568c506dcb01f0b79 WHIRLPOOL 25b8ad04c3da72eb3de38e48970dcfdeb3429e5358ecc67f90e4e8edb080c8e32f7d8167b91835c2a063e441814a4ac677ef10def349abffa74b4b32c50f49af
AUX motp-manager.patch 411 SHA256 e852bb0272e9dbba8532c0304ce81468c960500908e94e5bac7b672634836374 SHA512 aba1a5f14f9af3377eaa1df826ddbc772bc0fd35363e1cd628011ee672990cdf115515ce85a381ae4556154cb80261ffcdd00de65e126979cd229207794bddf8 WHIRLPOOL 07b4d5496fb1b50ad29a1de86372f12237caddcf68fe94f5f9998a03ab6ff23837571db2d19b9a45c8c89f2912fdd47fd204de46284658815b1672523176db9d
AUX motp.conf 78 SHA256 c85aa5384ef8f7364b483129d6e46c1505ecc0115bb8cd1084f6c7139f17a48e SHA512 6ae7b767cb42719ed3e3b011e4771fb3dd3b2267585defe3ac110d4888699ec3651904e0421997b737265b9ce4283ba89b4783ccdbd65205e905035bafa1e59a WHIRLPOOL 6c9721c987d74c2bc514f719eb2aa7de8066f06bc3c95f3779a9c5cc5949bf7cf846e6fd95cd856caadf036017f55d818e9cda69dec475d7018027464c82e5a7
AUX prompt.patch 410 SHA256 a84b2ebb5e74f6d1d386d4bdf3bc910ded5f79ae046daa390c408d8323e163f2 SHA512 56fefadbc0f304402faae41772d914fdee7087778fee7461444874ef84cc61f26c647b52de94e6340841018e17309ef14a224dfcfcf31ecae5df066e09bebbe3 WHIRLPOOL b94e7320a1f90d8e2f3dc2d9debc7602eb10604642dfef7c3cb7e27971572a61006dccdd777d001b80f22ec38fb9ca04fa20c6a66919bab1a0fb3c74582456b2
DIST pam_mobile_otp-0.6.1.tgz 26425 SHA256 c26050358674ff2a2e4e4377e56aa3e1e348813936176bbc6957e84bdb2e6ba8 SHA512 99027a0e9e5bc65fe2c0c27fde5cd267dfd5743b522169ceedcd01e43f5af49d25cbb1a0d0693fcf87e0cc58908434f037475f971bb56370a7897ab0a00ef02f WHIRLPOOL 665a4f1a51703edddeab95d33dfc3b596f14c0f7d23b9a41c4b12c2682cfa5bddd83bc6970e175c712f0f428346a3ffe89208d382fc94b19fae9c570b0088934
-EBUILD pam_mobile_otp-0.6.1.ebuild 1541 SHA256 0e444395dfb12342550b5bbc72825805cf87d60b52fd717eb9942e5f015f2052 SHA512 b37f3464f0d437a8d351dcecef6fe8725460ea156b9d117b22fec2f970724ce06b3fad684759ac3d2e72aa4456c0ea6150dd7e67fed8c0014a18bd8572d0fb3a WHIRLPOOL 86f88f791de73f45be293b8f9026963c087788f34e234177131642e9156fff7bdd3eebeabd673824ade858c282bcf172c1e9d131a9289ec6b219041c9357855c
+EBUILD pam_mobile_otp-0.6.1.ebuild 1632 SHA256 bd2e6f4b21d5fd476db27bff09471763c5ab90217624acf26ef400a1d1fb0adb SHA512 ee7788307c26469f3ae0074f13b710a5d13c0b625078259cbf1731b428d890be495ae91d7a77d3427d09ff84e6757219b6fbb57615410a9722dd4867dec2a3f0 WHIRLPOOL 9f3ac663f39b93e9b30f13553b33e85ea79803a0285cebe48e512d798e94d4a38a55e77a0e30b7b4f9343426071c30f9c4725926348bfb3c97ed494ebe49979b
diff --git a/sys-auth/pam_mobile_otp/files/__stack_chk_fail_local.patch b/sys-auth/pam_mobile_otp/files/__stack_chk_fail_local.patch
new file mode 100644
index 00000000..73dc64ce
--- /dev/null
+++ b/sys-auth/pam_mobile_otp/files/__stack_chk_fail_local.patch
@@ -0,0 +1,12 @@
+--- pam_mobile_otp.c.dist 2015-11-07 11:01:21.473203750 +0000
++++ pam_mobile_otp.c 2015-11-07 11:02:42.967101134 +0000
+@@ -67,6 +67,9 @@
+ #include "md5.h"
+ #endif
+
++extern void __stack_chk_fail(void);
++void __attribute__((visibility ("hidden"))) __stack_chk_fail_local(void) { __stack_chk_fail(); }
++
+ #define TO_STR(str) TO_STR_2(str)
+ #define TO_STR_2(str) #str
+
diff --git a/sys-auth/pam_mobile_otp/pam_mobile_otp-0.6.1.ebuild b/sys-auth/pam_mobile_otp/pam_mobile_otp-0.6.1.ebuild
index ad2d017b..02de6418 100644
--- a/sys-auth/pam_mobile_otp/pam_mobile_otp-0.6.1.ebuild
+++ b/sys-auth/pam_mobile_otp/pam_mobile_otp-0.6.1.ebuild
@@ -18,10 +18,11 @@ KEYWORDS="~x86"
S="${WORKDIR}/${PN}"
-src_configure() {
+src_prepare() {
epatch "${FILESDIR}/motp-manager.patch" || die "Failed to patch motp-manager"
epatch "${FILESDIR}/prompt.patch" || die "Failed to patch pam_mobile_otp.c"
epatch "${FILESDIR}/Makefile.patch" || die "Failed to patch Makefile"
+ epatch "${FILESDIR}/__stack_chk_fail_local.patch" || die "Failed to patch pam_mobile_otp.c"
}
src_compile() {