Friday, June 30, 2017

[NEW] sysutils/xorriso-1.4.6

Hello,

here is the port of xorriso, iso9660 file manipulator.

For my mistake, I already imported this to CVS tree.
Sorry and if there is serious problem please remove it on CVS.

--
SASANO Takayoshi (JG1UAA) <uaa@mx5.nisiq.net>


diff -uNpr sysutils.orig/Makefile sysutils/Makefile
--- sysutils.orig/Makefile Fri Jun 30 22:51:47 2017
+++ sysutils/Makefile Fri Jun 30 22:54:31 2017
@@ -322,7 +322,6 @@
SUBDIR += xbatt
SUBDIR += xbattbar
SUBDIR += xjobs
- SUBDIR += xorriso
SUBDIR += xps
SUBDIR += xstatbar
SUBDIR += xuvmstat
diff -uNpr sysutils.orig/xorriso/Makefile sysutils/xorriso/Makefile
--- sysutils.orig/xorriso/Makefile Thu Jan 1 09:00:00 1970
+++ sysutils/xorriso/Makefile Fri Jun 30 21:28:00 2017
@@ -0,0 +1,26 @@
+# $OpenBSD$
+
+COMMENT = ISO 9660 Rock Ridge Filesystem Manipulator
+
+DISTNAME = xorriso-1.4.6
+REVISION = 0
+
+CATEGORIES = sysutils
+
+HOMEPAGE = https://www.gnu.org/software/xorriso/
+
+# GPLv2+
+PERMIT_PACKAGE_CDROM = Yes
+
+WANTLIB = c curses pthread readline z bz2 iconv
+
+MASTER_SITES = ${MASTER_SITE_GNU:=xorriso/}
+
+LIB_DEPENDS = archivers/bzip2 \
+ converters/libiconv
+
+CONFIGURE_STYLE = gnu
+
+NO_TEST = Yes
+
+.include <bsd.port.mk>
diff -uNpr sysutils.orig/xorriso/distinfo sysutils/xorriso/distinfo
--- sysutils.orig/xorriso/distinfo Thu Jan 1 09:00:00 1970
+++ sysutils/xorriso/distinfo Fri Jun 30 06:36:39 2017
@@ -0,0 +1,2 @@
+SHA256 (xorriso-1.4.6.tar.gz) = Um9yjH7ub4xLafvzkXiebICAYZfChhz1kiz3z+EDV4Q=
+SIZE (xorriso-1.4.6.tar.gz) = 2652285
diff -uNpr sysutils.orig/xorriso/patches/patch-configure sysutils/xorriso/patches/patch-configure
--- sysutils.orig/xorriso/patches/patch-configure Thu Jan 1 09:00:00 1970
+++ sysutils/xorriso/patches/patch-configure Fri Jun 30 22:15:58 2017
@@ -0,0 +1,14 @@
+$OpenBSD$
+--- configure.orig Fri Sep 16 22:51:36 2016
++++ configure Fri Jun 30 00:29:56 2017
+@@ -2529,6 +2529,10 @@ test -n "$target_alias" &&
+
+
+ case $target_os in
++openbsd*)
++ LDFLAGS="$LDFLAGS -L/usr/local/lib"
++ CPPFLAGS="$CPPFLAGS -I/usr/local/include"
++ ;;
+ freebsd*)
+ LDFLAGS="$LDFLAGS -L/usr/local/lib"
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include"
diff -uNpr sysutils.orig/xorriso/patches/patch-libisofs_eltorito_c sysutils/xorriso/patches/patch-libisofs_eltorito_c
--- sysutils.orig/xorriso/patches/patch-libisofs_eltorito_c Thu Jan 1 09:00:00 1970
+++ sysutils/xorriso/patches/patch-libisofs_eltorito_c Fri Jun 30 22:16:00 2017
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- libisofs/eltorito.c.orig Fri Sep 16 22:51:34 2016
++++ libisofs/eltorito.c Fri Jun 30 00:35:09 2017
+@@ -315,7 +315,7 @@ int iso_tree_add_boot_node(IsoDir *parent, const char
+
+ /* Get start and size from "%d_start_%lus_size_%lud" */
+ static
+-void iso_parse_start_size(char *text, unsigned long *part_start,
++void iso_parse_start_size(const char *text, unsigned long *part_start,
+ unsigned long *part_size)
+ {
+ char *cpt;
diff -uNpr sysutils.orig/xorriso/pkg/DESCR sysutils/xorriso/pkg/DESCR
--- sysutils.orig/xorriso/pkg/DESCR Thu Jan 1 09:00:00 1970
+++ sysutils/xorriso/pkg/DESCR Fri Jun 30 21:26:01 2017
@@ -0,0 +1,2 @@
+xorriso copies files info Rock Ridge enhanced ISO 9660 filesystems,
+and vice versa.
diff -uNpr sysutils.orig/xorriso/pkg/PLIST sysutils/xorriso/pkg/PLIST
--- sysutils.orig/xorriso/pkg/PLIST Thu Jan 1 09:00:00 1970
+++ sysutils/xorriso/pkg/PLIST Fri Jun 30 06:40:36 2017
@@ -0,0 +1,12 @@
+@comment $OpenBSD$
+bin/osirrox
+bin/xorrecord
+@bin bin/xorriso
+bin/xorriso-tcltk
+bin/xorrisofs
+@info info/xorrecord.info
+@info info/xorriso.info
+@info info/xorrisofs.info
+@man man/man1/xorrecord.1
+@man man/man1/xorriso.1
+@man man/man1/xorrisofs.1

No comments:

Post a Comment