aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Shelton <stuart@shelton.me>2013-07-17 00:17:28 +0100
committerStuart Shelton <stuart@shelton.me>2013-07-17 00:17:28 +0100
commit9c7c5409d574547180e325b40618f34560f67b39 (patch)
tree0345006e24d38da2c3b9fa7f6cb10b2bccaeebdc /sys-auth
parentUpdate README.md (diff)
downloadsrcshelton-9c7c5409d574547180e325b40618f34560f67b39.tar.gz
srcshelton-9c7c5409d574547180e325b40618f34560f67b39.tar.bz2
srcshelton-9c7c5409d574547180e325b40618f34560f67b39.zip
Update pam_mobile_otp-0.6.1
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pam_mobile_otp/Manifest4
-rw-r--r--sys-auth/pam_mobile_otp/files/Makefile.patch6
-rw-r--r--sys-auth/pam_mobile_otp/pam_mobile_otp-0.6.1.ebuild9
3 files changed, 12 insertions, 7 deletions
diff --git a/sys-auth/pam_mobile_otp/Manifest b/sys-auth/pam_mobile_otp/Manifest
index d1fc47c7..a7924739 100644
--- a/sys-auth/pam_mobile_otp/Manifest
+++ b/sys-auth/pam_mobile_otp/Manifest
@@ -1,6 +1,6 @@
-AUX Makefile.patch 900 SHA256 51351325c44b617afd4134794bf3cbec2b39c8c139dcccfd3eff64952a01fc26 SHA512 d42120a45244bf3893584928bc64b0b10cf665c74a20459c6a77f1401e8053f92c493ab5d60e26a47cc39b3e449e472c26f96950f295f791b93ce5142df38c54 WHIRLPOOL 93ea236d406d48871c469de5dfc3384a13ab672e8979b0d43546a597acbfd9178137af485fe4c8f62d002fa8ba3cc551160e41a88be330099f09f9c344339b37
+AUX Makefile.patch 765 SHA256 97e02b3316d05b4ed4fc1f587aaaf3230bb6424367ab3373a17972cbb90674b8 SHA512 9fa77cc799305377f8878b51f359faa53087eb11b12ffcd3ec8cb62d91153a44b3f180a85db112d69517a187aad8801dc98bf7b07573ef02e973612e895aa3be WHIRLPOOL 03711b6b9782136558e8e36be903f902c8a952d402813052f637b1b5257d949bbe186f70355ceda95553dee62015b558cb8c5df7ee534208570d034023a843c6
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 1394 SHA256 84c9194892231c95d4514f3bf0d583ffad10ce8b16edd21e405c03b1acf439da SHA512 ef5318c8d7b4af576b872a84ece514acad983993248dff3b5ae919258d44a75c58ad050a8bbab5e08db2d19f432171ebab19a9d51f66a45fa9636034e55ad060 WHIRLPOOL 66b91dadfca2b3507f957450bc4f061d617218f03ce318725dfce96113847413918f48ab8507c7e3c5f036a1bbab7ff471fda4e56c49b6b0e8793445c7cd7c2a
+EBUILD pam_mobile_otp-0.6.1.ebuild 1541 SHA256 0e444395dfb12342550b5bbc72825805cf87d60b52fd717eb9942e5f015f2052 SHA512 b37f3464f0d437a8d351dcecef6fe8725460ea156b9d117b22fec2f970724ce06b3fad684759ac3d2e72aa4456c0ea6150dd7e67fed8c0014a18bd8572d0fb3a WHIRLPOOL 86f88f791de73f45be293b8f9026963c087788f34e234177131642e9156fff7bdd3eebeabd673824ade858c282bcf172c1e9d131a9289ec6b219041c9357855c
diff --git a/sys-auth/pam_mobile_otp/files/Makefile.patch b/sys-auth/pam_mobile_otp/files/Makefile.patch
index a77a28f4..ab24da8c 100644
--- a/sys-auth/pam_mobile_otp/files/Makefile.patch
+++ b/sys-auth/pam_mobile_otp/files/Makefile.patch
@@ -1,11 +1,7 @@
--- Makefile.dist 2011-08-16 15:02:44.128755738 +0100
+++ Makefile 2011-08-16 15:06:03.346319737 +0100
-@@ -1,18 +1,25 @@
+@@ -1,18 +1,21 @@
-+CC = gcc
-+LD = ld
-+CFLAGS = -Os -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer -pipe
-+LDFLAGS = -O1 --as-needed
+OPT = -D_TRACE_ -Wall
+
all: pam_mobile_otp.so
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 6d684c43..ad2d017b 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
@@ -24,6 +24,15 @@ src_configure() {
epatch "${FILESDIR}/Makefile.patch" || die "Failed to patch Makefile"
}
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LD="$(tc-getLD)" \
+ LDFLAGS="${LDFLAGS//-Wl,}" \
+ || die "emake failed"
+}
+
src_install() {
fperms 600 motp-manager || die "Cannot set permissions on 'motp-manager'"
dosbin motp-manager || die "Cannot install 'motp-manager'"