[arch-commits] Commit in efibootmgr/repos (6 files)

2017-03-08 Thread Tobias Powalowski
Date: Thursday, March 9, 2017 @ 07:55:27
  Author: tpowa
Revision: 290174

archrelease: copy trunk to testing-x86_64, testing-i686

Added:
  efibootmgr/repos/testing-i686/
  efibootmgr/repos/testing-i686/PKGBUILD
(from rev 290173, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch
(from rev 290173, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
  efibootmgr/repos/testing-x86_64/
  efibootmgr/repos/testing-x86_64/PKGBUILD
(from rev 290173, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-x86_64/efibootmgr-tilt_slashes-func.patch
(from rev 290173, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)

---+
 testing-i686/PKGBUILD |   53 +
 testing-i686/efibootmgr-tilt_slashes-func.patch   |   61 
 testing-x86_64/PKGBUILD   |   53 +
 testing-x86_64/efibootmgr-tilt_slashes-func.patch |   61 
 4 files changed, 228 insertions(+)

Copied: efibootmgr/repos/testing-i686/PKGBUILD (from rev 290173, 
efibootmgr/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-03-09 07:55:27 UTC (rev 290174)
@@ -0,0 +1,53 @@
+# Maintainer: Tobias Powalowski 
+# Contributor: Murtuza Akhtari 
+# Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) 
(gemmaeiil) (ddoott) (ccoomm)>
+
+pkgname="efibootmgr"
+pkgdesc="Tool to modify UEFI Firmware Boot Manager Variables"
+pkgver=15
+pkgrel=1
+arch=('x86_64' 'i686')
+url="https://github.com/rhinstaller/efibootmgr;
+license=('GPL2')
+makedepends=('git')
+depends=('pciutils' 'efivar' 'zlib')
+options=('strip' 'zipman' 'docs' '!emptydirs')
+
+source=("efibootmgr::git+https://github.com/rhinstaller/efibootmgr.git#tag=${pkgver};)
+#source=("efibootmgr::git+https://github.com/rhinstaller/efibootmgr.git#commit=5e9700c2252eed45f4568f3a7c08c866c2c83c0b;)
+sha1sums=('SKIP')
+
+pkgver() {
+   cd "${srcdir}/efibootmgr/"
+   echo "$(git describe --tags)" | sed -e 's|efibootmgr-||g' -e 's|-|\.|g'
+}
+
+prepare() {
+   
+   cd "${srcdir}/efibootmgr/"
+   
+   git clean -x -d -f
+   echo
+   
+}
+
+build() {
+   
+   cd "${srcdir}/efibootmgr/"
+   
+   make EXTRA_CFLAGS="-Os" EFIDIR="/boot/EFI"
+   echo
+   
+}
+
+package() {
+   
+   cd "${srcdir}/efibootmgr/"
+   
+   install -d "${pkgdir}/usr/bin/"
+   install -D -m0755 "${srcdir}/efibootmgr/src/efibootmgr" 
"${pkgdir}/usr/bin/efibootmgr"
+   
+   install -d "${pkgdir}/usr/share/man/man8/"
+   install -D -m0644 "${srcdir}/efibootmgr/src/efibootmgr.8" 
"${pkgdir}/usr/share/man/man8/efibootmgr.8"
+   
+}

Copied: efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch (from 
rev 290173, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
===
--- testing-i686/efibootmgr-tilt_slashes-func.patch 
(rev 0)
+++ testing-i686/efibootmgr-tilt_slashes-func.patch 2017-03-09 07:55:27 UTC 
(rev 290174)
@@ -0,0 +1,61 @@
+diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
+index 236365a..9883961 100644
+--- a/src/efibootmgr/efibootmgr.c
 b/src/efibootmgr/efibootmgr.c
+@@ -803,6 +803,7 @@ usage()
+   printf("\t-V | --version  return version and exit\n");
+   printf("\t-w | --write-signature  write unique sig to MBR if needed\n");
+   printf("\t-@ | --append-binary-args file  append extra args from file 
(use \"-\" for stdin)\n");
++  printf("\t   | --help show help/usage\n");
+ }
+ 
+ static void
+@@ -863,6 +864,7 @@ parse_opts(int argc, char **argv)
+   {"version",no_argument, 0, 'V'},
+   {"write-signature",no_argument, 0, 'w'},
+   {"append-binary-args", required_argument, 0, '@'},
++  {"help",   no_argument, 0,   2},
+   {0, 0, 0, 0}
+   };
+ 
+@@ -1014,6 +1016,10 @@ parse_opts(int argc, char **argv)
+   opts.write_signature = 1;
+   break;
+ 
++  case 2:
++  usage();
++  exit(1);
++
+   default:
+   usage();
+   exit(1);
+diff --git a/src/lib/efi.c b/src/lib/efi.c
+index a4ce5cf..8ef8be8 100644
+--- a/src/lib/efi.c
 b/src/lib/efi.c
+@@ -70,6 +70,16 @@ efi_guid_unparse(efi_guid_t *guid, char *out)
+ return out;
+ }
+ 
++char *
++tilt_slashes(char *s)
++{
++  char *p;
++  for (p = s; *p; p++)
++  if (*p == '/')
++  *p = '\\';
++  return s;
++}
++
+ void
+ 

[arch-commits] Commit in efibootmgr/repos (6 files)

2016-10-19 Thread Tobias Powalowski
Date: Wednesday, October 19, 2016 @ 06:32:45
  Author: tpowa
Revision: 278982

archrelease: copy trunk to testing-x86_64, testing-i686

Added:
  efibootmgr/repos/testing-i686/
  efibootmgr/repos/testing-i686/PKGBUILD
(from rev 278981, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch
(from rev 278981, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
  efibootmgr/repos/testing-x86_64/
  efibootmgr/repos/testing-x86_64/PKGBUILD
(from rev 278981, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-x86_64/efibootmgr-tilt_slashes-func.patch
(from rev 278981, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)

---+
 testing-i686/PKGBUILD |   53 +
 testing-i686/efibootmgr-tilt_slashes-func.patch   |   61 
 testing-x86_64/PKGBUILD   |   53 +
 testing-x86_64/efibootmgr-tilt_slashes-func.patch |   61 
 4 files changed, 228 insertions(+)

Copied: efibootmgr/repos/testing-i686/PKGBUILD (from rev 278981, 
efibootmgr/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-10-19 06:32:45 UTC (rev 278982)
@@ -0,0 +1,53 @@
+# Maintainer: Tobias Powalowski 
+# Contributor: Murtuza Akhtari 
+# Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) 
(gemmaeiil) (ddoott) (ccoomm)>
+
+pkgname="efibootmgr"
+pkgdesc="Tool to modify UEFI Firmware Boot Manager Variables"
+pkgver=14
+pkgrel=1
+arch=('x86_64' 'i686')
+url="https://github.com/rhinstaller/efibootmgr;
+license=('GPL2')
+makedepends=('git')
+depends=('pciutils' 'efivar' 'zlib')
+options=('strip' 'zipman' 'docs' '!emptydirs')
+
+source=("efibootmgr::git+https://github.com/rhinstaller/efibootmgr.git#tag=${pkgver};)
+#source=("efibootmgr::git+https://github.com/rhinstaller/efibootmgr.git#commit=5e9700c2252eed45f4568f3a7c08c866c2c83c0b;)
+sha1sums=('SKIP')
+
+pkgver() {
+   cd "${srcdir}/efibootmgr/"
+   echo "$(git describe --tags)" | sed -e 's|efibootmgr-||g' -e 's|-|\.|g'
+}
+
+prepare() {
+   
+   cd "${srcdir}/efibootmgr/"
+   
+   git clean -x -d -f
+   echo
+   
+}
+
+build() {
+   
+   cd "${srcdir}/efibootmgr/"
+   
+   make EXTRA_CFLAGS="-Os"
+   echo
+   
+}
+
+package() {
+   
+   cd "${srcdir}/efibootmgr/"
+   
+   install -d "${pkgdir}/usr/bin/"
+   install -D -m0755 "${srcdir}/efibootmgr/src/efibootmgr" 
"${pkgdir}/usr/bin/efibootmgr"
+   
+   install -d "${pkgdir}/usr/share/man/man8/"
+   install -D -m0644 "${srcdir}/efibootmgr/src/efibootmgr.8" 
"${pkgdir}/usr/share/man/man8/efibootmgr.8"
+   
+}

Copied: efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch (from 
rev 278981, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
===
--- testing-i686/efibootmgr-tilt_slashes-func.patch 
(rev 0)
+++ testing-i686/efibootmgr-tilt_slashes-func.patch 2016-10-19 06:32:45 UTC 
(rev 278982)
@@ -0,0 +1,61 @@
+diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
+index 236365a..9883961 100644
+--- a/src/efibootmgr/efibootmgr.c
 b/src/efibootmgr/efibootmgr.c
+@@ -803,6 +803,7 @@ usage()
+   printf("\t-V | --version  return version and exit\n");
+   printf("\t-w | --write-signature  write unique sig to MBR if needed\n");
+   printf("\t-@ | --append-binary-args file  append extra args from file 
(use \"-\" for stdin)\n");
++  printf("\t   | --help show help/usage\n");
+ }
+ 
+ static void
+@@ -863,6 +864,7 @@ parse_opts(int argc, char **argv)
+   {"version",no_argument, 0, 'V'},
+   {"write-signature",no_argument, 0, 'w'},
+   {"append-binary-args", required_argument, 0, '@'},
++  {"help",   no_argument, 0,   2},
+   {0, 0, 0, 0}
+   };
+ 
+@@ -1014,6 +1016,10 @@ parse_opts(int argc, char **argv)
+   opts.write_signature = 1;
+   break;
+ 
++  case 2:
++  usage();
++  exit(1);
++
+   default:
+   usage();
+   exit(1);
+diff --git a/src/lib/efi.c b/src/lib/efi.c
+index a4ce5cf..8ef8be8 100644
+--- a/src/lib/efi.c
 b/src/lib/efi.c
+@@ -70,6 +70,16 @@ efi_guid_unparse(efi_guid_t *guid, char *out)
+ return out;
+ }
+ 
++char *
++tilt_slashes(char *s)
++{
++  char *p;
++  for (p = s; *p; p++)
++  if (*p == '/')
++  *p = '\\';
++  return s;
++}
++
+ void
+ set_fs_kernel_calls()
+ 

[arch-commits] Commit in efibootmgr/repos (6 files)

2016-08-18 Thread Tobias Powalowski
Date: Thursday, August 18, 2016 @ 16:16:57
  Author: tpowa
Revision: 273921

archrelease: copy trunk to testing-x86_64, testing-i686

Added:
  efibootmgr/repos/testing-i686/
  efibootmgr/repos/testing-i686/PKGBUILD
(from rev 273920, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch
(from rev 273920, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
  efibootmgr/repos/testing-x86_64/
  efibootmgr/repos/testing-x86_64/PKGBUILD
(from rev 273920, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-x86_64/efibootmgr-tilt_slashes-func.patch
(from rev 273920, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)

---+
 testing-i686/PKGBUILD |   53 +
 testing-i686/efibootmgr-tilt_slashes-func.patch   |   61 
 testing-x86_64/PKGBUILD   |   53 +
 testing-x86_64/efibootmgr-tilt_slashes-func.patch |   61 
 4 files changed, 228 insertions(+)

Copied: efibootmgr/repos/testing-i686/PKGBUILD (from rev 273920, 
efibootmgr/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-08-18 16:16:57 UTC (rev 273921)
@@ -0,0 +1,53 @@
+# Maintainer: Tobias Powalowski 
+# Contributor: Murtuza Akhtari 
+# Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) 
(gemmaeiil) (ddoott) (ccoomm)>
+
+pkgname="efibootmgr"
+pkgdesc="Tool to modify UEFI Firmware Boot Manager Variables"
+pkgver=13
+pkgrel=1
+arch=('x86_64' 'i686')
+url="https://github.com/rhinstaller/efibootmgr;
+license=('GPL2')
+makedepends=('git')
+depends=('pciutils' 'efivar' 'zlib')
+options=('strip' 'zipman' 'docs' '!emptydirs')
+
+source=("efibootmgr::git+https://github.com/rhinstaller/efibootmgr.git#tag=${pkgver};)
+#source=("efibootmgr::git+https://github.com/rhinstaller/efibootmgr.git#commit=5e9700c2252eed45f4568f3a7c08c866c2c83c0b;)
+sha1sums=('SKIP')
+
+pkgver() {
+   cd "${srcdir}/efibootmgr/"
+   echo "$(git describe --tags)" | sed -e 's|efibootmgr-||g' -e 's|-|\.|g'
+}
+
+prepare() {
+   
+   cd "${srcdir}/efibootmgr/"
+   
+   git clean -x -d -f
+   echo
+   
+}
+
+build() {
+   
+   cd "${srcdir}/efibootmgr/"
+   
+   make EXTRA_CFLAGS="-Os"
+   echo
+   
+}
+
+package() {
+   
+   cd "${srcdir}/efibootmgr/"
+   
+   install -d "${pkgdir}/usr/bin/"
+   install -D -m0755 "${srcdir}/efibootmgr/src/efibootmgr" 
"${pkgdir}/usr/bin/efibootmgr"
+   
+   install -d "${pkgdir}/usr/share/man/man8/"
+   install -D -m0644 "${srcdir}/efibootmgr/src/efibootmgr.8" 
"${pkgdir}/usr/share/man/man8/efibootmgr.8"
+   
+}

Copied: efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch (from 
rev 273920, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
===
--- testing-i686/efibootmgr-tilt_slashes-func.patch 
(rev 0)
+++ testing-i686/efibootmgr-tilt_slashes-func.patch 2016-08-18 16:16:57 UTC 
(rev 273921)
@@ -0,0 +1,61 @@
+diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
+index 236365a..9883961 100644
+--- a/src/efibootmgr/efibootmgr.c
 b/src/efibootmgr/efibootmgr.c
+@@ -803,6 +803,7 @@ usage()
+   printf("\t-V | --version  return version and exit\n");
+   printf("\t-w | --write-signature  write unique sig to MBR if needed\n");
+   printf("\t-@ | --append-binary-args file  append extra args from file 
(use \"-\" for stdin)\n");
++  printf("\t   | --help show help/usage\n");
+ }
+ 
+ static void
+@@ -863,6 +864,7 @@ parse_opts(int argc, char **argv)
+   {"version",no_argument, 0, 'V'},
+   {"write-signature",no_argument, 0, 'w'},
+   {"append-binary-args", required_argument, 0, '@'},
++  {"help",   no_argument, 0,   2},
+   {0, 0, 0, 0}
+   };
+ 
+@@ -1014,6 +1016,10 @@ parse_opts(int argc, char **argv)
+   opts.write_signature = 1;
+   break;
+ 
++  case 2:
++  usage();
++  exit(1);
++
+   default:
+   usage();
+   exit(1);
+diff --git a/src/lib/efi.c b/src/lib/efi.c
+index a4ce5cf..8ef8be8 100644
+--- a/src/lib/efi.c
 b/src/lib/efi.c
+@@ -70,6 +70,16 @@ efi_guid_unparse(efi_guid_t *guid, char *out)
+ return out;
+ }
+ 
++char *
++tilt_slashes(char *s)
++{
++  char *p;
++  for (p = s; *p; p++)
++  if (*p == '/')
++  *p = '\\';
++  return s;
++}
++
+ void
+ set_fs_kernel_calls()
+ {

[arch-commits] Commit in efibootmgr/repos (6 files)

2016-05-30 Thread Tobias Powalowski
Date: Monday, May 30, 2016 @ 20:38:19
  Author: tpowa
Revision: 268753

archrelease: copy trunk to testing-x86_64, testing-i686

Added:
  efibootmgr/repos/testing-i686/
  efibootmgr/repos/testing-i686/PKGBUILD
(from rev 268752, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch
(from rev 268752, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
  efibootmgr/repos/testing-x86_64/
  efibootmgr/repos/testing-x86_64/PKGBUILD
(from rev 268752, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-x86_64/efibootmgr-tilt_slashes-func.patch
(from rev 268752, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)

---+
 testing-i686/PKGBUILD |   53 +
 testing-i686/efibootmgr-tilt_slashes-func.patch   |   61 
 testing-x86_64/PKGBUILD   |   53 +
 testing-x86_64/efibootmgr-tilt_slashes-func.patch |   61 
 4 files changed, 228 insertions(+)

Copied: efibootmgr/repos/testing-i686/PKGBUILD (from rev 268752, 
efibootmgr/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-05-30 18:38:19 UTC (rev 268753)
@@ -0,0 +1,53 @@
+# Maintainer: Tobias Powalowski 
+# Contributor: Murtuza Akhtari 
+# Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) 
(gemmaeiil) (ddoott) (ccoomm)>
+
+pkgname="efibootmgr"
+pkgdesc="Tool to modify UEFI Firmware Boot Manager Variables"
+pkgver=0.12.27.g5e9700c
+pkgrel=1
+arch=('x86_64' 'i686')
+url="https://github.com/rhinstaller/efibootmgr;
+license=('GPL2')
+makedepends=('git')
+depends=('pciutils' 'efivar' 'zlib')
+options=('strip' 'zipman' 'docs' '!emptydirs')
+
+#source=("efibootmgr::git+https://github.com/rhinstaller/efibootmgr.git#tag=efibootmgr-${pkgver};)
+source=("efibootmgr::git+https://github.com/rhinstaller/efibootmgr.git#commit=5e9700c2252eed45f4568f3a7c08c866c2c83c0b;)
+sha1sums=('SKIP')
+
+pkgver() {
+   cd "${srcdir}/efibootmgr/"
+   echo "$(git describe --tags)" | sed -e 's|efibootmgr-||g' -e 's|-|\.|g'
+}
+
+prepare() {
+   
+   cd "${srcdir}/efibootmgr/"
+   
+   git clean -x -d -f
+   echo
+   
+}
+
+build() {
+   
+   cd "${srcdir}/efibootmgr/"
+   
+   make EXTRA_CFLAGS="-Os"
+   echo
+   
+}
+
+package() {
+   
+   cd "${srcdir}/efibootmgr/"
+   
+   install -d "${pkgdir}/usr/bin/"
+   install -D -m0755 "${srcdir}/efibootmgr/src/efibootmgr" 
"${pkgdir}/usr/bin/efibootmgr"
+   
+   install -d "${pkgdir}/usr/share/man/man8/"
+   install -D -m0644 "${srcdir}/efibootmgr/src/efibootmgr.8" 
"${pkgdir}/usr/share/man/man8/efibootmgr.8"
+   
+}

Copied: efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch (from 
rev 268752, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
===
--- testing-i686/efibootmgr-tilt_slashes-func.patch 
(rev 0)
+++ testing-i686/efibootmgr-tilt_slashes-func.patch 2016-05-30 18:38:19 UTC 
(rev 268753)
@@ -0,0 +1,61 @@
+diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
+index 236365a..9883961 100644
+--- a/src/efibootmgr/efibootmgr.c
 b/src/efibootmgr/efibootmgr.c
+@@ -803,6 +803,7 @@ usage()
+   printf("\t-V | --version  return version and exit\n");
+   printf("\t-w | --write-signature  write unique sig to MBR if needed\n");
+   printf("\t-@ | --append-binary-args file  append extra args from file 
(use \"-\" for stdin)\n");
++  printf("\t   | --help show help/usage\n");
+ }
+ 
+ static void
+@@ -863,6 +864,7 @@ parse_opts(int argc, char **argv)
+   {"version",no_argument, 0, 'V'},
+   {"write-signature",no_argument, 0, 'w'},
+   {"append-binary-args", required_argument, 0, '@'},
++  {"help",   no_argument, 0,   2},
+   {0, 0, 0, 0}
+   };
+ 
+@@ -1014,6 +1016,10 @@ parse_opts(int argc, char **argv)
+   opts.write_signature = 1;
+   break;
+ 
++  case 2:
++  usage();
++  exit(1);
++
+   default:
+   usage();
+   exit(1);
+diff --git a/src/lib/efi.c b/src/lib/efi.c
+index a4ce5cf..8ef8be8 100644
+--- a/src/lib/efi.c
 b/src/lib/efi.c
+@@ -70,6 +70,16 @@ efi_guid_unparse(efi_guid_t *guid, char *out)
+ return out;
+ }
+ 
++char *
++tilt_slashes(char *s)
++{
++  char *p;
++  for (p = s; *p; p++)
++  if (*p == '/')
++  *p = '\\';
++  return s;
++}
++
+ void
+ 

[arch-commits] Commit in efibootmgr/repos (6 files)

2016-05-12 Thread Tobias Powalowski
Date: Thursday, May 12, 2016 @ 15:19:56
  Author: tpowa
Revision: 267871

archrelease: copy trunk to testing-x86_64, testing-i686

Added:
  efibootmgr/repos/testing-i686/
  efibootmgr/repos/testing-i686/PKGBUILD
(from rev 267870, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch
(from rev 267870, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
  efibootmgr/repos/testing-x86_64/
  efibootmgr/repos/testing-x86_64/PKGBUILD
(from rev 267870, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-x86_64/efibootmgr-tilt_slashes-func.patch
(from rev 267870, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)

---+
 testing-i686/PKGBUILD |   53 +
 testing-i686/efibootmgr-tilt_slashes-func.patch   |   61 
 testing-x86_64/PKGBUILD   |   53 +
 testing-x86_64/efibootmgr-tilt_slashes-func.patch |   61 
 4 files changed, 228 insertions(+)

Copied: efibootmgr/repos/testing-i686/PKGBUILD (from rev 267870, 
efibootmgr/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-05-12 13:19:56 UTC (rev 267871)
@@ -0,0 +1,53 @@
+# Maintainer: Tobias Powalowski 
+# Contributor: Murtuza Akhtari 
+# Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) 
(gemmaeiil) (ddoott) (ccoomm)>
+
+pkgname="efibootmgr"
+pkgdesc="Tool to modify UEFI Firmware Boot Manager Variables"
+pkgver=0.12.25.g75d2580
+pkgrel=1
+arch=('x86_64' 'i686')
+url="https://github.com/rhinstaller/efibootmgr;
+license=('GPL2')
+makedepends=('git')
+depends=('pciutils' 'efivar' 'zlib')
+options=('strip' 'zipman' 'docs' '!emptydirs')
+
+#source=("efibootmgr::git+https://github.com/rhinstaller/efibootmgr.git#tag=efibootmgr-${pkgver};)
+source=("efibootmgr::git+https://github.com/rhinstaller/efibootmgr.git#commit=75d25807ba81cb724964c989012611272c8f1f5d;)
+sha1sums=('SKIP')
+
+pkgver() {
+   cd "${srcdir}/efibootmgr/"
+   echo "$(git describe --tags)" | sed -e 's|efibootmgr-||g' -e 's|-|\.|g'
+}
+
+prepare() {
+   
+   cd "${srcdir}/efibootmgr/"
+   
+   git clean -x -d -f
+   echo
+   
+}
+
+build() {
+   
+   cd "${srcdir}/efibootmgr/"
+   
+   make EXTRA_CFLAGS="-Os"
+   echo
+   
+}
+
+package() {
+   
+   cd "${srcdir}/efibootmgr/"
+   
+   install -d "${pkgdir}/usr/bin/"
+   install -D -m0755 "${srcdir}/efibootmgr/src/efibootmgr" 
"${pkgdir}/usr/bin/efibootmgr"
+   
+   install -d "${pkgdir}/usr/share/man/man8/"
+   install -D -m0644 "${srcdir}/efibootmgr/src/efibootmgr.8" 
"${pkgdir}/usr/share/man/man8/efibootmgr.8"
+   
+}

Copied: efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch (from 
rev 267870, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
===
--- testing-i686/efibootmgr-tilt_slashes-func.patch 
(rev 0)
+++ testing-i686/efibootmgr-tilt_slashes-func.patch 2016-05-12 13:19:56 UTC 
(rev 267871)
@@ -0,0 +1,61 @@
+diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
+index 236365a..9883961 100644
+--- a/src/efibootmgr/efibootmgr.c
 b/src/efibootmgr/efibootmgr.c
+@@ -803,6 +803,7 @@ usage()
+   printf("\t-V | --version  return version and exit\n");
+   printf("\t-w | --write-signature  write unique sig to MBR if needed\n");
+   printf("\t-@ | --append-binary-args file  append extra args from file 
(use \"-\" for stdin)\n");
++  printf("\t   | --help show help/usage\n");
+ }
+ 
+ static void
+@@ -863,6 +864,7 @@ parse_opts(int argc, char **argv)
+   {"version",no_argument, 0, 'V'},
+   {"write-signature",no_argument, 0, 'w'},
+   {"append-binary-args", required_argument, 0, '@'},
++  {"help",   no_argument, 0,   2},
+   {0, 0, 0, 0}
+   };
+ 
+@@ -1014,6 +1016,10 @@ parse_opts(int argc, char **argv)
+   opts.write_signature = 1;
+   break;
+ 
++  case 2:
++  usage();
++  exit(1);
++
+   default:
+   usage();
+   exit(1);
+diff --git a/src/lib/efi.c b/src/lib/efi.c
+index a4ce5cf..8ef8be8 100644
+--- a/src/lib/efi.c
 b/src/lib/efi.c
+@@ -70,6 +70,16 @@ efi_guid_unparse(efi_guid_t *guid, char *out)
+ return out;
+ }
+ 
++char *
++tilt_slashes(char *s)
++{
++  char *p;
++  for (p = s; *p; p++)
++  if (*p == '/')
++  *p = '\\';
++  return s;
++}
++
+ void
+ 

[arch-commits] Commit in efibootmgr/repos (6 files)

2015-06-13 Thread Tobias Powalowski
Date: Saturday, June 13, 2015 @ 21:58:29
  Author: tpowa
Revision: 240737

archrelease: copy trunk to testing-x86_64, testing-i686

Added:
  efibootmgr/repos/testing-i686/
  efibootmgr/repos/testing-i686/PKGBUILD
(from rev 240736, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch
(from rev 240736, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
  efibootmgr/repos/testing-x86_64/
  efibootmgr/repos/testing-x86_64/PKGBUILD
(from rev 240736, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-x86_64/efibootmgr-tilt_slashes-func.patch
(from rev 240736, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)

---+
 testing-i686/PKGBUILD |   53 +
 testing-i686/efibootmgr-tilt_slashes-func.patch   |   61 
 testing-x86_64/PKGBUILD   |   53 +
 testing-x86_64/efibootmgr-tilt_slashes-func.patch |   61 
 4 files changed, 228 insertions(+)

Copied: efibootmgr/repos/testing-i686/PKGBUILD (from rev 240736, 
efibootmgr/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-06-13 19:58:29 UTC (rev 240737)
@@ -0,0 +1,53 @@
+# Maintainer: Tobias Powalowski tp...@archlinux.org
+# Contributor: Murtuza Akhtari inxsible at gmail dot com
+# Contributor: Keshav Amburay (the ddoott ridikulus ddoott rat) (aatt) 
(gemmaeiil) (ddoott) (ccoomm)
+
+pkgname=efibootmgr
+pkgdesc=Tool to modify UEFI Firmware Boot Manager Variables
+pkgver=0.12
+pkgrel=1
+arch=('x86_64' 'i686')
+url=https://github.com/vathpela/efibootmgr;
+license=('GPL2')
+makedepends=('git')
+depends=('pciutils' 'efivar' 'zlib')
+options=('strip' 'zipman' 'docs' '!emptydirs')
+
+source=(efibootmgr::git+https://github.com/vathpela/efibootmgr.git#tag=efibootmgr-${pkgver};)
+#source=(efibootmgr::git+https://github.com/vathpela/efibootmgr.git#commit=099e1107489a24e019e8900f1c44da646945c343;)
+sha1sums=('SKIP')
+
+pkgver() {
+   cd ${srcdir}/efibootmgr/
+   echo $(git describe --tags) | sed -e 's|efibootmgr-||g' -e 's|-|\.|g'
+}
+
+prepare() {
+   
+   cd ${srcdir}/efibootmgr/
+   
+   git clean -x -d -f
+   echo
+   
+}
+
+build() {
+   
+   cd ${srcdir}/efibootmgr/
+   
+   make EXTRA_CFLAGS=-Os
+   echo
+   
+}
+
+package() {
+   
+   cd ${srcdir}/efibootmgr/
+   
+   install -d ${pkgdir}/usr/bin/
+   install -D -m0755 ${srcdir}/efibootmgr/src/efibootmgr/efibootmgr 
${pkgdir}/usr/bin/efibootmgr
+   
+   install -d ${pkgdir}/usr/share/man/man8/
+   install -D -m0644 ${srcdir}/efibootmgr/src/man/man8/efibootmgr.8 
${pkgdir}/usr/share/man/man8/efibootmgr.8
+   
+}

Copied: efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch (from 
rev 240736, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
===
--- testing-i686/efibootmgr-tilt_slashes-func.patch 
(rev 0)
+++ testing-i686/efibootmgr-tilt_slashes-func.patch 2015-06-13 19:58:29 UTC 
(rev 240737)
@@ -0,0 +1,61 @@
+diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
+index 236365a..9883961 100644
+--- a/src/efibootmgr/efibootmgr.c
 b/src/efibootmgr/efibootmgr.c
+@@ -803,6 +803,7 @@ usage()
+   printf(\t-V | --version  return version and exit\n);
+   printf(\t-w | --write-signature  write unique sig to MBR if needed\n);
+   printf(\t-@ | --append-binary-args file  append extra args from file 
(use \-\ for stdin)\n);
++  printf(\t   | --help show help/usage\n);
+ }
+ 
+ static void
+@@ -863,6 +864,7 @@ parse_opts(int argc, char **argv)
+   {version,no_argument, 0, 'V'},
+   {write-signature,no_argument, 0, 'w'},
+   {append-binary-args, required_argument, 0, '@'},
++  {help,   no_argument, 0,   2},
+   {0, 0, 0, 0}
+   };
+ 
+@@ -1014,6 +1016,10 @@ parse_opts(int argc, char **argv)
+   opts.write_signature = 1;
+   break;
+ 
++  case 2:
++  usage();
++  exit(1);
++
+   default:
+   usage();
+   exit(1);
+diff --git a/src/lib/efi.c b/src/lib/efi.c
+index a4ce5cf..8ef8be8 100644
+--- a/src/lib/efi.c
 b/src/lib/efi.c
+@@ -70,6 +70,16 @@ efi_guid_unparse(efi_guid_t *guid, char *out)
+ return out;
+ }
+ 
++char *
++tilt_slashes(char *s)
++{
++  char *p;
++  for (p = s; *p; p++)
++  if (*p == '/')
++  *p = '\\';
++  return s;
++}
++
+ void
+ set_fs_kernel_calls()
+ {
+@@ 

[arch-commits] Commit in efibootmgr/repos (6 files)

2014-10-31 Thread Anatol Pomozov
Date: Saturday, November 1, 2014 @ 05:12:53
  Author: anatolik
Revision: 225528

archrelease: copy trunk to testing-x86_64, testing-i686

Added:
  efibootmgr/repos/testing-i686/
  efibootmgr/repos/testing-i686/PKGBUILD
(from rev 225527, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch
(from rev 225527, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
  efibootmgr/repos/testing-x86_64/
  efibootmgr/repos/testing-x86_64/PKGBUILD
(from rev 225526, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-x86_64/efibootmgr-tilt_slashes-func.patch
(from rev 225526, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)

---+
 testing-i686/PKGBUILD |   53 +
 testing-i686/efibootmgr-tilt_slashes-func.patch   |   61 
 testing-x86_64/PKGBUILD   |   53 +
 testing-x86_64/efibootmgr-tilt_slashes-func.patch |   61 
 4 files changed, 228 insertions(+)

Copied: efibootmgr/repos/testing-i686/PKGBUILD (from rev 225527, 
efibootmgr/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-11-01 04:12:53 UTC (rev 225528)
@@ -0,0 +1,53 @@
+# Maintainer: Tobias Powalowski tp...@archlinux.org
+# Contributor: Murtuza Akhtari inxsible at gmail dot com
+# Contributor: Keshav Amburay (the ddoott ridikulus ddoott rat) (aatt) 
(gemmaeiil) (ddoott) (ccoomm)
+
+pkgname=efibootmgr
+pkgdesc=Tool to modify UEFI Firmware Boot Manager Variables
+pkgver=0.10.0
+pkgrel=1
+arch=('x86_64' 'i686')
+url=https://github.com/vathpela/efibootmgr;
+license=('GPL2')
+makedepends=('git')
+depends=('pciutils' 'efivar' 'zlib')
+options=('strip' 'zipman' 'docs' '!emptydirs')
+
+source=(efibootmgr::git+https://github.com/vathpela/efibootmgr.git#tag=efibootmgr-${pkgver};)
+#source=(efibootmgr::git+https://github.com/vathpela/efibootmgr.git#commit=099e1107489a24e019e8900f1c44da646945c343;)
+sha1sums=('SKIP')
+
+pkgver() {
+   cd ${srcdir}/efibootmgr/
+   echo $(git describe --tags) | sed -e 's|efibootmgr-||g' -e 's|-|\.|g'
+}
+
+prepare() {
+   
+   cd ${srcdir}/efibootmgr/
+   
+   git clean -x -d -f
+   echo
+   
+}
+
+build() {
+   
+   cd ${srcdir}/efibootmgr/
+   
+   make EXTRA_CFLAGS=-Os
+   echo
+   
+}
+
+package() {
+   
+   cd ${srcdir}/efibootmgr/
+   
+   install -d ${pkgdir}/usr/bin/
+   install -D -m0755 ${srcdir}/efibootmgr/src/efibootmgr/efibootmgr 
${pkgdir}/usr/bin/efibootmgr
+   
+   install -d ${pkgdir}/usr/share/man/man8/
+   install -D -m0644 ${srcdir}/efibootmgr/src/man/man8/efibootmgr.8 
${pkgdir}/usr/share/man/man8/efibootmgr.8
+   
+}

Copied: efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch (from 
rev 225527, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
===
--- testing-i686/efibootmgr-tilt_slashes-func.patch 
(rev 0)
+++ testing-i686/efibootmgr-tilt_slashes-func.patch 2014-11-01 04:12:53 UTC 
(rev 225528)
@@ -0,0 +1,61 @@
+diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
+index 236365a..9883961 100644
+--- a/src/efibootmgr/efibootmgr.c
 b/src/efibootmgr/efibootmgr.c
+@@ -803,6 +803,7 @@ usage()
+   printf(\t-V | --version  return version and exit\n);
+   printf(\t-w | --write-signature  write unique sig to MBR if needed\n);
+   printf(\t-@ | --append-binary-args file  append extra args from file 
(use \-\ for stdin)\n);
++  printf(\t   | --help show help/usage\n);
+ }
+ 
+ static void
+@@ -863,6 +864,7 @@ parse_opts(int argc, char **argv)
+   {version,no_argument, 0, 'V'},
+   {write-signature,no_argument, 0, 'w'},
+   {append-binary-args, required_argument, 0, '@'},
++  {help,   no_argument, 0,   2},
+   {0, 0, 0, 0}
+   };
+ 
+@@ -1014,6 +1016,10 @@ parse_opts(int argc, char **argv)
+   opts.write_signature = 1;
+   break;
+ 
++  case 2:
++  usage();
++  exit(1);
++
+   default:
+   usage();
+   exit(1);
+diff --git a/src/lib/efi.c b/src/lib/efi.c
+index a4ce5cf..8ef8be8 100644
+--- a/src/lib/efi.c
 b/src/lib/efi.c
+@@ -70,6 +70,16 @@ efi_guid_unparse(efi_guid_t *guid, char *out)
+ return out;
+ }
+ 
++char *
++tilt_slashes(char *s)
++{
++  char *p;
++  for (p = s; *p; p++)
++  if (*p == '/')
++  *p = '\\';
++  return s;
++}
++
+ void
+ set_fs_kernel_calls()
+ 

[arch-commits] Commit in efibootmgr/repos (6 files)

2014-09-10 Thread Tobias Powalowski
Date: Wednesday, September 10, 2014 @ 09:14:27
  Author: tpowa
Revision: 221364

archrelease: copy trunk to testing-x86_64, testing-i686

Added:
  efibootmgr/repos/testing-i686/
  efibootmgr/repos/testing-i686/PKGBUILD
(from rev 221363, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch
(from rev 221363, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
  efibootmgr/repos/testing-x86_64/
  efibootmgr/repos/testing-x86_64/PKGBUILD
(from rev 221363, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-x86_64/efibootmgr-tilt_slashes-func.patch
(from rev 221363, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)

---+
 testing-i686/PKGBUILD |   53 +
 testing-i686/efibootmgr-tilt_slashes-func.patch   |   61 
 testing-x86_64/PKGBUILD   |   53 +
 testing-x86_64/efibootmgr-tilt_slashes-func.patch |   61 
 4 files changed, 228 insertions(+)

Copied: efibootmgr/repos/testing-i686/PKGBUILD (from rev 221363, 
efibootmgr/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-09-10 07:14:27 UTC (rev 221364)
@@ -0,0 +1,53 @@
+# Maintainer: Tobias Powalowski tp...@archlinux.org
+# Contributor: Murtuza Akhtari inxsible at gmail dot com
+# Contributor: Keshav Amburay (the ddoott ridikulus ddoott rat) (aatt) 
(gemmaeiil) (ddoott) (ccoomm)
+
+pkgname=efibootmgr
+pkgdesc=Tool to modify UEFI Firmware Boot Manager Variables
+pkgver=0.8.0
+pkgrel=1
+arch=('x86_64' 'i686')
+url=https://github.com/vathpela/efibootmgr;
+license=('GPL2')
+makedepends=('git')
+depends=('pciutils' 'efivar' 'zlib')
+options=('strip' 'zipman' 'docs' '!emptydirs')
+
+source=(efibootmgr::git+https://github.com/vathpela/efibootmgr.git#tag=efibootmgr-${pkgver};)
+#source=(efibootmgr::git+https://github.com/vathpela/efibootmgr.git#commit=099e1107489a24e019e8900f1c44da646945c343;)
+sha1sums=('SKIP')
+
+pkgver() {
+   cd ${srcdir}/efibootmgr/
+   echo $(git describe --tags) | sed -e 's|efibootmgr-||g' -e 's|-|\.|g'
+}
+
+prepare() {
+   
+   cd ${srcdir}/efibootmgr/
+   
+   git clean -x -d -f
+   echo
+   
+}
+
+build() {
+   
+   cd ${srcdir}/efibootmgr/
+   
+   make EXTRA_CFLAGS=-Os
+   echo
+   
+}
+
+package() {
+   
+   cd ${srcdir}/efibootmgr/
+   
+   install -d ${pkgdir}/usr/bin/
+   install -D -m0755 ${srcdir}/efibootmgr/src/efibootmgr/efibootmgr 
${pkgdir}/usr/bin/efibootmgr
+   
+   install -d ${pkgdir}/usr/share/man/man8/
+   install -D -m0644 ${srcdir}/efibootmgr/src/man/man8/efibootmgr.8 
${pkgdir}/usr/share/man/man8/efibootmgr.8
+   
+}

Copied: efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch (from 
rev 221363, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
===
--- testing-i686/efibootmgr-tilt_slashes-func.patch 
(rev 0)
+++ testing-i686/efibootmgr-tilt_slashes-func.patch 2014-09-10 07:14:27 UTC 
(rev 221364)
@@ -0,0 +1,61 @@
+diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
+index 236365a..9883961 100644
+--- a/src/efibootmgr/efibootmgr.c
 b/src/efibootmgr/efibootmgr.c
+@@ -803,6 +803,7 @@ usage()
+   printf(\t-V | --version  return version and exit\n);
+   printf(\t-w | --write-signature  write unique sig to MBR if needed\n);
+   printf(\t-@ | --append-binary-args file  append extra args from file 
(use \-\ for stdin)\n);
++  printf(\t   | --help show help/usage\n);
+ }
+ 
+ static void
+@@ -863,6 +864,7 @@ parse_opts(int argc, char **argv)
+   {version,no_argument, 0, 'V'},
+   {write-signature,no_argument, 0, 'w'},
+   {append-binary-args, required_argument, 0, '@'},
++  {help,   no_argument, 0,   2},
+   {0, 0, 0, 0}
+   };
+ 
+@@ -1014,6 +1016,10 @@ parse_opts(int argc, char **argv)
+   opts.write_signature = 1;
+   break;
+ 
++  case 2:
++  usage();
++  exit(1);
++
+   default:
+   usage();
+   exit(1);
+diff --git a/src/lib/efi.c b/src/lib/efi.c
+index a4ce5cf..8ef8be8 100644
+--- a/src/lib/efi.c
 b/src/lib/efi.c
+@@ -70,6 +70,16 @@ efi_guid_unparse(efi_guid_t *guid, char *out)
+ return out;
+ }
+ 
++char *
++tilt_slashes(char *s)
++{
++  char *p;
++  for (p = s; *p; p++)
++  if (*p == '/')
++  *p = '\\';
++  return s;
++}
++
+ void
+ set_fs_kernel_calls()
+ 

[arch-commits] Commit in efibootmgr/repos (6 files)

2014-08-01 Thread Tobias Powalowski
Date: Friday, August 1, 2014 @ 12:09:07
  Author: tpowa
Revision: 218484

archrelease: copy trunk to testing-x86_64, testing-i686

Added:
  efibootmgr/repos/testing-i686/
  efibootmgr/repos/testing-i686/PKGBUILD
(from rev 218483, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch
(from rev 218483, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
  efibootmgr/repos/testing-x86_64/
  efibootmgr/repos/testing-x86_64/PKGBUILD
(from rev 218483, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-x86_64/efibootmgr-tilt_slashes-func.patch
(from rev 218483, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)

---+
 testing-i686/PKGBUILD |   54 +
 testing-i686/efibootmgr-tilt_slashes-func.patch   |   61 
 testing-x86_64/PKGBUILD   |   54 +
 testing-x86_64/efibootmgr-tilt_slashes-func.patch |   61 
 4 files changed, 230 insertions(+)

Copied: efibootmgr/repos/testing-i686/PKGBUILD (from rev 218483, 
efibootmgr/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-08-01 10:09:07 UTC (rev 218484)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Tobias Powalowski tp...@archlinux.org
+# Contributor: Murtuza Akhtari inxsible at gmail dot com
+# Contributor: Keshav Amburay (the ddoott ridikulus ddoott rat) (aatt) 
(gemmaeiil) (ddoott) (ccoomm)
+
+pkgname=efibootmgr
+pkgdesc=Tool to modify UEFI Firmware Boot Manager Variables
+pkgver=0.7.0.16.g099e110
+pkgrel=1
+arch=('x86_64' 'i686')
+url=https://github.com/vathpela/efibootmgr;
+license=('GPL2')
+makedepends=('git')
+depends=('pciutils' 'efivar' 'zlib')
+options=('strip' 'zipman' 'docs' '!emptydirs')
+
+# 
source=(efibootmgr::git+https://github.com/vathpela/efibootmgr.git#tag=efibootmgr-${pkgver};)
+source=(efibootmgr::git+https://github.com/vathpela/efibootmgr.git#commit=099e1107489a24e019e8900f1c44da646945c343;)
+sha1sums=('SKIP')
+
+pkgver() {
+   cd ${srcdir}/efibootmgr/
+   echo $(git describe --tags) | sed -e 's|efibootmgr-||g' -e 's|-|\.|g'
+}
+
+prepare() {
+   
+   cd ${srcdir}/efibootmgr/
+   
+   git clean -x -d -f
+   echo
+   
+}
+
+build() {
+   
+   cd ${srcdir}/efibootmgr/
+   
+   make EXTRA_CFLAGS=-Os
+   echo
+   
+}
+
+package() {
+   
+   cd ${srcdir}/efibootmgr/
+   
+   install -d ${pkgdir}/usr/bin/
+   install -D -m0755 ${srcdir}/efibootmgr/src/efibootmgr/efibootmgr 
${pkgdir}/usr/bin/efibootmgr
+   
+   install -d ${pkgdir}/usr/share/man/man8/
+   install -D -m0644 ${srcdir}/efibootmgr/src/man/man8/efibootmgr.8 
${pkgdir}/usr/share/man/man8/efibootmgr.8
+   
+}

Copied: efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch (from 
rev 218483, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
===
--- testing-i686/efibootmgr-tilt_slashes-func.patch 
(rev 0)
+++ testing-i686/efibootmgr-tilt_slashes-func.patch 2014-08-01 10:09:07 UTC 
(rev 218484)
@@ -0,0 +1,61 @@
+diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
+index 236365a..9883961 100644
+--- a/src/efibootmgr/efibootmgr.c
 b/src/efibootmgr/efibootmgr.c
+@@ -803,6 +803,7 @@ usage()
+   printf(\t-V | --version  return version and exit\n);
+   printf(\t-w | --write-signature  write unique sig to MBR if needed\n);
+   printf(\t-@ | --append-binary-args file  append extra args from file 
(use \-\ for stdin)\n);
++  printf(\t   | --help show help/usage\n);
+ }
+ 
+ static void
+@@ -863,6 +864,7 @@ parse_opts(int argc, char **argv)
+   {version,no_argument, 0, 'V'},
+   {write-signature,no_argument, 0, 'w'},
+   {append-binary-args, required_argument, 0, '@'},
++  {help,   no_argument, 0,   2},
+   {0, 0, 0, 0}
+   };
+ 
+@@ -1014,6 +1016,10 @@ parse_opts(int argc, char **argv)
+   opts.write_signature = 1;
+   break;
+ 
++  case 2:
++  usage();
++  exit(1);
++
+   default:
+   usage();
+   exit(1);
+diff --git a/src/lib/efi.c b/src/lib/efi.c
+index a4ce5cf..8ef8be8 100644
+--- a/src/lib/efi.c
 b/src/lib/efi.c
+@@ -70,6 +70,16 @@ efi_guid_unparse(efi_guid_t *guid, char *out)
+ return out;
+ }
+ 
++char *
++tilt_slashes(char *s)
++{
++  char *p;
++  for (p = s; *p; p++)
++  if (*p == '/')
++  *p = '\\';
++  return s;
++}
++
+ void
+ 

[arch-commits] Commit in efibootmgr/repos (6 files)

2014-02-24 Thread Tobias Powalowski
Date: Monday, February 24, 2014 @ 12:47:14
  Author: tpowa
Revision: 206360

archrelease: copy trunk to testing-x86_64, testing-i686

Added:
  efibootmgr/repos/testing-i686/
  efibootmgr/repos/testing-i686/PKGBUILD
(from rev 206359, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch
(from rev 206359, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
  efibootmgr/repos/testing-x86_64/
  efibootmgr/repos/testing-x86_64/PKGBUILD
(from rev 206359, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-x86_64/efibootmgr-tilt_slashes-func.patch
(from rev 206359, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)

---+
 testing-i686/PKGBUILD |   57 ++
 testing-i686/efibootmgr-tilt_slashes-func.patch   |   61 
 testing-x86_64/PKGBUILD   |   57 ++
 testing-x86_64/efibootmgr-tilt_slashes-func.patch |   61 
 4 files changed, 236 insertions(+)

Copied: efibootmgr/repos/testing-i686/PKGBUILD (from rev 206359, 
efibootmgr/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-02-24 11:47:14 UTC (rev 206360)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Tobias Powalowski tp...@archlinux.org
+# Contributor: Murtuza Akhtari inxsible at gmail dot com
+# Contributor: Keshav Amburay (the ddoott ridikulus ddoott rat) (aatt) 
(gemmaeiil) (ddoott) (ccoomm)
+
+_pkgname=efibootmgr
+pkgname=${_pkgname}
+
+_gitroot=https://github.com/vathpela/efibootmgr.git;
+_gitname=${_pkgname}
+_gitbranch=master
+
+_GIT_COMMIT=f4e29e4200ed1e866c9cf98d2ebdcb8ac2e9826c
+
+pkgver=0.6.1.29.gf4e29e4
+pkgrel=1
+pkgdesc=Tool to modify UEFI Firmware Boot Manager Variables
+arch=('x86_64' 'i686')
+url=https://github.com/vathpela/efibootmgr;
+license=('GPL2')
+makedepends=('git')
+depends=('pciutils' 'efivar' 'zlib')
+conflicts=(${_pkgname}-pjones)
+provides=(${_pkgname}-pjones=${pkgver})
+options=('strip' 'zipman' '!emptydirs')
+
+source=(${_gitname}::git+${_gitroot}#commit=${_GIT_COMMIT})
+sha1sums=('SKIP')
+
+pkgver() {
+   cd ${srcdir}/${_gitname}/
+   echo $(git describe --tags) | sed -e 's|-|\.|g'
+}
+
+build() {
+   
+   rm -rf ${srcdir}/${_gitname}_build/ || true
+   cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}_build
+   
+   cd ${srcdir}/${_gitname}_build/
+   
+   make EXTRA_CFLAGS=-Os
+   echo
+   
+}
+
+package() {
+   
+   cd ${srcdir}/${_gitname}_build/
+   
+   install -d ${pkgdir}/usr/bin/
+   install -D -m0755 
${srcdir}/${_gitname}_build/src/efibootmgr/efibootmgr 
${pkgdir}/usr/bin/efibootmgr
+   
+   install -d ${pkgdir}/usr/share/man/man8/
+   install -D -m0644 
${srcdir}/${_gitname}_build/src/man/man8/efibootmgr.8 
${pkgdir}/usr/share/man/man8/efibootmgr.8
+   
+}

Copied: efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch (from 
rev 206359, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
===
--- testing-i686/efibootmgr-tilt_slashes-func.patch 
(rev 0)
+++ testing-i686/efibootmgr-tilt_slashes-func.patch 2014-02-24 11:47:14 UTC 
(rev 206360)
@@ -0,0 +1,61 @@
+diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
+index 236365a..9883961 100644
+--- a/src/efibootmgr/efibootmgr.c
 b/src/efibootmgr/efibootmgr.c
+@@ -803,6 +803,7 @@ usage()
+   printf(\t-V | --version  return version and exit\n);
+   printf(\t-w | --write-signature  write unique sig to MBR if needed\n);
+   printf(\t-@ | --append-binary-args file  append extra args from file 
(use \-\ for stdin)\n);
++  printf(\t   | --help show help/usage\n);
+ }
+ 
+ static void
+@@ -863,6 +864,7 @@ parse_opts(int argc, char **argv)
+   {version,no_argument, 0, 'V'},
+   {write-signature,no_argument, 0, 'w'},
+   {append-binary-args, required_argument, 0, '@'},
++  {help,   no_argument, 0,   2},
+   {0, 0, 0, 0}
+   };
+ 
+@@ -1014,6 +1016,10 @@ parse_opts(int argc, char **argv)
+   opts.write_signature = 1;
+   break;
+ 
++  case 2:
++  usage();
++  exit(1);
++
+   default:
+   usage();
+   exit(1);
+diff --git a/src/lib/efi.c b/src/lib/efi.c
+index a4ce5cf..8ef8be8 100644
+--- a/src/lib/efi.c
 b/src/lib/efi.c
+@@ -70,6 +70,16 @@ efi_guid_unparse(efi_guid_t *guid, char *out)
+ return out;
+ }
+ 
++char *
++tilt_slashes(char *s)
++{
++  char *p;
++  for (p = s; *p; p++)

[arch-commits] Commit in efibootmgr/repos (6 files)

2013-09-10 Thread Tobias Powalowski
Date: Tuesday, September 10, 2013 @ 09:39:48
  Author: tpowa
Revision: 194023

archrelease: copy trunk to testing-x86_64, testing-i686

Added:
  efibootmgr/repos/testing-i686/
  efibootmgr/repos/testing-i686/PKGBUILD
(from rev 194022, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch
(from rev 194022, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
  efibootmgr/repos/testing-x86_64/
  efibootmgr/repos/testing-x86_64/PKGBUILD
(from rev 194022, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/testing-x86_64/efibootmgr-tilt_slashes-func.patch
(from rev 194022, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)

---+
 testing-i686/PKGBUILD |   59 +++
 testing-i686/efibootmgr-tilt_slashes-func.patch   |   61 
 testing-x86_64/PKGBUILD   |   59 +++
 testing-x86_64/efibootmgr-tilt_slashes-func.patch |   61 
 4 files changed, 240 insertions(+)

Copied: efibootmgr/repos/testing-i686/PKGBUILD (from rev 194022, 
efibootmgr/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2013-09-10 07:39:48 UTC (rev 194023)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Tobias Powalowski tp...@archlinux.org
+# Contributor: Murtuza Akhtari inxsible at gmail dot com
+# Contributor: Keshav Padram Amburay (the.ridikulus.rat) (aatt) (gemmaeiil) 
(ddoott) (ccoomm)
+
+pkgname=efibootmgr
+
+_gitroot=git://github.com/vathpela/efibootmgr.git
+_gitname=${pkgname}-pjones
+_gitbranch=libefivars
+
+pkgver=0.6.0.138.1132342
+pkgrel=1
+pkgdesc=Tool to modify UEFI Firmware Boot Manager Variables
+arch=('x86_64' 'i686')
+url=https://github.com/vathpela/efibootmgr;
+license=('GPL2')
+makedepends=('git')
+depends=('pciutils' 'efivar' 'zlib')
+options=('strip' 'zipman' '!emptydirs' '!libtool')
+
+source=(${_gitname}::git+${_gitroot}#branch=${_gitbranch})
+sha1sums=('SKIP')
+
+pkgver() {
+   cd ${srcdir}/${_gitname}/
+   
+   _RELEASE_MAJOR=$(grep 'RELEASE_MAJOR' ${srcdir}/${_gitname}/Makefile 
| head -1 | sed -e 's|RELEASE_MAJOR := ||g')
+   _RELEASE_MINOR=$(grep 'RELEASE_MINOR' ${srcdir}/${_gitname}/Makefile 
| head -1 | sed -e 's|RELEASE_MINOR := ||g')
+   _RELEASE_SUBLEVEL=$(grep 'RELEASE_SUBLEVEL' 
${srcdir}/${_gitname}/Makefile | head -1 | sed -e 's|RELEASE_SUBLEVEL := 
||g')
+   
+   _ACTUAL_VER=$(echo 
${_RELEASE_MAJOR}.${_RELEASE_MINOR}.${_RELEASE_SUBLEVEL} | sed 's| ||g')
+   
+   echo ${_ACTUAL_VER}.$(git rev-list --count HEAD).$(git rev-parse 
--short HEAD)
+}
+
+build() {
+   
+   rm -rf ${srcdir}/${_gitname}_build/ || true
+   cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}_build
+   
+   cd ${srcdir}/${_gitname}_build/
+   
+   make EXTRA_CFLAGS=-Os
+   echo
+   
+}
+
+package() {
+   
+   cd ${srcdir}/${_gitname}_build/
+   
+   install -d ${pkgdir}/usr/bin/
+   install -D -m0755 
${srcdir}/${_gitname}_build/src/efibootmgr/efibootmgr 
${pkgdir}/usr/bin/efibootmgr
+   
+   install -d ${pkgdir}/usr/share/man/man8/
+   install -D -m0644 
${srcdir}/${_gitname}_build/src/man/man8/efibootmgr.8 
${pkgdir}/usr/share/man/man8/efibootmgr.8
+   
+}

Copied: efibootmgr/repos/testing-i686/efibootmgr-tilt_slashes-func.patch (from 
rev 194022, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
===
--- testing-i686/efibootmgr-tilt_slashes-func.patch 
(rev 0)
+++ testing-i686/efibootmgr-tilt_slashes-func.patch 2013-09-10 07:39:48 UTC 
(rev 194023)
@@ -0,0 +1,61 @@
+diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
+index 236365a..9883961 100644
+--- a/src/efibootmgr/efibootmgr.c
 b/src/efibootmgr/efibootmgr.c
+@@ -803,6 +803,7 @@ usage()
+   printf(\t-V | --version  return version and exit\n);
+   printf(\t-w | --write-signature  write unique sig to MBR if needed\n);
+   printf(\t-@ | --append-binary-args file  append extra args from file 
(use \-\ for stdin)\n);
++  printf(\t   | --help show help/usage\n);
+ }
+ 
+ static void
+@@ -863,6 +864,7 @@ parse_opts(int argc, char **argv)
+   {version,no_argument, 0, 'V'},
+   {write-signature,no_argument, 0, 'w'},
+   {append-binary-args, required_argument, 0, '@'},
++  {help,   no_argument, 0,   2},
+   {0, 0, 0, 0}
+   };
+ 
+@@ -1014,6 +1016,10 @@ parse_opts(int argc, char **argv)
+   opts.write_signature = 1;
+   break;
+ 
++  case 2:
++  usage();
++   

[arch-commits] Commit in efibootmgr/repos (6 files)

2013-06-03 Thread Tobias Powalowski
Date: Monday, June 3, 2013 @ 21:31:59
  Author: tpowa
Revision: 187100

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  efibootmgr/repos/extra-i686/PKGBUILD
(from rev 187099, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/extra-i686/efibootmgr-tilt_slashes-func.patch
(from rev 187099, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
  efibootmgr/repos/extra-x86_64/PKGBUILD
(from rev 187099, efibootmgr/trunk/PKGBUILD)
  efibootmgr/repos/extra-x86_64/efibootmgr-tilt_slashes-func.patch
(from rev 187099, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
Deleted:
  efibootmgr/repos/extra-i686/PKGBUILD
  efibootmgr/repos/extra-x86_64/PKGBUILD

-+
 /PKGBUILD   |   98 ++
 extra-i686/PKGBUILD |   46 --
 extra-i686/efibootmgr-tilt_slashes-func.patch   |   61 +
 extra-x86_64/PKGBUILD   |   46 --
 extra-x86_64/efibootmgr-tilt_slashes-func.patch |   61 +
 5 files changed, 220 insertions(+), 92 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2013-06-03 19:31:43 UTC (rev 187099)
+++ extra-i686/PKGBUILD 2013-06-03 19:31:59 UTC (rev 187100)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Tobias Powalowski tp...@archlinux.org
-# Contributor : Murtuza Akhtari inxsible at gmail dot com
-# Contributor: Keshav P R skodabenz at rocketmail dot com
-
-pkgname=efibootmgr
-pkgver=0.6.0
-pkgrel=2
-pkgdesc=Tool to modify UEFI Firmware Boot Manager Variables.
-arch=('i686' 'x86_64')
-url=http://linux.dell.com/efibootmgr/;
-license=('GPL2')
-depends=('zlib' 'pciutils')
-makedepends=()
-provides=()
-options=(strip purge docs zipman !emptydirs)
-
-source=(http://linux.dell.com/efibootmgr/permalink/${pkgname}-${pkgver}.tar.gz;)
-
-build () { 
-   rm -rf ${srcdir}/efibootmgr-${pkgver}_build/ || true
-   
-   cp -r ${srcdir}/efibootmgr-${pkgver} 
${srcdir}/efibootmgr-${pkgver}_build
-   
-   cd ${srcdir}/efibootmgr-${pkgver}_build/
-   
-   echo
-   
-   CFLAGS= make
-   echo
-   
-}
-
-
-package() {
-   
-   mkdir -p ${pkgdir}/usr/bin/
-   mkdir -p ${pkgdir}/usr/share/man/man8/
-   
-   cd ${srcdir}/efibootmgr-${pkgver}_build/
-   
-   install -D -m755 
${srcdir}/efibootmgr-${pkgver}_build/src/efibootmgr/efibootmgr 
${pkgdir}/usr/bin/efibootmgr
-   install -D -m644 
${srcdir}/efibootmgr-${pkgver}_build/src/man/man8/efibootmgr.8 
${pkgdir}/usr/share/man/man8/efibootmgr.8
-   
-}
-md5sums=('9e9a31d79e579644de83a14139b66d10')

Copied: efibootmgr/repos/extra-i686/PKGBUILD (from rev 187099, 
efibootmgr/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2013-06-03 19:31:59 UTC (rev 187100)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Tobias Powalowski tp...@archlinux.org
+# Contributor : Murtuza Akhtari inxsible at gmail dot com
+# Contributor: Keshav P R skodabenz at rocketmail dot com
+
+pkgname=efibootmgr
+pkgver=0.6.0
+pkgrel=3
+pkgdesc=Tool to modify UEFI Firmware Boot Manager Variables.
+arch=('i686' 'x86_64')
+url=http://linux.dell.com/efibootmgr/;
+license=('GPL2')
+depends=('zlib' 'pciutils')
+makedepends=()
+provides=()
+options=(strip purge docs zipman !emptydirs)
+
+source=(http://linux.dell.com/efibootmgr/permalink/${pkgname}-${pkgver}.tar.gz;
+efibootmgr-tilt_slashes-func.patch
+)
+
+build () { 
+   rm -rf ${srcdir}/efibootmgr-${pkgver}_build/ || true
+   
+   cp -r ${srcdir}/efibootmgr-${pkgver} 
${srcdir}/efibootmgr-${pkgver}_build
+   
+   cd ${srcdir}/efibootmgr-${pkgver}_build/
+   patch -Np1 -i ${srcdir}/efibootmgr-tilt_slashes-func.patch
+   echo
+   
+   CFLAGS= make
+   echo
+   
+}
+
+
+package() {
+   
+   mkdir -p ${pkgdir}/usr/bin/
+   mkdir -p ${pkgdir}/usr/share/man/man8/
+   
+   cd ${srcdir}/efibootmgr-${pkgver}_build/
+   
+   install -D -m755 
${srcdir}/efibootmgr-${pkgver}_build/src/efibootmgr/efibootmgr 
${pkgdir}/usr/bin/efibootmgr
+   install -D -m644 
${srcdir}/efibootmgr-${pkgver}_build/src/man/man8/efibootmgr.8 
${pkgdir}/usr/share/man/man8/efibootmgr.8
+   
+}
+md5sums=('9e9a31d79e579644de83a14139b66d10'
+ '3622c0e978cf859cae60803a6b6a0c5e')

Copied: efibootmgr/repos/extra-i686/efibootmgr-tilt_slashes-func.patch (from 
rev 187099, efibootmgr/trunk/efibootmgr-tilt_slashes-func.patch)
===
--- extra-i686/efibootmgr-tilt_slashes-func.patch   
(rev 0)
+++ extra-i686/efibootmgr-tilt_slashes-func.patch   2013-06-03 19:31:59 UTC 
(rev 187100)
@@ -0,0 +1,61 @@
+diff --git a/src/efibootmgr/efibootmgr.c