Install logrotate on FreeNAS

Facebooktwittergoogle_plusmail

FreeNASにlogrotateをインストールしてみました
FreeNASにはコンパイル環境が無いのでFreeBSDパッケージ管理コマンド pkg_addを利用してインストールします

  1. Disk容量の確認
  2. USBメモリで運用しているので取り敢えずDiskの空き容量を確認しておきます

    freenas:~# df -h
    Filesystem Size Used Avail Capacity Mounted on
    /dev/da0s1a 2.0G 204M 1.6G 11% /
    devfs 1.0K 1.0K 0B 100% /dev
    procfs 4.0K 4.0K 0B 100% /proc

  3. pkg_add
  4. pkg_addコマンドでlogrotateをインストールします

    freenas:~# pkg_add -r -v logrotate
    scheme: [ftp]
    user: []
    password: []
    host: [ftp.freebsd.org]
    port: [0]
    document: [/pub/FreeBSD/ports/amd64/packages-7.3-release/Latest/logrotate.tbz]
    —> ftp.freebsd.org:21
    looking up ftp.freebsd.org
    connecting to ftp.freebsd.org:21
    <<< 220 ftp.beastie.tdk.net FTP server (Version 6.00LS) ready. >>> USER anonymous
    <<< 331 Guest login ok, send your email address as password. >>> PASS root@freenas.rootlinks.net
    <<< 230 Guest login ok, access restrictions apply. >>> PWD
    <<< 257 "/" is current directory. >>> CWD pub/FreeBSD/ports/amd64/packages-7.3-release/Latest
    <<< 550 pub/FreeBSD/ports/amd64/packages-7.3-release/Latest: No such file or directory. >>> CWD pub
    <<< 250 CWD command successful. >>> CWD FreeBSD
    <<< 250 CWD command successful. >>> CWD ports
    <<< 250 CWD command successful. >>> CWD amd64
    <<< 250 CWD command successful. >>> CWD packages-7.3-release
    <<< 550 packages-7.3-release: No such file or directory. >>> QUIT
    <<< 221 Goodbye. Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.3-release/Latest/logrotate.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.3-release/Latest/logrotate.tbz' by URL pkg_add: 1 package addition(s) failed

    -rオプションでリモートインストールを行ったのですが失敗してしまいました。確認すると[ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.3-release/Latest/logrotate.tbz]が取得できないとのこと

  5. ftpで確認
  6. Windows PCからftpで確認すると確かに[packages-7.3-release]というディレクトリは無くて[packages-7-stable]ならありました。pkg_addでどこを変更すれば[packages-7.3-release]を[packages-7-stable]に変えることができるのか分からなかったので別のオプションを使用しました

  7. pkg_add -v ftp://…
  8. 直接パッケージ名をpkg_addに指定します

    freenas:~# pkg_add -v ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/Latest/logrotate.tbz
    scheme: [ftp]
    user: []
    password: []
    host: [ftp.freebsd.org]
    port: [0]
    document: [/pub/FreeBSD/ports/amd64/packages-7-stable/Latest/logrotate.tbz]
    —> ftp.freebsd.org:21
    looking up ftp.freebsd.org
    connecting to ftp.freebsd.org:21
    <<< 220 ftp.beastie.tdk.net FTP server (Version 6.00LS) ready. >>> USER anonymous
    <<< 331 Guest login ok, send your email address as password. >>> PASS root@freenas.rootlinks.net
    <<< 230 Guest login ok, access restrictions apply. >>> PWD
    <<< 257 "/" is current directory. >>> CWD pub/FreeBSD/ports/amd64/packages-7-stable/Latest
    <<< 250 CWD command successful. >>> MODE S
    <<< 200 MODE S accepted. >>> TYPE I
    <<< 200 Type set to I. setting passive mode >>> PASV
    <<< 227 Entering Passive Mode (193,162,146,4,201,224) opening data connection initiating transfer >>> RETR logrotate.tbz
    <<< 150 Opening BINARY mode data connection for 'logrotate.tbz' (32382 bytes). Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/Latest/logrotate.tbz...Waiting for final status <<< 226 Transfer complete. x +CONTENTS x +COMMENT x +DESC x +MTREE_DIRS x man/man5/logrotate.conf.5.gz x man/man8/logrotate.8.gz x sbin/logrotate x etc/logrotate.conf.sample x share/examples/logrotate/syslog.sample tar command returns 0 status Done. Package 'logrotate-3.7.9' depends on 'libiconv-1.14' with 'converters/libiconv' origin. scheme: [ftp] user: [] password: [] host: [ftp.freebsd.org] port: [0] document: [/pub/FreeBSD/ports/amd64/packages-7-stable/All/libiconv-1.14.tbz] >>> NOOP
    <<< 200 NOOP command successful. >>> PWD
    <<< 257 "/pub/FreeBSD/ports/amd64/packages-7-stable/Latest" is current directory. >>> CDUP
    <<< 250 CWD command successful. >>> PWD
    <<< 257 "/pub/FreeBSD/ports/amd64/packages-7-stable" is current directory. >>> CWD All
    <<< 250 CWD command successful. >>> MODE S
    <<< 200 MODE S accepted. >>> TYPE I
    <<< 200 Type set to I. setting passive mode >>> PASV
    <<< 227 Entering Passive Mode (193,162,146,4,239,159) opening data connection initiating transfer >>> RETR libiconv-1.14.tbz
    <<< 150 Opening BINARY mode data connection for 'libiconv-1.14.tbz' (1506008 bytes). Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/All/libiconv-1.14.tbz...x +CONTENTS x +COMMENT x +DESC x +MTREE_DIRS x man/man1/iconv.1.gz x man/man3/iconv.3.gz x man/man3/iconv_open.3.gz x man/man3/iconv_open_into.3.gz x man/man3/iconv_close.3.gz x man/man3/iconvctl.3.gz x bin/iconv x include/iconv.h x include/libcharset.h x include/localcharset.h x lib/libcharset.a x lib/libcharset.la x lib/libcharset.so x lib/libcharset.so.1 x lib/libiconv.a x lib/libiconv.la x lib/libiconv.so x lib/libiconv.so.3Waiting for final status <<< 226 Transfer complete. x libdata/charset.alias x share/doc/libiconv/iconv.1.html x share/doc/libiconv/iconv.3.html x share/doc/libiconv/iconv_close.3.html x share/doc/libiconv/iconv_open.3.html x share/doc/libiconv/iconv_open_into.3.html x share/doc/libiconv/iconvctl.3.html tar command returns 0 status Done. Finished loading libiconv-1.14 via a URL extract: Package name is libiconv-1.14 extract: CWD to /usr/local extract: /usr/local/man/man1/iconv.1.gz extract: /usr/local/man/man3/iconv.3.gz extract: /usr/local/man/man3/iconv_open.3.gz extract: /usr/local/man/man3/iconv_open_into.3.gz extract: /usr/local/man/man3/iconv_close.3.gz extract: /usr/local/man/man3/iconvctl.3.gz extract: /usr/local/bin/iconv extract: /usr/local/include/iconv.h extract: /usr/local/include/libcharset.h extract: /usr/local/include/localcharset.h extract: /usr/local/lib/libcharset.a extract: /usr/local/lib/libcharset.la extract: /usr/local/lib/libcharset.so extract: /usr/local/lib/libcharset.so.1 extract: /usr/local/lib/libiconv.a extract: /usr/local/lib/libiconv.la extract: /usr/local/lib/libiconv.so extract: /usr/local/lib/libiconv.so.3 extract: /usr/local/libdata/charset.alias extract: /usr/local/share/doc/libiconv/iconv.1.html extract: /usr/local/share/doc/libiconv/iconv.3.html extract: /usr/local/share/doc/libiconv/iconv_close.3.html extract: /usr/local/share/doc/libiconv/iconv_open.3.html extract: /usr/local/share/doc/libiconv/iconv_open_into.3.html extract: /usr/local/share/doc/libiconv/iconvctl.3.html extract: execute '/sbin/ldconfig -m /usr/local/lib' Running mtree for libiconv-1.14.. mtree -U -f +MTREE_DIRS -d -e -p /usr/local >/dev/null
    Attempting to record package into /var/db/pkg/libiconv-1.14..
    Package libiconv-1.14 registered in /var/db/pkg/libiconv-1.14
    ‘libiconv-1.14’ loaded successfully.
    Package ‘logrotate-3.7.9’ depends on ‘gettext-0.18.1.1’ with ‘devel/gettext’ origin.
    scheme: [ftp]
    user: []
    password: []
    host: [ftp.freebsd.org]
    port: [0]
    document: [/pub/FreeBSD/ports/amd64/packages-7-stable/All/gettext-0.18.1.1.tbz]
    >>> NOOP
    <<< 200 NOOP command successful. >>> PWD
    <<< 257 "/pub/FreeBSD/ports/amd64/packages-7-stable/All" is current directory. >>> MODE S
    <<< 200 MODE S accepted. >>> TYPE I
    <<< 200 Type set to I. setting passive mode >>> PASV
    <<< 227 Entering Passive Mode (193,162,146,4,242,9) opening data connection initiating transfer >>> RETR gettext-0.18.1.1.tbz
    <<< 150 Opening BINARY mode data connection for 'gettext-0.18.1.1.tbz' (6053531 bytes). Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/All/gettext-0.18.1.1.tbz...x +CONTENTS x +COMMENT x +DESC x +MTREE_DIRS x man/man1/autopoint.1.gz x man/man1/envsubst.1.gz x man/man1/gettext.1.gz x man/man1/gettextize.1.gz x man/man1/msgattrib.1.gz x man/man1/msgcat.1.gz x man/man1/msgcmp.1.gz x man/man1/msgcomm.1.gz x man/man1/msgconv.1.gz x man/man1/msgen.1.gz x man/man1/msgexec.1.gz x man/man1/msgfilter.1.gz x man/man1/msgfmt.1.gz x man/man1/msggrep.1.gz x man/man1/msginit.1.gz x man/man1/msgmerge.1.gz x man/man1/msgunfmt.1.gz x man/man1/msguniq.1.gz x man/man1/ngettext.1.gz x man/man1/recode-sr-latin.1.gz x man/man1/xgettext.1.gz x man/man3/bind_textdomain_codeset.3.gz x man/man3/bindtextdomain.3.gz x man/man3/dcgettext.3.gz x man/man3/dcngettext.3.gz x man/man3/dgettext.3.gz x man/man3/dngettext.3.gz x man/man3/gettext.3.gz x man/man3/ngettext.3.gz x man/man3/textdomain.3.gz x bin/autopoint x bin/envsubst x bin/gettext x bin/gettext.sh x bin/gettextize x bin/msgattrib x bin/msgcat x bin/msgcmp x bin/msgcomm x bin/msgconv x bin/msgen x bin/msgexec x bin/msgfilter x bin/msgfmt x bin/msggrep x bin/msginit x bin/msgmerge x bin/msgunfmt x bin/msguniq x bin/ngettext x bin/recode-sr-latin x bin/xgettext x include/autosprintf.h x include/gettext-po.h x include/libintl.h x lib/charset.alias x lib/libasprintf.a x lib/libasprintf.la x lib/libasprintf.so x lib/libasprintf.so.0 x lib/libgettextlib-0.18.1.so x lib/libgettextlib.la x lib/libgettextlib.so x lib/libgettextpo.a x lib/libgettextpo.la x lib/libgettextpo.so x lib/libgettextpo.so.5 x lib/libgettextsrc.la x lib/libgettextsrc-0.18.1.so x lib/libgettextsrc.so x lib/libintl.a x lib/libintl.la x lib/libintl.so x lib/libintl.so.9 x lib/gettext/hostname x lib/gettext/project-id x lib/gettext/urlget x lib/gettext/user-email x share/aclocal/codeset.m4 x share/aclocal/gettext.m4 x share/aclocal/fcntl-o.m4 x share/aclocal/glibc2.m4 x share/aclocal/glibc21.m4 x share/aclocal/iconv.m4 x share/aclocal/intdiv0.m4 x share/aclocal/intl.m4 x share/aclocal/intldir.m4 x share/aclocal/intlmacosx.m4 x share/aclocal/intmax.m4 x share/aclocal/inttypes-pri.m4 x share/aclocal/inttypes_h.m4 x share/aclocal/lcmessage.m4 x share/aclocal/lib-ld.m4 x share/aclocal/lib-link.m4 x share/aclocal/lib-prefix.m4 x share/aclocal/lock.m4 x share/aclocal/longlong.m4 x share/aclocal/nls.m4 x share/aclocal/po.m4 x share/aclocal/printf-posix.m4 x share/aclocal/progtest.m4 x share/aclocal/size_max.m4 x share/aclocal/stdint_h.m4 x share/aclocal/threadlib.m4 x share/aclocal/uintmax_t.m4 x share/aclocal/visibility.m4 x share/aclocal/wchar_t.m4 x share/aclocal/wint_t.m4 x share/aclocal/xsize.m4 x share/doc/gettext/FAQ.html x share/doc/gettext/csharpdoc/GNU_Gettext.html x share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html x share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html x share/doc/gettext/csharpdoc/begin.html x share/doc/gettext/csharpdoc/index.html x share/doc/gettext/csharpdoc/namespaces.html x share/doc/gettext/examples/build-aux/csharpcomp.m4 x share/doc/gettext/examples/build-aux/csharpcomp.sh.in x share/doc/gettext/examples/build-aux/csharpexec.m4 x share/doc/gettext/examples/build-aux/csharpexec.sh.in x share/doc/gettext/examples/build-aux/csharpexec-test.exe x share/doc/gettext/examples/build-aux/gcj.m4 x share/doc/gettext/examples/build-aux/javacomp.m4 x share/doc/gettext/examples/build-aux/javacomp.sh.in x share/doc/gettext/examples/build-aux/javaexec.m4 x share/doc/gettext/examples/build-aux/javaexec.sh.in x share/doc/gettext/gettext_1.html x share/doc/gettext/gettext_2.html x share/doc/gettext/gettext_3.html x share/doc/gettext/gettext_4.html x share/doc/gettext/gettext_5.html x share/doc/gettext/gettext_6.html x share/doc/gettext/gettext_7.html x share/doc/gettext/gettext_8.html x share/doc/gettext/gettext_9.html x share/doc/gettext/gettext_10.html x share/doc/gettext/gettext_11.html x share/doc/gettext/gettext_12.html x share/doc/gettext/gettext_13.html x share/doc/gettext/gettext_14.html x share/doc/gettext/gettext_15.html x share/doc/gettext/gettext_16.html x share/doc/gettext/gettext_17.html x share/doc/gettext/gettext_18.html x share/doc/gettext/gettext_19.html x share/doc/gettext/gettext_20.html x share/doc/gettext/gettext_21.html x share/doc/gettext/gettext_22.html x share/doc/gettext/gettext_23.html x share/doc/gettext/gettext_24.html x share/doc/gettext/gettext_25.html x share/doc/gettext/gettext_foot.html x share/doc/gettext/gettext_toc.html x share/doc/gettext/javadoc2/allclasses-frame.html x share/doc/gettext/javadoc2/deprecated-list.html x share/doc/gettext/javadoc2/gnu/gettext/GettextResource.html x share/doc/gettext/javadoc2/gnu/gettext/package-frame.html x share/doc/gettext/javadoc2/gnu/gettext/package-summary.html x share/doc/gettext/javadoc2/gnu/gettext/package-tree.html x share/doc/gettext/javadoc2/help-doc.html x share/doc/gettext/javadoc2/index-all.html x share/doc/gettext/javadoc2/index.html x share/doc/gettext/javadoc2/overview-tree.html x share/doc/gettext/javadoc2/package-list x share/doc/gettext/javadoc2/packages.html x share/doc/gettext/javadoc2/serialized-form.html x share/doc/gettext/javadoc2/stylesheet.css x share/doc/gettext/tutorial.html x share/doc/libasprintf/autosprintf_all.html x share/emacs/site-lisp/po-compat.el x share/emacs/site-lisp/po-mode.el x share/gettext/ABOUT-NLS x share/gettext/archive.dir.tar.gz x share/gettext/config.rpath x share/gettext/gettext.h x share/gettext/intl/COPYING.LIB-2.0 x share/gettext/intl/COPYING.LIB-2.1 x share/gettext/intl/ChangeLog x share/gettext/intl/Makefile.in x share/gettext/intl/VERSION x share/gettext/intl/bindtextdom.c x share/gettext/intl/config.charset x share/gettext/intl/dcgettext.c x share/gettext/intl/dcigettext.c x share/gettext/intl/dcngettext.c x share/gettext/intl/dgettext.c x share/gettext/intl/dngettext.c x share/gettext/intl/eval-plural.h x share/gettext/intl/explodename.c x share/gettext/intl/export.h x share/gettext/intl/finddomain.c x share/gettext/intl/gettext.c x share/gettext/intl/gettextP.h x share/gettext/intl/gmo.h x share/gettext/intl/hash-string.c x share/gettext/intl/hash-string.h x share/gettext/intl/intl-compat.c x share/gettext/intl/intl-exports.c x share/gettext/intl/l10nflist.c x share/gettext/intl/langprefs.c x share/gettext/intl/libgnuintl.h.in x share/gettext/intl/libintl.rc x share/gettext/intl/loadinfo.h x share/gettext/intl/loadmsgcat.c x share/gettext/intl/localcharset.c x share/gettext/intl/localcharset.h x share/gettext/intl/locale.alias x share/gettext/intl/localealias.c x share/gettext/intl/localename.c x share/gettext/intl/lock.c x share/gettext/intl/lock.h x share/gettext/intl/log.c x share/gettext/intl/ngettext.c x share/gettext/intl/os2compat.c x share/gettext/intl/os2compat.h x share/gettext/intl/osdep.c x share/gettext/intl/plural-exp.c x share/gettext/intl/plural-exp.h x share/gettext/intl/plural.c x share/gettext/intl/plural.y x share/gettext/intl/printf-args.c x share/gettext/intl/printf-args.h x share/gettext/intl/printf-parse.c x share/gettext/intl/printf-parse.h x share/gettext/intl/printf.c x share/gettext/intl/ref-add.sin x share/gettext/intl/ref-del.sin x share/gettext/intl/relocatable.c x share/gettext/intl/relocatable.h x share/gettext/intl/setlocale.c x share/gettext/intl/textdomain.c x share/gettext/intl/threadlib.c x share/gettext/intl/tsearch.c x share/gettext/intl/tsearch.h x share/gettext/intl/vasnprintf.c x share/gettext/intl/vasnprintf.h x share/gettext/intl/vasnwprintf.h x share/gettext/intl/version.c x share/gettext/intl/wprintf-parse.h x share/gettext/intl/xsize.h x share/gettext/javaversion.class x share/gettext/msgunfmt.tcl x share/gettext/po/Makefile.in.in x share/gettext/po/Makevars.template x share/gettext/po/Rules-quot x share/gettext/po/boldquot.sed x share/gettext/po/en@boldquot.header x share/gettext/po/en@quot.header x share/gettext/po/insert-header.sin x share/gettext/po/quot.sed x share/gettext/po/remove-potcdate.sin x share/gettext/projects/GNOME/team-address x share/gettext/projects/GNOME/teams.html x share/gettext/projects/GNOME/teams.url x share/gettext/projects/GNOME/trigger x share/gettext/projects/KDE/team-address x share/gettext/projects/KDE/teams.html x share/gettext/projects/KDE/teams.url x share/gettext/projects/KDE/trigger x share/gettext/projects/TP/team-address x share/gettext/projects/TP/teams.html x share/gettext/projects/TP/teams.url x share/gettext/projects/TP/trigger x share/gettext/projects/index x share/gettext/projects/team-address x share/gettext/styles/po-default.css x share/gettext/styles/po-emacs-x.css x share/gettext/styles/po-emacs-xterm.css x share/gettext/styles/po-emacs-xterm16.css x share/gettext/styles/po-emacs-xterm256.css x share/gettext/styles/po-vim.css x share/locale/be/LC_MESSAGES/gettext-runtime.mo x share/locale/be/LC_MESSAGES/gettext-tools.mo x share/locale/bg/LC_MESSAGES/gettext-runtime.mo x share/locale/bg/LC_MESSAGES/gettext-tools.mo x share/locale/ca/LC_MESSAGES/gettext-runtime.mo x share/locale/ca/LC_MESSAGES/gettext-tools.mo x share/locale/cs/LC_MESSAGES/gettext-runtime.mo x share/locale/cs/LC_MESSAGES/gettext-tools.mo x share/locale/da/LC_MESSAGES/gettext-runtime.mo x share/locale/da/LC_MESSAGES/gettext-tools.mo x share/locale/de/LC_MESSAGES/gettext-runtime.mo x share/locale/de/LC_MESSAGES/gettext-tools.mo x share/locale/el/LC_MESSAGES/gettext-runtime.mo x share/locale/el/LC_MESSAGES/gettext-tools.mo x share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo x share/locale/en@boldquot/LC_MESSAGES/gettext-tools.mo x share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo x share/locale/en@quot/LC_MESSAGES/gettext-tools.mo x share/locale/eo/LC_MESSAGES/gettext-runtime.mo x share/locale/es/LC_MESSAGES/gettext-runtime.mo x share/locale/es/LC_MESSAGES/gettext-tools.mo x share/locale/et/LC_MESSAGES/gettext-runtime.mo x share/locale/et/LC_MESSAGES/gettext-tools.mo x share/locale/eu/LC_MESSAGES/gettext-tools.mo x share/locale/fi/LC_MESSAGES/gettext-runtime.mo x share/locale/fi/LC_MESSAGES/gettext-tools.mo x share/locale/fr/LC_MESSAGES/gettext-runtime.mo x share/locale/fr/LC_MESSAGES/gettext-tools.mo x share/locale/ga/LC_MESSAGES/gettext-runtime.mo x share/locale/gl/LC_MESSAGES/gettext-runtime.mo x share/locale/gl/LC_MESSAGES/gettext-tools.mo x share/locale/id/LC_MESSAGES/gettext-runtime.mo x share/locale/id/LC_MESSAGES/gettext-tools.mo x share/locale/it/LC_MESSAGES/gettext-runtime.mo x share/locale/it/LC_MESSAGES/gettext-tools.mo x share/locale/ja/LC_MESSAGES/gettext-runtime.mo x share/locale/ja/LC_MESSAGES/gettext-tools.mo x share/locale/ko/LC_MESSAGES/gettext-runtime.mo x share/locale/ko/LC_MESSAGES/gettext-tools.mo x share/locale/locale.alias x share/locale/nb/LC_MESSAGES/gettext-runtime.mo x share/locale/nb/LC_MESSAGES/gettext-tools.mo x share/locale/nl/LC_MESSAGES/gettext-runtime.mo x share/locale/nl/LC_MESSAGES/gettext-tools.mo x share/locale/nn/LC_MESSAGES/gettext-runtime.mo x share/locale/nn/LC_MESSAGES/gettext-tools.mo x share/locale/pl/LC_MESSAGES/gettext-runtime.mo x share/locale/pl/LC_MESSAGES/gettext-tools.mo x share/locale/pt/LC_MESSAGES/gettext-runtime.mo x share/locale/pt/LC_MESSAGES/gettext-tools.mo x share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo x share/locale/pt_BR/LC_MESSAGES/gettext-tools.mo x share/locale/ro/LC_MESSAGES/gettext-runtime.mo x share/locale/ro/LC_MESSAGES/gettext-tools.mo x share/locale/ru/LC_MESSAGES/gettext-runtime.mo x share/locale/ru/LC_MESSAGES/gettext-tools.mo x share/locale/sk/LC_MESSAGES/gettext-runtime.mo x share/locale/sk/LC_MESSAGES/gettext-tools.mo x share/locale/sl/LC_MESSAGES/gettext-runtime.mo x share/locale/sl/LC_MESSAGES/gettext-tools.mo x share/locale/sr/LC_MESSAGES/gettext-runtime.mo x share/locale/sr/LC_MESSAGES/gettext-tools.mo x share/locale/sv/LC_MESSAGES/gettext-runtime.mo x share/locale/sv/LC_MESSAGES/gettext-tools.mo x share/locale/tr/LC_MESSAGES/gettext-runtime.mo x share/locale/tr/LC_MESSAGES/gettext-tools.mo x share/locale/uk/LC_MESSAGES/gettext-runtime.mo x share/locale/uk/LC_MESSAGES/gettext-tools.mo x share/locale/vi/LC_MESSAGES/gettext-runtime.mo x share/locale/vi/LC_MESSAGES/gettext-tools.mo x share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo x share/locale/zh_CN/LC_MESSAGES/gettext-tools.mo x share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo x share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo x share/locale/zh_TW/LC_MESSAGES/gettext-tools.mo x info/autosprintf.info x info/gettext.infoWaiting for final status <<< 226 Transfer complete. tar command returns 0 status Done. Finished loading gettext-0.18.1.1 via a URL Package 'gettext-0.18.1.1' depends on 'libiconv-1.14' with 'converters/libiconv' origin. - already installed. extract: Package name is gettext-0.18.1.1 extract: CWD to /usr/local extract: /usr/local/man/man1/autopoint.1.gz extract: /usr/local/man/man1/envsubst.1.gz extract: /usr/local/man/man1/gettext.1.gz extract: /usr/local/man/man1/gettextize.1.gz extract: /usr/local/man/man1/msgattrib.1.gz extract: /usr/local/man/man1/msgcat.1.gz extract: /usr/local/man/man1/msgcmp.1.gz extract: /usr/local/man/man1/msgcomm.1.gz extract: /usr/local/man/man1/msgconv.1.gz extract: /usr/local/man/man1/msgen.1.gz extract: /usr/local/man/man1/msgexec.1.gz extract: /usr/local/man/man1/msgfilter.1.gz extract: /usr/local/man/man1/msgfmt.1.gz extract: /usr/local/man/man1/msggrep.1.gz extract: /usr/local/man/man1/msginit.1.gz extract: /usr/local/man/man1/msgmerge.1.gz extract: /usr/local/man/man1/msgunfmt.1.gz extract: /usr/local/man/man1/msguniq.1.gz extract: /usr/local/man/man1/ngettext.1.gz extract: /usr/local/man/man1/recode-sr-latin.1.gz extract: /usr/local/man/man1/xgettext.1.gz extract: /usr/local/man/man3/bind_textdomain_codeset.3.gz extract: /usr/local/man/man3/bindtextdomain.3.gz extract: /usr/local/man/man3/dcgettext.3.gz extract: /usr/local/man/man3/dcngettext.3.gz extract: /usr/local/man/man3/dgettext.3.gz extract: /usr/local/man/man3/dngettext.3.gz extract: /usr/local/man/man3/gettext.3.gz extract: /usr/local/man/man3/ngettext.3.gz extract: /usr/local/man/man3/textdomain.3.gz extract: /usr/local/bin/autopoint extract: /usr/local/bin/envsubst extract: /usr/local/bin/gettext extract: /usr/local/bin/gettext.sh extract: /usr/local/bin/gettextize extract: /usr/local/bin/msgattrib extract: /usr/local/bin/msgcat extract: /usr/local/bin/msgcmp extract: /usr/local/bin/msgcomm extract: /usr/local/bin/msgconv extract: /usr/local/bin/msgen extract: /usr/local/bin/msgexec extract: /usr/local/bin/msgfilter extract: /usr/local/bin/msgfmt extract: /usr/local/bin/msggrep extract: /usr/local/bin/msginit extract: /usr/local/bin/msgmerge extract: /usr/local/bin/msgunfmt extract: /usr/local/bin/msguniq extract: /usr/local/bin/ngettext extract: /usr/local/bin/recode-sr-latin extract: /usr/local/bin/xgettext extract: /usr/local/include/autosprintf.h extract: /usr/local/include/gettext-po.h extract: /usr/local/include/libintl.h extract: execute '/bin/mkdir -p /usr/local/lib/gettext' extract: /usr/local/lib/charset.alias extract: /usr/local/lib/libasprintf.a extract: /usr/local/lib/libasprintf.la extract: /usr/local/lib/libasprintf.so extract: /usr/local/lib/libasprintf.so.0 extract: /usr/local/lib/libgettextlib-0.18.1.so extract: /usr/local/lib/libgettextlib.la extract: /usr/local/lib/libgettextlib.so extract: /usr/local/lib/libgettextpo.a extract: /usr/local/lib/libgettextpo.la extract: /usr/local/lib/libgettextpo.so extract: /usr/local/lib/libgettextpo.so.5 extract: /usr/local/lib/libgettextsrc.la extract: /usr/local/lib/libgettextsrc-0.18.1.so extract: /usr/local/lib/libgettextsrc.so extract: /usr/local/lib/libintl.a extract: /usr/local/lib/libintl.la extract: /usr/local/lib/libintl.so extract: /usr/local/lib/libintl.so.9 extract: /usr/local/lib/gettext/hostname extract: /usr/local/lib/gettext/project-id extract: /usr/local/lib/gettext/urlget extract: /usr/local/lib/gettext/user-email extract: /usr/local/share/aclocal/codeset.m4 extract: /usr/local/share/aclocal/gettext.m4 extract: /usr/local/share/aclocal/fcntl-o.m4 extract: /usr/local/share/aclocal/glibc2.m4 extract: /usr/local/share/aclocal/glibc21.m4 extract: /usr/local/share/aclocal/iconv.m4 extract: /usr/local/share/aclocal/intdiv0.m4 extract: /usr/local/share/aclocal/intl.m4 extract: /usr/local/share/aclocal/intldir.m4 extract: /usr/local/share/aclocal/intlmacosx.m4 extract: /usr/local/share/aclocal/intmax.m4 extract: /usr/local/share/aclocal/inttypes-pri.m4 extract: /usr/local/share/aclocal/inttypes_h.m4 extract: /usr/local/share/aclocal/lcmessage.m4 extract: /usr/local/share/aclocal/lib-ld.m4 extract: /usr/local/share/aclocal/lib-link.m4 extract: /usr/local/share/aclocal/lib-prefix.m4 extract: /usr/local/share/aclocal/lock.m4 extract: /usr/local/share/aclocal/longlong.m4 extract: /usr/local/share/aclocal/nls.m4 extract: /usr/local/share/aclocal/po.m4 extract: /usr/local/share/aclocal/printf-posix.m4 extract: /usr/local/share/aclocal/progtest.m4 extract: /usr/local/share/aclocal/size_max.m4 extract: /usr/local/share/aclocal/stdint_h.m4 extract: /usr/local/share/aclocal/threadlib.m4 extract: /usr/local/share/aclocal/uintmax_t.m4 extract: /usr/local/share/aclocal/visibility.m4 extract: /usr/local/share/aclocal/wchar_t.m4 extract: /usr/local/share/aclocal/wint_t.m4 extract: /usr/local/share/aclocal/xsize.m4 extract: /usr/local/share/doc/gettext/FAQ.html extract: /usr/local/share/doc/gettext/csharpdoc/GNU_Gettext.html extract: /usr/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html extract: /usr/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html extract: /usr/local/share/doc/gettext/csharpdoc/begin.html extract: /usr/local/share/doc/gettext/csharpdoc/index.html extract: /usr/local/share/doc/gettext/csharpdoc/namespaces.html extract: /usr/local/share/doc/gettext/examples/build-aux/csharpcomp.m4 extract: /usr/local/share/doc/gettext/examples/build-aux/csharpcomp.sh.in extract: /usr/local/share/doc/gettext/examples/build-aux/csharpexec.m4 extract: /usr/local/share/doc/gettext/examples/build-aux/csharpexec.sh.in extract: /usr/local/share/doc/gettext/examples/build-aux/csharpexec-test.exe extract: /usr/local/share/doc/gettext/examples/build-aux/gcj.m4 extract: /usr/local/share/doc/gettext/examples/build-aux/javacomp.m4 extract: /usr/local/share/doc/gettext/examples/build-aux/javacomp.sh.in extract: /usr/local/share/doc/gettext/examples/build-aux/javaexec.m4 extract: /usr/local/share/doc/gettext/examples/build-aux/javaexec.sh.in extract: /usr/local/share/doc/gettext/gettext_1.html extract: /usr/local/share/doc/gettext/gettext_2.html extract: /usr/local/share/doc/gettext/gettext_3.html extract: /usr/local/share/doc/gettext/gettext_4.html extract: /usr/local/share/doc/gettext/gettext_5.html extract: /usr/local/share/doc/gettext/gettext_6.html extract: /usr/local/share/doc/gettext/gettext_7.html extract: /usr/local/share/doc/gettext/gettext_8.html extract: /usr/local/share/doc/gettext/gettext_9.html extract: /usr/local/share/doc/gettext/gettext_10.html extract: /usr/local/share/doc/gettext/gettext_11.html extract: /usr/local/share/doc/gettext/gettext_12.html extract: /usr/local/share/doc/gettext/gettext_13.html extract: /usr/local/share/doc/gettext/gettext_14.html extract: /usr/local/share/doc/gettext/gettext_15.html extract: /usr/local/share/doc/gettext/gettext_16.html extract: /usr/local/share/doc/gettext/gettext_17.html extract: /usr/local/share/doc/gettext/gettext_18.html extract: /usr/local/share/doc/gettext/gettext_19.html extract: /usr/local/share/doc/gettext/gettext_20.html extract: /usr/local/share/doc/gettext/gettext_21.html extract: /usr/local/share/doc/gettext/gettext_22.html extract: /usr/local/share/doc/gettext/gettext_23.html extract: /usr/local/share/doc/gettext/gettext_24.html extract: /usr/local/share/doc/gettext/gettext_25.html extract: /usr/local/share/doc/gettext/gettext_foot.html extract: /usr/local/share/doc/gettext/gettext_toc.html extract: /usr/local/share/doc/gettext/javadoc2/allclasses-frame.html extract: /usr/local/share/doc/gettext/javadoc2/deprecated-list.html extract: /usr/local/share/doc/gettext/javadoc2/gnu/gettext/GettextResource.html extract: /usr/local/share/doc/gettext/javadoc2/gnu/gettext/package-frame.html extract: /usr/local/share/doc/gettext/javadoc2/gnu/gettext/package-summary.html extract: /usr/local/share/doc/gettext/javadoc2/gnu/gettext/package-tree.html extract: /usr/local/share/doc/gettext/javadoc2/help-doc.html extract: /usr/local/share/doc/gettext/javadoc2/index-all.html extract: /usr/local/share/doc/gettext/javadoc2/index.html extract: /usr/local/share/doc/gettext/javadoc2/overview-tree.html extract: /usr/local/share/doc/gettext/javadoc2/package-list extract: /usr/local/share/doc/gettext/javadoc2/packages.html extract: /usr/local/share/doc/gettext/javadoc2/serialized-form.html extract: /usr/local/share/doc/gettext/javadoc2/stylesheet.css extract: /usr/local/share/doc/gettext/tutorial.html extract: /usr/local/share/doc/libasprintf/autosprintf_all.html extract: /usr/local/share/emacs/site-lisp/po-compat.el extract: /usr/local/share/emacs/site-lisp/po-mode.el extract: /usr/local/share/gettext/ABOUT-NLS extract: /usr/local/share/gettext/archive.dir.tar.gz extract: /usr/local/share/gettext/config.rpath extract: /usr/local/share/gettext/gettext.h extract: /usr/local/share/gettext/intl/COPYING.LIB-2.0 extract: /usr/local/share/gettext/intl/COPYING.LIB-2.1 extract: /usr/local/share/gettext/intl/ChangeLog extract: /usr/local/share/gettext/intl/Makefile.in extract: /usr/local/share/gettext/intl/VERSION extract: /usr/local/share/gettext/intl/bindtextdom.c extract: /usr/local/share/gettext/intl/config.charset extract: /usr/local/share/gettext/intl/dcgettext.c extract: /usr/local/share/gettext/intl/dcigettext.c extract: /usr/local/share/gettext/intl/dcngettext.c extract: /usr/local/share/gettext/intl/dgettext.c extract: /usr/local/share/gettext/intl/dngettext.c extract: /usr/local/share/gettext/intl/eval-plural.h extract: /usr/local/share/gettext/intl/explodename.c extract: /usr/local/share/gettext/intl/export.h extract: /usr/local/share/gettext/intl/finddomain.c extract: /usr/local/share/gettext/intl/gettext.c extract: /usr/local/share/gettext/intl/gettextP.h extract: /usr/local/share/gettext/intl/gmo.h extract: /usr/local/share/gettext/intl/hash-string.c extract: /usr/local/share/gettext/intl/hash-string.h extract: /usr/local/share/gettext/intl/intl-compat.c extract: /usr/local/share/gettext/intl/intl-exports.c extract: /usr/local/share/gettext/intl/l10nflist.c extract: /usr/local/share/gettext/intl/langprefs.c extract: /usr/local/share/gettext/intl/libgnuintl.h.in extract: /usr/local/share/gettext/intl/libintl.rc extract: /usr/local/share/gettext/intl/loadinfo.h extract: /usr/local/share/gettext/intl/loadmsgcat.c extract: /usr/local/share/gettext/intl/localcharset.c extract: /usr/local/share/gettext/intl/localcharset.h extract: /usr/local/share/gettext/intl/locale.alias extract: /usr/local/share/gettext/intl/localealias.c extract: /usr/local/share/gettext/intl/localename.c extract: /usr/local/share/gettext/intl/lock.c extract: /usr/local/share/gettext/intl/lock.h extract: /usr/local/share/gettext/intl/log.c extract: /usr/local/share/gettext/intl/ngettext.c extract: /usr/local/share/gettext/intl/os2compat.c extract: /usr/local/share/gettext/intl/os2compat.h extract: /usr/local/share/gettext/intl/osdep.c extract: /usr/local/share/gettext/intl/plural-exp.c extract: /usr/local/share/gettext/intl/plural-exp.h extract: /usr/local/share/gettext/intl/plural.c extract: /usr/local/share/gettext/intl/plural.y extract: /usr/local/share/gettext/intl/printf-args.c extract: /usr/local/share/gettext/intl/printf-args.h extract: /usr/local/share/gettext/intl/printf-parse.c extract: /usr/local/share/gettext/intl/printf-parse.h extract: /usr/local/share/gettext/intl/printf.c extract: /usr/local/share/gettext/intl/ref-add.sin extract: /usr/local/share/gettext/intl/ref-del.sin extract: /usr/local/share/gettext/intl/relocatable.c extract: /usr/local/share/gettext/intl/relocatable.h extract: /usr/local/share/gettext/intl/setlocale.c extract: /usr/local/share/gettext/intl/textdomain.c extract: /usr/local/share/gettext/intl/threadlib.c extract: /usr/local/share/gettext/intl/tsearch.c extract: /usr/local/share/gettext/intl/tsearch.h extract: /usr/local/share/gettext/intl/vasnprintf.c extract: /usr/local/share/gettext/intl/vasnprintf.h extract: /usr/local/share/gettext/intl/vasnwprintf.h extract: /usr/local/share/gettext/intl/version.c extract: /usr/local/share/gettext/intl/wprintf-parse.h extract: /usr/local/share/gettext/intl/xsize.h extract: /usr/local/share/gettext/javaversion.class extract: /usr/local/share/gettext/msgunfmt.tcl extract: /usr/local/share/gettext/po/Makefile.in.in extract: /usr/local/share/gettext/po/Makevars.template extract: /usr/local/share/gettext/po/Rules-quot extract: /usr/local/share/gettext/po/boldquot.sed extract: /usr/local/share/gettext/po/en@boldquot.header extract: /usr/local/share/gettext/po/en@quot.header extract: /usr/local/share/gettext/po/insert-header.sin extract: /usr/local/share/gettext/po/quot.sed extract: /usr/local/share/gettext/po/remove-potcdate.sin extract: /usr/local/share/gettext/projects/GNOME/team-address extract: /usr/local/share/gettext/projects/GNOME/teams.html extract: /usr/local/share/gettext/projects/GNOME/teams.url extract: /usr/local/share/gettext/projects/GNOME/trigger extract: /usr/local/share/gettext/projects/KDE/team-address extract: /usr/local/share/gettext/projects/KDE/teams.html extract: /usr/local/share/gettext/projects/KDE/teams.url extract: /usr/local/share/gettext/projects/KDE/trigger extract: /usr/local/share/gettext/projects/TP/team-address extract: /usr/local/share/gettext/projects/TP/teams.html extract: /usr/local/share/gettext/projects/TP/teams.url extract: /usr/local/share/gettext/projects/TP/trigger extract: /usr/local/share/gettext/projects/index extract: /usr/local/share/gettext/projects/team-address extract: /usr/local/share/gettext/styles/po-default.css extract: /usr/local/share/gettext/styles/po-emacs-x.css extract: /usr/local/share/gettext/styles/po-emacs-xterm.css extract: /usr/local/share/gettext/styles/po-emacs-xterm16.css extract: /usr/local/share/gettext/styles/po-emacs-xterm256.css extract: /usr/local/share/gettext/styles/po-vim.css extract: /usr/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/be/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/bg/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/ca/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/cs/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/da/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/de/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/el/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/en@boldquot/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/en@quot/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/es/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/et/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/eu/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/fi/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/fr/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/gl/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/id/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/it/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/ja/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/ko/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/locale.alias extract: /usr/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/nb/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/nl/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/nn/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/pl/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/pt/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/pt_BR/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/ro/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/ru/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/sk/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/sl/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/sr/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/sv/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/tr/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/uk/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/vi/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/zh_CN/LC_MESSAGES/gettext-tools.mo extract: /usr/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo extract: /usr/local/share/locale/zh_TW/LC_MESSAGES/gettext-tools.mo extract: execute '/sbin/ldconfig -m /usr/local/lib' extract: /usr/local/info/autosprintf.info extract: execute 'install-info --quiet /usr/local/info/autosprintf.info /usr/local/info/dir' extract: /usr/local/info/gettext.info extract: execute 'install-info --quiet /usr/local/info/gettext.info /usr/local/info/dir' Running mtree for gettext-0.18.1.1.. mtree -U -f +MTREE_DIRS -d -e -p /usr/local >/dev/null
    Attempting to record package into /var/db/pkg/gettext-0.18.1.1..
    Trying to record dependency on package ‘libiconv-1.14’ with ‘converters/libiconv’ origin.
    Package gettext-0.18.1.1 registered in /var/db/pkg/gettext-0.18.1.1
    ‘gettext-0.18.1.1’ loaded successfully.
    Package ‘logrotate-3.7.9’ depends on ‘popt-1.16’ with ‘devel/popt’ origin.
    scheme: [ftp]
    user: []
    password: []
    host: [ftp.freebsd.org]
    port: [0]
    document: [/pub/FreeBSD/ports/amd64/packages-7-stable/All/popt-1.16.tbz]
    >>> NOOP
    <<< 200 NOOP command successful. >>> PWD
    <<< 257 "/pub/FreeBSD/ports/amd64/packages-7-stable/All" is current directory. >>> MODE S
    <<< 200 MODE S accepted. >>> TYPE I
    <<< 200 Type set to I. setting passive mode >>> PASV
    <<< 227 Entering Passive Mode (193,162,146,4,245,218) opening data connection initiating transfer >>> RETR popt-1.16.tbz
    <<< 150 Opening BINARY mode data connection for 'popt-1.16.tbz' (77821 bytes). Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/All/popt-1.16.tbz...Waiting for final status <<< 226 Transfer complete. x +CONTENTS x +COMMENT x +DESC x +MTREE_DIRS x man/man3/popt.3.gz x include/popt.h x lib/libpopt.a x lib/libpopt.la x lib/libpopt.so x lib/libpopt.so.0 x libdata/pkgconfig/popt.pc x share/locale/cs/LC_MESSAGES/popt.mo x share/locale/da/LC_MESSAGES/popt.mo x share/locale/de/LC_MESSAGES/popt.mo x share/locale/eo/LC_MESSAGES/popt.mo x share/locale/es/LC_MESSAGES/popt.mo x share/locale/fi/LC_MESSAGES/popt.mo x share/locale/fr/LC_MESSAGES/popt.mo x share/locale/ga/LC_MESSAGES/popt.mo x share/locale/gl/LC_MESSAGES/popt.mo x share/locale/hu/LC_MESSAGES/popt.mo x share/locale/id/LC_MESSAGES/popt.mo x share/locale/is/LC_MESSAGES/popt.mo x share/locale/it/LC_MESSAGES/popt.mo x share/locale/ja/LC_MESSAGES/popt.mo x share/locale/ko/LC_MESSAGES/popt.mo x share/locale/lv/LC_MESSAGES/popt.mo x share/locale/nb/LC_MESSAGES/popt.mo x share/locale/nl/LC_MESSAGES/popt.mo x share/locale/pl/LC_MESSAGES/popt.mo x share/locale/pt/LC_MESSAGES/popt.mo x share/locale/ro/LC_MESSAGES/popt.mo x share/locale/ru/LC_MESSAGES/popt.mo x share/locale/sk/LC_MESSAGES/popt.mo x share/locale/sl/LC_MESSAGES/popt.mo x share/locale/sv/LC_MESSAGES/popt.mo x share/locale/th/LC_MESSAGES/popt.mo x share/locale/tr/LC_MESSAGES/popt.mo x share/locale/uk/LC_MESSAGES/popt.mo x share/locale/vi/LC_MESSAGES/popt.mo x share/locale/wa/LC_MESSAGES/popt.mo x share/locale/zh_CN/LC_MESSAGES/popt.mo x share/locale/zh_TW/LC_MESSAGES/popt.mo tar command returns 0 status Done. Finished loading popt-1.16 via a URL Package 'popt-1.16' depends on 'libiconv-1.14' with 'converters/libiconv' origin. - already installed. Package 'popt-1.16' depends on 'gettext-0.18.1.1' with 'devel/gettext' origin. - already installed. extract: Package name is popt-1.16 extract: CWD to /usr/local extract: /usr/local/man/man3/popt.3.gz extract: /usr/local/include/popt.h extract: /usr/local/lib/libpopt.a extract: /usr/local/lib/libpopt.la extract: /usr/local/lib/libpopt.so extract: /usr/local/lib/libpopt.so.0 extract: /usr/local/libdata/pkgconfig/popt.pc extract: /usr/local/share/locale/cs/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/da/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/de/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/eo/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/es/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/fi/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/fr/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/ga/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/gl/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/hu/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/id/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/is/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/it/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/ja/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/ko/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/lv/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/nb/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/nl/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/pl/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/pt/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/ro/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/ru/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/sk/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/sl/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/sv/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/th/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/tr/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/uk/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/vi/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/wa/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/zh_CN/LC_MESSAGES/popt.mo extract: /usr/local/share/locale/zh_TW/LC_MESSAGES/popt.mo extract: execute '/sbin/ldconfig -m /usr/local/lib' Running mtree for popt-1.16.. mtree -U -f +MTREE_DIRS -d -e -p /usr/local >/dev/null
    Attempting to record package into /var/db/pkg/popt-1.16..
    Trying to record dependency on package ‘libiconv-1.14’ with ‘converters/libiconv’ origin.
    Trying to record dependency on package ‘gettext-0.18.1.1’ with ‘devel/gettext’ origin.
    Package popt-1.16 registered in /var/db/pkg/popt-1.16
    ‘popt-1.16’ loaded successfully.
    extract: Package name is logrotate-3.7.9
    extract: CWD to /usr/local
    extract: /usr/local/man/man5/logrotate.conf.5.gz
    extract: /usr/local/man/man8/logrotate.8.gz
    extract: /usr/local/sbin/logrotate
    extract: /usr/local/etc/logrotate.conf.sample
    extract: /usr/local/share/examples/logrotate/syslog.sample
    Running mtree for logrotate-3.7.9..
    mtree -U -f +MTREE_DIRS -d -e -p /usr/local >/dev/null
    Attempting to record package into /var/db/pkg/logrotate-3.7.9..
    Trying to record dependency on package ‘libiconv-1.14’ with ‘converters/libiconv’ origin.
    Trying to record dependency on package ‘gettext-0.18.1.1’ with ‘devel/gettext’ origin.
    Trying to record dependency on package ‘popt-1.16’ with ‘devel/popt’ origin.
    Package logrotate-3.7.9 registered in /var/db/pkg/logrotate-3.7.9

    依存関係を検証しながら無事にlogrotateがインストールできました

  9. パッケージ情報を確認
  10. インストールしたパッケージ情報を確認してみます

    freenas:~# pkg_info
    gettext-0.18.1.1 GNU gettext package
    libiconv-1.14 A character set conversion library
    logrotate-3.7.9 Daemon to rotate, compress, remove and mail system log file
    popt-1.16 A getopt(3) like library with a number of enhancements, fro

    freenas:~# pkg_info logrotate-3.7.9
    Information for logrotate-3.7.9:

    Comment:
    Daemon to rotate, compress, remove and mail system log files

    Description:
    Daemon to rotate, compress, remove and mail system log files.

    I try to make it work just like /usr/sbin/newsyslog.
    With logrotate, you can mail syslog and execute command
    before or after logrotate.

  11. Disk容量の確認
  12. freenas:~# df -h
    Filesystem Size Used Avail Capacity Mounted on
    /dev/da0s1a 2.0G 221M 1.6G 12% /
    devfs 1.0K 1.0K 0B 100% /dev
    procfs 4.0K 4.0K 0B 100% /proc

この手順でパッケージを追加していけばある程度の機能追加はできそうです

Leave a Reply