Building cups-samba-6.0_7.txz (origin /buildshare/ports/355755/print/cups-samba) for powerpc-10-0 on XXX slot1: created x distfiles/ x distfiles/cups-windows-6.0-source.tar.gz x packages/ x packages/xineramaproto-1.2.1.txz x packages/bigreqsproto-1.1.2.txz x packages/libXext-1.3.2_2,1.txz x packages/libSM-1.2.2_2,1.txz x packages/pcre-8.34_1.txz x packages/renderproto-0.11.1.txz x packages/cups-base-1.7.2_1.txz x packages/pkgconf-0.9.5.txz x packages/font-misc-ethiopic-1.0.3_1.txz x packages/libffi-3.0.13_1.txz x packages/help2man-1.43.3_1.txz x packages/libXrandr-1.4.2_2.txz x packages/p5-Locale-gettext-1.05_3.txz x packages/gmake-3.82_1.txz x packages/m4-1.4.17_1,1.txz x packages/libICE-1.0.8_2,1.txz x packages/libxml2-2.9.1_1.txz x packages/openldap-client-2.4.39.txz x packages/jpeg-8_5.txz x packages/python27-2.7.6_4.txz x packages/bison-2.7.1,1.txz x packages/jbigkit-1.6.txz x packages/libXcomposite-0.4.4_2,1.txz x packages/libexecinfo-1.1_3.txz x packages/talloc-2.1.0.txz x packages/libpaper-1.1.24_1.txz x packages/pango-1.34.1_4.txz x packages/cmake-2.8.12.1_4.txz x packages/mkfontdir-1.0.7.txz x packages/perl5-5.16.3_10.txz x packages/libXrender-0.9.8_2.txz x packages/fontsproto-2.1.2.txz x packages/gtk-update-icon-cache-2.24.22.txz x packages/encodings-1.0.4_1,1.txz x packages/font-util-1.3.0_1.txz x packages/dri2proto-2.8.txz x packages/libXdmcp-1.1.1_2.txz x packages/hicolor-icon-theme-0.12.txz x packages/xcb-util-renderutil-0.3.8_2.txz x packages/xf86vidmodeproto-2.3.1.txz x packages/libpciaccess-0.13.2_2.txz x packages/libXft-2.3.1_2.txz x packages/intltool-0.50.2.txz x packages/libGL-7.6.1_4.txz x packages/font-bh-ttf-1.0.3_1.txz x packages/xorg-macros-1.19.0.txz x packages/gnomehier-3.0.txz x packages/libxslt-1.1.28_3.txz x packages/jasper-1.900.1_14.txz x packages/libXi-1.7.2_2,1.txz x packages/makedepend-1.0.5,1.txz x packages/libXt-1.1.4_2,1.txz x packages/cups-image-1.7.2.txz x packages/python2-2_2.txz x packages/libXfont-1.4.7_3,1.txz x packages/xcb-util-0.3.9_3,1.txz x packages/tevent-0.9.21.txz x packages/autoconf-wrapper-20131203.txz x packages/pixman-0.32.4_2.txz x packages/tdb-1.2.13,1.txz x packages/glproto-1.4.17.txz x packages/libgpg-error-1.13.txz x packages/expat-2.1.0.txz x packages/dejavu-2.34_3.txz x packages/compositeproto-0.4.2.txz x packages/xextproto-7.3.0.txz x packages/libXinerama-1.1.3_2,1.txz x packages/xtrans-1.3.4_1.txz x packages/fixesproto-5.0.txz x packages/libXcursor-1.1.14_2.txz x packages/libdrm-2.4.17_1.txz x packages/bdftopcf-1.0.4.txz x packages/gettext-0.18.3.1_1.txz x packages/cairo-1.10.2_10,2.txz x packages/xcb-proto-1.10_1.txz x packages/py27-setuptools27-2.0.1.txz x packages/libiconv-1.14_3.txz x packages/freeglut-2.8.1_2.txz x packages/libpthread-stubs-0.3_4.txz x packages/mDNSResponder-544.txz x packages/libxcb-1.10_2.txz x packages/tiff-4.0.3_2.txz x packages/png-1.5.18.txz x packages/libXau-1.0.8_2.txz x packages/p5-XML-Parser-2.41_1.txz x packages/graphite2-1.2.4.txz x packages/libXfixes-5.0.1_2.txz x packages/gobject-introspection-1.36.0_2.txz x packages/libsunacl-1.0.txz x packages/kbproto-1.0.6.txz x packages/libXmu-1.1.2_2,1.txz x packages/glib-2.36.3_2.txz x packages/libX11-1.6.2_2,1.txz x packages/damageproto-1.2.1.txz x packages/cups-client-1.7.2.txz x packages/libGLU-9.0.0.txz x packages/harfbuzz-0.9.28.txz x packages/font-misc-meltho-1.0.3_1.txz x packages/inputproto-2.3.txz x packages/xcmiscproto-1.2.2.txz x packages/popt-1.16.txz x packages/libgcrypt-1.5.3_2.txz x packages/randrproto-1.4.0.txz x packages/mkfontscale-1.1.1_1.txz x packages/autoconf-2.69.txz x packages/libtool-2.4.2_3.txz x packages/py27-libxml2-2.9.1.txz x packages/xf86bigfontproto-1.2.0.txz x packages/pkg-1.2.7_2.txz x packages/libXxf86vm-1.1.3_2.txz x packages/atk-2.8.0.txz x packages/pciids-20140526.txz x packages/shared-mime-info-1.1_1.txz x packages/gdk-pixbuf2-2.28.2.txz x packages/libfontenc-1.1.2_2.txz x packages/libXdamage-1.1.4_2.txz x packages/icu-52.1.txz x packages/libcheck-0.9.12.txz x packages/cmake-modules-2.8.12.1_1.txz x packages/xproto-7.0.25.txz x packages/samba36-3.6.23.txz x packages/fontconfig-2.11.0_3,1.txz x packages/freetype2-2.5.3_2.txz x packages/xorg-fonts-truetype-7.7_1.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> cups-samba-6.0_7 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of cups-samba-6.0_7 ===> cups-samba-6.0_7 depends on executable: smbspool - not found ===> Verifying install for smbspool in /buildshare/ports/355755/net/samba36 ===> Installing existing package /packages/samba36-3.6.23.txz Installing samba36-3.6.23...Installing cups-client-1.7.2...===> Creating users and/or groups. Creating group 'cups' with gid '193'. Creating user 'cups' with uid '193'. done Installing libsunacl-1.0... done Installing openldap-client-2.4.39... done Installing popt-1.16...Installing gettext-0.18.3.1_1... done done Installing talloc-2.1.0... done Installing tdb-1.2.13,1... done Installing tevent-0.9.21...Installing pkgconf-0.9.5... done Installing python27-2.7.6_4... done Installing python2-2_2... done done done ************************************************************ The OpenLDAP client package has been successfully installed. Edit /usr/local/etc/openldap/ldap.conf to change the system-wide client defaults. Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at http://www.OpenLDAP.org/faq/index.cgi?file=3 for more information. ************************************************************ ==== Note that some of the standard modules are provided as separate ports since they require extra dependencies: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter Install them as needed. ==== =============================================================================== Samba3 *package* now doesn't include ADS support due the portability problems with Kerberos5 libraries on different installations. You need to compile the port yourself to get this functionality. For additional hints and directions, please, look into the README.FreeBSD file. =============================================================================== ===> Returning to build of cups-samba-6.0_7 ===> cups-samba-6.0_7 depends on file: /usr/local/sbin/cupsd - not found ===> Verifying install for /usr/local/sbin/cupsd in /buildshare/ports/355755/print/cups-base ===> Installing existing package /packages/cups-base-1.7.2_1.txz Installing cups-base-1.7.2_1...Installing atk-2.8.0...Installing glib-2.36.3_2...Installing libffi-3.0.13_1... done Installing libiconv-1.14_3... done Installing pcre-8.34_1... done Installing perl5-5.16.3_10... done No schema files found: doing nothing. done Installing gnomehier-3.0... done done Installing cups-image-1.7.2...Installing jpeg-8_5... done Installing png-1.5.18... done Installing tiff-4.0.3_2...Installing freeglut-2.8.1_2...Installing libGLU-9.0.0...Installing libGL-7.6.1_4...Installing dri2proto-2.8... done Installing expat-2.1.0... done Installing libX11-1.6.2_2,1...Installing kbproto-1.0.6... done Installing libXau-1.0.8_2...Installing xproto-7.0.25... done done Installing libXdmcp-1.1.1_2... done Installing libxcb-1.10_2...Installing libpthread-stubs-0.3_4... done Installing libxml2-2.9.1_1... done done done Installing libXdamage-1.1.4_2...Installing damageproto-1.2.1... done Installing libXfixes-5.0.1_2...Installing fixesproto-5.0... done done done Installing libXext-1.3.2_2,1...Installing xextproto-7.3.0... done done Installing libXxf86vm-1.1.3_2...Installing xf86vidmodeproto-2.3.1... done done Installing libdrm-2.4.17_1...Installing libpciaccess-0.13.2_2...Installing pciids-20140526... done done done done done Installing libICE-1.0.8_2,1... done Installing libXi-1.7.2_2,1...Installing inputproto-2.3... done done Installing libXrandr-1.4.2_2...Installing libXrender-0.9.8_2...Installing renderproto-0.11.1... done done Installing randrproto-1.4.0... done done done Installing jbigkit-1.6... done Installing libSM-1.2.2_2,1... done Installing libXmu-1.1.2_2,1...Installing libXt-1.1.4_2,1... done done done ===> Creating users and/or groups. Using existing group 'cups'. Using existing user 'cups'. done Installing gdk-pixbuf2-2.28.2...Installing jasper-1.900.1_14... done done Installing gtk-update-icon-cache-2.24.22...Installing hicolor-icon-theme-0.12... done Installing libXcomposite-0.4.4_2,1...Installing compositeproto-0.4.2... done done Installing libXcursor-1.1.14_2... done Installing libXinerama-1.1.3_2,1...Installing xineramaproto-1.2.1... done done Installing pango-1.34.1_4...Installing cairo-1.10.2_10,2...Installing fontconfig-2.11.0_3,1...Installing freetype2-2.5.3_2... done Running fc-cache to build fontconfig cache... /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 1 dirs /usr/local/lib/X11/fonts/local: caching, new cache contents: 0 fonts, 0 dirs /root/.local/share/fonts: skipping, no such directory /root/.fonts: skipping, no such directory /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 1 dirs /root/.local/share/fonts: skipping, no such directory /root/.fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory /root/.cache/fontconfig: not cleaning non-existent cache directory /root/.fontconfig: not cleaning non-existent cache directory fc-cache: succeeded done Installing pixman-0.32.4_2... done Installing xcb-util-renderutil-0.3.8_2...Installing xcb-util-0.3.9_3,1... done done done Installing encodings-1.0.4_1,1...Installing font-util-1.3.0_1... done done Installing harfbuzz-0.9.28...Installing graphite2-1.2.4... done Installing icu-52.1... done done Installing libXft-2.3.1_2... done Installing xorg-fonts-truetype-7.7_1...Installing dejavu-2.34_3... done Installing font-bh-ttf-1.0.3_1...Installing mkfontdir-1.0.7...Installing mkfontscale-1.1.1_1...Installing libfontenc-1.1.2_2... done done done done Installing font-misc-ethiopic-1.0.3_1... done Installing font-misc-meltho-1.0.3_1... done done done Installing shared-mime-info-1.1_1... done done Installing libpaper-1.1.24_1... done Installing mDNSResponder-544... done ===> Creating users and/or groups. Using existing group 'cups'. Using existing user 'cups'. done Since FreeBSD has new USB stack, freeglut normally doesn't build on FreeBSD 8 (yet). To workaround this a small patch adds one include file and comments out content of one function (only leaves return NULL). This might cause side effects. Joysticks do not work, and there might be ports that do not compile or applications that crash because of this. Do not hesitate to contact x11@FreeBSD.org if there are any issues and side effects because of this. Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/lib/X11/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. ====================================================================== To enable printing with local printer you need to give group 'cups' r/w access to printer device: 1) Add following to /etc/devfs.rules (create if it doesn't exist): [system=10] # FreeBSD 7.x add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups add path 'lpt*' mode 0660 group cups # FreeBSD 8.x add path 'usb*' mode 0770 group cups add path 'ugen*' mode 0660 group cups 2) And following to /etc/rc.conf: devfs_system_ruleset="system" 3) Restart devfs: /etc/rc.d/devfs restart If your system supports 'devd' you can copy $PREFIX/share/examples/cups/ulpt-cupsd.conf to $PREFIX/etc/devd/ To enable printing under Gimp and MS-Windows clients do the following: 1) Uncomment application/octet-stream line in mime.types 2) Uncomment application/octet-stream line in mime.convs 3) Restart cupsd If you are using libusb, it is important that no device driver, e.g. ulpt(4) is attached to the device you wish to use. In this case please ensure the cups user and group has read/write access to /dev/ugen* If you are using a USB printer wtih FreeBSD 8.0 or later, you will need to find the proper /dev/usb/* device pointed at by the /dev/ugen* entry. Follow the instructions for devfs.rules as above, but append a rule similar to the following for a printer attached as /dev/ugen0.2: add path 'usb/0.2.*' mode 0660 group cups ====================================================================== ===> Returning to build of cups-samba-6.0_7 Make install ===> cups-samba-6.0_7 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by cups-samba-6.0_7 for building ===> Extracting for cups-samba-6.0_7 => SHA256 Checksum OK for cups-windows-6.0-source.tar.gz. ===> Patching for cups-samba-6.0_7 ===> Configuring for cups-samba-6.0_7 ===> Installing for cups-samba-6.0_7 ===> cups-samba-6.0_7 depends on executable: smbspool - found ===> cups-samba-6.0_7 depends on file: /usr/local/sbin/cupsd - found /bin/mkdir -p /usr/local/share/cups/drivers ===> Generating temporary packing list ===> Checking if print/cups-samba already installed cd /obj/buildshare/ports/355755/print/cups-samba/work && for DRVFILE in cups6.inf cups6.ini cupsps6.dll cupsui6.dll; do install -o root -g wheel -m 444 /obj/buildshare/ports/355755/print/cups-samba/work/cups-windows-6.0/i386/${DRVFILE} /usr/local/share/cups/drivers; done ********************************************************************** To complete the installation of print/cups-samba follow cupsaddsmb(8) manual page as below: 1. Follow section "SAMBA CONFIGURATION" with following remarks: Adjust path for [print$]. There is no standard directory so you should create one, you may pick any directory but it must NOT be /usr/local/share/cups/drivers as suggested in the past nor anything under /usr/local/etc/samba which is not world readable. It must be writeable by printer admin[2] (i.e. root) and world readable. Recommended # mkdir -p /var/lib/samba/drivers # chmod 755 /var/lib/samba/drivers 2. Follow section "MICROSOFT POSTSCRIPT DRIVERS FOR WINDOWS" You may skip 64-bit drivers if you don't need them. 3. Follow section "CUPS POSTSCRIPT DRIVERS FOR WINDOWS" Nothing needs to be done here as you should already have all files. NOTE: 64-bit CUPS drivers were not yet released[1]. If you have 64-bit Windows machines, for now you have to fetch CUPS drivers from SVN: # svn export http://svn.easysw.com/public/windows/trunk/x64 /usr/local/share/cups/drivers/x64 4. Run cupsaddsmb To export all printers to MS Windows NT clients: # cupsaddsmb -v -a You will be prompted for the password of samba user named root. If you have not set it already do it before running cupsaddsmb: # smbpasswd -a 5. On your Windows machine, browse for a network printer as usual. Opening it should automagically install drivers. For more uses please refer to cupsaddsmb(8). More resources: [1] 64-bit clients: http://www.cups.org/str.php?L2566 [2] http://wiki.samba.org/index.php/Samba_as_a_print_server#how_to_configure_printer_admin [3] chapters 17 & 18 of /usr/local/share/doc/samba/Samba-HOWTO-Collection.pdf ********************************************************************** ===> Registering installation for cups-samba-6.0_7 Installing cups-samba-6.0_7... done Make package ===> Building package for cups-samba-6.0_7 Creating package for cups-samba-6.0_7 slot1: removed