summaryrefslogtreecommitdiff
path: root/sysutils/sbsigntool
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/sbsigntool')
-rw-r--r--sysutils/sbsigntool/Makefile37
-rw-r--r--sysutils/sbsigntool/distinfo2
-rw-r--r--sysutils/sbsigntool/files/patch-configure15
-rw-r--r--sysutils/sbsigntool/files/patch-src-coff-external.h29
-rw-r--r--sysutils/sbsigntool/files/patch-src-image.h12
-rw-r--r--sysutils/sbsigntool/files/patch-src-sbkeysync.c12
-rw-r--r--sysutils/sbsigntool/pkg-descr1
-rw-r--r--sysutils/sbsigntool/pkg-plist11
8 files changed, 0 insertions, 119 deletions
diff --git a/sysutils/sbsigntool/Makefile b/sysutils/sbsigntool/Makefile
deleted file mode 100644
index 8882d26c564b..000000000000
--- a/sysutils/sbsigntool/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= sbsigntool
-PORTVERSION= 0.6
-PORTREVISION= 1
-CATEGORIES= sysutils
-MASTER_SITES= https://launchpad.net/ubuntu/+archive/primary/+files/
-DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Signing utility for UEFI secure boot
-
-LICENSE= GPLv3
-
-BROKEN= fails to build
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2019-05-08
-
-BUILD_DEPENDS= ${LOCALBASE}/lib/libgnuefi.a:devel/gnu-efi \
- help2man:misc/help2man
-LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= libcrypto_CFLAGS=-lcrypto \
- libcrypto_LIBS=-lcrypto \
- LOCALBASE=${LOCALBASE} \
- ac_cv_header_bfd_h=yes
-USES= gmake localbase pkgconfig ssl
-LDFLAGS+= -L${OPENSSLLIB}
-CFLAGS+= -I${OPENSSLINC}
-
-post-patch:
- @${REINPLACE_CMD} -e 's|<endian.h>|<sys/endian.h>|' ${WRKSRC}/configure ${WRKSRC}/lib/ccan/ccan/hash/hash.c
-
-.include <bsd.port.mk>
diff --git a/sysutils/sbsigntool/distinfo b/sysutils/sbsigntool/distinfo
deleted file mode 100644
index 1b072cd1f940..000000000000
--- a/sysutils/sbsigntool/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (sbsigntool_0.6.orig.tar.gz) = 84fb0c8f6fb1e79aa418a4f70a3139b38d5630043b28291c875f383e9b4294b8
-SIZE (sbsigntool_0.6.orig.tar.gz) = 212375
diff --git a/sysutils/sbsigntool/files/patch-configure b/sysutils/sbsigntool/files/patch-configure
deleted file mode 100644
index 0275fef319db..000000000000
--- a/sysutils/sbsigntool/files/patch-configure
+++ /dev/null
@@ -1,15 +0,0 @@
---- configure.orig 2012-10-12 02:16:35.000000000 +0200
-+++ configure 2014-11-30 19:14:24.000000000 +0100
-@@ -5496,7 +5496,11 @@ $as_echo "yes" >&6; }
- fi
-
- EFI_ARCH=$(uname -m)
--EFI_CPPFLAGS="-I/usr/include/efi -I/usr/include/efi/$EFI_ARCH \
-+if [ "$EFI_ARCH" = "amd64" ]; then
-+ EFI_ARCH="x86_64"
-+fi
-+
-+EFI_CPPFLAGS="-I$LOCALBASE/include/efi -I$LOCALBASE/include/efi/$EFI_ARCH \
- -DEFI_FUNCTION_WRAPPER"
- CPPFLAGS_save="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $EFI_CPPFLAGS"
diff --git a/sysutils/sbsigntool/files/patch-src-coff-external.h b/sysutils/sbsigntool/files/patch-src-coff-external.h
deleted file mode 100644
index 51ecda84507c..000000000000
--- a/sysutils/sbsigntool/files/patch-src-coff-external.h
+++ /dev/null
@@ -1,29 +0,0 @@
---- src/coff/external.h.orig 2014-11-30 17:11:35.000000000 +0100
-+++ src/coff/external.h 2014-11-30 17:12:19.000000000 +0100
-@@ -51,7 +51,7 @@ typedef struct external_aouthdr
- char entry[4]; /* entry pt. */
- char text_start[4]; /* base of text used for this file */
- char data_start[4]; /* base of data used for this file */
-- } ATTRIBUTE_PACKED
-+ } __attribute__((packed))
- AOUTHDR;
-
- #define AOUTHDRSZ 28
-@@ -165,7 +165,7 @@ struct external_syment
- char e_type[2];
- char e_sclass[1];
- char e_numaux[1];
--} ATTRIBUTE_PACKED ;
-+} __attribute__((packed));
-
- #define SYMENT struct external_syment
- #define SYMESZ 18
-@@ -257,7 +257,7 @@ union external_auxent
- char x_tvlen[2]; /* length of .tv */
- char x_tvran[2][2]; /* tv range */
- } x_tv; /* info about .tv section (in auxent of symbol .tv)) */
--} ATTRIBUTE_PACKED ;
-+} __attribute__((packed));
-
- #define AUXENT union external_auxent
- #define AUXESZ 18
diff --git a/sysutils/sbsigntool/files/patch-src-image.h b/sysutils/sbsigntool/files/patch-src-image.h
deleted file mode 100644
index 18c42c738fdb..000000000000
--- a/sysutils/sbsigntool/files/patch-src-image.h
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/image.h.orig 2015-01-15 19:43:49.000000000 +0100
-+++ src/image.h 2015-01-15 19:49:04.000000000 +0100
-@@ -34,6 +34,9 @@
-
- #include <stdint.h>
-
-+#define ATTRIBUTE_UNUSED __unused
-+#define ENUM_BITFIELD(X) enum X
-+
- #include <bfd.h>
- #define DO_NOT_DEFINE_LINENO
-
diff --git a/sysutils/sbsigntool/files/patch-src-sbkeysync.c b/sysutils/sbsigntool/files/patch-src-sbkeysync.c
deleted file mode 100644
index c1eba1cc889c..000000000000
--- a/sysutils/sbsigntool/files/patch-src-sbkeysync.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/sbkeysync.c.orig 2014-11-30 19:18:11.000000000 +0100
-+++ src/sbkeysync.c 2014-11-30 19:18:32.000000000 +0100
-@@ -38,7 +38,8 @@
- #include <fcntl.h>
- #include <unistd.h>
- #include <sys/stat.h>
--#include <sys/statfs.h>
-+#include <sys/param.h>
-+#include <sys/mount.h>
- #include <sys/types.h>
-
- #include <getopt.h>
diff --git a/sysutils/sbsigntool/pkg-descr b/sysutils/sbsigntool/pkg-descr
deleted file mode 100644
index bc4cf17d8dfc..000000000000
--- a/sysutils/sbsigntool/pkg-descr
+++ /dev/null
@@ -1 +0,0 @@
-Set of utilities for managing UEFI Secure Boot signatures.
diff --git a/sysutils/sbsigntool/pkg-plist b/sysutils/sbsigntool/pkg-plist
deleted file mode 100644
index a7a84ae3c741..000000000000
--- a/sysutils/sbsigntool/pkg-plist
+++ /dev/null
@@ -1,11 +0,0 @@
-bin/sbattach
-bin/sbkeysync
-bin/sbsiglist
-bin/sbsign
-bin/sbvarsign
-bin/sbverify
-man/man1/sbattach.1.gz
-man/man1/sbsiglist.1.gz
-man/man1/sbsign.1.gz
-man/man1/sbvarsign.1.gz
-man/man1/sbverify.1.gz