Index: head/sysutils/Makefile =================================================================== --- head/sysutils/Makefile (revision 423635) +++ head/sysutils/Makefile (revision 423636) @@ -1,1270 +1,1271 @@ # $FreeBSD$ # COMMENT = System utilities SUBDIR += 3dm SUBDIR += 44bsd-more SUBDIR += 915resolution SUBDIR += DTraceToolkit SUBDIR += LPRng SUBDIR += LPRngTool SUBDIR += abck SUBDIR += abduco SUBDIR += abgx360 SUBDIR += abgx360gui SUBDIR += accountsservice SUBDIR += acerhdf-kmod SUBDIR += acpi_call SUBDIR += acpica-tools SUBDIR += acts SUBDIR += adtool SUBDIR += afbinit SUBDIR += afflib SUBDIR += afio SUBDIR += agedu SUBDIR += ah-tty SUBDIR += aimage SUBDIR += aird SUBDIR += am-utils + SUBDIR += amazon-ssm-agent SUBDIR += amrstat SUBDIR += amtc SUBDIR += anacron SUBDIR += and SUBDIR += android-file-transfer SUBDIR += android-file-transfer-qt4 SUBDIR += android-file-transfer-qt5 SUBDIR += ansible SUBDIR += ansible1 SUBDIR += apachetop SUBDIR += apcpwr SUBDIR += apcupsd SUBDIR += apt SUBDIR += arcconf SUBDIR += archivemount SUBDIR += areca-cli SUBDIR += ascpu SUBDIR += asfsm SUBDIR += asmem SUBDIR += asmon SUBDIR += asusoled SUBDIR += ataidle SUBDIR += atitvout SUBDIR += atop SUBDIR += auto-admin SUBDIR += autojump SUBDIR += automount SUBDIR += automounter SUBDIR += autopsy SUBDIR += avfs SUBDIR += azure-agent SUBDIR += b2sum SUBDIR += b43-fwcutter SUBDIR += backupchecker SUBDIR += backuppc SUBDIR += backuppc-devel SUBDIR += bacula-bat SUBDIR += bacula-client SUBDIR += bacula-client-static SUBDIR += bacula-docs SUBDIR += bacula-server SUBDIR += bacula5-bat SUBDIR += bacula5-client SUBDIR += bacula5-client-static SUBDIR += bacula5-docs SUBDIR += bacula5-server SUBDIR += baloo SUBDIR += baloo-widgets SUBDIR += bamf SUBDIR += bareos-bat SUBDIR += bareos-client SUBDIR += bareos-client-static SUBDIR += bareos-docs SUBDIR += bareos-server SUBDIR += batmon SUBDIR += battfink SUBDIR += battmond SUBDIR += battray SUBDIR += bbapm SUBDIR += bbcp SUBDIR += bchunk SUBDIR += beadm SUBDIR += beadm-devel SUBDIR += bhyve-firmware SUBDIR += bhyve-rc SUBDIR += biosfont SUBDIR += bkpupsd SUBDIR += bksh SUBDIR += boxbackup SUBDIR += boxbackup-devel SUBDIR += brasero SUBDIR += bsd-splash-changer SUBDIR += bsdadminscripts SUBDIR += bsdconfig SUBDIR += bsdcrashtar SUBDIR += bsdhwmon SUBDIR += bsdinfo SUBDIR += bsdisks SUBDIR += bsdmoted SUBDIR += bsdploy SUBDIR += bsdstats SUBDIR += bstack SUBDIR += btsixad SUBDIR += bulk_extractor SUBDIR += burp SUBDIR += busybox SUBDIR += byobu SUBDIR += catfish SUBDIR += cbsd SUBDIR += ccd2iso SUBDIR += cciss_vol_status SUBDIR += ccze SUBDIR += cdargs SUBDIR += cdbkup SUBDIR += cdeploy SUBDIR += cdf SUBDIR += cdircmp SUBDIR += cdls SUBDIR += cdrdao SUBDIR += cdrkit SUBDIR += cdroot SUBDIR += cdrtools SUBDIR += cdrtools-devel SUBDIR += cfengine SUBDIR += cfengine-masterfiles SUBDIR += cfengine-masterfiles36 SUBDIR += cfengine-masterfiles37 SUBDIR += cfengine-masterfiles38 SUBDIR += cfengine-masterfiles39 SUBDIR += cfengine22 SUBDIR += cfengine32 SUBDIR += cfengine33 SUBDIR += cfengine34 SUBDIR += cfengine35 SUBDIR += cfengine36 SUBDIR += cfengine37 SUBDIR += cfengine38 SUBDIR += cfengine39 SUBDIR += chgrep SUBDIR += chyves SUBDIR += cinnamon-control-center SUBDIR += cinnamon-settings-daemon SUBDIR += ciso SUBDIR += ciso-maker SUBDIR += ck4up SUBDIR += clean SUBDIR += clockspeed SUBDIR += clone SUBDIR += clonehdd SUBDIR += cloop-utils SUBDIR += cloudabi-utils SUBDIR += clsync SUBDIR += cluster-glue SUBDIR += cmdwatch SUBDIR += cmockery2 SUBDIR += cmogstored SUBDIR += cmospwd SUBDIR += cog SUBDIR += colorize SUBDIR += condor SUBDIR += confctl SUBDIR += confman SUBDIR += conky SUBDIR += conky-awesome SUBDIR += consolehm SUBDIR += consolekit SUBDIR += consul SUBDIR += consul-alerts SUBDIR += contractor SUBDIR += copytape SUBDIR += coreutils SUBDIR += cotty SUBDIR += cpdup SUBDIR += cpu SUBDIR += cpuburn SUBDIR += cpuid SUBDIR += cpulimit SUBDIR += cramfs SUBDIR += crashme SUBDIR += createrepo SUBDIR += cronic SUBDIR += cronolog SUBDIR += cronolog-devel SUBDIR += curly SUBDIR += currtime SUBDIR += cw SUBDIR += daa2iso SUBDIR += dae SUBDIR += daemonize SUBDIR += daemontools SUBDIR += daemontools-encore SUBDIR += dar SUBDIR += dateutils SUBDIR += dc3dd SUBDIR += dcfldd SUBDIR += dd_rescue SUBDIR += ddpt SUBDIR += ddrescue SUBDIR += debhelper SUBDIR += debootstrap SUBDIR += deltarpm SUBDIR += deltup SUBDIR += desktop-installer SUBDIR += detach SUBDIR += detox SUBDIR += devcpu-data SUBDIR += devstat SUBDIR += dfc SUBDIR += di SUBDIR += dim SUBDIR += dirdiff SUBDIR += direnv SUBDIR += dirvish SUBDIR += diskcheckd SUBDIR += diskimage-tools SUBDIR += diskscrub SUBDIR += disktool SUBDIR += disktype SUBDIR += djmount SUBDIR += dmg2img SUBDIR += dmidecode SUBDIR += docker-freebsd SUBDIR += doinkd SUBDIR += dolly SUBDIR += downtime SUBDIR += downtimed SUBDIR += dsbbatmon SUBDIR += dsbdriverd SUBDIR += dsbmc SUBDIR += dsbmd SUBDIR += dsbwrtsysctl SUBDIR += dt SUBDIR += dtpstree SUBDIR += du2ps SUBDIR += duff SUBDIR += dunst SUBDIR += duplicity SUBDIR += duply SUBDIR += dupmerge SUBDIR += dvd+rw-tools SUBDIR += dvdbackup SUBDIR += dvdimagecmp SUBDIR += dvdisaster SUBDIR += dvdvideo SUBDIR += dvtm SUBDIR += dwatch SUBDIR += e2fsprogs SUBDIR += ec2-scripts SUBDIR += edid-decode SUBDIR += eject SUBDIR += endian SUBDIR += enteruser SUBDIR += entr SUBDIR += env4801 SUBDIR += envconsul SUBDIR += epazote SUBDIR += etcmerge SUBDIR += etcupdate SUBDIR += eventlog SUBDIR += evtviewer SUBDIR += exfat-utils SUBDIR += extipl SUBDIR += ezjail SUBDIR += f3 SUBDIR += facter SUBDIR += fanout SUBDIR += farbot SUBDIR += fastest_cvsup SUBDIR += fatback SUBDIR += fconfig SUBDIR += fcron SUBDIR += fdupes SUBDIR += feather SUBDIR += fetchlog SUBDIR += ffs2recov SUBDIR += file SUBDIR += filebeat SUBDIR += filedupe SUBDIR += filelight-kde4 SUBDIR += fileprune SUBDIR += fileschanged SUBDIR += filetype SUBDIR += filewatcherd SUBDIR += finfo SUBDIR += firstboot-freebsd-update SUBDIR += firstboot-growfs SUBDIR += firstboot-pkgs SUBDIR += flasher SUBDIR += flashrom SUBDIR += flexbackup SUBDIR += flock SUBDIR += flog SUBDIR += flyback SUBDIR += fonteditfs SUBDIR += foremost SUBDIR += fortunelock SUBDIR += fpart SUBDIR += fpc-syslog SUBDIR += fpc-users SUBDIR += fpc-utmp SUBDIR += fpc-uuid SUBDIR += freebsd-snapshot SUBDIR += freecolor SUBDIR += freedt SUBDIR += freefilesync SUBDIR += freeipmi SUBDIR += freesbie SUBDIR += froxlor SUBDIR += fsbackup SUBDIR += fsc SUBDIR += fstyp SUBDIR += ftwin SUBDIR += fusefs-afuse SUBDIR += fusefs-chironfs SUBDIR += fusefs-cryptofs SUBDIR += fusefs-curlftpfs SUBDIR += fusefs-encfs SUBDIR += fusefs-exfat SUBDIR += fusefs-ext4fuse SUBDIR += fusefs-funionfs SUBDIR += fusefs-fusepak SUBDIR += fusefs-fusexmp_fh SUBDIR += fusefs-gnome-vfs SUBDIR += fusefs-gstfs SUBDIR += fusefs-gunzip SUBDIR += fusefs-httpfs SUBDIR += fusefs-ifuse SUBDIR += fusefs-kmod SUBDIR += fusefs-libs SUBDIR += fusefs-lkl SUBDIR += fusefs-mhddfs SUBDIR += fusefs-mp3fs SUBDIR += fusefs-ntfs SUBDIR += fusefs-pod SUBDIR += fusefs-rar2fs SUBDIR += fusefs-s3fs SUBDIR += fusefs-simple-mtpfs SUBDIR += fusefs-smbnetfs SUBDIR += fusefs-sqlfs SUBDIR += fusefs-squashfuse SUBDIR += fusefs-sshfs SUBDIR += fusefs-unionfs SUBDIR += fusefs-wdfs SUBDIR += fusefs-wikipediafs SUBDIR += fusefs-zip SUBDIR += fvcool SUBDIR += gaffitter SUBDIR += gai-leds SUBDIR += ganglia-monitor-core SUBDIR += ganglia-webfrontend SUBDIR += gapcmon SUBDIR += garcon SUBDIR += gather SUBDIR += gcdmaster SUBDIR += gcombust SUBDIR += gconf-editor SUBDIR += gdisk SUBDIR += gdmap SUBDIR += genisoimage SUBDIR += geomWatch SUBDIR += geomgui SUBDIR += getdelta SUBDIR += geteltorito SUBDIR += gigolo SUBDIR += gkfreq SUBDIR += gkleds2 SUBDIR += gkrellfire SUBDIR += gkrellflynn SUBDIR += gkrellm-trayicons SUBDIR += gkrellm2 SUBDIR += gkrelltop SUBDIR += gksu SUBDIR += gnome-control-center SUBDIR += gnome-device-manager SUBDIR += gnome-mount SUBDIR += gnome-pkgview SUBDIR += gnome-power-manager SUBDIR += gnome-schedule SUBDIR += gnome-settings-daemon SUBDIR += gnome-system-monitor SUBDIR += gnome_subr SUBDIR += goaccess SUBDIR += gosa SUBDIR += gpart SUBDIR += gpte SUBDIR += graffer SUBDIR += graid5 SUBDIR += graveman SUBDIR += graylog SUBDIR += grok SUBDIR += grub2 SUBDIR += grub2-bhyve SUBDIR += grub2-efi SUBDIR += grub2-pcbsd SUBDIR += gsmartcontrol SUBDIR += gstopd SUBDIR += gstreamer-plugins-cdio SUBDIR += gstreamer-plugins-hal SUBDIR += gstreamer1-plugins-cdio SUBDIR += gtk-imonc SUBDIR += hachoir-metadata SUBDIR += hachoir-subfile SUBDIR += hachoir-urwid SUBDIR += hachoir-wx SUBDIR += hal SUBDIR += hal-info SUBDIR += hardlink SUBDIR += hatop SUBDIR += hdrecover SUBDIR += healthd SUBDIR += heartbeat SUBDIR += heirloom SUBDIR += hextools SUBDIR += hfm SUBDIR += hfsexplorer SUBDIR += hfsutils SUBDIR += hidesvn SUBDIR += highlnk SUBDIR += hilite SUBDIR += host-setup SUBDIR += hourglass SUBDIR += hoz SUBDIR += hpacucli SUBDIR += hploscripts SUBDIR += hptcli SUBDIR += hs-angel SUBDIR += hs-cpu SUBDIR += hs-ekg SUBDIR += hs-ekg-core SUBDIR += hs-ekg-json SUBDIR += htop SUBDIR += httplog SUBDIR += hwstat SUBDIR += i2c-tools SUBDIR += i7z SUBDIR += iat SUBDIR += inotify-tools SUBDIR += installwatch SUBDIR += intel-nvmupdate SUBDIR += intel-pcm SUBDIR += intel-qcu SUBDIR += iocage SUBDIR += iocage-devel SUBDIR += iogen SUBDIR += iograph SUBDIR += iohyve SUBDIR += ioping SUBDIR += ipa SUBDIR += ipad_charge SUBDIR += ipdbtools SUBDIR += ipfs-go SUBDIR += ipmitool SUBDIR += ipsc SUBDIR += isc-cron SUBDIR += isomaster SUBDIR += isomd5sum SUBDIR += istatd SUBDIR += jadm SUBDIR += jail-primer SUBDIR += jail2 SUBDIR += jailadmin SUBDIR += jailctl SUBDIR += jaildaemon SUBDIR += jailme SUBDIR += jailrc SUBDIR += jailutils SUBDIR += javaservicewrapper SUBDIR += jdiskreport SUBDIR += jkill SUBDIR += jobd SUBDIR += jps SUBDIR += jtop SUBDIR += jtopen SUBDIR += jvmtop SUBDIR += jx SUBDIR += k3b-kde4 SUBDIR += k8temp SUBDIR += kcm-polkit-kde SUBDIR += kcron SUBDIR += kdeadmin4 SUBDIR += kdf SUBDIR += kdirstat SUBDIR += keyboard-daemon SUBDIR += kfilemetadata SUBDIR += kfloppy SUBDIR += kiconvtool SUBDIR += kldfind SUBDIR += kldpatch SUBDIR += knutclient-kde4 SUBDIR += krename-kde4 SUBDIR += kshutdown-kde4 SUBDIR += ksysguardd SUBDIR += ksystemlog SUBDIR += kuser SUBDIR += lbl-cf SUBDIR += lbl-hf SUBDIR += lcdproc SUBDIR += ldap-account-manager SUBDIR += ldapenter SUBDIR += ldapvi SUBDIR += ledit SUBDIR += less SUBDIR += lfm SUBDIR += libcdio SUBDIR += libcdio-paranoia SUBDIR += libchk SUBDIR += libcpuid SUBDIR += libfvde SUBDIR += libgksu SUBDIR += libieee1284 SUBDIR += libretto-config SUBDIR += libsunacl SUBDIR += liburcu SUBDIR += libutempter SUBDIR += life-preserver SUBDIR += lineak-defaultplugin SUBDIR += lineak-xosdplugin SUBDIR += lineakd SUBDIR += linrename SUBDIR += linux-crashplan SUBDIR += linux-f10-procps SUBDIR += linux-nero SUBDIR += linuxfdisk SUBDIR += livecd SUBDIR += lmmon SUBDIR += lmon SUBDIR += lnav SUBDIR += log_analysis SUBDIR += logrotate SUBDIR += logstalgia SUBDIR += logstash SUBDIR += logstash-forwarder SUBDIR += logtool SUBDIR += logwatch SUBDIR += lookat SUBDIR += lr SUBDIR += lsof SUBDIR += ltrace SUBDIR += luckybackup SUBDIR += lxinput SUBDIR += lxsplit SUBDIR += lxtask SUBDIR += lxterminal SUBDIR += magicrescue SUBDIR += manck SUBDIR += mapchan SUBDIR += massadmin SUBDIR += mate-control-center SUBDIR += mate-polkit SUBDIR += mate-power-manager SUBDIR += mate-settings-daemon SUBDIR += mate-system-monitor SUBDIR += mbgtools SUBDIR += mcelog SUBDIR += mcollective SUBDIR += mcollective-actionpolicy-auth SUBDIR += mcollective-nettest-agent SUBDIR += mcollective-nettest-client SUBDIR += mcollective-nettest-common SUBDIR += mcollective-nrpe-agent SUBDIR += mcollective-nrpe-client SUBDIR += mcollective-nrpe-common SUBDIR += mcollective-puppet-agent SUBDIR += mcollective-puppet-client SUBDIR += mcollective-puppet-common SUBDIR += mcollective-service-agent SUBDIR += mcollective-service-client SUBDIR += mcollective-service-common SUBDIR += mcollective-shell-agent SUBDIR += mcollective-shell-client SUBDIR += mcron SUBDIR += mcweject SUBDIR += mdcp SUBDIR += mdf2iso SUBDIR += megacli SUBDIR += megarc SUBDIR += memdump SUBDIR += memfetch SUBDIR += memtest SUBDIR += memtest86 SUBDIR += memtest86+ SUBDIR += metalog SUBDIR += mfid SUBDIR += mgeupsd SUBDIR += minimunin SUBDIR += minirsyslogd SUBDIR += mixer SUBDIR += mkfile SUBDIR += mkfwimage SUBDIR += mkntpwd SUBDIR += mksunbootcd SUBDIR += mnrpes SUBDIR += modules SUBDIR += monit SUBDIR += monitord SUBDIR += monitorix SUBDIR += mono-kmod SUBDIR += moosefs2-cgi SUBDIR += moosefs2-cgiserv SUBDIR += moosefs2-chunkserver SUBDIR += moosefs2-cli SUBDIR += moosefs2-client SUBDIR += moosefs2-master SUBDIR += moosefs2-metalogger SUBDIR += moosefs2-netdump SUBDIR += moosefs3-cgi SUBDIR += moosefs3-cgiserv SUBDIR += moosefs3-chunkserver SUBDIR += moosefs3-cli SUBDIR += moosefs3-client SUBDIR += moosefs3-master SUBDIR += moosefs3-metalogger SUBDIR += moosefs3-netdump SUBDIR += moreutils SUBDIR += most SUBDIR += mount.app SUBDIR += mountsmb2 SUBDIR += mpiexec SUBDIR += mptd SUBDIR += msktutil SUBDIR += msyslog SUBDIR += mtpfs SUBDIR += mtxorbd SUBDIR += multitail SUBDIR += munin-common SUBDIR += munin-master SUBDIR += munin-node SUBDIR += muse SUBDIR += mybashburn SUBDIR += n98-magerun SUBDIR += nagios-statd SUBDIR += namefix SUBDIR += nbosd SUBDIR += ncdu SUBDIR += nepomuk-core SUBDIR += nepomuk-widgets SUBDIR += nfcutils SUBDIR += nfsping SUBDIR += nitrogen SUBDIR += no-login SUBDIR += nomad SUBDIR += npadmin SUBDIR += nrg2iso SUBDIR += ntfsprogs SUBDIR += nut SUBDIR += nvclock SUBDIR += nvramtool SUBDIR += oak SUBDIR += obliterate SUBDIR += odo SUBDIR += ods2 SUBDIR += ohmu SUBDIR += open SUBDIR += openhpi SUBDIR += openipmi SUBDIR += openupsd SUBDIR += ori SUBDIR += osquery SUBDIR += p5-BSD-Jail-Object SUBDIR += p5-BSD-Process SUBDIR += p5-BSD-Sysctl SUBDIR += p5-BackupPC-XS SUBDIR += p5-Brackup SUBDIR += p5-Dir-Purge SUBDIR += p5-File-DirCompare SUBDIR += p5-File-Listing SUBDIR += p5-File-Log SUBDIR += p5-File-Next SUBDIR += p5-File-Signature SUBDIR += p5-File-Stat-Bits SUBDIR += p5-File-Stat-ModeString SUBDIR += p5-File-Tee SUBDIR += p5-File-Which SUBDIR += p5-Filesys-Df SUBDIR += p5-Filesys-DfPortable SUBDIR += p5-Filesys-DiskFree SUBDIR += p5-Filesys-DiskSpace SUBDIR += p5-Filesys-DiskUsage SUBDIR += p5-Filesys-Statvfs SUBDIR += p5-Fuse SUBDIR += p5-Fuse-Simple SUBDIR += p5-Iterator-File SUBDIR += p5-Lchown SUBDIR += p5-Linux-Cpuinfo SUBDIR += p5-Log-Syslog-Constants SUBDIR += p5-Log-Syslog-Fast SUBDIR += p5-MogileFS-Client SUBDIR += p5-MogileFS-Network SUBDIR += p5-MogileFS-Server SUBDIR += p5-MogileFS-Utils SUBDIR += p5-Monitor-Simple SUBDIR += p5-Plugtools SUBDIR += p5-Plugtools-Plugins-HomeOU SUBDIR += p5-Probe-Perl SUBDIR += p5-Proc-PidUtil SUBDIR += p5-Proclet SUBDIR += p5-Quota SUBDIR += p5-Rex SUBDIR += p5-Samba-SIDhelper SUBDIR += p5-Schedule-At SUBDIR += p5-Schedule-Cron SUBDIR += p5-Schedule-Cron-Events SUBDIR += p5-Schedule-Load SUBDIR += p5-Schedule-Match SUBDIR += p5-Shell-Command SUBDIR += p5-Stat-lsMode SUBDIR += p5-Sys-CpuLoad SUBDIR += p5-Sys-Filesystem SUBDIR += p5-Sys-Gamin SUBDIR += p5-Sys-Group-GIDhelper SUBDIR += p5-Sys-HostIP SUBDIR += p5-Sys-Hostname-FQDN SUBDIR += p5-Sys-Hostname-Long SUBDIR += p5-Sys-Load SUBDIR += p5-Sys-Syslog SUBDIR += p5-Sys-User-UIDhelper SUBDIR += p5-Sysadm-Install SUBDIR += p5-SyslogScan SUBDIR += p5-Tail-Stat SUBDIR += p5-Tie-Syslog SUBDIR += p5-Ubic SUBDIR += p5-Unix-ConfigFile SUBDIR += p5-Unix-Lsof SUBDIR += p5-Unix-Mknod SUBDIR += p5-Unix-Processors SUBDIR += p5-Unix-Syslog SUBDIR += p5-User SUBDIR += p5-ZConf-Cron SUBDIR += p5-arclog SUBDIR += p5-reslog SUBDIR += packer SUBDIR += packetbeat SUBDIR += pacman SUBDIR += paicc SUBDIR += pam_mount SUBDIR += panicmail SUBDIR += parafly SUBDIR += parallel SUBDIR += password-store SUBDIR += patchelf SUBDIR += pax-utils SUBDIR += pbi-manager SUBDIR += pbimaker SUBDIR += pcbsd-appweb SUBDIR += pcbsd-libsh SUBDIR += pcbsd-syscache SUBDIR += pcbsd-utils SUBDIR += pcbsd-utils-qt5 SUBDIR += pciutils SUBDIR += pcpustat SUBDIR += pdixtract SUBDIR += pdsh SUBDIR += pdumpfs SUBDIR += pear-Cache SUBDIR += pear-Cache_Lite SUBDIR += pear-File SUBDIR += pear-File_Find SUBDIR += pear-File_Fstab SUBDIR += pear-File_Gettext SUBDIR += pear-Horde_Log SUBDIR += pear-Horde_Vfs SUBDIR += pear-I18Nv2 SUBDIR += pear-Log SUBDIR += pear-Translation2 SUBDIR += pecl-mogilefs SUBDIR += pecl-proctitle SUBDIR += pefs-kmod SUBDIR += personality SUBDIR += pesign SUBDIR += pflogx SUBDIR += pfstat SUBDIR += pftables SUBDIR += pftop SUBDIR += phantom SUBDIR += php55-fileinfo SUBDIR += php55-posix SUBDIR += php56-fileinfo SUBDIR += php56-posix SUBDIR += php70-fileinfo SUBDIR += php70-posix SUBDIR += phybs SUBDIR += pick SUBDIR += pidof SUBDIR += pipemeter SUBDIR += plasma-applet-apcups SUBDIR += plconfig SUBDIR += pmt SUBDIR += policykit SUBDIR += policykit-gnome SUBDIR += policykit-qt SUBDIR += polkit SUBDIR += polkit-gnome SUBDIR += polkit-kde SUBDIR += polkit-qt SUBDIR += polkit-qt5 SUBDIR += powerdxx SUBDIR += powerman SUBDIR += pp SUBDIR += pprotectd SUBDIR += prelink SUBDIR += prips SUBDIR += procenv SUBDIR += procmap SUBDIR += progsreiserfs SUBDIR += pslist SUBDIR += psmisc SUBDIR += pstack SUBDIR += pstacku SUBDIR += pstree SUBDIR += ptools SUBDIR += puppet-lint SUBDIR += puppet-mode.el SUBDIR += puppet37 SUBDIR += puppet38 SUBDIR += puppet4 SUBDIR += puppetserver SUBDIR += pv SUBDIR += pwd_unmkdb SUBDIR += pwgen SUBDIR += pwsafe SUBDIR += py-XenAPI SUBDIR += py-analyzemft SUBDIR += py-bcfg2 SUBDIR += py-cdmi SUBDIR += py-croniter SUBDIR += py-crontab SUBDIR += py-danzfs SUBDIR += py-diffoscope SUBDIR += py-dirsync SUBDIR += py-dlipower SUBDIR += py-drmaa SUBDIR += py-execnet SUBDIR += py-ezjailremote SUBDIR += py-filelike SUBDIR += py-freenas.cli SUBDIR += py-glances SUBDIR += py-halite SUBDIR += py-honcho SUBDIR += py-iowait SUBDIR += py-nagiosplugin SUBDIR += py-pkginfo SUBDIR += py-ploy SUBDIR += py-ploy_ansible SUBDIR += py-ploy_ec2 SUBDIR += py-ploy_ezjail SUBDIR += py-ploy_fabric SUBDIR += py-plumbum SUBDIR += py-power SUBDIR += py-psutil SUBDIR += py-psutil121 SUBDIR += py-ptyprocess SUBDIR += py-pytsk SUBDIR += py-pywatchman SUBDIR += py-queuelib SUBDIR += py-ranger SUBDIR += py-salt SUBDIR += py-scandir SUBDIR += py-shutilwhich SUBDIR += py-stdiff SUBDIR += py-supervisor SUBDIR += py-tmuxp SUBDIR += py-uptime SUBDIR += py-zdaemon SUBDIR += py-zfs SUBDIR += pydf SUBDIR += qchroot SUBDIR += qjail SUBDIR += qjail2 SUBDIR += qjail4 SUBDIR += qlogtools SUBDIR += qpxtool SUBDIR += qsynergy SUBDIR += qt5-qtpaths SUBDIR += qtpass SUBDIR += quicksynergy SUBDIR += qzeitgeist SUBDIR += racktables SUBDIR += radeontool SUBDIR += radmind SUBDIR += rainbarf SUBDIR += raincoat SUBDIR += rcadm SUBDIR += rclean SUBDIR += rcm SUBDIR += rdate SUBDIR += rdiff-backup SUBDIR += rdiff-backup-devel SUBDIR += rdup SUBDIR += read-edid SUBDIR += realsync SUBDIR += recoverdm SUBDIR += reed SUBDIR += rej SUBDIR += relaxconf SUBDIR += rename SUBDIR += renameutils SUBDIR += reoback SUBDIR += reptyr SUBDIR += respond SUBDIR += restic SUBDIR += retail SUBDIR += rfstool SUBDIR += rhc SUBDIR += riak-cs SUBDIR += rinse SUBDIR += rmonitor SUBDIR += roottail SUBDIR += rsnapshot SUBDIR += rsyncbackup SUBDIR += rsyncrypto SUBDIR += rsyslog8 SUBDIR += rtty SUBDIR += ruby-quota SUBDIR += rubygem-SyslogLogger SUBDIR += rubygem-backup SUBDIR += rubygem-bosh-gen SUBDIR += rubygem-bosh_cli SUBDIR += rubygem-bundler SUBDIR += rubygem-bundler_ext SUBDIR += rubygem-capistrano SUBDIR += rubygem-capistrano-ext SUBDIR += rubygem-capistrano-harrow SUBDIR += rubygem-chef SUBDIR += rubygem-chef-api SUBDIR += rubygem-chef-zero SUBDIR += rubygem-facter SUBDIR += rubygem-fluent-mixin-plaintextformatter SUBDIR += rubygem-fluent-plugin-config-expander SUBDIR += rubygem-fluent-plugin-file-alternative SUBDIR += rubygem-fluent-plugin-tail-asis SUBDIR += rubygem-fluentd SUBDIR += rubygem-fluentd010 SUBDIR += rubygem-fssm SUBDIR += rubygem-god SUBDIR += rubygem-guard SUBDIR += rubygem-guard-compat SUBDIR += rubygem-guard-livereload SUBDIR += rubygem-guard-minitest SUBDIR += rubygem-guard-rspec SUBDIR += rubygem-hammer_cli SUBDIR += rubygem-hammer_cli_foreman SUBDIR += rubygem-hammer_cli_foreman_bootdisk SUBDIR += rubygem-hammer_cli_foreman_salt SUBDIR += rubygem-hammer_cli_foreman_ssh SUBDIR += rubygem-hiera SUBDIR += rubygem-hiera-file SUBDIR += rubygem-hiera1 SUBDIR += rubygem-hieracles SUBDIR += rubygem-itamae SUBDIR += rubygem-librarian-puppet SUBDIR += rubygem-log4r SUBDIR += rubygem-logify SUBDIR += rubygem-mogilefs-client SUBDIR += rubygem-mothra SUBDIR += rubygem-murder SUBDIR += rubygem-ohai SUBDIR += rubygem-parallel SUBDIR += rubygem-puppet_forge SUBDIR += rubygem-puppet_forge1 SUBDIR += rubygem-r10k SUBDIR += rubygem-rubyipmi SUBDIR += rubygem-shellany SUBDIR += rubygem-smart_proxy_chef SUBDIR += rubygem-smart_proxy_dynflow SUBDIR += rubygem-smart_proxy_remote_execution_ssh SUBDIR += rubygem-smart_proxy_salt SUBDIR += rubygem-specinfra SUBDIR += rubygem-sys-admin SUBDIR += rubygem-sys-cpu SUBDIR += rubygem-sys-filesystem SUBDIR += rubygem-sys-host SUBDIR += rubygem-sys-proctable SUBDIR += rubygem-sys-uname SUBDIR += rubygem-sys-uptime SUBDIR += rubygem-teamocil SUBDIR += rubygem-vmstat SUBDIR += rubygem-winrm SUBDIR += rubygem-winrm-fs SUBDIR += rubygem-yell SUBDIR += rundeck SUBDIR += runit SUBDIR += runwhen SUBDIR += s6 SUBDIR += safe-rm SUBDIR += safecat SUBDIR += samefile SUBDIR += samesame SUBDIR += sample SUBDIR += sas2ircu SUBDIR += sas3ircu SUBDIR += savelogs SUBDIR += sb16config SUBDIR += sbsigntool SUBDIR += scalpel SUBDIR += scan_ffs SUBDIR += scanbuttond SUBDIR += scanmem SUBDIR += scct SUBDIR += schedutils SUBDIR += scprotect SUBDIR += screen SUBDIR += screen-legacy SUBDIR += screenfetch SUBDIR += screenie SUBDIR += scterc SUBDIR += sd-agent SUBDIR += sdparm SUBDIR += searchmonkey SUBDIR += seatools SUBDIR += sec SUBDIR += serf SUBDIR += setcdboot SUBDIR += setquota SUBDIR += sformat SUBDIR += sg3_utils SUBDIR += shim SUBDIR += shlock SUBDIR += shmcat SUBDIR += showbeastie SUBDIR += sievelog SUBDIR += skill SUBDIR += slack SUBDIR += sleuthkit SUBDIR += sloth SUBDIR += slst SUBDIR += slurm-wlm SUBDIR += smartmontools SUBDIR += smp_utils SUBDIR += snap SUBDIR += snowlog SUBDIR += socket SUBDIR += socklog SUBDIR += sortu SUBDIR += spindown SUBDIR += spinner SUBDIR += spiped SUBDIR += squashfs-tools SUBDIR += sshsudo SUBDIR += ssid SUBDIR += ssync SUBDIR += stalepid SUBDIR += stanchion SUBDIR += stmpclean SUBDIR += storcli SUBDIR += stow SUBDIR += stowES SUBDIR += stress SUBDIR += superiotool SUBDIR += swapd SUBDIR += swapexd SUBDIR += swapmon SUBDIR += sweeper SUBDIR += symlinks SUBDIR += symon SUBDIR += synergy SUBDIR += sysgather SUBDIR += sysinfo SUBDIR += syslinux SUBDIR += syslog-ng SUBDIR += syslog-ng-devel SUBDIR += syslog-ng-incubator SUBDIR += syslog-ng36 SUBDIR += syslog-ng37 SUBDIR += syslogger SUBDIR += sysrc SUBDIR += system-tools-backends SUBDIR += sysvbanner SUBDIR += tai64nfrac SUBDIR += tarsnap SUBDIR += tarsnap-gui SUBDIR += tarsnap-periodic SUBDIR += tartarus SUBDIR += tbku SUBDIR += tclsyslog SUBDIR += tcplist SUBDIR += tdir SUBDIR += tenshi SUBDIR += tentakel SUBDIR += terraform SUBDIR += testdisk SUBDIR += thefish SUBDIR += timelimit SUBDIR += timemon SUBDIR += titlefix SUBDIR += tkdvd SUBDIR += tlsdate SUBDIR += tm SUBDIR += tmate SUBDIR += tmate-slave SUBDIR += tmpreaper SUBDIR += tmpwatch SUBDIR += tmux SUBDIR += topless SUBDIR += torque SUBDIR += toshctl SUBDIR += tracker SUBDIR += tree SUBDIR += tren SUBDIR += ts SUBDIR += tss SUBDIR += tty-clock SUBDIR += ttyload SUBDIR += tuptime SUBDIR += tw_cli SUBDIR += tzdialog SUBDIR += u-boot-a13-olinuxino SUBDIR += u-boot-bananapi SUBDIR += u-boot-bananapim2 SUBDIR += u-boot-beaglebone SUBDIR += u-boot-cubieboard SUBDIR += u-boot-cubieboard2 SUBDIR += u-boot-cubox-hummingboard SUBDIR += u-boot-duovero SUBDIR += u-boot-olimex-a20-som-evb SUBDIR += u-boot-olinuxino-lime SUBDIR += u-boot-orangepi-one SUBDIR += u-boot-pandaboard SUBDIR += u-boot-pcduino3 SUBDIR += u-boot-pine64 SUBDIR += u-boot-rpi SUBDIR += u-boot-rpi2 SUBDIR += u-boot-sinovoip-bpi-m3 SUBDIR += u-boot-utilite SUBDIR += u-boot-wandboard SUBDIR += ua SUBDIR += ucspi-ipc SUBDIR += ucspi-proxy SUBDIR += ucspi-ssl SUBDIR += ucspi-ssl-tls SUBDIR += ucspi-tcp SUBDIR += ucspi-unix SUBDIR += udfclient SUBDIR += uefi-edk2-bhyve SUBDIR += uefi-edk2-bhyve-csm SUBDIR += ufs_copy SUBDIR += uhidd SUBDIR += uif2iso SUBDIR += unieject SUBDIR += uniutils SUBDIR += unquote SUBDIR += unstow SUBDIR += upower SUBDIR += upsdaemon SUBDIR += uptimed SUBDIR += usb_modeswitch SUBDIR += usbhid-dump SUBDIR += usbhotkey SUBDIR += usbutils SUBDIR += uschedule SUBDIR += userinfo SUBDIR += userlist SUBDIR += usermatic SUBDIR += usermin SUBDIR += userneu SUBDIR += userneu-devel SUBDIR += usrinfo SUBDIR += utcount SUBDIR += vagrant SUBDIR += vbetool SUBDIR += vcp SUBDIR += videogen SUBDIR += vii SUBDIR += vils SUBDIR += vimpager SUBDIR += virtualmin SUBDIR += vm-bhyve SUBDIR += vmdktool SUBDIR += vmtouch SUBDIR += vobcopy SUBDIR += volman SUBDIR += vordog SUBDIR += vpnc-scripts SUBDIR += vstrip SUBDIR += vttest SUBDIR += wait_on SUBDIR += warden SUBDIR += watchdog SUBDIR += watchfolder SUBDIR += watchman SUBDIR += watchmen SUBDIR += webjob SUBDIR += webmin SUBDIR += weedit SUBDIR += wemux SUBDIR += whatpix SUBDIR += whowatch SUBDIR += wiimms SUBDIR += wmapmload SUBDIR += wmbluecpu SUBDIR += wmbsdbatt SUBDIR += wmcpuload SUBDIR += wmcube SUBDIR += wmcube-gdk SUBDIR += wmdiskmon SUBDIR += wmfire SUBDIR += wmflame SUBDIR += wmmemfree SUBDIR += wmmemload SUBDIR += wmtop SUBDIR += wmupmon SUBDIR += worldtools SUBDIR += wtail SUBDIR += wuzzah SUBDIR += x86info SUBDIR += xacpim SUBDIR += xbatt SUBDIR += xbattbar SUBDIR += xcdroast SUBDIR += xcpustate SUBDIR += xdu SUBDIR += xe SUBDIR += xe-guest-utilities SUBDIR += xen-guest-tools SUBDIR += xen-tools SUBDIR += xfburn SUBDIR += xfce4-battery-plugin SUBDIR += xfce4-bsdcpufreq-plugin SUBDIR += xfce4-cpugraph-plugin SUBDIR += xfce4-diskperf-plugin SUBDIR += xfce4-fsguard-plugin SUBDIR += xfce4-genmon-plugin SUBDIR += xfce4-mount-plugin SUBDIR += xfce4-netload-plugin SUBDIR += xfce4-power-manager SUBDIR += xfce4-settings SUBDIR += xfce4-systemload-plugin SUBDIR += xfce4-wavelan-plugin SUBDIR += xfsm SUBDIR += xfsprogs SUBDIR += xin SUBDIR += xjobs SUBDIR += xlogmaster SUBDIR += xmbmon SUBDIR += xorriso SUBDIR += xosview SUBDIR += xstow SUBDIR += xsysstats SUBDIR += xvidcap SUBDIR += yum SUBDIR += zap SUBDIR += zbackup SUBDIR += zeitgeist SUBDIR += zeroer SUBDIR += zetaback SUBDIR += zfs-periodic SUBDIR += zfs-replicate SUBDIR += zfs-snapshot-clean SUBDIR += zfs-snapshot-mgmt SUBDIR += zfs-stats SUBDIR += zfs-stats-lite SUBDIR += zfsnap SUBDIR += zfsnap2 SUBDIR += zfstools SUBDIR += zidrav SUBDIR += zisofs-tools SUBDIR += zogftw SUBDIR += zrep SUBDIR += zsd SUBDIR += zxfer .include Index: head/sysutils/amazon-ssm-agent/Makefile =================================================================== --- head/sysutils/amazon-ssm-agent/Makefile (nonexistent) +++ head/sysutils/amazon-ssm-agent/Makefile (revision 423636) @@ -0,0 +1,39 @@ +# $FreeBSD$ + +PORTNAME= amazon-ssm-agent +PORTVERSION= v1.2.252.0 +CATEGORIES= sysutils + +MAINTAINER= cperciva@FreeBSD.org +COMMENT= Amazon Simple Systems Manager Agent + +LICENSE= Amazon +LICENSE_NAME= Amazon Software License +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +BUILD_DEPENDS= bash:shells/bash \ + go:lang/go +RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss + +USE_GITHUB= yes +GH_ACCOUNT= aws + +WRKSRC= ${WRKDIR}/src/github.com/aws/amazon-ssm-agent +USES= gmake +MAKEFILE= makefile +ALL_TARGET= build-freebsd +INSTALL_TARGET= install-freebsd +MAKE_ARGS= SKIP_CHECKSTYLE="YES" DESTDIR=${STAGEDIR}${PREFIX} + +PLIST_FILES= etc/amazon/ssm/amazon-ssm-agent.json.template \ + etc/amazon/ssm/seelog_unix.xml.template \ + sbin/amazon-ssm-agent + +USE_RC_SUBR= amazon-ssm-agent + +post-extract: + ${MKDIR} ${WRKDIR}/src/github.com/aws + ${MV} ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/v//} ${WRKSRC} + +.include Property changes on: head/sysutils/amazon-ssm-agent/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/amazon-ssm-agent/distinfo =================================================================== --- head/sysutils/amazon-ssm-agent/distinfo (nonexistent) +++ head/sysutils/amazon-ssm-agent/distinfo (revision 423636) @@ -0,0 +1,3 @@ +TIMESTAMP = 1468390545 +SHA256 (aws-amazon-ssm-agent-v1.2.252.0_GH0.tar.gz) = 94e9633eadd0a78e5e1b9071b4f75c238dbbb78761f75d45461f8b0f5a5fbf24 +SIZE (aws-amazon-ssm-agent-v1.2.252.0_GH0.tar.gz) = 4562897 Property changes on: head/sysutils/amazon-ssm-agent/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/amazon-ssm-agent/files/amazon-ssm-agent.in =================================================================== --- head/sysutils/amazon-ssm-agent/files/amazon-ssm-agent.in (nonexistent) +++ head/sysutils/amazon-ssm-agent/files/amazon-ssm-agent.in (revision 423636) @@ -0,0 +1,27 @@ +#!/bin/sh + +# $FreeBSD$ +# +# PROVIDE: amazon-ssm-agent +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# amazon_ssm_agent_enable: Set to YES to enable the Amazon SSM Agent + +. /etc/rc.subr + +name="amazon_ssm_agent" +rcvar=amazon_ssm_agent_enable + +load_rc_config $name + +: ${amazon_ssm_agent_enable="NO"} + +pidfile="/var/run/${name}.pid" +command="/usr/sbin/daemon" +command_args="-f -P ${pidfile} %%PREFIX%%/sbin/amazon-ssm-agent" + +run_rc_command "$1" Property changes on: head/sysutils/amazon-ssm-agent/files/amazon-ssm-agent.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/amazon-ssm-agent/files/patch-agent_appconfig_constants__unix.go =================================================================== --- head/sysutils/amazon-ssm-agent/files/patch-agent_appconfig_constants__unix.go (nonexistent) +++ head/sysutils/amazon-ssm-agent/files/patch-agent_appconfig_constants__unix.go (revision 423636) @@ -0,0 +1,20 @@ +--- agent/appconfig/constants_unix.go.orig 2016-07-06 21:51:35 UTC ++++ agent/appconfig/constants_unix.go +@@ -18,7 +18,7 @@ package appconfig + + const ( + // Program Folder +- DefaultProgramFolder = "/etc/amazon/ssm/" ++ DefaultProgramFolder = "/usr/local/etc/amazon/ssm/" + + // AppConfig Path + AppConfigPath = DefaultProgramFolder + AppConfigFileName +@@ -27,7 +27,7 @@ const ( + DownloadRoot = "/var/log/amazon/ssm/download/" + + // DefaultDataStorePath represents the directory for storing system data +- DefaultDataStorePath = "/var/lib/amazon/ssm/" ++ DefaultDataStorePath = "/var/run/amazon/ssm/" + + // UpdaterArtifactsRoot represents the directory for storing update related information + UpdaterArtifactsRoot = "/var/lib/amazon/ssm/update/" Property changes on: head/sysutils/amazon-ssm-agent/files/patch-agent_appconfig_constants__unix.go ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/amazon-ssm-agent/files/patch-agent_fileutil_fileutil__unix.go =================================================================== --- head/sysutils/amazon-ssm-agent/files/patch-agent_fileutil_fileutil__unix.go (nonexistent) +++ head/sysutils/amazon-ssm-agent/files/patch-agent_fileutil_fileutil__unix.go (revision 423636) @@ -0,0 +1,15 @@ +--- agent/fileutil/fileutil_unix.go.orig 2016-07-06 21:51:35 UTC ++++ agent/fileutil/fileutil_unix.go +@@ -85,9 +85,9 @@ func GetDiskSpaceInfo() (diskSpaceInfo D + + // return DiskSpaceInfo with calculated bytes + return DiskSpaceInfo{ +- AvailBytes: (int64)(stat.Bavail * bSize), // available space = # of available blocks * block size +- FreeBytes: (int64)(stat.Bfree * bSize), // free space = # of free blocks * block size +- TotalBytes: (int64)(stat.Blocks * bSize), // total space = # of total blocks * block size ++ AvailBytes: (int64)((uint64)(stat.Bavail) * bSize), // available space = # of available blocks * block size ++ FreeBytes: (int64)(stat.Bfree * bSize), // free space = # of free blocks * block size ++ TotalBytes: (int64)(stat.Blocks * bSize), // total space = # of total blocks * block size + }, nil + } + Property changes on: head/sysutils/amazon-ssm-agent/files/patch-agent_fileutil_fileutil__unix.go ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/amazon-ssm-agent/files/patch-agent_log_log__unix.go =================================================================== --- head/sysutils/amazon-ssm-agent/files/patch-agent_log_log__unix.go (nonexistent) +++ head/sysutils/amazon-ssm-agent/files/patch-agent_log_log__unix.go (revision 423636) @@ -0,0 +1,11 @@ +--- agent/log/log_unix.go.orig 2016-07-06 21:51:35 UTC ++++ agent/log/log_unix.go +@@ -24,7 +24,7 @@ const ( + // DefaultSeelogConfigFilePath specifies the default seelog location + // The underlying logger is based of https://github.com/cihub/seelog + // See Seelog documentation to customize the logger +- DefaultSeelogConfigFilePath = "/etc/amazon/ssm/seelog.xml" ++ DefaultSeelogConfigFilePath = "/usr/local/etc/amazon/ssm/seelog.xml" + + DefaultLogDir = "/var/log/amazon/ssm" + ) Property changes on: head/sysutils/amazon-ssm-agent/files/patch-agent_log_log__unix.go ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/amazon-ssm-agent/files/patch-agent_platform_platform__unix.go =================================================================== --- head/sysutils/amazon-ssm-agent/files/patch-agent_platform_platform__unix.go (nonexistent) +++ head/sysutils/amazon-ssm-agent/files/patch-agent_platform_platform__unix.go (revision 423636) @@ -0,0 +1,37 @@ +--- agent/platform/platform_unix.go.orig 2016-07-06 21:51:35 UTC ++++ agent/platform/platform_unix.go +@@ -20,6 +20,7 @@ import ( + "os" + "os/exec" + "path/filepath" ++ "runtime" + "strings" + + "github.com/aws/amazon-ssm-agent/agent/fileutil" +@@ -29,6 +30,7 @@ import ( + const ( + systemReleaseCommand = "/etc/system-release" + redhatReleaseCommand = "/etc/redhat-release" ++ unameCommand = "/usr/bin/uname" + lsbReleaseCommand = "lsb_release" + fetchingDetailsMessage = "fetching platform details from %v" + errorOccurredMessage = "There was an error running %v, err: %v" +@@ -94,6 +96,18 @@ func getPlatformDetails(log log.T) (name + versionData := strings.Split(data[1], "(") + version = strings.TrimSpace(versionData[0]) + } ++ } else if runtime.GOOS == "freebsd" { ++ log.Debugf(fetchingDetailsMessage, unameCommand) ++ ++ if contentsBytes, err = exec.Command(unameCommand, "-sr").Output(); err != nil { ++ log.Debugf(fetchingDetailsMessage, lsbReleaseCommand, err) ++ return ++ } ++ log.Debugf(commandOutputMessage, contentsBytes) ++ ++ data := strings.Split(string(contentsBytes), " ") ++ name = strings.TrimSpace(data[0]) ++ version = strings.TrimSpace(data[1]) + } else { + log.Debugf(fetchingDetailsMessage, lsbReleaseCommand) + Property changes on: head/sysutils/amazon-ssm-agent/files/patch-agent_platform_platform__unix.go ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/amazon-ssm-agent/files/patch-agent_ssm_service.go =================================================================== --- head/sysutils/amazon-ssm-agent/files/patch-agent_ssm_service.go (nonexistent) +++ head/sysutils/amazon-ssm-agent/files/patch-agent_ssm_service.go (revision 423636) @@ -0,0 +1,11 @@ +--- agent/ssm/service.go.orig 2016-07-06 21:51:35 UTC ++++ agent/ssm/service.go +@@ -128,6 +128,8 @@ func (svc *sdkService) UpdateInstanceInf + params.PlatformType = aws.String(ssm.PlatformTypeWindows) + case "linux": + params.PlatformType = aws.String(ssm.PlatformTypeLinux) ++ case "freebsd": ++ params.PlatformType = aws.String(ssm.PlatformTypeLinux) + default: + return nil, fmt.Errorf("Cannot report platform type of unrecognized OS. %v", goOS) + } Property changes on: head/sysutils/amazon-ssm-agent/files/patch-agent_ssm_service.go ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/amazon-ssm-agent/files/patch-makefile =================================================================== --- head/sysutils/amazon-ssm-agent/files/patch-makefile (nonexistent) +++ head/sysutils/amazon-ssm-agent/files/patch-makefile (revision 423636) @@ -0,0 +1,39 @@ +--- makefile.orig 2016-07-06 21:51:35 UTC ++++ makefile +@@ -26,13 +26,15 @@ endif + export GOPATH + + checkstyle:: ++ifndef SKIP_CHECKSTYLE + # Run checkstyle script + $(BGO_SPACE)/Tools/src/checkstyle.sh ++endif + + coverage:: build-linux + $(BGO_SPACE)/Tools/src/coverage.sh github.com/aws/amazon-ssm-agent/agent/... + +-build:: build-linux build-windows build-linux-386 build-windows-386 ++build:: build-linux build-freebsd build-windows build-linux-386 build-windows-386 + + prepack:: prepack-linux prepack-linux-386 prepack-windows prepack-windows-386 + +@@ -75,6 +77,19 @@ build-linux: checkstyle copy-src pre-bui + GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o $(BGO_SPACE)/bin/linux_amd64/updater -v \ + $(BGO_SPACE)/agent/update/updater/updater.go $(BGO_SPACE)/agent/update/updater/updater_unix.go + ++.PHONY: build-freebsd ++build-freebsd: checkstyle copy-src pre-build ++ @echo "Build for freebsd agent" ++ GOOS=freebsd GOARCH=amd64 go build -ldflags "-s -w" -o $(BGO_SPACE)/bin/freebsd_amd64/amazon-ssm-agent -v \ ++ $(BGO_SPACE)/agent/agent.go $(BGO_SPACE)/agent/agent_unix.go $(BGO_SPACE)/agent/agent_parser.go ++ ++install-freebsd: ++ @echo "Install for freebsd agent" ++ install -m 555 $(BGO_SPACE)/bin/freebsd_amd64/amazon-ssm-agent $(DESTDIR)$(PREFIX)/sbin/ ++ mkdir -p $(DESTDIR)$(PREFIX)/etc/amazon/ssm ++ install -m 644 $(BGO_SPACE)/bin/amazon-ssm-agent.json.template $(DESTDIR)$(PREFIX)/etc/amazon/ssm ++ install -m 644 $(BGO_SPACE)/bin/seelog_unix.xml $(DESTDIR)$(PREFIX)/etc/amazon/ssm/seelog_unix.xml.template ++ + .PHONY: build-darwin + build-darwin: checkstyle copy-src pre-build + @echo "Rebuild for darwin agent" Property changes on: head/sysutils/amazon-ssm-agent/files/patch-makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/amazon-ssm-agent/pkg-descr =================================================================== --- head/sysutils/amazon-ssm-agent/pkg-descr (nonexistent) +++ head/sysutils/amazon-ssm-agent/pkg-descr (revision 423636) @@ -0,0 +1,6 @@ +Amazon SSM (Simple Systems Manager) is a service for remotely controlling +(executing code on) EC2 instances. This port provides the SSM "Agent", +which polls an Amazon Web Services API for commands, spawns them, and +sends their output back. + +WWW: https://github.com/aws/amazon-ssm-agent Property changes on: head/sysutils/amazon-ssm-agent/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property