Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:pcbsd/pcbsd

  • Loading branch information...
commit 387a9a6ee678c3b4f600caee318608334d801af0 2 parents dc2b143 + 857bc75
@beanpole135 beanpole135 authored
View
36 build-files/ports-overlay/www/phpvirtualbox/Makefile
@@ -1,36 +0,0 @@
-# Created by: Bernhard Froehlich <decke@bluelife.at>
-# $FreeBSD: www/phpvirtualbox/Makefile 327776 2013-09-20 23:36:50Z bapt $
-
-PORTNAME= phpvirtualbox
-DISTVERSION= 4.2-8
-CATEGORIES= www
-MASTER_SITES= SF/${PORTNAME} \
- LOCAL/decke
-
-MAINTAINER= vbox@FreeBSD.org
-COMMENT= AJAX Web Interface for VirtualBox
-
-LICENSE= GPLv3
-LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-
-USE_ZIP= yes
-USE_PHP= json session soap simplexml
-NO_BUILD= yes
-USE_DOS2UNIX= yes
-DOS2UNIX_REGEX= .*\.(php|txt|js|css|html)
-
-NO_STAGE= yes
-do-install:
- @${MKDIR} ${WWWDIR}
- (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${WWWDIR} "! -name *.orig")
-
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
- @${FIND} ${WWWDIR} -type f -exec ${CHMOD} 0444 {} \;
- @${FIND} ${WWWDIR} -type d -exec ${CHMOD} 0755 {} \;
-
-post-install:
- @if [ ! -f ${WWWDIR}/config.php ]; then \
- ${CP} ${WWWDIR}/config.php-example ${WWWDIR}/config.php ; \
- fi
-
-.include <bsd.port.mk>
View
2  build-files/ports-overlay/www/phpvirtualbox/distinfo
@@ -1,2 +0,0 @@
-SHA256 (phpvirtualbox-4.2-8.zip) = fdccf9323910b875899d73428e92daac85ff5bfdf9489bea835d926fe7a4b8a0
-SIZE (phpvirtualbox-4.2-8.zip) = 3475340
View
5 build-files/ports-overlay/www/phpvirtualbox/pkg-descr
@@ -1,5 +0,0 @@
-An open source, AJAX implementation of the VirtualBox user
-interface written in PHP. As a modern web interface, it allows
-you to access and control remote VirtualBox instances
-
-WWW: http://sourceforge.net/projects/phpvirtualbox/
View
525 build-files/ports-overlay/www/phpvirtualbox/pkg-plist
@@ -1,525 +0,0 @@
-@unexec if cmp -s %D/%%WWWDIR%%/config.php-example %D/%%WWWDIR%%/config.php; then rm -f %D/%%WWWDIR%%/config.php; fi
-%%WWWDIR%%/config.php-example
-@exec if [ ! -f %D/%%WWWDIR%%/config.php ]; then cp -p %D/%%WWWDIR%%/config.php-example %D/%%WWWDIR%%/config.php; fi
-%%WWWDIR%%/CHANGELOG.txt
-%%WWWDIR%%/GPLv3.txt
-%%WWWDIR%%/LICENSE.txt
-%%WWWDIR%%/README.txt
-%%WWWDIR%%/css/jquery-ui.css
-%%WWWDIR%%/css/jquery.projectPlugins.css
-%%WWWDIR%%/css/layout.css
-%%WWWDIR%%/css/tipped.css
-%%WWWDIR%%/images/30white.png
-%%WWWDIR%%/images/50px-Question_icon.svg.png
-%%WWWDIR%%/images/50px-Warning_icon.svg.png
-%%WWWDIR%%/images/arrow_grad_dn.png
-%%WWWDIR%%/images/arrow_grad_left.png
-%%WWWDIR%%/images/arrow_grad_right.png
-%%WWWDIR%%/images/arrow_grad_up.png
-%%WWWDIR%%/images/arrow_white_dn.png
-%%WWWDIR%%/images/arrow_white_left.png
-%%WWWDIR%%/images/arrow_white_right.png
-%%WWWDIR%%/images/arrow_white_up.png
-%%WWWDIR%%/images/donate.gif
-%%WWWDIR%%/images/downArrow.png
-%%WWWDIR%%/images/header_grad.png
-%%WWWDIR%%/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png
-%%WWWDIR%%/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png
-%%WWWDIR%%/images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png
-%%WWWDIR%%/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png
-%%WWWDIR%%/images/jquery-ui/ui-bg_glass_75_dadada_1x400.png
-%%WWWDIR%%/images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png
-%%WWWDIR%%/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png
-%%WWWDIR%%/images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png
-%%WWWDIR%%/images/jquery-ui/ui-icons_222222_256x240.png
-%%WWWDIR%%/images/jquery-ui/ui-icons_2e83ff_256x240.png
-%%WWWDIR%%/images/jquery-ui/ui-icons_454545_256x240.png
-%%WWWDIR%%/images/jquery-ui/ui-icons_888888_256x240.png
-%%WWWDIR%%/images/jquery-ui/ui-icons_cd0a0a_256x240.png
-%%WWWDIR%%/images/jqueryFileTree/directory.png
-%%WWWDIR%%/images/jqueryFileTree/file.png
-%%WWWDIR%%/images/jqueryFileTree/folder_open.png
-%%WWWDIR%%/images/jqueryFileTree/spinner.gif
-%%WWWDIR%%/images/monitor_bl.png
-%%WWWDIR%%/images/monitor_bottom.png
-%%WWWDIR%%/images/monitor_br.png
-%%WWWDIR%%/images/monitor_glossy.png
-%%WWWDIR%%/images/monitor_left.png
-%%WWWDIR%%/images/monitor_right.png
-%%WWWDIR%%/images/monitor_tl.png
-%%WWWDIR%%/images/monitor_top.png
-%%WWWDIR%%/images/monitor_tr.png
-%%WWWDIR%%/images/rightArrow.png
-%%WWWDIR%%/images/spinner.gif
-%%WWWDIR%%/images/treeview-default-line.gif
-%%WWWDIR%%/images/treeview-default.gif
-%%WWWDIR%%/images/upArrow.png
-%%WWWDIR%%/images/vbox/OSE/VirtualBox_16px.png
-%%WWWDIR%%/images/vbox/OSE/VirtualBox_20px.png
-%%WWWDIR%%/images/vbox/OSE/VirtualBox_32px.png
-%%WWWDIR%%/images/vbox/OSE/VirtualBox_40px.png
-%%WWWDIR%%/images/vbox/OSE/VirtualBox_48px.png
-%%WWWDIR%%/images/vbox/OSE/VirtualBox_64px.png
-%%WWWDIR%%/images/vbox/OSE/VirtualBox_cube_42px.png
-%%WWWDIR%%/images/vbox/OSE/VirtualBox_win.ico
-%%WWWDIR%%/images/vbox/OSE/about_16px.png
-%%WWWDIR%%/images/vbox/acpi_16px.png
-%%WWWDIR%%/images/vbox/acpi_disabled_16px.png
-%%WWWDIR%%/images/vbox/add_host_iface_16px.png
-%%WWWDIR%%/images/vbox/add_host_iface_disabled_16px.png
-%%WWWDIR%%/images/vbox/add_shared_folder_16px.png
-%%WWWDIR%%/images/vbox/add_shared_folder_disabled_16px.png
-%%WWWDIR%%/images/vbox/arrow_down_10px.png
-%%WWWDIR%%/images/vbox/arrow_left_10px.png
-%%WWWDIR%%/images/vbox/arrow_right_10px.png
-%%WWWDIR%%/images/vbox/arrow_up_10px.png
-%%WWWDIR%%/images/vbox/attachment_16px.png
-%%WWWDIR%%/images/vbox/attachment_add_16px.png
-%%WWWDIR%%/images/vbox/attachment_add_disabled_16px.png
-%%WWWDIR%%/images/vbox/attachment_disabled_16px.png
-%%WWWDIR%%/images/vbox/attachment_remove_16px.png
-%%WWWDIR%%/images/vbox/attachment_remove_disabled_16px.png
-%%WWWDIR%%/images/vbox/bgnd_sel_2.jpg
-%%WWWDIR%%/images/vbox/blank.gif
-%%WWWDIR%%/images/vbox/cd_16px.png
-%%WWWDIR%%/images/vbox/cd_32px.png
-%%WWWDIR%%/images/vbox/cd_add_16px.png
-%%WWWDIR%%/images/vbox/cd_add_disabled_16px.png
-%%WWWDIR%%/images/vbox/cd_disabled_16px.png
-%%WWWDIR%%/images/vbox/cd_disabled_32px.png
-%%WWWDIR%%/images/vbox/cd_unmount_16px.png
-%%WWWDIR%%/images/vbox/cd_unmount_dis_16px.png
-%%WWWDIR%%/images/vbox/chipset_16px.png
-%%WWWDIR%%/images/vbox/chipset_disabled_16px.png
-%%WWWDIR%%/images/vbox/close_16px.png
-%%WWWDIR%%/images/vbox/controller_add_16px.png
-%%WWWDIR%%/images/vbox/controller_add_disabled_16px.png
-%%WWWDIR%%/images/vbox/controller_remove_16px.png
-%%WWWDIR%%/images/vbox/controller_remove_disabled_16px.png
-%%WWWDIR%%/images/vbox/cpu_16px.png
-%%WWWDIR%%/images/vbox/delete_16px.png
-%%WWWDIR%%/images/vbox/delete_dis_16px.png
-%%WWWDIR%%/images/vbox/delete_snapshot_16px.png
-%%WWWDIR%%/images/vbox/delete_snapshot_22px.png
-%%WWWDIR%%/images/vbox/delete_snapshot_dis_16px.png
-%%WWWDIR%%/images/vbox/delete_snapshot_dis_22px.png
-%%WWWDIR%%/images/vbox/description_16px.png
-%%WWWDIR%%/images/vbox/description_disabled_16px.png
-%%WWWDIR%%/images/vbox/discard_16px.png
-%%WWWDIR%%/images/vbox/discard_cur_state_16px.png
-%%WWWDIR%%/images/vbox/discard_cur_state_22px.png
-%%WWWDIR%%/images/vbox/discard_cur_state_dis_16px.png
-%%WWWDIR%%/images/vbox/discard_cur_state_dis_22px.png
-%%WWWDIR%%/images/vbox/discard_dis_16px.png
-%%WWWDIR%%/images/vbox/diskimage_16px.png
-%%WWWDIR%%/images/vbox/edit_shared_folder_16px.png
-%%WWWDIR%%/images/vbox/edit_shared_folder_disabled_16px.png
-%%WWWDIR%%/images/vbox/exit_16px.png
-%%WWWDIR%%/images/vbox/export_16px.png
-%%WWWDIR%%/images/vbox/fd_16px.png
-%%WWWDIR%%/images/vbox/fd_32px.png
-%%WWWDIR%%/images/vbox/fd_add_16px.png
-%%WWWDIR%%/images/vbox/fd_add_disabled_16px.png
-%%WWWDIR%%/images/vbox/fd_disabled_16px.png
-%%WWWDIR%%/images/vbox/fd_disabled_32px.png
-%%WWWDIR%%/images/vbox/fd_unmount_16px.png
-%%WWWDIR%%/images/vbox/fd_unmount_dis_16px.png
-%%WWWDIR%%/images/vbox/floppy_16px.png
-%%WWWDIR%%/images/vbox/floppy_add_16px.png
-%%WWWDIR%%/images/vbox/floppy_add_disabled_16px.png
-%%WWWDIR%%/images/vbox/floppy_collapse_16px.png
-%%WWWDIR%%/images/vbox/floppy_expand_16px.png
-%%WWWDIR%%/images/vbox/fullscreen_16px.png
-%%WWWDIR%%/images/vbox/global_settings_16px.png
-%%WWWDIR%%/images/vbox/global_settings_disabled_16px.png
-%%WWWDIR%%/images/vbox/guesttools_16px.png
-%%WWWDIR%%/images/vbox/guesttools_disabled_16px.png
-%%WWWDIR%%/images/vbox/hd_16px.png
-%%WWWDIR%%/images/vbox/hd_32px.png
-%%WWWDIR%%/images/vbox/hd_add_16px.png
-%%WWWDIR%%/images/vbox/hd_add_22px.png
-%%WWWDIR%%/images/vbox/hd_add_disabled_16px.png
-%%WWWDIR%%/images/vbox/hd_add_disabled_22px.png
-%%WWWDIR%%/images/vbox/hd_disabled_16px.png
-%%WWWDIR%%/images/vbox/hd_disabled_32px.png
-%%WWWDIR%%/images/vbox/hd_new_16px.png
-%%WWWDIR%%/images/vbox/hd_new_22px.png
-%%WWWDIR%%/images/vbox/hd_new_disabled_16px.png
-%%WWWDIR%%/images/vbox/hd_new_disabled_22px.png
-%%WWWDIR%%/images/vbox/hd_release_16px.png
-%%WWWDIR%%/images/vbox/hd_release_22px.png
-%%WWWDIR%%/images/vbox/hd_release_disabled_16px.png
-%%WWWDIR%%/images/vbox/hd_release_disabled_22px.png
-%%WWWDIR%%/images/vbox/hd_remove_16px.png
-%%WWWDIR%%/images/vbox/hd_remove_22px.png
-%%WWWDIR%%/images/vbox/hd_remove_disabled_16px.png
-%%WWWDIR%%/images/vbox/hd_remove_disabled_22px.png
-%%WWWDIR%%/images/vbox/help_16px.png
-%%WWWDIR%%/images/vbox/ide_16px.png
-%%WWWDIR%%/images/vbox/ide_add_16px.png
-%%WWWDIR%%/images/vbox/ide_add_disabled_16px.png
-%%WWWDIR%%/images/vbox/ide_collapse_16px.png
-%%WWWDIR%%/images/vbox/ide_expand_16px.png
-%%WWWDIR%%/images/vbox/import_16px.png
-%%WWWDIR%%/images/vbox/list_movedown_16px.png
-%%WWWDIR%%/images/vbox/list_movedown_disabled_16px.png
-%%WWWDIR%%/images/vbox/list_moveup_16px.png
-%%WWWDIR%%/images/vbox/list_moveup_disabled_16px.png
-%%WWWDIR%%/images/vbox/machine_16px.png
-%%WWWDIR%%/images/vbox/machine_32px.png
-%%WWWDIR%%/images/vbox/machine_disabled_16px.png
-%%WWWDIR%%/images/vbox/machine_disabled_32px.png
-%%WWWDIR%%/images/vbox/menuArrow.gif
-%%WWWDIR%%/images/vbox/menuArrow_w.gif
-%%WWWDIR%%/images/vbox/name_16px.png
-%%WWWDIR%%/images/vbox/new_16px.png
-%%WWWDIR%%/images/vbox/node.gif
-%%WWWDIR%%/images/vbox/nw_16px.png
-%%WWWDIR%%/images/vbox/nw_32px.png
-%%WWWDIR%%/images/vbox/nw_disabled_16px.png
-%%WWWDIR%%/images/vbox/nw_disabled_32px.png
-%%WWWDIR%%/images/vbox/offline_snapshot_16px.png
-%%WWWDIR%%/images/vbox/online_snapshot_16px.png
-%%WWWDIR%%/images/vbox/os_archlinux.png
-%%WWWDIR%%/images/vbox/os_archlinux_64.png
-%%WWWDIR%%/images/vbox/os_debian.png
-%%WWWDIR%%/images/vbox/os_debian_64.png
-%%WWWDIR%%/images/vbox/os_dos.png
-%%WWWDIR%%/images/vbox/os_fedora.png
-%%WWWDIR%%/images/vbox/os_fedora_64.png
-%%WWWDIR%%/images/vbox/os_freebsd.png
-%%WWWDIR%%/images/vbox/os_freebsd_64.png
-%%WWWDIR%%/images/vbox/os_gentoo.png
-%%WWWDIR%%/images/vbox/os_gentoo_64.png
-%%WWWDIR%%/images/vbox/os_jrockitve.png
-%%WWWDIR%%/images/vbox/os_l4.png
-%%WWWDIR%%/images/vbox/os_linux.png
-%%WWWDIR%%/images/vbox/os_linux22.png
-%%WWWDIR%%/images/vbox/os_linux24.png
-%%WWWDIR%%/images/vbox/os_linux24_64.png
-%%WWWDIR%%/images/vbox/os_linux26.png
-%%WWWDIR%%/images/vbox/os_linux26_64.png
-%%WWWDIR%%/images/vbox/os_linux_other.png
-%%WWWDIR%%/images/vbox/os_macosx.png
-%%WWWDIR%%/images/vbox/os_macosx_64.png
-%%WWWDIR%%/images/vbox/os_mandriva.png
-%%WWWDIR%%/images/vbox/os_mandriva_64.png
-%%WWWDIR%%/images/vbox/os_netbsd.png
-%%WWWDIR%%/images/vbox/os_netbsd_64.png
-%%WWWDIR%%/images/vbox/os_netware.png
-%%WWWDIR%%/images/vbox/os_openbsd.png
-%%WWWDIR%%/images/vbox/os_openbsd_64.png
-%%WWWDIR%%/images/vbox/os_opensuse.png
-%%WWWDIR%%/images/vbox/os_opensuse_64.png
-%%WWWDIR%%/images/vbox/os_oracle.png
-%%WWWDIR%%/images/vbox/os_oracle_64.png
-%%WWWDIR%%/images/vbox/os_oraclesolaris.png
-%%WWWDIR%%/images/vbox/os_oraclesolaris_64.png
-%%WWWDIR%%/images/vbox/os_os2_other.png
-%%WWWDIR%%/images/vbox/os_os2ecs.png
-%%WWWDIR%%/images/vbox/os_os2warp3.png
-%%WWWDIR%%/images/vbox/os_os2warp4.png
-%%WWWDIR%%/images/vbox/os_os2warp45.png
-%%WWWDIR%%/images/vbox/os_other.png
-%%WWWDIR%%/images/vbox/os_qnx.png
-%%WWWDIR%%/images/vbox/os_redhat.png
-%%WWWDIR%%/images/vbox/os_redhat_64.png
-%%WWWDIR%%/images/vbox/os_solaris.png
-%%WWWDIR%%/images/vbox/os_solaris_64.png
-%%WWWDIR%%/images/vbox/os_turbolinux.png
-%%WWWDIR%%/images/vbox/os_turbolinux_64.png
-%%WWWDIR%%/images/vbox/os_type_16px.png
-%%WWWDIR%%/images/vbox/os_ubuntu.png
-%%WWWDIR%%/images/vbox/os_ubuntu_64.png
-%%WWWDIR%%/images/vbox/os_virtualbox.png
-%%WWWDIR%%/images/vbox/os_win2k.png
-%%WWWDIR%%/images/vbox/os_win2k3.png
-%%WWWDIR%%/images/vbox/os_win2k3_64.png
-%%WWWDIR%%/images/vbox/os_win2k8.png
-%%WWWDIR%%/images/vbox/os_win2k8_64.png
-%%WWWDIR%%/images/vbox/os_win2k12_64.png
-%%WWWDIR%%/images/vbox/os_win31.png
-%%WWWDIR%%/images/vbox/os_win7.png
-%%WWWDIR%%/images/vbox/os_win7_64.png
-%%WWWDIR%%/images/vbox/os_win8.png
-%%WWWDIR%%/images/vbox/os_win8_64.png
-%%WWWDIR%%/images/vbox/os_win95.png
-%%WWWDIR%%/images/vbox/os_win98.png
-%%WWWDIR%%/images/vbox/os_win_other.png
-%%WWWDIR%%/images/vbox/os_winme.png
-%%WWWDIR%%/images/vbox/os_winnt4.png
-%%WWWDIR%%/images/vbox/os_winvista.png
-%%WWWDIR%%/images/vbox/os_winvista_64.png
-%%WWWDIR%%/images/vbox/os_winxp.png
-%%WWWDIR%%/images/vbox/os_winxp_64.png
-%%WWWDIR%%/images/vbox/os_xandros.png
-%%WWWDIR%%/images/vbox/os_xandros_64.png
-%%WWWDIR%%/images/vbox/parallel_port_16px.png
-%%WWWDIR%%/images/vbox/pause_16px.png
-%%WWWDIR%%/images/vbox/pause_disabled_16px.png
-%%WWWDIR%%/images/vbox/pause_on_16px.png
-%%WWWDIR%%/images/vbox/pause_on_disabled_16px.png
-%%WWWDIR%%/images/vbox/poweroff_16px.png
-%%WWWDIR%%/images/vbox/poweroff_disabled_16px.png
-%%WWWDIR%%/images/vbox/progress_clone_90px.png
-%%WWWDIR%%/images/vbox/progress_delete_90px.png
-%%WWWDIR%%/images/vbox/progress_export_90px.png
-%%WWWDIR%%/images/vbox/progress_import_90px.png
-%%WWWDIR%%/images/vbox/progress_install_guest_additions_90px.png
-%%WWWDIR%%/images/vbox/progress_media_create_90px.png
-%%WWWDIR%%/images/vbox/progress_media_delete_90px.png
-%%WWWDIR%%/images/vbox/progress_poweroff_90px.png
-%%WWWDIR%%/images/vbox/progress_snapshot_create_90px.png
-%%WWWDIR%%/images/vbox/progress_snapshot_discard_90px.png
-%%WWWDIR%%/images/vbox/progress_snapshot_restore_90px.png
-%%WWWDIR%%/images/vbox/progress_start_90px.png
-%%WWWDIR%%/images/vbox/progress_state_restore_90px.png
-%%WWWDIR%%/images/vbox/progress_state_save_90px.png
-%%WWWDIR%%/images/vbox/ram_16px.png
-%%WWWDIR%%/images/vbox/refresh_16px.png
-%%WWWDIR%%/images/vbox/refresh_22px.png
-%%WWWDIR%%/images/vbox/refresh_32px.png
-%%WWWDIR%%/images/vbox/refresh_disabled_16px.png
-%%WWWDIR%%/images/vbox/refresh_disabled_22px.png
-%%WWWDIR%%/images/vbox/refresh_disabled_32px.png
-%%WWWDIR%%/images/vbox/register_16px.png
-%%WWWDIR%%/images/vbox/remove_host_iface_16px.png
-%%WWWDIR%%/images/vbox/remove_host_iface_disabled_16px.png
-%%WWWDIR%%/images/vbox/remove_shared_folder_16px.png
-%%WWWDIR%%/images/vbox/remove_shared_folder_disabled_16px.png
-%%WWWDIR%%/images/vbox/reset_16px.png
-%%WWWDIR%%/images/vbox/reset_disabled_16px.png
-%%WWWDIR%%/images/vbox/sata_16px.png
-%%WWWDIR%%/images/vbox/sata_add_16px.png
-%%WWWDIR%%/images/vbox/sata_add_disabled_16px.png
-%%WWWDIR%%/images/vbox/sata_collapse_16px.png
-%%WWWDIR%%/images/vbox/sata_expand_16px.png
-%%WWWDIR%%/images/vbox/scsi_16px.png
-%%WWWDIR%%/images/vbox/scsi_add_16px.png
-%%WWWDIR%%/images/vbox/scsi_add_disabled_16px.png
-%%WWWDIR%%/images/vbox/scsi_collapse_16px.png
-%%WWWDIR%%/images/vbox/scsi_expand_16px.png
-%%WWWDIR%%/images/vbox/select_file_16px.png
-%%WWWDIR%%/images/vbox/select_file_dis_16px.png
-%%WWWDIR%%/images/vbox/serial_port_16px.png
-%%WWWDIR%%/images/vbox/serial_port_disabled_16px.png
-%%WWWDIR%%/images/vbox/settings_16px.png
-%%WWWDIR%%/images/vbox/settings_dis_16px.png
-%%WWWDIR%%/images/vbox/shared_folder_16px.png
-%%WWWDIR%%/images/vbox/shared_folder_disabled_16px.png
-%%WWWDIR%%/images/vbox/show_logs_16px.png
-%%WWWDIR%%/images/vbox/show_logs_disabled_16px.png
-%%WWWDIR%%/images/vbox/show_snapshot_details_16px.png
-%%WWWDIR%%/images/vbox/show_snapshot_details_22px.png
-%%WWWDIR%%/images/vbox/show_snapshot_details_dis_16px.png
-%%WWWDIR%%/images/vbox/show_snapshot_details_dis_22px.png
-%%WWWDIR%%/images/vbox/site_16px.png
-%%WWWDIR%%/images/vbox/site_32px.png
-%%WWWDIR%%/images/vbox/site_disabled_16px.png
-%%WWWDIR%%/images/vbox/sound_16px.png
-%%WWWDIR%%/images/vbox/sound_disabled_16px.png
-%%WWWDIR%%/images/vbox/start_16px.png
-%%WWWDIR%%/images/vbox/start_dis_16px.png
-%%WWWDIR%%/images/vbox/state_aborted_16px.png
-%%WWWDIR%%/images/vbox/state_discarding_16px.png
-%%WWWDIR%%/images/vbox/state_paused_16px.png
-%%WWWDIR%%/images/vbox/state_powered_off_16px.png
-%%WWWDIR%%/images/vbox/state_restoring_16px.png
-%%WWWDIR%%/images/vbox/state_running_16px.png
-%%WWWDIR%%/images/vbox/state_saved_16px.png
-%%WWWDIR%%/images/vbox/state_saving_16px.png
-%%WWWDIR%%/images/vbox/state_stuck_16px.png
-%%WWWDIR%%/images/vbox/status_error_16px.png
-%%WWWDIR%%/images/vbox/take_snapshot_16px.png
-%%WWWDIR%%/images/vbox/take_snapshot_22px.png
-%%WWWDIR%%/images/vbox/take_snapshot_dis_16px.png
-%%WWWDIR%%/images/vbox/take_snapshot_dis_22px.png
-%%WWWDIR%%/images/vbox/tpixel.png
-%%WWWDIR%%/images/vbox/transparent_16px.png
-%%WWWDIR%%/images/vbox/usb_16px.png
-%%WWWDIR%%/images/vbox/usb_add_16px.png
-%%WWWDIR%%/images/vbox/usb_add_disabled_16px.png
-%%WWWDIR%%/images/vbox/usb_disabled_16px.png
-%%WWWDIR%%/images/vbox/usb_filter_edit_16px.png
-%%WWWDIR%%/images/vbox/usb_filter_edit_disabled_16px.png
-%%WWWDIR%%/images/vbox/usb_movedown_16px.png
-%%WWWDIR%%/images/vbox/usb_movedown_disabled_16px.png
-%%WWWDIR%%/images/vbox/usb_moveup_16px.png
-%%WWWDIR%%/images/vbox/usb_moveup_disabled_16px.png
-%%WWWDIR%%/images/vbox/usb_new_16px.png
-%%WWWDIR%%/images/vbox/usb_new_disabled_16px.png
-%%WWWDIR%%/images/vbox/usb_remove_16px.png
-%%WWWDIR%%/images/vbox/usb_remove_disabled_16px.png
-%%WWWDIR%%/images/vbox/usb_unavailable_16px.png
-%%WWWDIR%%/images/vbox/usb_unavailable_disabled_16px.png
-%%WWWDIR%%/images/vbox/vdm_add_16px.png
-%%WWWDIR%%/images/vbox/vdm_add_22px.png
-%%WWWDIR%%/images/vbox/vdm_add_disabled_16px.png
-%%WWWDIR%%/images/vbox/vdm_add_disabled_22px.png
-%%WWWDIR%%/images/vbox/vdm_new_16px.png
-%%WWWDIR%%/images/vbox/vdm_new_22px.png
-%%WWWDIR%%/images/vbox/vdm_new_disabled_16px.png
-%%WWWDIR%%/images/vbox/vdm_new_disabled_22px.png
-%%WWWDIR%%/images/vbox/vdm_release_16px.png
-%%WWWDIR%%/images/vbox/vdm_release_22px.png
-%%WWWDIR%%/images/vbox/vdm_release_disabled_16px.png
-%%WWWDIR%%/images/vbox/vdm_release_disabled_22px.png
-%%WWWDIR%%/images/vbox/vdm_remove_16px.png
-%%WWWDIR%%/images/vbox/vdm_remove_22px.png
-%%WWWDIR%%/images/vbox/vdm_remove_disabled_16px.png
-%%WWWDIR%%/images/vbox/vdm_remove_disabled_22px.png
-%%WWWDIR%%/images/vbox/virtualbox-hdd.png
-%%WWWDIR%%/images/vbox/virtualbox-ova.png
-%%WWWDIR%%/images/vbox/virtualbox-ovf.png
-%%WWWDIR%%/images/vbox/virtualbox-vbox.png
-%%WWWDIR%%/images/vbox/virtualbox-vdi.png
-%%WWWDIR%%/images/vbox/virtualbox-vhd.png
-%%WWWDIR%%/images/vbox/virtualbox-vmdk.png
-%%WWWDIR%%/images/vbox/vm_add_16px.png
-%%WWWDIR%%/images/vbox/vm_clone_16px.png
-%%WWWDIR%%/images/vbox/vm_clone_disabled_16px.png
-%%WWWDIR%%/images/vbox/vm_discard_32px.png
-%%WWWDIR%%/images/vbox/vm_discard_disabled_32px.png
-%%WWWDIR%%/images/vbox/vm_new_32px.png
-%%WWWDIR%%/images/vbox/vm_new_disabled_32px.png
-%%WWWDIR%%/images/vbox/vm_poweroff_32px.png
-%%WWWDIR%%/images/vbox/vm_poweroff_disabled_32px.png
-%%WWWDIR%%/images/vbox/vm_settings_32px.png
-%%WWWDIR%%/images/vbox/vm_settings_disabled_32px.png
-%%WWWDIR%%/images/vbox/vm_start_32px.png
-%%WWWDIR%%/images/vbox/vm_start_disabled_32px.png
-%%WWWDIR%%/images/vbox/vmw_clone_bg.png
-%%WWWDIR%%/images/vbox/vmw_first_run_bg.png
-%%WWWDIR%%/images/vbox/vmw_new_harddisk_bg.png
-%%WWWDIR%%/images/vbox/vmw_new_welcome_bg.png
-%%WWWDIR%%/images/vbox/vmw_ovf_export_bg.png
-%%WWWDIR%%/images/vbox/vmw_ovf_import_bg.png
-%%WWWDIR%%/images/vbox/vrdp_16px.png
-%%WWWDIR%%/images/vbox/vrdp_32px.png
-%%WWWDIR%%/images/vbox/vrdp_disabled_16px.png
-%%WWWDIR%%/images/vbox/vrdp_disabled_32px.png
-%%WWWDIR%%/images/vbox/vrdp_on_16px.png
-%%WWWDIR%%/images/vbox/welcome.png
-%%WWWDIR%%/images/wizard_bg.png
-%%WWWDIR%%/index.html
-%%WWWDIR%%/js/canvasimages.js
-%%WWWDIR%%/js/chooser.js
-%%WWWDIR%%/js/datamediator.js
-%%WWWDIR%%/js/dialogs.js
-%%WWWDIR%%/js/eventlistener.js
-%%WWWDIR%%/js/jquery-1.10.2-min.js
-%%WWWDIR%%/js/jquery-ui-1.10.3-min.js
-%%WWWDIR%%/js/jquery.jec-1.3.1.js
-%%WWWDIR%%/js/jquery.projectPlugins.js
-%%WWWDIR%%/js/jquery.scrollTo-min.js
-%%WWWDIR%%/js/jquery.tipped-2.1b.min.js
-%%WWWDIR%%/js/language.php
-%%WWWDIR%%/js/phptest.php
-%%WWWDIR%%/js/phpvirtualbox.js
-%%WWWDIR%%/js/utils.js
-%%WWWDIR%%/languages/de.xml
-%%WWWDIR%%/languages/es.xml
-%%WWWDIR%%/languages/fr.xml
-%%WWWDIR%%/languages/it.xml
-%%WWWDIR%%/languages/ja.xml
-%%WWWDIR%%/languages/languages.txt
-%%WWWDIR%%/languages/pl.xml
-%%WWWDIR%%/languages/pt_br.xml
-%%WWWDIR%%/languages/ro.xml
-%%WWWDIR%%/languages/ru.xml
-%%WWWDIR%%/languages/source/de.dat
-%%WWWDIR%%/languages/source/en.dat
-%%WWWDIR%%/languages/source/es.dat
-%%WWWDIR%%/languages/source/fr.dat
-%%WWWDIR%%/languages/source/it.dat
-%%WWWDIR%%/languages/source/ja.dat
-%%WWWDIR%%/languages/source/parse_vbox_lang.php
-%%WWWDIR%%/languages/source/pl.dat
-%%WWWDIR%%/languages/source/pt_br.dat
-%%WWWDIR%%/languages/source/ro.dat
-%%WWWDIR%%/languages/source/ru.dat
-%%WWWDIR%%/languages/source/zh_cn.dat
-%%WWWDIR%%/languages/source/zh_tw.dat
-%%WWWDIR%%/languages/zh_cn.xml
-%%WWWDIR%%/languages/zh_tw.xml
-%%WWWDIR%%/lib/ajax.php
-%%WWWDIR%%/lib/auth/ActiveDirectory.php
-%%WWWDIR%%/lib/auth/Builtin.php
-%%WWWDIR%%/lib/auth/LDAP.php
-%%WWWDIR%%/lib/auth/OpenMediaVault.php
-%%WWWDIR%%/lib/auth/WebAuth.php
-%%WWWDIR%%/lib/authinterface.php
-%%WWWDIR%%/lib/config.php
-%%WWWDIR%%/lib/jqueryFileTree.php
-%%WWWDIR%%/lib/language.php
-%%WWWDIR%%/lib/utils.php
-%%WWWDIR%%/lib/vboxServiceWrappers.php
-%%WWWDIR%%/lib/vboxconnector.php
-%%WWWDIR%%/lib/vboxweb-4.2.wsdl
-%%WWWDIR%%/lib/vboxwebService-4.2.wsdl
-%%WWWDIR%%/panes/about.html
-%%WWWDIR%%/panes/chooser.html
-%%WWWDIR%%/panes/guestNetAdapters.html
-%%WWWDIR%%/panes/login.html
-%%WWWDIR%%/panes/settingsAudio.html
-%%WWWDIR%%/panes/settingsDisplay.html
-%%WWWDIR%%/panes/settingsGeneral.html
-%%WWWDIR%%/panes/settingsGlobalGeneral.html
-%%WWWDIR%%/panes/settingsGlobalLanguage.html
-%%WWWDIR%%/panes/settingsGlobalNetwork.html
-%%WWWDIR%%/panes/settingsGlobalUsers.html
-%%WWWDIR%%/panes/settingsNetwork.html
-%%WWWDIR%%/panes/settingsParallelPorts.html
-%%WWWDIR%%/panes/settingsPortForwarding.html
-%%WWWDIR%%/panes/settingsSerialPorts.html
-%%WWWDIR%%/panes/settingsSharedFolders.html
-%%WWWDIR%%/panes/settingsStorage.html
-%%WWWDIR%%/panes/settingsSystem.html
-%%WWWDIR%%/panes/settingsUSB.html
-%%WWWDIR%%/panes/tabVMConsole.html
-%%WWWDIR%%/panes/tabVMDetails.html
-%%WWWDIR%%/panes/tabVMSnapshots.html
-%%WWWDIR%%/panes/tabs.html
-%%WWWDIR%%/panes/toolbar.html
-%%WWWDIR%%/panes/topmenu.html
-%%WWWDIR%%/panes/userEdit.html
-%%WWWDIR%%/panes/vmlogs.html
-%%WWWDIR%%/panes/vmm.html
-%%WWWDIR%%/panes/vmmISCSI.html
-%%WWWDIR%%/panes/vmmModify.html
-%%WWWDIR%%/panes/wizardCloneVM.html
-%%WWWDIR%%/panes/wizardCloneVMAdvanced.html
-%%WWWDIR%%/panes/wizardCopyHD.html
-%%WWWDIR%%/panes/wizardCopyHDAdvanced.html
-%%WWWDIR%%/panes/wizardExportAppliance.html
-%%WWWDIR%%/panes/wizardExportApplianceAdvanced.html
-%%WWWDIR%%/panes/wizardFirstRun.html
-%%WWWDIR%%/panes/wizardImportAppliance.html
-%%WWWDIR%%/panes/wizardImportApplianceAdvanced.html
-%%WWWDIR%%/panes/wizardNewHD.html
-%%WWWDIR%%/panes/wizardNewHDAdvanced.html
-%%WWWDIR%%/panes/wizardNewVM.html
-%%WWWDIR%%/panes/wizardNewVMAdvanced.html
-%%WWWDIR%%/rdp.php
-%%WWWDIR%%/rdpweb/RDPClientUI.swf
-%%WWWDIR%%/rdpweb/license_3rd.txt
-%%WWWDIR%%/rdpweb/swfobject.js
-%%WWWDIR%%/rdpweb/webclient.js
-%%WWWDIR%%/rdpweb/webclient3.html
-%%WWWDIR%%/recovery.php-disabled
-%%WWWDIR%%/screen.php
-%%WWWDIR%%/vboxinit
-@dirrm %%WWWDIR%%/rdpweb
-@dirrm %%WWWDIR%%/panes
-@dirrm %%WWWDIR%%/lib/auth
-@dirrm %%WWWDIR%%/lib
-@dirrm %%WWWDIR%%/languages/source
-@dirrm %%WWWDIR%%/languages
-@dirrm %%WWWDIR%%/js
-@dirrm %%WWWDIR%%/images/vbox/OSE
-@dirrm %%WWWDIR%%/images/vbox
-@dirrm %%WWWDIR%%/images/jqueryFileTree
-@dirrm %%WWWDIR%%/images/jquery-ui
-@dirrm %%WWWDIR%%/images
-@dirrm %%WWWDIR%%/css
-@dirrmtry %%WWWDIR%%
View
101 build-files/ports-overlay/www/w3m/Makefile
@@ -1,101 +0,0 @@
-# Created by: MANTANI Nobutaka <nobutaka@nobutaka.com>
-# $FreeBSD: www/w3m/Makefile 327776 2013-09-20 23:36:50Z bapt $
-
-PORTNAME= w3m
-PORTVERSION= 0.5.3
-PORTREVISION= 2
-CATEGORIES+= www ipv6
-MASTER_SITES= SF/w3m/w3m/w3m-${PORTVERSION}
-
-MAINTAINER?= nobutaka@FreeBSD.org
-COMMENT?= A pager/text-based WWW browser
-
-USE_OPENSSL= yes
-LIB_DEPENDS= gc:${PORTSDIR}/devel/boehm-gc
-
-MAKE_JOBS_UNSAFE= yes
-
-CONFLICTS?= ja-w3m-0.5.* ja-w3m-img-0.5.* w3m-img-0.5.*
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-gc=${LOCALBASE}
-
-MAN1= w3m.1 w3mman.1
-MANLANG= "" ja
-
-DOCS= FAQ.html HISTORY MANUAL.html README \
- README.dict README.func README.m17n STORY.html keymap.default \
- keymap.lynx menu.default menu.submenu
-
-OPTIONS_DEFINE= JAPANESE INLINE_IMAGE KEY_LYNX DOCS
-JAPANESE_DESC= Japanese messages and migemo support
-INLINE_IMAGE_DESC= Inline image support
-KEY_LYNX_DESC= Keymap like lynx browser
-
-NO_CCACHE= yes
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MJAPANESE}
-USES+= gettext
-CONFIGURE_ARGS+= --enable-japanese=E --with-migemo=yes gt_cv_func_gnugettext1_libintl=yes
-DOCS_JP= ${DOCS} README.SSL README.cookie README.keymap README.mailcap \
- README.menu README.migemo
-
-PLIST_SUB+= JAPANESE=""
-.else
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= JAPANESE="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MINLINE_IMAGE}
-USE_GNOME= gtk20
-CONFIGURE_ARGS+= --with-imagelib=gtk2 --enable-image=fb,x11
-
-DOCS+= README.img
-DOCS_JP+= README.img
-PLIST_SUB+= INLINE_IMAGE=""
-
-PKGMESSAGE= ${MASTERDIR}/pkg-message
-.else
-CONFIGURE_ARGS+= --enable-image=no
-PLIST_SUB+= INLINE_IMAGE="@comment "
-
-# Don't use pkg-message
-PKGMESSAGE= ${NONEXISTENT}
-.endif
-
-.if ${PORT_OPTIONS:MKEY_LYNX}
-CONFIGURE_ARGS+= --enable-keymap=lynx
-.endif
-
-CONFIGURE_ENV= DEFS="-I${LOCALBASE}/include"
-
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|\`\(expr\) \(.*\) : \(.*\)`|`\1 \\( \2 : \3 \\)`|' \
- -e 's|/usr/local|${LOCALBASE}|g' \
- ${WRKSRC}/configure
- @${FIND} ${WRKSRC}/doc* -type f \! -name HISTORY \
- -exec ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' {} +
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-.if ${PORT_OPTIONS:MJAPANESE}
- @${MKDIR} ${PREFIX}/share/doc/ja/w3m
- @cd ${WRKSRC}/doc-jp; \
- for i in ${DOCS_JP} ; do \
- ${INSTALL_DATA} $$i ${PREFIX}/share/doc/ja/w3m/ ; \
- done
-.endif
- @cd ${WRKSRC}/doc; \
- ${MKDIR} ${PREFIX}/share/doc/w3m/; \
- for i in ${DOCS} ; do \
- ${INSTALL_DATA} $$i ${PREFIX}/share/doc/w3m/ ; \
- done
-.endif
- @${INSTALL_MAN} ${WRKSRC}/scripts/w3mman/w3mman.1 ${PREFIX}/man/ja/man1
-.if ${PORT_OPTIONS:MINLINE_IMAGE}
- @${CAT} ${PKGMESSAGE}
-.endif
-
-.include <bsd.port.mk>
View
4 build-files/ports-overlay/www/w3m/distinfo
@@ -1,4 +0,0 @@
-SHA256 (w3m-0.5.3.tar.gz) = e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3
-SIZE (w3m-0.5.3.tar.gz) = 2202328
-SHA256 (w3m-0.5-version-xhtml.patch) = 3cc144a233f566a4b718eec480f3008bb67b8155ecf10663bb98b0aa47a33796
-SIZE (w3m-0.5-version-xhtml.patch) = 8965
View
11 build-files/ports-overlay/www/w3m/files/patch-configure
@@ -1,11 +0,0 @@
---- configure.orig 2007-11-23 02:39:52.000000000 +0900
-+++ configure 2007-11-23 02:43:22.000000000 +0900
-@@ -5532,7 +5532,7 @@
- if test x"$enable_image" = xyes; then
- enable_image=x11
- case "`uname -s`" in
-- Linux|linux|LINUX)
-+ Linux|linux|LINUX|FreeBSD|freebsd|FREEBSD)
- if test -c /dev/fb0; then
- enable_image=x11,fb
- fi;;
View
751 build-files/ports-overlay/www/w3m/files/patch-w3mimg_fb_fb.c
@@ -1,751 +0,0 @@
---- w3mimg/fb/fb.c.orig 2003-07-14 01:19:10.000000000 +0900
-+++ w3mimg/fb/fb.c 2007-11-23 08:59:36.000000000 +0900
-@@ -12,12 +12,24 @@
- #include <errno.h>
- #include <sys/ioctl.h>
- #include <sys/mman.h>
-+#if defined(__linux__)
- #include <linux/fb.h>
-+#elif defined(__FreeBSD__)
-+#include <sys/fbio.h>
-+#endif
-+#if defined(__FreeBSD__)
-+#include <sys/types.h>
-+#include <machine/param.h>
-+#endif
-
- #include "fb.h"
-
- #define FB_ENV "FRAMEBUFFER"
-+#if defined(__linux__)
- #define FB_DEFDEV "/dev/fb0"
-+#elif defined(__FreeBSD__)
-+#define FB_DEFDEV "/dev/ttyv0"
-+#endif
-
- #define MONO_OFFSET_8BIT 0x40
- #define COLORS_MONO_8BIT 0x40
-@@ -38,22 +50,65 @@
-
- #define IMAGE_SIZE_MAX 10000
-
-+#if defined(__linux__)
- static struct fb_cmap *fb_cmap_create(struct fb_fix_screeninfo *,
- struct fb_var_screeninfo *);
-+#elif defined(__FreeBSD__)
-+static video_color_palette_t *fb_cmap_create(video_info_t *video_info,
-+ video_adapter_info_t *video_adapter_info);
-+#endif
-+#if defined(__linux__)
- static void fb_cmap_destroy(struct fb_cmap *cmap);
-+#elif defined(__FreeBSD__)
-+static void fb_cmap_destroy(video_color_palette_t *cmap);
-+#endif
-+#if defined(__linux__)
- static int fb_fscrn_get(int fbfp, struct fb_fix_screeninfo *scinfo);
-+#endif
-+#if defined(__linux__)
- static void *fb_mmap(int fbfp, struct fb_fix_screeninfo *scinfo);
-+#elif defined(__FreeBSD__)
-+static void *fb_mmap(int fbfp, video_adapter_info_t *video_adapter_info);
-+#endif
-+#if defined(__linux__)
- static int fb_munmap(void *buf, struct fb_fix_screeninfo *scinfo);
-+#elif defined(__FreeBSD__)
-+static int fb_munmap(void *buf, video_adapter_info_t *video_adapter_info);
-+#endif
-+#if defined(__linux__)
- static int fb_vscrn_get(int fbfp, struct fb_var_screeninfo *scinfo);
-+#endif
-+#if defined(__linux__)
- static int fb_cmap_set(int fbfp, struct fb_cmap *cmap);
-+#elif defined(__FreeBSD__)
-+static int fb_cmap_set(int fbfp, video_color_palette_t *cmap);
-+#endif
-+#if defined(__linux__)
- static int fb_cmap_get(int fbfp, struct fb_cmap *cmap);
-+#elif defined(__FreeBSD__)
-+static int fb_cmap_get(int fbfp, video_color_palette_t *cmap);
-+#endif
- static int fb_cmap_init(void);
- static int fb_get_cmap_index(int r, int g, int b);
- static unsigned long fb_get_packed_color(int r, int g, int b);
-+#if defined(__FreeBSD__)
-+static int fb_video_mode_get(int fbfp, int *video_mode);
-+static int fb_video_info_get(int fbfp, video_info_t *video_info);
-+static int fb_video_adapter_info_get(int fbfp, video_adapter_info_t *video_adapter_info);
-+#endif
-
-+#if defined(__linux__)
- static struct fb_fix_screeninfo fscinfo;
- static struct fb_var_screeninfo vscinfo;
-+#elif defined(__FreeBSD__)
-+static video_info_t video_info;
-+static video_adapter_info_t video_adapter_info;
-+#endif
-+#if defined(__linux__)
- static struct fb_cmap *cmap = NULL, *cmap_org = NULL;
-+#elif defined(__FreeBSD__)
-+static video_color_palette_t *cmap = NULL, *cmap_org = NULL;
-+#endif
- static int is_open = FALSE;
- static int fbfp = -1;
- static size_t pixel_size = 0;
-@@ -63,6 +118,9 @@
- fb_open(void)
- {
- char *fbdev = { FB_DEFDEV };
-+#if defined(__FreeBSD__)
-+ int video_mode;
-+#endif
-
- if (is_open == TRUE)
- return 1;
-@@ -76,6 +134,7 @@
- goto ERR_END;
- }
-
-+#if defined(__linux__)
- if (fb_fscrn_get(fbfp, &fscinfo)) {
- goto ERR_END;
- }
-@@ -83,22 +142,67 @@
- if (fb_vscrn_get(fbfp, &vscinfo)) {
- goto ERR_END;
- }
-+#elif defined(__FreeBSD__)
-+ if (fb_video_mode_get(fbfp, &video_mode)) {
-+ goto ERR_END;
-+ }
-+ video_info.vi_mode = video_mode;
-+
-+ if (fb_video_info_get(fbfp, &video_info)) {
-+ goto ERR_END;
-+ }
-+
-+ if (fb_video_adapter_info_get(fbfp, &video_adapter_info)) {
-+ goto ERR_END;
-+ }
-+ if (!(video_info.vi_flags & V_INFO_GRAPHICS) ||
-+ !(video_info.vi_flags & V_INFO_LINEAR)) {
-+ goto ERR_END;
-+ }
-+#endif
-
-+#if defined(__linux__)
- if ((cmap = fb_cmap_create(&fscinfo, &vscinfo)) == (struct fb_cmap *)-1) {
- goto ERR_END;
- }
-+#elif defined(__FreeBSD__)
-+ if ((cmap = fb_cmap_create(&video_info, &video_adapter_info)) == (video_color_palette_t *)-1) {
-+ goto ERR_END;
-+ }
-+#endif
-
-+#if defined(__linux__)
- if (!(buf = fb_mmap(fbfp, &fscinfo))) {
- fprintf(stderr, "Can't allocate memory.\n");
- goto ERR_END;
- }
-+#elif defined(__FreeBSD__)
-+ if (!(buf = fb_mmap(fbfp, &video_adapter_info))) {
-+ fprintf(stderr, "Can't allocate memory.\n");
-+ goto ERR_END;
-+ }
-+#endif
-
-+#if defined(__linux__)
- if (fscinfo.type != FB_TYPE_PACKED_PIXELS) {
- fprintf(stderr, "This type of framebuffer is not supported.\n");
- goto ERR_END;
- }
-+#elif defined(__FreeBSD__)
-+ if (!(video_info.vi_mem_model == V_INFO_MM_PACKED ||
-+ video_info.vi_mem_model == V_INFO_MM_DIRECT)) {
-+ fprintf(stderr, "This type of framebuffer is not supported.\n");
-+ goto ERR_END;
-+ }
-+#endif
-
-+#if defined(__linux__)
- if (fscinfo.visual == FB_VISUAL_PSEUDOCOLOR && vscinfo.bits_per_pixel == 8) {
-+#elif defined(__FreeBSD__)
-+ if (video_adapter_info.va_flags & V_ADP_PALETTE &&
-+ video_info.vi_mem_model == V_INFO_MM_PACKED &&
-+ video_info.vi_depth == 8) {
-+#endif
- if (fb_cmap_get(fbfp, cmap)) {
- fprintf(stderr, "Can't get color map.\n");
- fb_cmap_destroy(cmap);
-@@ -111,12 +215,20 @@
-
- pixel_size = 1;
- }
-+#if defined(__linux__)
- else if ((fscinfo.visual == FB_VISUAL_TRUECOLOR ||
- fscinfo.visual == FB_VISUAL_DIRECTCOLOR) &&
- (vscinfo.bits_per_pixel == 15 ||
- vscinfo.bits_per_pixel == 16 ||
- vscinfo.bits_per_pixel == 24 || vscinfo.bits_per_pixel == 32)) {
- pixel_size = (vscinfo.bits_per_pixel + 7) / CHAR_BIT;
-+#elif defined(__FreeBSD__)
-+ else if (video_info.vi_mem_model == V_INFO_MM_DIRECT &&
-+ (video_info.vi_depth == 15 ||
-+ video_info.vi_depth == 16 ||
-+ video_info.vi_depth == 24 || video_info.vi_depth == 32)) {
-+ pixel_size = (video_info.vi_depth + 7) / CHAR_BIT;
-+#endif
- }
- else {
- fprintf(stderr, "This type of framebuffer is not supported.\n");
-@@ -147,7 +259,11 @@
- cmap = NULL;
- }
- if (buf != NULL) {
-+#if defined(__linux__)
- fb_munmap(buf, &fscinfo);
-+#elif defined(__FreeBSD__)
-+ fb_munmap(buf, &video_adapter_info);
-+#endif
- buf = NULL;
- }
-
-@@ -259,11 +375,19 @@
- if (y + height > fb_height())
- height = fb_height() - y;
-
-+#if defined(__linux__)
- offset_fb = fscinfo.line_length * y + pixel_size * x;
-+#elif defined(__FreeBSD__)
-+ offset_fb = video_adapter_info.va_line_width * y + pixel_size * x;
-+#endif
- offset_img = image->rowstride * sy + pixel_size * sx;
- for (i = 0; i < height; i++) {
- memcpy(buf + offset_fb, image->data + offset_img, pixel_size * width);
-+#if defined(__linux__)
- offset_fb += fscinfo.line_length;
-+#elif defined(__FreeBSD__)
-+ offset_fb += video_adapter_info.va_line_width;
-+#endif
- offset_img += image->rowstride;
- }
-
-@@ -336,7 +460,11 @@
- if (is_open != TRUE)
- return 0;
-
-+#if defined(__linux__)
- return vscinfo.xres;
-+#elif defined(__FreeBSD__)
-+ return video_info.vi_width;
-+#endif
- }
-
- int
-@@ -345,7 +473,11 @@
- if (is_open != TRUE)
- return 0;
-
-+#if defined(__linux__)
- return vscinfo.yres;
-+#elif defined(__FreeBSD__)
-+ return video_info.vi_height;
-+#endif
- }
-
- int
-@@ -369,7 +501,11 @@
- h = fb_height() - y;
-
- if (tmp == NULL) {
-+#if defined(__linux__)
- tmp = malloc(fscinfo.line_length);
-+#elif defined(__FreeBSD__)
-+ tmp = malloc(video_adapter_info.va_line_width);
-+#endif
- if (tmp == NULL)
- return 1;
- }
-@@ -384,10 +520,18 @@
- gg = g;
- bb = b;
- }
-+#if defined(__linux__)
- offset_fb = fscinfo.line_length * y + pixel_size * x;
-+#elif defined(__FreeBSD__)
-+ offset_fb = video_adapter_info.va_line_width * y + pixel_size * x;
-+#endif
- for (i = 0; i < h; i++) {
- memcpy(buf + offset_fb, tmp, pixel_size * w);
-+#if defined(__linux__)
- offset_fb += fscinfo.line_length;
-+#elif defined(__FreeBSD__)
-+ offset_fb += video_adapter_info.va_line_width;
-+#endif
- }
- return 0;
- }
-@@ -400,11 +544,21 @@
- return fb_get_cmap_index(r, g, b);
- }
- else {
-+#if defined(__linux__)
- return
- ((r >> (CHAR_BIT - vscinfo.red.length)) << vscinfo.red.offset) +
- ((g >> (CHAR_BIT - vscinfo.green.length)) << vscinfo.green.
- offset) +
- ((b >> (CHAR_BIT - vscinfo.blue.length)) << vscinfo.blue.offset);
-+#elif defined(__FreeBSD__)
-+ return
-+ ((r >> (CHAR_BIT - video_info.vi_pixel_fsizes[0])) <<
-+ video_info.vi_pixel_fields[0]) +
-+ ((g >> (CHAR_BIT - video_info.vi_pixel_fsizes[1])) <<
-+ video_info.vi_pixel_fields[1]) +
-+ ((b >> (CHAR_BIT - video_info.vi_pixel_fsizes[2])) <<
-+ video_info.vi_pixel_fields[2]);
-+#endif
- }
- }
-
-@@ -433,16 +587,31 @@
- if (cmap == NULL)
- return 1;
-
-+#if defined(__linux__)
- if (cmap->len < COLOR_OFFSET_8BIT + COLORS_8BIT) {
- fprintf(stderr, "Can't allocate enough color.\n");
- return 1;
- }
-+#elif defined(__FreeBSD__)
-+ if (cmap->count < COLOR_OFFSET_8BIT + COLORS_8BIT) {
-+ fprintf(stderr, "Can't allocate enough color.\n");
-+ return 1;
-+ }
-+#endif
-
- if (cmap_org == NULL) {
-+#if defined(__linux__)
- if ((cmap_org =
- fb_cmap_create(&fscinfo, &vscinfo)) == (struct fb_cmap *)-1) {
- return 1;
- }
-+#elif defined(__FreeBSD__)
-+ if ((cmap_org =
-+ fb_cmap_create(&video_info, &video_adapter_info)) ==
-+ (video_color_palette_t *)-1) {
-+ return 1;
-+ }
-+#endif
-
- if (fb_cmap_get(fbfp, cmap_org)) {
- fprintf(stderr, "Can't get color map.\n");
-@@ -452,8 +621,13 @@
- }
- }
-
-+#if defined(__linux__)
- cmap->start = MONO_OFFSET_8BIT;
- cmap->len = COLORS_8BIT + COLORS_MONO_8BIT;
-+#elif defined(__FreeBSD__)
-+ cmap->index = MONO_OFFSET_8BIT;
-+ cmap->count = COLORS_8BIT + COLORS_MONO_8BIT;
-+#endif
-
- for (lp = 0; lp < COLORS_MONO_8BIT; lp++) {
- int c;
-@@ -506,73 +680,213 @@
-
- #define LUT_MAX (256)
-
-+#if defined(__linux__)
- static struct fb_cmap *
- fb_cmap_create(struct fb_fix_screeninfo *fscinfo,
- struct fb_var_screeninfo *vscinfo)
-+#elif defined(__FreeBSD__)
-+static video_color_palette_t *
-+fb_cmap_create(video_info_t *video_info,
-+ video_adapter_info_t *video_adapter_info)
-+#endif
- {
-+#if defined(__linux__)
- struct fb_cmap *cmap;
-+#elif defined(__FreeBSD__)
-+ video_color_palette_t *cmap;
-+#endif
- int cmaplen = LUT_MAX;
-
- /* check the existence of colormap */
-+#if defined(__linux__)
- if (fscinfo->visual == FB_VISUAL_MONO01 ||
- fscinfo->visual == FB_VISUAL_MONO10 ||
- fscinfo->visual == FB_VISUAL_TRUECOLOR)
- return NULL;
-+#elif defined(__FreeBSD__)
-+ if (!(video_adapter_info->va_flags & V_ADP_PALETTE))
-+ return NULL;
-+#endif
-
-+#if defined(__linux__)
- cmap = (struct fb_cmap *)malloc(sizeof(struct fb_cmap));
-+#elif defined(__FreeBSD__)
-+ cmap = (video_color_palette_t *)malloc(sizeof(video_color_palette_t));
-+#endif
- if (!cmap) {
- perror("cmap malloc error\n");
-+#if defined(__linux__)
- return (struct fb_cmap *)-1;
-+#elif defined(__FreeBSD__)
-+ return (video_color_palette_t *)-1;
-+#endif
- }
-+#if defined(__linux__)
- memset(cmap, 0, sizeof(struct fb_cmap));
-+#elif defined(__FreeBSD__)
-+ memset(cmap, 0, sizeof(video_color_palette_t));
-+#endif
-+
-+#if defined(__FreeBSD__)
-+ if (video_info->vi_mem_model == V_INFO_MM_PACKED) {
-+ cmap->red = (u_char *) malloc(sizeof(u_char) * cmaplen);
-+ if (!cmap->red) {
-+ perror("red lut malloc error\n");
-+ return (video_color_palette_t *)-1;
-+ }
-+ cmap->green = (u_char *) malloc(sizeof(u_char) * cmaplen);
-+ if (!cmap->green) {
-+ perror("green lut malloc error\n");
-+ free(cmap->red);
-+ return (video_color_palette_t *)-1;
-+ }
-+ cmap->blue = (u_char *) malloc(sizeof(u_char) * cmaplen);
-+ if (!cmap->blue) {
-+ perror("blue lut malloc error\n");
-+ free(cmap->red);
-+ free(cmap->green);
-+ return (video_color_palette_t *)-1;
-+ }
-+ cmap->transparent = (u_char *) malloc(sizeof(u_char) * cmaplen);
-+ if (!cmap->transparent) {
-+ perror("transparent lut malloc error\n");
-+ free(cmap->red);
-+ free(cmap->green);
-+ free(cmap->blue);
-+ return (video_color_palette_t *)-1;
-+ }
-+ cmap->count = cmaplen;
-+ return cmap;
-+ }
-+#endif
-
- /* Allocates memory for a colormap */
-+#if defined(__linux__)
- if (vscinfo->red.length) {
- cmap->red = (__u16 *) malloc(sizeof(__u16) * cmaplen);
-+#elif defined(__FreeBSD__)
-+ if (video_info->vi_pixel_fsizes[0]) {
-+ cmap->red = (u_char *) malloc(sizeof(u_char) * cmaplen);
-+#endif
- if (!cmap->red) {
- perror("red lut malloc error\n");
-+#if defined(__linux__)
- return (struct fb_cmap *)-1;
-+#elif defined(__FreeBSD__)
-+ return (video_color_palette_t *)-1;
-+#endif
- }
- }
-+#if defined(__linux__)
- if (vscinfo->green.length) {
- cmap->green = (__u16 *) malloc(sizeof(__u16) * cmaplen);
-+#elif defined(__FreeBSD__)
-+ if (video_info->vi_pixel_fsizes[1]) {
-+ cmap->green = (u_char *) malloc(sizeof(u_char) * cmaplen);
-+#endif
- if (!cmap->green) {
-+#if defined(__linux__)
- if (vscinfo->red.length)
- free(cmap->red);
-+#elif defined(__FreeBSD__)
-+ if (video_info->vi_pixel_fsizes[0])
-+ free(cmap->red);
-+#endif
- perror("green lut malloc error\n");
-+#if defined(__linux__)
- return (struct fb_cmap *)-1;
-+#elif defined(__FreeBSD__)
-+ return (video_color_palette_t *)-1;
-+#endif
- }
- }
-+#if defined(__linux__)
- if (vscinfo->blue.length) {
- cmap->blue = (__u16 *) malloc(sizeof(__u16) * cmaplen);
-+#elif defined(__FreeBSD__)
-+ if (video_info->vi_pixel_fsizes[2]) {
-+ cmap->blue = (u_char *) malloc(sizeof(u_char) * cmaplen);
-+#endif
- if (!cmap->blue) {
-+#if defined(__linux__)
- if (vscinfo->red.length)
- free(cmap->red);
-+#elif defined(__FreeBSD__)
-+ if (video_info->vi_pixel_fsizes[0])
-+ free(cmap->red);
-+#endif
-+#if defined(__linux__)
- if (vscinfo->green.length)
- free(cmap->green);
-+#elif defined(__FreeBSD__)
-+ if (video_info->vi_pixel_fsizes[1])
-+ free(cmap->green);
-+#endif
- perror("blue lut malloc error\n");
-+#if defined(__linux__)
- return (struct fb_cmap *)-1;
-+#elif defined(__FreeBSD__)
-+ return (video_color_palette_t *)-1;
-+#endif
- }
- }
-+#if defined(__linux__)
- if (vscinfo->transp.length) {
- cmap->transp = (__u16 *) malloc(sizeof(__u16) * cmaplen);
-+#elif defined(__FreeBSD__)
-+ if (video_info->vi_pixel_fsizes[3]) {
-+ cmap->transparent = (u_char *) malloc(sizeof(u_char) * cmaplen);
-+#endif
-+#if defined(__linux__)
- if (!cmap->transp) {
-+#elif defined(__FreeBSD__)
-+ if (!cmap->transparent) {
-+#endif
-+#if defined(__linux__)
- if (vscinfo->red.length)
- free(cmap->red);
-+#elif defined(__FreeBSD__)
-+ if (video_info->vi_pixel_fsizes[0])
-+ free(cmap->red);
-+#endif
-+#if defined(__linux__)
- if (vscinfo->green.length)
- free(cmap->green);
-+#elif defined(__FreeBSD__)
-+ if (video_info->vi_pixel_fsizes[1])
-+ free(cmap->green);
-+#endif
-+#if defined(__linux__)
- if (vscinfo->blue.length)
- free(cmap->blue);
- perror("transp lut malloc error\n");
-+#elif defined(__FreeBSD__)
-+ if (video_info->vi_pixel_fsizes[2])
-+ free(cmap->blue);
-+ perror("transparent lut malloc error\n");
-+#endif
-+#if defined(__linux__)
- return (struct fb_cmap *)-1;
-+#elif defined(__FreeBSD__)
-+ return (video_color_palette_t *)-1;
-+#endif
- }
- }
-+#if defined(__linux__)
- cmap->len = cmaplen;
-+#elif defined(__FreeBSD__)
-+ cmap->count = cmaplen;
-+#endif
- return cmap;
- }
-
-+#if defined(__linux__)
- static void
- fb_cmap_destroy(struct fb_cmap *cmap)
-+#elif defined(__FreeBSD__)
-+static void
-+fb_cmap_destroy(video_color_palette_t *cmap)
-+#endif
- {
- if (cmap->red)
- free(cmap->red);
-@@ -580,28 +894,57 @@
- free(cmap->green);
- if (cmap->blue)
- free(cmap->blue);
-+#if defined(__linux__)
- if (cmap->transp)
- free(cmap->transp);
-+#elif defined(__FreeBSD__)
-+ if (cmap->transparent)
-+ free(cmap->transparent);
-+#endif
- free(cmap);
- }
-
-+#if defined(__linux__)
- static int
- fb_cmap_get(int fbfp, struct fb_cmap *cmap)
-+#elif defined(__FreeBSD__)
-+static int
-+fb_cmap_get(int fbfp, video_color_palette_t *cmap)
-+#endif
- {
-+#if defined(__linux__)
- if (ioctl(fbfp, FBIOGETCMAP, cmap)) {
- perror("ioctl FBIOGETCMAP error\n");
- return -1;
- }
-+#elif defined(__FreeBSD__)
-+ if (ioctl(fbfp, FBIO_GETPALETTE, cmap) == -1) {
-+ perror("ioctl FBIO_GETPALETTE error\n");
-+ return -1;
-+ }
-+#endif
- return 0;
- }
-
-+#if defined(__linux__)
- static int
- fb_cmap_set(int fbfp, struct fb_cmap *cmap)
-+#elif defined(__FreeBSD__)
-+static int
-+fb_cmap_set(int fbfp, video_color_palette_t *cmap)
-+#endif
- {
-+#if defined(__linux__)
- if (ioctl(fbfp, FBIOPUTCMAP, cmap)) {
- perror("ioctl FBIOPUTCMAP error\n");
- return -1;
- }
-+#elif defined(__FreeBSD__)
-+ if (ioctl(fbfp, FBIO_SETPALETTE, cmap) == -1) {
-+ perror("ioctl FBIO_SETPALETTE error\n");
-+ return -1;
-+ }
-+#endif
- return 0;
- }
-
-@@ -612,10 +955,16 @@
- * fb_munmap() deletes the mappings
- */
-
-+#if defined(__linux__)
- static void *
- fb_mmap(int fbfp, struct fb_fix_screeninfo *scinfo)
-+#elif defined(__FreeBSD__)
-+static void *
-+fb_mmap(int fbfp, video_adapter_info_t *video_adapter_info)
-+#endif
- {
- void *buf;
-+#if defined(__linux__)
- if ((buf = (unsigned char *)
- mmap(NULL, scinfo->smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fbfp,
- (off_t) 0))
-@@ -623,13 +972,41 @@
- perror("mmap error");
- return NULL;
- }
-+#elif defined(__FreeBSD__)
-+ size_t mmap_offset;
-+ size_t mmap_length;
-+ mmap_offset = (size_t)(video_adapter_info->va_window) & (PAGE_MASK);
-+ mmap_length = (size_t)(video_adapter_info->va_window_size +
-+ mmap_offset + PAGE_MASK) & (~PAGE_MASK);
-+ if ((buf = (unsigned char *)
-+ mmap(NULL, mmap_length, PROT_READ | PROT_WRITE, MAP_SHARED, fbfp,
-+ (off_t) 0))
-+ == MAP_FAILED) {
-+ perror("mmap error");
-+ return NULL;
-+ }
-+#endif
- return buf;
- }
-
-+#if defined(__linux__)
- static int
- fb_munmap(void *buf, struct fb_fix_screeninfo *scinfo)
-+#elif defined(__FreeBSD__)
-+static int
-+fb_munmap(void *buf, video_adapter_info_t *video_adapter_info)
-+#endif
- {
-+#if defined(__linux__)
- return munmap(buf, scinfo->smem_len);
-+#elif defined(__FreeBSD__)
-+ size_t mmap_offset;
-+ size_t mmap_length;
-+ mmap_offset = (size_t)(video_adapter_info->va_window) & (PAGE_MASK);
-+ mmap_length = (size_t)(video_adapter_info->va_window_size +
-+ mmap_offset + PAGE_MASK) & (~PAGE_MASK);
-+ return munmap((void *)((u_long)buf & (~PAGE_MASK)), mmap_length);
-+#endif
- }
-
- /*
-@@ -637,6 +1014,7 @@
- *
- * fb_fscrn_get() get information
- */
-+#if defined(__linux__)
- static int
- fb_fscrn_get(int fbfp, struct fb_fix_screeninfo *scinfo)
- {
-@@ -646,12 +1024,14 @@
- }
- return 0;
- }
-+#endif
-
- /*
- * (struct fb_var_screeninfo) device independent variable information
- *
- * fb_vscrn_get() get information
- */
-+#if defined(__linux__)
- static int
- fb_vscrn_get(int fbfp, struct fb_var_screeninfo *scinfo)
- {
-@@ -661,3 +1041,41 @@
- }
- return 0;
- }
-+#endif
-+
-+#if defined(__FreeBSD__)
-+static int
-+fb_video_mode_get(int fbfp, int *video_mode)
-+{
-+ if (ioctl(fbfp, FBIO_GETMODE, video_mode) == -1) {
-+ perror("ioctl FBIO_GETMODE error\n");
-+ return -1;
-+ }
-+ return 0;
-+}
-+#endif
-+
-+#if defined(__FreeBSD__)
-+static int
-+fb_video_info_get(int fbfp, video_info_t *video_info)
-+{
-+ if (ioctl(fbfp, FBIO_MODEINFO, video_info) == -1) {
-+ perror("ioctl FBIO_MODEINFO error\n");
-+ return -1;
-+ }
-+ return 0;
-+}
-+#endif
-+
-+#if defined(__FreeBSD__)
-+static int
-+fb_video_adapter_info_get(int fbfp, video_adapter_info_t *video_adapter_info)
-+{
-+ if (ioctl(fbfp, FBIO_ADPINFO, video_adapter_info) == -1) {
-+ perror("ioctl FBIO_ADPINFO error\n");
-+ return -1;
-+ }
-+ return 0;
-+}
-+#endif
-+
View
14 build-files/ports-overlay/www/w3m/files/patch-w3mimg_fb_fb.h
@@ -1,14 +0,0 @@
---- w3mimg/fb/fb.h.orig 2003-07-08 00:48:17.000000000 +0900
-+++ w3mimg/fb/fb.h 2007-11-23 02:43:22.000000000 +0900
-@@ -1,7 +1,11 @@
- /* $Id: fb.h,v 1.7 2003/07/07 15:48:17 ukai Exp $ */
- #ifndef fb_header
- #define fb_header
-+#if defined(__linux__)
- #include <linux/fb.h>
-+#elif defined(__FreeBSD__)
-+#include <sys/fbio.h>
-+#endif
-
- typedef struct {
- int num;
View
29 build-files/ports-overlay/www/w3m/files/patch-w3mimg_fb_fb_w3mimg.c
@@ -1,29 +0,0 @@
---- w3mimg/fb/fb_w3mimg.c.orig Wed Aug 4 17:32:28 2004
-+++ w3mimg/fb/fb_w3mimg.c Mon Dec 3 10:42:23 2007
-@@ -153,10 +153,15 @@
- return 0;
- if (strncmp(tty, "/dev/", 5) == 0)
- tty += 5;
-+#if defined(__linux__)
- if (strncmp(tty, "tty", 3) == 0 && isdigit(*(tty + 3)))
- return 1;
- if (strncmp(tty, "vc/", 3) == 0 && isdigit(*(tty + 3)))
- return 1;
-+#elif defined(__FreeBSD__)
-+ if (strncmp(tty, "ttyv", 4) == 0 && isxdigit(*(tty + 4)))
-+ return 1;
-+#endif
- return 0;
- }
- #else
-@@ -172,7 +177,9 @@
- return NULL;
- memset(wop, 0, sizeof(w3mimg_op));
-
-- if (!check_tty_console(getenv("W3M_TTY")) && strcmp("jfbterm", getenv("TERM")) != 0) {
-+ if (!check_tty_console(getenv("W3M_TTY")) &&
-+ strcmp("jfbterm", getenv("TERM")) != 0 &&
-+ strncmp("jfbterm-", getenv("TERM"), 8) != 0) {
- fprintf(stderr, "w3mimgdisplay/fb: tty is not console\n");
- goto error;
- }
View
9 build-files/ports-overlay/www/w3m/pkg-descr
@@ -1,9 +0,0 @@
-w3m is a pager/text-based WWW browser.
-
-It is a similar application to Lynx, but it has several features Lynx
-doesn't have.
-
-* Rendering tables.
-* Rendering frames. (It converts frames into a table).
-
-WWW: http://w3m.sourceforge.net/
View
12 build-files/ports-overlay/www/w3m/pkg-message
@@ -1,12 +0,0 @@
-**********************************************************
-* To display images in proper positions, *
-* you should set font size of your terminal emulator to *
-* "# of pixels per character" and "# of pixels per line" *
-* in Option Setting Panel. *
-* *
-* For example, if you use 14 pixel fonts, the values *
-* should be these. *
-* *
-* # of pixels per character = 7 *
-* # of pixels per line = 14 *
-**********************************************************
View
54 build-files/ports-overlay/www/w3m/pkg-plist
@@ -1,54 +0,0 @@
-bin/w3m
-bin/w3mman
-libexec/w3m/cgi-bin/dirlist.cgi
-libexec/w3m/cgi-bin/multipart.cgi
-libexec/w3m/cgi-bin/w3mbookmark
-libexec/w3m/cgi-bin/w3mhelp.cgi
-libexec/w3m/cgi-bin/w3mmail.cgi
-libexec/w3m/cgi-bin/w3mman2html.cgi
-libexec/w3m/cgi-bin/w3mhelperpanel
-libexec/w3m/inflate
-libexec/w3m/xface2xpm
-%%INLINE_IMAGE%%libexec/w3m/w3mimgdisplay
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/FAQ.html
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/HISTORY
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/MANUAL.html
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/README
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/README.SSL
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/README.cookie
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/README.dict
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/README.func
-%%PORTDOCS%%%%JAPANESE%%%%INLINE_IMAGE%%share/doc/ja/w3m/README.img
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/README.keymap
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/README.m17n
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/README.mailcap
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/README.menu
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/README.migemo
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/STORY.html
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/keymap.default
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/keymap.lynx
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/menu.default
-%%PORTDOCS%%%%JAPANESE%%share/doc/ja/w3m/menu.submenu
-%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
-%%PORTDOCS%%%%DOCSDIR%%/HISTORY
-%%PORTDOCS%%%%DOCSDIR%%/MANUAL.html
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.dict
-%%PORTDOCS%%%%DOCSDIR%%/README.func
-%%PORTDOCS%%%%INLINE_IMAGE%%%%DOCSDIR%%/README.img
-%%PORTDOCS%%%%DOCSDIR%%/README.m17n
-%%PORTDOCS%%%%DOCSDIR%%/STORY.html
-%%PORTDOCS%%%%DOCSDIR%%/keymap.default
-%%PORTDOCS%%%%DOCSDIR%%/keymap.lynx
-%%PORTDOCS%%%%DOCSDIR%%/menu.default
-%%PORTDOCS%%%%DOCSDIR%%/menu.submenu
-%%JAPANESE%%share/locale/ja/LC_MESSAGES/w3m.mo
-share/w3m/w3mhelp-funcdesc.en.pl
-share/w3m/w3mhelp-funcdesc.ja.pl
-share/w3m/w3mhelp-funcname.pl
-share/w3m/w3mhelp.html
-@dirrm libexec/w3m/cgi-bin
-@dirrm libexec/w3m
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm share/w3m
-%%PORTDOCS%%%%JAPANESE%%@dirrm share/doc/ja/w3m
View
2  src-sh/pbi-manager10/install.sh
@@ -129,9 +129,11 @@ mv pbiwrapper ${LB}/share/pbi-manager/.pbiwrapper-`uname -m`
cd ${DIR}/pbime && make
install -o root -g wheel -m 4751 pbime ${LB}/share/pbi-manager/.pbime
install -o root -g wheel -m 755 pbimount ${LB}/share/pbi-manager/.pbimount
+install -o root -g wheel -m 755 ldconfig ${LB}/share/pbi-manager/.ldconfig
if [ "${LB}" = "/usr/local" ] ; then
install -o root -g wheel -m 4751 pbime /usr/pbi/.pbime
install -o root -g wheel -m 755 pbimount /usr/pbi/.pbimount
+ install -o root -g wheel -m 755 ldconfig /usr/pbi/.ldconfig
fi
# Install the nullfs binary
View
12 src-sh/pbi-manager10/pbi-manager
@@ -1629,14 +1629,12 @@ load_pbi_conffile() {
# Get the PBI_PROGVERSION
get_pbi_progversion() {
- if [ -z "${PBI_PROGVERSION}" ] ; then
- load_pbi_conffile
+ if [ -n "${PBI_PROGVERSION}" ] ; then return 0 ; fi
- # If we have PBI_PROGVERSION now set
- if [ -n "${PBI_PROGVERSION}" ] ; then return 0 ; fi
- else
- return 0
- fi
+ load_pbi_conffile
+
+ # If we have PBI_PROGVERSION now set
+ if [ -n "${PBI_PROGVERSION}" ] ; then return 0 ; fi
# Check first if we have this pkg in PKGNG
if [ -e "/usr/local/sbin/pkg-static" -a -n "${PBI_MAKEPORT}" ] ; then
View
1  src-sh/pbi-manager10/pbime/Makefile
@@ -7,3 +7,4 @@ pbime: pbime.c
install: pbime
install -o root -g wheel -m 4751 pbime /usr/pbi/.pbime
install -o root -g wheel -m 755 pbimount /usr/pbi/.pbimount
+ install -o root -g wheel -m 755 ldconfig /usr/pbi/.ldconfig
View
82 src-sh/pbi-manager10/pbime/ldconfig
@@ -0,0 +1,82 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: ldconfig
+# REQUIRE: mountcritremote FILESYSTEMS
+# BEFORE: DAEMON
+
+. /etc/rc.subr
+
+name="ldconfig"
+ldconfig_command="/sbin/ldconfig"
+start_cmd="ldconfig_start"
+stop_cmd=":"
+
+ldconfig_start()
+{
+ local _files _ins
+
+ _ins="-i"
+ ldconfig=${ldconfig_command}
+ if [ -x "${ldconfig_command}" ]; then
+ _LDC="/lib /usr/lib"
+ for i in ${ldconfig_local_dirs}; do
+ if [ -d "${i}" ]; then
+ _files=`find ${i} -type f`
+ if [ -n "${_files}" ]; then
+ ldconfig_paths="${ldconfig_paths} `cat ${_files} | sort -u`"
+ fi
+ fi
+ done
+ for i in ${ldconfig_paths} /etc/ld-elf.so.conf; do
+ if [ -r "${i}" ]; then
+ _LDC="${_LDC} ${i}"
+ fi
+ done
+ check_startmsgs && echo 'ELF ldconfig path:' ${_LDC}
+ ${ldconfig} -elf ${_ins} ${_LDC}
+
+ case `sysctl -n hw.machine_arch` in
+ amd64)
+ for i in ${ldconfig_local32_dirs}; do
+ if [ -d "${i}" ]; then
+ _files=`find ${i} -type f`
+ if [ -n "${_files}" ]; then
+ ldconfig32_paths="${ldconfig32_paths} `cat ${_files} | sort -u`"
+ fi
+ fi
+ done
+ _LDC=""
+ for i in ${ldconfig32_paths}; do
+ if [ -r "${i}" ]; then
+ _LDC="${_LDC} ${i}"
+ fi
+ done
+ check_startmsgs &&
+ echo '32-bit compatibility ldconfig path:' ${_LDC}
+ ${ldconfig} -32 -m ${_ins} ${_LDC}
+ ;;
+ esac
+
+ # Legacy aout support for i386 only
+ case `sysctl -n hw.machine_arch` in
+ i386)
+ # Default the a.out ldconfig path.
+ : ${ldconfig_paths_aout=${ldconfig_paths}}
+ _LDC=""
+ for i in /usr/lib/aout ${ldconfig_paths_aout} /etc/ld.so.conf; do
+ if [ -r "${i}" ]; then
+ _LDC="${_LDC} ${i}"
+ fi
+ done
+ check_startmsgs && echo 'a.out ldconfig path:' ${_LDC}
+ ${ldconfig} -aout ${_ins} ${_LDC}
+ ;;
+ esac
+ fi
+}
+
+load_rc_config $name
+run_rc_command "$1"
View
3  src-sh/pbi-manager10/pbime/pbimount
@@ -62,7 +62,8 @@ mount_dirs() {
done
- chroot ${pDir}/virtbase /etc/rc.d/ldconfig start >/dev/null 2>/dev/null
+ cp /usr/pbi/.ldconfig ${pDir}/virtbase/var/run/ldconfig
+ chroot ${pDir}/virtbase /var/run/ldconfig start >/dev/null 2>/dev/null
}
umount_pbidir() {
View
1  src-sh/port-files/Makefile
@@ -35,6 +35,7 @@ IGNORE= requires FreeBSD 9.0 or later
.if ${OSVERSION} > 1000000
PLIST_FILES+= share/pbi-manager/.pbime \
share/pbi-manager/.pbimount \
+ share/pbi-manager/.ldconfig \
share/pbi-manager/.mount_nullfs \
etc/man.d/pbi.conf
.endif
View
1  src-sh/port-files/pkg-install
@@ -31,6 +31,7 @@ fi
if [ -e "${PREFIX}/share/pbi-manager/.pbime" ] ; then
install -o root -g wheel -m 4751 ${PREFIX}/share/pbi-manager/.pbime /usr/pbi/.pbime
install -o root -g wheel -m 755 ${PREFIX}/share/pbi-manager/.pbimount /usr/pbi/.pbimount
+ install -o root -g wheel -m 755 ${PREFIX}/share/pbi-manager/.ldconfig /usr/pbi/.ldconfig
install -o root -g wheel -m 755 ${PREFIX}/share/pbi-manager/.mount_nullfs /usr/pbi/.mount_nullfs
fi
Please sign in to comment.
Something went wrong with that request. Please try again.