Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=69848d6e7c66abd74e2913e16d5d9c88df4e05d8
commit 69848d6e7c66abd74e2913e16d5d9c88df4e05d8 Author: DeX77 <[email protected]> Date: Sat Jan 21 22:58:51 2017 +0100 dracut-ykfde-0.6.4-1-x86_64 * new package diff --git a/source/base-extra/dracut-ykfde/FrugalBuild b/source/base-extra/dracut-ykfde/FrugalBuild new file mode 100644 index 0000000..7ca70ad --- /dev/null +++ b/source/base-extra/dracut-ykfde/FrugalBuild @@ -0,0 +1,32 @@ +# Compiling Time: 0.01 SBU +# Maintainer: DeX77 <[email protected]> + +pkgname=dracut-ykfde +pkgver=0.6.4 +pkgrel=1 +pkgdesc="Full disk encryption with Yubikey (Yubico key) for dracut" +groups=('base-extra') +archs=('x86_64') +depends=('iniparser>=4.0' 'keyutils' 'libyubikey' 'yubikey-personalization' \ + 'cryptsetup-luks' 'libarchive') +makedepends=('python-markdown') +_F_github_author="eworm-de" +_F_github_name="mkinitcpio-ykfde" +_F_github_tag="y" +Finclude github +source=("${source[@]}" fixlinkordering.patch) + +sha1sums=('998373899b6a005c67c88639778a1c22debfb33e' \ + '6fe65ca8ebffc79ddb9fa3b2d3d13436db46c99d') +_F_cd_path="mkinitcpio-ykfde-${pkgver}" +_F_make_opts+=" MD=markdown_py" + +build() { + Fcd + Fpatchall + Fmake + Fexec make DESTDIR=${Fdestdir} install-dracut || Fdie + Fmv /usr/lib/systemd /lib +} + +# optimization OK diff --git a/source/base-extra/dracut-ykfde/fixlinkordering.patch b/source/base-extra/dracut-ykfde/fixlinkordering.patch new file mode 100644 index 0000000..60660a6 --- /dev/null +++ b/source/base-extra/dracut-ykfde/fixlinkordering.patch @@ -0,0 +1,28 @@ +diff -Naur mkinitcpio-ykfde-0.6.4/bin/Makefile mkinitcpio-ykfde-0.6.4.new/bin/Makefile +--- mkinitcpio-ykfde-0.6.4/bin/Makefile 2016-07-09 21:57:21.000000000 +0200 ++++ mkinitcpio-ykfde-0.6.4.new/bin/Makefile 2017-01-21 22:47:42.000000000 +0100 +@@ -9,10 +9,10 @@ + all: ykfde ykfde-cpio + + ykfde: ykfde.c ../config.h ../version.h +- $(CC) $(CFLAGS) -lcryptsetup -liniparser -lkeyutils -lykpers-1 -lyubikey $(LDFLAGS) -o ykfde ykfde.c ++ $(CC) $(CFLAGS) $(LDFLAGS) -o ykfde ykfde.c -lcryptsetup -liniparser -lkeyutils -lykpers-1 -lyubikey + + ykfde-cpio: ykfde-cpio.c ../config.h ../version.h +- $(CC) $(CFLAGS) -larchive $(LDFLAGS) -o ykfde-cpio ykfde-cpio.c ++ $(CC) $(CFLAGS) $(LDFLAGS) -o ykfde-cpio ykfde-cpio.c -larchive + + install: ykfde ykfde-cpio + $(INSTALL) -D -m0755 ykfde $(DESTDIR)/usr/bin/ykfde +diff -Naur mkinitcpio-ykfde-0.6.4/udev/Makefile mkinitcpio-ykfde-0.6.4.new/udev/Makefile +--- mkinitcpio-ykfde-0.6.4/udev/Makefile 2016-07-09 21:57:21.000000000 +0200 ++++ mkinitcpio-ykfde-0.6.4.new/udev/Makefile 2017-01-21 22:48:16.000000000 +0100 +@@ -9,7 +9,7 @@ + all: ykfde + + ykfde: ykfde.c ../config.h +- $(CC) $(CFLAGS) -liniparser -lkeyutils -lykpers-1 -lyubikey $(LDFLAGS) -o ykfde ykfde.c ++ $(CC) $(CFLAGS) $(LDFLAGS) -o ykfde ykfde.c -liniparser -lkeyutils -lykpers-1 -lyubikey + + install: ykfde + $(INSTALL) -D -m0755 ykfde $(DESTDIR)/usr/lib/udev/ykfde _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
