Appendix C. Build logs
Prev |  | Next

# Appendix C. Build logs

## C.1. Building figlet

    # make
    ===> Checking for vulnerabilities in figlet-2.2.1nb2
    => figlet221.tar.gz doesn't seem to exist on this system.
    => Attempting to fetch figlet221.tar.gz from ftp://ftp.figlet.org/pub/figlet/program/unix/.
    => [172219 bytes]
    Connected to ftp.plig.net.
    220 ftp.plig.org NcFTPd Server (licensed copy) ready.
    331 Guest login ok, send your complete e-mail address as password.
    230-You are user #5 of 500 simultaneous users allowed.
    230-
    230-  ___ _             _ _
    230- |  _| |_ ___   ___| |_|___   ___ ___ ___
    230- |  _|  _| . |_| . | | | . |_| . |  _| . |
    230- |_| |_| |  _|_|  _|_|_|_  |_|___|_| |_  |
    230-         |_|   |_|     |___|         |___|
    230-
    230-** Welcome to ftp.plig.org **
    230-
    230-Please note that all transfers from this FTP site are logged. If you
    230-do not like this, please disconnect now.
    230-
    230-This archive is available via
    230-
    230-HTTP:  http://ftp.plig.org/
    230-FTP:   ftp://ftp.plig.org/     (max 500 connections)
    230-RSYNC: rsync://ftp.plig.org/   (max  30 connections)
    230-
    230-Please email comments, bug reports and requests for packages to be
    230-mirrored to ftp-admin@plig.org.
    230-
    230-
    230 Logged in anonymously.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    200 Type okay.
    250 "/pub" is new cwd.
    250-"/pub/figlet" is new cwd.
    250-
    250-Welcome to the figlet archive at ftp.figlet.org
    250-
    250-	ftp://ftp.figlet.org/pub/figlet/
    250-
    250-The official FIGlet web page is:
    250-	http://www.figlet.org/
    250-
    250-If you have questions, please mailto:info@figlet.org. If you want to
    250-contribute a font or something else, you can email us.
    250
    250 "/pub/figlet/program" is new cwd.
    250 "/pub/figlet/program/unix" is new cwd.
    local: figlet221.tar.gz remote: figlet221.tar.gz
    502 Unimplemented command.
    227 Entering Passive Mode (195,40,6,41,246,104)
    150 Data connection accepted from 84.128.86.72:65131; transfer starting for figlet221.tar.gz (172219 bytes).
    38% |**************                       | 65800      64.16 KB/s    00:01 ETA
    226 Transfer completed.
    172219 bytes received in 00:02 (75.99 KB/s)
    221 Goodbye.
    => Checksum OK for figlet221.tar.gz.
    ===> Extracting for figlet-2.2.1nb2
    ===> Required installed package ccache-[0-9]*: ccache-2.3nb1 found
    ===> Patching for figlet-2.2.1nb2
    ===> Applying pkgsrc patches for figlet-2.2.1nb2
    ===> Overriding tools for figlet-2.2.1nb2
    ===> Creating toolchain wrappers for figlet-2.2.1nb2
    ===> Configuring for figlet-2.2.1nb2
    ===> Building for figlet-2.2.1nb2
    gcc -O2 -DDEFAULTFONTDIR=\"/usr/pkg/share/figlet\"  -DDEFAULTFONTFILE=\"standard.flf\"  figlet.c zipio.c crc.c inflate.c -o figlet
    chmod a+x figlet
    gcc -O2 -o chkfont chkfont.c
    => Unwrapping files-to-be-installed.
    #
    # make install
    ===> Checking for vulnerabilities in figlet-2.2.1nb2
    ===> Installing for figlet-2.2.1nb2
    install -d -o root -g wheel -m 755 /usr/pkg/bin
    install -d -o root -g wheel -m 755 /usr/pkg/man/man6
    mkdir -p /usr/pkg/share/figlet
    cp figlet /usr/pkg/bin
    cp chkfont /usr/pkg/bin
    chmod 555 figlist showfigfonts
    cp figlist /usr/pkg/bin
    cp showfigfonts /usr/pkg/bin
    cp fonts/*.flf /usr/pkg/share/figlet
    cp fonts/*.flc /usr/pkg/share/figlet
    cp figlet.6 /usr/pkg/man/man6
    ===> Registering installation for figlet-2.2.1nb2
    #

## C.2. Packaging figlet

    # make package
    ===> Checking for vulnerabilities in figlet-2.2.1nb2
    ===> Packaging figlet-2.2.1nb2
    ===> Building binary package for figlet-2.2.1nb2
    Creating package /home/cvs/pkgsrc/packages/i386/All/figlet-2.2.1nb2.tgz
    Using SrcDir value of /usr/pkg
    Registering depends:.
    #

Prev |  | Next
Appendix B. Security hardening | Home | Appendix D. Directory layout of the pkgsrc FTP server