aboutsummaryrefslogtreecommitdiff
path: root/sysutils/syslinux
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-07-15 14:42:57 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-07-15 14:42:57 +0000
commitc99bd8e43a3b5a5215ec5b517e3bd8b7d2db6ce6 (patch)
tree8a12872d61479a98b93eeed2f17ec68cfb26fcc0 /sysutils/syslinux
parente7669eea00b8e5dd422aaf1239ec65366a0b20ad (diff)
downloadports-c99bd8e43a3b5a5215ec5b517e3bd8b7d2db6ce6.tar.gz
ports-c99bd8e43a3b5a5215ec5b517e3bd8b7d2db6ce6.zip
Notes
Diffstat (limited to 'sysutils/syslinux')
-rw-r--r--sysutils/syslinux/Makefile22
-rw-r--r--sysutils/syslinux/distinfo4
-rw-r--r--sysutils/syslinux/files/patch-Makefile18
-rw-r--r--sysutils/syslinux/files/patch-mtools-Makefile8
-rw-r--r--sysutils/syslinux/pkg-plist13
5 files changed, 43 insertions, 22 deletions
diff --git a/sysutils/syslinux/Makefile b/sysutils/syslinux/Makefile
index a7d68f0e30bf..58da5715845b 100644
--- a/sysutils/syslinux/Makefile
+++ b/sysutils/syslinux/Makefile
@@ -2,22 +2,23 @@
# $FreeBSD$
PORTNAME= syslinux
-PORTVERSION= 5.01
+PORTVERSION= 6.01
CATEGORIES= sysutils
MASTER_SITES= KERNEL_ORG/linux/utils/boot/syslinux
MAINTAINER= ports@FreeBSD.org
COMMENT= Boot loader for the Linux operating system
+LICENSE= GPLv2
+
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
RUN_DEPENDS= mtools:${PORTSDIR}/emulators/mtools
-LICENSE= GPLv2
-
USE_XZ= yes
USE_PERL5_BUILD= yes
USE_GMAKE= yes
MAKE_ARGS= CC="${CC}"
+ALL_TARGET= bios
MAKE_JOBS_SAFE= yes
MAN1= syslinux.1
@@ -28,7 +29,12 @@ MAN1= syslinux.1
_A = mbr/mbr.bin mbr/gptmbr.bin \
core/pxelinux.0 core/isolinux.bin gpxe/gpxelinux.0 \
memdisk/memdisk \
- com32/menu/*.c32 com32/modules/*.c32
+ com32/chain/*.c32 com32/cmenu/libmenu/libmenu.c32 \
+ com32/elflink/ldlinux/*.c32 com32/gfxboot/*.c32 \
+ com32/hdt/*.c32 com32/lib/*.c32 \
+ com32/lua/src/*.c32 com32/mboot/*.c32 \
+ com32/menu/*.c32 com32/modules/*.c32 \
+ com32/rosh/*.c32 com32/sysdump/*.c32
# convert elf_i386 to elf_i386_fbsd
pre-patch:
@@ -47,9 +53,9 @@ build_pkg-plist:
${ECHO_CMD} "@dirrm share/syslinux" )
do-install:
- ${MKDIR} ${DATADIR}
- ( cd ${WRKSRC}; ${INSTALL_DATA} ${_A} ${DATADIR} )
- ${INSTALL_PROGRAM} ${WRKSRC}/mtools/syslinux ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man/syslinux.1 ${MANPREFIX}/man/man1
+ (cd ${WRKSRC}/bios/mtools && ${INSTALL_PROGRAM} syslinux ${PREFIX}/bin)
+ (cd ${WRKSRC}/man && ${INSTALL_MAN} syslinux.1 ${MANPREFIX}/man/man1)
+ @${MKDIR} ${DATADIR}
+ (cd ${WRKSRC}/bios && ${INSTALL_DATA} ${_A} ${DATADIR})
.include <bsd.port.post.mk>
diff --git a/sysutils/syslinux/distinfo b/sysutils/syslinux/distinfo
index 7cf43ded5477..1cd602ff7fb5 100644
--- a/sysutils/syslinux/distinfo
+++ b/sysutils/syslinux/distinfo
@@ -1,2 +1,2 @@
-SHA256 (syslinux-5.01.tar.xz) = 41320ae9c8211bb99b1322fdbf98a83d3bdc0f9a78291ad27f8512b12e16b411
-SIZE (syslinux-5.01.tar.xz) = 5001008
+SHA256 (syslinux-6.01.tar.xz) = abd9e83c4d8e759a801dd9195869d5407fc07234dd4c560337cca63825fb4d6f
+SIZE (syslinux-6.01.tar.xz) = 6370172
diff --git a/sysutils/syslinux/files/patch-Makefile b/sysutils/syslinux/files/patch-Makefile
index dc995f704965..afba38e7e19c 100644
--- a/sysutils/syslinux/files/patch-Makefile
+++ b/sysutils/syslinux/files/patch-Makefile
@@ -1,24 +1,26 @@
--- Makefile.orig 2011-04-18 23:24:17.000000000 +0200
+++ Makefile 2011-05-05 15:51:44.356358227 +0200
-@@ -57,18 +57,18 @@
- # Note: libinstaller is both a BSUBDIR and an ISUBDIR. It contains
- # files that depend only on the B phase, but may have to be regenerated
- # for "make installer".
+@@ -170,19 +170,19 @@
+
+ else
+
-BSUBDIRS = codepage com32 lzo core memdisk mbr memdump gpxe sample \
-+BSUBDIRS_ = codepage com32 lzo core memdisk mbr memdump gpxe sample \
- diag libinstaller dos win32 win64 dosutil txt
+- diag libinstaller dos win32 win64 dosutil txt
++#BSUBDIRS = codepage com32 lzo core memdisk mbr memdump gpxe sample \
++# diag libinstaller dos win32 win64 dosutil txt
+
ITARGET =
IOBJECTS = $(ITARGET) \
utils/gethostip utils/isohybrid utils/mkdiskimage \
mtools/syslinux linux/syslinux extlinux/extlinux
-ISUBDIRS = libinstaller mtools linux extlinux utils
-+ISUBDIRS = libinstaller mtools
++ISUBDIRS = libinstaller mtools # linux extlinux utils
# Things to install in /usr/bin
INSTALL_BIN = mtools/syslinux
# Things to install in /sbin
-INSTALL_SBIN = extlinux/extlinux
-+INSTALL_SBIN = #extlinux/extlinux
++#INSTALL_SBIN = extlinux/extlinux
# Things to install in /usr/lib/syslinux
INSTALL_AUX = core/pxelinux.0 gpxe/gpxelinux.0 gpxe/gpxelinuxk.0 \
core/isolinux.bin core/isolinux-debug.bin \
diff --git a/sysutils/syslinux/files/patch-mtools-Makefile b/sysutils/syslinux/files/patch-mtools-Makefile
index 483355c46ddb..6911b8ac0f59 100644
--- a/sysutils/syslinux/files/patch-mtools-Makefile
+++ b/sysutils/syslinux/files/patch-mtools-Makefile
@@ -1,13 +1,13 @@
--- mtools/Makefile.orig 2011-12-09 19:28:17.000000000 +0100
+++ mtools/Makefile 2012-08-16 10:09:08.429505540 +0200
-@@ -2,9 +2,8 @@
- MAKEDIR = $(topdir)/mk
+@@ -1,8 +1,8 @@
include $(MAKEDIR)/syslinux.mk
-OPTFLAGS = -g -Os
- INCLUDES = -I. -I.. -I../libfat -I../libinstaller
++#OPTFLAGS = -g -Os
+ INCLUDES = -I$(SRC) -I$(objdir) -I$(SRC)/../libfat -I$(SRC)/../libinstaller
-CFLAGS = $(GCCWARN) -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
-+CFLAGS += $(GCCWARN) -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
++CFLAGS += $(GCCWARN) -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
LDFLAGS =
SRCS = syslinux.c \
diff --git a/sysutils/syslinux/pkg-plist b/sysutils/syslinux/pkg-plist
index a65fea09b03e..cfaeb14960ac 100644
--- a/sysutils/syslinux/pkg-plist
+++ b/sysutils/syslinux/pkg-plist
@@ -1,16 +1,20 @@
bin/syslinux
%%DATADIR%%/cat.c32
+%%DATADIR%%/chain.c32
%%DATADIR%%/cmd.c32
%%DATADIR%%/config.c32
+%%DATADIR%%/cptime.c32
%%DATADIR%%/cpuid.c32
%%DATADIR%%/cpuidtest.c32
%%DATADIR%%/disk.c32
%%DATADIR%%/dmitest.c32
%%DATADIR%%/elf.c32
%%DATADIR%%/ethersel.c32
+%%DATADIR%%/gfxboot.c32
%%DATADIR%%/gptmbr.bin
%%DATADIR%%/gpxecmd.c32
%%DATADIR%%/gpxelinux.0
+%%DATADIR%%/hdt.c32
%%DATADIR%%/hexdump.c32
%%DATADIR%%/host.c32
%%DATADIR%%/ifcpu.c32
@@ -20,21 +24,30 @@ bin/syslinux
%%DATADIR%%/isolinux.bin
%%DATADIR%%/kbdmap.c32
%%DATADIR%%/kontron_wdt.c32
+%%DATADIR%%/ldlinux.c32
+%%DATADIR%%/libcom32.c32
+%%DATADIR%%/liblua.c32
+%%DATADIR%%/libmenu.c32
%%DATADIR%%/linux.c32
%%DATADIR%%/ls.c32
+%%DATADIR%%/lua.c32
+%%DATADIR%%/mboot.c32
%%DATADIR%%/mbr.bin
%%DATADIR%%/memdisk
%%DATADIR%%/meminfo.c32
%%DATADIR%%/menu.c32
%%DATADIR%%/pcitest.c32
%%DATADIR%%/pmload.c32
+%%DATADIR%%/poweroff.c32
%%DATADIR%%/prdhcp.c32
%%DATADIR%%/pwd.c32
%%DATADIR%%/pxechn.c32
%%DATADIR%%/pxelinux.0
%%DATADIR%%/reboot.c32
+%%DATADIR%%/rosh.c32
%%DATADIR%%/sanboot.c32
%%DATADIR%%/sdi.c32
+%%DATADIR%%/sysdump.c32
%%DATADIR%%/vesainfo.c32
%%DATADIR%%/vesamenu.c32
%%DATADIR%%/vpdtest.c32