ports/174180: sysutils/syslinux: Update to version 4.06
KATO Tsuguru
tkato432 at yahoo.com
Wed Dec 5 18:10:07 UTC 2012
>Number: 174180
>Category: ports
>Synopsis: sysutils/syslinux: Update to version 4.06
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 05 18:10:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update to version 4.06
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/sysutils/syslinux/Makefile sysutils/syslinux/Makefile
--- /usr/ports/sysutils/syslinux/Makefile 2012-11-08 07:50:04.000000000 +0900
+++ sysutils/syslinux/Makefile 2012-12-04 00:01:53.000000000 +0900
@@ -1,31 +1,27 @@
-# New ports collection makefile for: syslinux
-# Date created: Nov.15, 2008
-# Whom: luigi at FreeBSD.org
-#
-# Maintainers: Luigi Rizzo <luigi at FreeBSD.org>
+# Created by: luigi at FreeBSD.org
# $FreeBSD: head/sysutils/syslinux/Makefile 302619 2012-08-16 08:14:16Z mm $
-#
PORTNAME= syslinux
-PORTVERSION= 4.05
+PORTVERSION= 4.06
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_KERNEL_ORG}
-MASTER_SITE_SUBDIR= linux/utils/boot/syslinux
+MASTER_SITES= KERNEL_ORG/linux/utils/boot/syslinux
MAINTAINER= ports at FreeBSD.org
-COMMENT= Syslinux for FreeBSD
+COMMENT= Boot loader for the Linux operating system
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
RUN_DEPENDS= mtools:${PORTSDIR}/emulators/mtools
LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-MAN1= syslinux.1
USE_BZIP2= yes
-USE_GMAKE= yes
+USE_GCC= any
USE_PERL5_BUILD= yes
+USE_GMAKE= yes
+MAKE_ARGS= CC="${CC}"
+MAKE_JOBS_SAFE= yes
+
+MAN1= syslinux.1
.include <bsd.port.pre.mk>
@@ -42,10 +38,10 @@
${XARGS} ${REINPLACE_CMD} -e 's/elf_i386/elf_i386_fbsd/g;' )
build_pkg-plist:
- @( ${ECHO} "bin/syslinux" ; \
+ @( ${ECHO_CMD} "bin/syslinux" ; \
cd ${WRKSRC}; for i in ${_A} ; do \
- ${ECHO} share/syslinux/`basename $$i` ; done ; \
- ${ECHO} "@dirrm share/syslinux" )
+ ${ECHO_CMD} share/syslinux/`basename $$i` ; done ; \
+ ${ECHO_CMD} "@dirrm share/syslinux" )
do-install:
${MKDIR} ${DATADIR}
diff -urN /usr/ports/sysutils/syslinux/distinfo sysutils/syslinux/distinfo
--- /usr/ports/sysutils/syslinux/distinfo 2012-11-08 07:50:04.000000000 +0900
+++ sysutils/syslinux/distinfo 2012-10-29 01:26:26.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (syslinux-4.05.tar.bz2) = 9093f246038a3671a323bd9dd7eb685338578f67f3da949123c6462e0903c0b8
-SIZE (syslinux-4.05.tar.bz2) = 5486307
+SHA256 (syslinux-4.06.tar.bz2) = dbb7774e36c4596de68fa5e6788ad57809ab31a1760e5d7626e697766d30ad26
+SIZE (syslinux-4.06.tar.bz2) = 5740491
diff -urN /usr/ports/sysutils/syslinux/files/patch-libinstaller-syslxopt.c sysutils/syslinux/files/patch-libinstaller-syslxopt.c
--- /usr/ports/sysutils/syslinux/files/patch-libinstaller-syslxopt.c 2012-11-08 07:50:04.000000000 +0900
+++ sysutils/syslinux/files/patch-libinstaller-syslxopt.c 2012-10-29 01:54:31.000000000 +0900
@@ -1,6 +1,6 @@
--- libinstaller/syslxopt.c.orig 2010-10-20 21:25:38.000000000 +0200
+++ libinstaller/syslxopt.c 2010-11-16 15:09:16.897550744 +0100
-@@ -44,6 +44,8 @@
+@@ -45,6 +45,8 @@
.activate_partition = 0,
.force = 0,
.bootsecfile = NULL,
@@ -9,7 +9,7 @@
};
const struct option long_options[] = {
-@@ -57,7 +59,7 @@
+@@ -58,7 +60,7 @@
{"stupid", 0, NULL, 's'},
{"heads", 1, NULL, 'H'},
{"raid-mode", 0, NULL, 'r'},
@@ -18,10 +18,10 @@
{"help", 0, NULL, 'h'},
{"once", 1, NULL, OPT_ONCE},
{"clear-once", 0, NULL, 'O'},
-@@ -65,10 +67,12 @@
- {"menu-save", 1, NULL, 'M'},
+@@ -67,10 +69,12 @@
{"mbr", 0, NULL, 'm'}, /* DOS/Win32 only */
{"active", 0, NULL, 'a'}, /* DOS/Win32 only */
+ {"device", 1, NULL, OPT_DEVICE},
+ {"verbose", 0, NULL, 'v' },
+ {"bimage", 1, NULL, 'b' },
{0, 0, 0, 0}
@@ -32,7 +32,7 @@
void __attribute__ ((noreturn)) usage(int rv, enum syslinux_mode mode)
{
-@@ -109,7 +113,9 @@
+@@ -112,7 +116,9 @@
" --raid -r Fall back to the next device on boot failure\n"
" --once=... %s Execute a command once upon boot\n"
" --clear-once -O Clear the boot-once command\n"
@@ -43,9 +43,9 @@
mode == MODE_SYSLINUX ? " " : "-o");
/*
* Have to chop this roughly in half for the DOS installer due
-@@ -209,11 +215,17 @@
- case 'a':
- opt.activate_partition = 1;
+@@ -217,11 +223,17 @@
+ usage(EX_USAGE, mode);
+ opt.device = optarg;
break;
- case 'v':
+ case 'V':
diff -urN /usr/ports/sysutils/syslinux/pkg-descr sysutils/syslinux/pkg-descr
--- /usr/ports/sysutils/syslinux/pkg-descr 2012-11-08 07:50:04.000000000 +0900
+++ sysutils/syslinux/pkg-descr 2012-10-29 01:10:04.000000000 +0900
@@ -1,7 +1,8 @@
-The syslinux program installs a linux bootloader on a FAT-formatted
-filesystem or disk image.
+SYSLINUX is a boot loader for the Linux operating system which runs
+on an MS-DOS/Windows FAT filesystem.
+
This FreeBSD port can additionally operate on plain files containing
a FAT image, thus requiring no special privilege. The program relies
on mtools to perform the manipulation of the FAT filesystem.
-WWW: http://syslinux.zytor.com/
+WWW: http://www.syslinux.org/
diff -urN /usr/ports/sysutils/syslinux/pkg-plist sysutils/syslinux/pkg-plist
--- /usr/ports/sysutils/syslinux/pkg-plist 2012-11-08 07:50:04.000000000 +0900
+++ sysutils/syslinux/pkg-plist 2012-10-29 01:41:34.000000000 +0900
@@ -1,14 +1,5 @@
bin/syslinux
-%%DATADIR%%/mbr.bin
-%%DATADIR%%/gptmbr.bin
-%%DATADIR%%/pxelinux.0
-%%DATADIR%%/isolinux.bin
-%%DATADIR%%/gpxelinux.0
-%%DATADIR%%/memdisk
-%%DATADIR%%/menu.c32
-%%DATADIR%%/vesamenu.c32
%%DATADIR%%/cat.c32
-%%DATADIR%%/chain.c32
%%DATADIR%%/cmd.c32
%%DATADIR%%/config.c32
%%DATADIR%%/cpuid.c32
@@ -17,22 +8,34 @@
%%DATADIR%%/dmitest.c32
%%DATADIR%%/elf.c32
%%DATADIR%%/ethersel.c32
+%%DATADIR%%/gptmbr.bin
%%DATADIR%%/gpxecmd.c32
+%%DATADIR%%/gpxelinux.0
%%DATADIR%%/host.c32
%%DATADIR%%/ifcpu.c32
%%DATADIR%%/ifcpu64.c32
+%%DATADIR%%/ifmemdsk.c32
%%DATADIR%%/ifplop.c32
+%%DATADIR%%/isolinux.bin
%%DATADIR%%/kbdmap.c32
+%%DATADIR%%/kontron_wdt.c32
%%DATADIR%%/linux.c32
%%DATADIR%%/ls.c32
+%%DATADIR%%/mbr.bin
+%%DATADIR%%/memdisk
%%DATADIR%%/meminfo.c32
+%%DATADIR%%/menu.c32
%%DATADIR%%/pcitest.c32
%%DATADIR%%/pmload.c32
+%%DATADIR%%/prdhcp.c32
%%DATADIR%%/pwd.c32
+%%DATADIR%%/pxechn.c32
+%%DATADIR%%/pxelinux.0
%%DATADIR%%/reboot.c32
%%DATADIR%%/sanboot.c32
%%DATADIR%%/sdi.c32
%%DATADIR%%/vesainfo.c32
+%%DATADIR%%/vesamenu.c32
%%DATADIR%%/vpdtest.c32
%%DATADIR%%/whichsys.c32
%%DATADIR%%/zzjson.c32
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list