diff --git a/sysutils/Makefile b/sysutils/Makefile index abbe0cc1c815..f1cc5d9d0918 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1,987 +1,988 @@ # $FreeBSD$ # COMMENT = System utilities SUBDIR += 3dm SUBDIR += 44bsd-more SUBDIR += 915resolution SUBDIR += DTraceToolkit SUBDIR += LPRng SUBDIR += LPRngTool SUBDIR += Tee SUBDIR += abck SUBDIR += abgx360 SUBDIR += abgx360gui SUBDIR += acidlaunch SUBDIR += adtool SUBDIR += afbinit SUBDIR += afflib SUBDIR += afio SUBDIR += agef SUBDIR += ah-tty SUBDIR += aimage SUBDIR += am-utils SUBDIR += amrstat SUBDIR += anacron SUBDIR += and SUBDIR += anteater SUBDIR += apachetop SUBDIR += apcpwr SUBDIR += apcupsd SUBDIR += apt SUBDIR += arcconf SUBDIR += archivemount SUBDIR += areca-cli SUBDIR += asapm SUBDIR += ascpu SUBDIR += asfsm SUBDIR += asmem SUBDIR += asmon SUBDIR += asr-utils SUBDIR += asusoled SUBDIR += ataidle SUBDIR += atitvout SUBDIR += automounter SUBDIR += autopsy SUBDIR += avfs SUBDIR += b43-fwcutter SUBDIR += backupme SUBDIR += bacula-bat SUBDIR += bacula-client SUBDIR += bacula-docs SUBDIR += bacula-server SUBDIR += bacula2-client SUBDIR += bacula2-server SUBDIR += bashburn SUBDIR += batmon SUBDIR += battfink SUBDIR += battmond SUBDIR += bbapm SUBDIR += bchunk SUBDIR += be_agent SUBDIR += binup SUBDIR += biosfont SUBDIR += bkpupsd SUBDIR += bksh SUBDIR += blimitd SUBDIR += bontmia SUBDIR += boxbackup SUBDIR += brasero SUBDIR += bsd-splash-changer SUBDIR += bsdadminscripts SUBDIR += bsdcrashtar SUBDIR += bsdhwmon SUBDIR += bsdmoted SUBDIR += bsdsar SUBDIR += bsdstats SUBDIR += bubblemon-dockapp SUBDIR += bubblemon2 SUBDIR += burn SUBDIR += busybox SUBDIR += ccd2iso SUBDIR += cciss_vol_status SUBDIR += ccze SUBDIR += cdargs SUBDIR += cdbkup SUBDIR += cdeploy SUBDIR += cdf SUBDIR += cdircmp SUBDIR += cdrdao SUBDIR += cdrkit SUBDIR += cdroot SUBDIR += cdrtools SUBDIR += cdrtools-cjk SUBDIR += cdrtools-devel SUBDIR += cfengine SUBDIR += cfengine3 SUBDIR += cfvers SUBDIR += checkservice SUBDIR += chgrep SUBDIR += ciso SUBDIR += ck4up SUBDIR += ckl SUBDIR += clean SUBDIR += clockspeed SUBDIR += clockspeed-conf SUBDIR += clonehdd SUBDIR += cloop-utils SUBDIR += cmdwatch SUBDIR += cmospwd SUBDIR += cog SUBDIR += colorize SUBDIR += comconsole SUBDIR += comiccron SUBDIR += condor SUBDIR += confman SUBDIR += conky SUBDIR += conky-awesome SUBDIR += consolehm SUBDIR += consolekit SUBDIR += contool SUBDIR += copytape SUBDIR += coreutils SUBDIR += cotty SUBDIR += cpbk SUBDIR += cpdup SUBDIR += cpu SUBDIR += cpuburn SUBDIR += cpupowerd SUBDIR += cramfs SUBDIR += crashme SUBDIR += cromwell SUBDIR += cronolog SUBDIR += curly SUBDIR += cvsweb-converters SUBDIR += cw SUBDIR += daa2iso SUBDIR += dae SUBDIR += daedalus SUBDIR += daemontools SUBDIR += daemontools53 SUBDIR += dar SUBDIR += dc42wrap SUBDIR += dcfldd SUBDIR += dd_rescue SUBDIR += ddrescue SUBDIR += decomment SUBDIR += deleted SUBDIR += deltup SUBDIR += desktop-installer SUBDIR += desktopbsd-tools SUBDIR += detach SUBDIR += detox SUBDIR += devcpu SUBDIR += devcpu-data SUBDIR += devstat SUBDIR += di SUBDIR += dim SUBDIR += dircomp SUBDIR += dirdiff SUBDIR += dirvish SUBDIR += diskcheckd SUBDIR += diskprep SUBDIR += diskscrub SUBDIR += disktool SUBDIR += disktype SUBDIR += djmount SUBDIR += dmg2img SUBDIR += dmidecode SUBDIR += dolly SUBDIR += dolly+ SUBDIR += downtime SUBDIR += dt SUBDIR += dtc SUBDIR += dtpstree SUBDIR += du2ps SUBDIR += duff SUBDIR += dump9660 SUBDIR += dupfind SUBDIR += duplicity SUBDIR += duplicity-devel SUBDIR += dupmerge SUBDIR += durep SUBDIR += dvd+rw-tools SUBDIR += dvdbackup SUBDIR += dvdimagecmp SUBDIR += dvdisaster SUBDIR += dvdtape SUBDIR += dvtm SUBDIR += dwatch SUBDIR += e2fsprogs SUBDIR += ecore-config SUBDIR += eiciel SUBDIR += eject SUBDIR += empower SUBDIR += endian SUBDIR += enteruser SUBDIR += env4801 SUBDIR += epylog SUBDIR += eroaster SUBDIR += etcmerge SUBDIR += etcupdate SUBDIR += etoile-behavior SUBDIR += etoile-installer SUBDIR += etoile-powermenulet SUBDIR += etoile-system SUBDIR += eventlog SUBDIR += evtviewer SUBDIR += extipl SUBDIR += extrackt SUBDIR += ezjail SUBDIR += facter SUBDIR += fanout SUBDIR += farbot SUBDIR += fastest_cvsup SUBDIR += fatback SUBDIR += fconfig SUBDIR += fcron SUBDIR += fdupes SUBDIR += fetchlog SUBDIR += ffs2recov SUBDIR += file SUBDIR += filedupe SUBDIR += filelight SUBDIR += filelight-kde4 SUBDIR += fileprune SUBDIR += fileschanged SUBDIR += filetype SUBDIR += finfo SUBDIR += fio SUBDIR += flasher SUBDIR += flashrom SUBDIR += flexbackup SUBDIR += flock SUBDIR += flog SUBDIR += flyback SUBDIR += fontedit SUBDIR += fonteditfs SUBDIR += foremost SUBDIR += fortunelock SUBDIR += fpc-syslog SUBDIR += fpc-users SUBDIR += fpc-utmp SUBDIR += fpc-uuid SUBDIR += fpkg SUBDIR += freebsd-snapshot SUBDIR += freecolor SUBDIR += freedt SUBDIR += freeipmi SUBDIR += freesbie SUBDIR += freqsdwn SUBDIR += fsbackup SUBDIR += fstyp SUBDIR += ftrace SUBDIR += ftwin SUBDIR += fusefs-afuse SUBDIR += fusefs-chironfs SUBDIR += fusefs-cryptofs SUBDIR += fusefs-curlftpfs SUBDIR += fusefs-encfs SUBDIR += fusefs-funionfs SUBDIR += fusefs-fur SUBDIR += fusefs-gnome-vfs SUBDIR += fusefs-gstfs SUBDIR += fusefs-gunzip SUBDIR += fusefs-httpfs SUBDIR += fusefs-kmod SUBDIR += fusefs-libs SUBDIR += fusefs-mhddfs SUBDIR += fusefs-ntfs SUBDIR += fusefs-pod SUBDIR += fusefs-s3fs SUBDIR += fusefs-smbnetfs SUBDIR += fusefs-sqlfs SUBDIR += fusefs-sshfs SUBDIR += fusefs-unionfs SUBDIR += fusefs-wdfs SUBDIR += fusefs-wikipediafs SUBDIR += fuser SUBDIR += fvcool SUBDIR += gaffitter SUBDIR += gag SUBDIR += gai-leds SUBDIR += ganglia-monitor-core SUBDIR += ganglia-webfrontend SUBDIR += gapcmon SUBDIR += gather SUBDIR += gcdmaster SUBDIR += gcombust SUBDIR += gconf-editor SUBDIR += gdmap SUBDIR += geomWatch SUBDIR += geomgui SUBDIR += getdelta SUBDIR += geteltorito SUBDIR += gfslicer SUBDIR += ghasher SUBDIR += gkfreq SUBDIR += gkleds2 SUBDIR += gkrellfire SUBDIR += gkrellflynn SUBDIR += gkrellm SUBDIR += gkrellm-trayicons SUBDIR += gkrellm2 SUBDIR += gkrellmouse SUBDIR += gkrellmwho SUBDIR += gkrellmwho2 SUBDIR += gkrelltop SUBDIR += gksu SUBDIR += glload SUBDIR += gnome-control-center SUBDIR += gnome-control-center1 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-system-tools SUBDIR += gnome_subr SUBDIR += gnomebaker SUBDIR += gnomefind SUBDIR += googlog SUBDIR += gosa SUBDIR += gpart SUBDIR += gpkgdep SUBDIR += gpte SUBDIR += graft SUBDIR += graphicboot SUBDIR += graveman SUBDIR += grok SUBDIR += growspd SUBDIR += grub SUBDIR += grub2 SUBDIR += gsmartcontrol SUBDIR += gstopd SUBDIR += gstreamer-plugins-cdio SUBDIR += gstreamer-plugins-hal SUBDIR += gtk-imonc SUBDIR += gtk-send-pr SUBDIR += gtoaster SUBDIR += gupsc SUBDIR += hachoir-metadata SUBDIR += hachoir-subfile SUBDIR += hachoir-urwid SUBDIR += hachoir-wx SUBDIR += hal SUBDIR += hal-info SUBDIR += hammerhead SUBDIR += hdup SUBDIR += healthd SUBDIR += heartbeat SUBDIR += heirloom SUBDIR += hidesvn SUBDIR += highlnk SUBDIR += hilite SUBDIR += hourglass SUBDIR += hoz SUBDIR += hpacucli SUBDIR += hploscripts SUBDIR += htop SUBDIR += httplog SUBDIR += hwstat SUBDIR += hyperic-sigar SUBDIR += i855vidctl10 SUBDIR += iat SUBDIR += idled SUBDIR += iextract SUBDIR += installwatch SUBDIR += iograph SUBDIR += ipa SUBDIR += ipmi-kmod SUBDIR += ipmitool SUBDIR += ipsc SUBDIR += isc-cron SUBDIR += isomaster SUBDIR += isomd5sum SUBDIR += ispman SUBDIR += istatd SUBDIR += jailadmin SUBDIR += jailctl SUBDIR += jailer SUBDIR += jailme SUBDIR += jailuser SUBDIR += jailutils SUBDIR += javaservicewrapper SUBDIR += jdiskreport SUBDIR += jfbterm SUBDIR += jkill SUBDIR += jps SUBDIR += jtop SUBDIR += jtopen SUBDIR += jx SUBDIR += k3b SUBDIR += k3b-kde4 SUBDIR += k8temp SUBDIR += kcpuload SUBDIR += kcube SUBDIR += kdeadmin3 SUBDIR += kdeadmin4 SUBDIR += kdirstat SUBDIR += keep SUBDIR += kgrubeditor SUBDIR += kgtk SUBDIR += kiconvtool SUBDIR += kkbswitch SUBDIR += kkeyled SUBDIR += klaptopdaemon SUBDIR += kldfind SUBDIR += kldpatch SUBDIR += kleansweep SUBDIR += klineakconfig SUBDIR += kmilo SUBDIR += knutclient SUBDIR += knutclient-kde4 SUBDIR += komparator SUBDIR += krename SUBDIR += krename-kde4 SUBDIR += kshutdown SUBDIR += ksynaptics SUBDIR += lavaps SUBDIR += lbl-cf SUBDIR += lbl-hf SUBDIR += lcdproc SUBDIR += ldap-account-manager SUBDIR += ldapvi SUBDIR += ledit SUBDIR += less SUBDIR += lfm SUBDIR += libcdio SUBDIR += libchk SUBDIR += libgksu SUBDIR += libgksuui SUBDIR += libieee1284 SUBDIR += libpcbsd SUBDIR += libretto-config SUBDIR += libsunacl SUBDIR += libutempter SUBDIR += lineak-defaultplugin SUBDIR += lineak-kdeplugins SUBDIR += lineak-xosdplugin SUBDIR += lineakd SUBDIR += linrename SUBDIR += linux-acu SUBDIR += linux-afaapps SUBDIR += linux-megacli SUBDIR += linux-megamgr SUBDIR += linux-nero SUBDIR += linux-procps SUBDIR += linuxfdisk SUBDIR += lire SUBDIR += livecd SUBDIR += lmmon SUBDIR += lmon SUBDIR += log_analysis SUBDIR += loganalyzer SUBDIR += logmon SUBDIR += logrotate SUBDIR += logserial SUBDIR += logtool SUBDIR += logtool-devel SUBDIR += logwatch SUBDIR += lookat SUBDIR += lookupd SUBDIR += lookupd_ldap SUBDIR += lsof SUBDIR += ltrace SUBDIR += luckybackup SUBDIR += luma SUBDIR += lxsplit SUBDIR += lxtask SUBDIR += magicrescue SUBDIR += maint SUBDIR += makefs SUBDIR += manck SUBDIR += mapchan SUBDIR += mbmon SUBDIR += mcron SUBDIR += mcweject SUBDIR += mdcp SUBDIR += mdf2iso SUBDIR += megacli SUBDIR += megarc SUBDIR += memdump SUBDIR += memfetch SUBDIR += memgrep SUBDIR += memtest SUBDIR += memtest86 SUBDIR += memtest86+ SUBDIR += metalog SUBDIR += mgeupsd SUBDIR += minirsyslogd SUBDIR += mixer SUBDIR += mkfile SUBDIR += mksunbootcd SUBDIR += mktool SUBDIR += mmore SUBDIR += modules SUBDIR += monit SUBDIR += monitord + SUBDIR += monitorix SUBDIR += monkeytail SUBDIR += mono-kmod SUBDIR += moosefs-chunkserver SUBDIR += moosefs-client SUBDIR += moosefs-master SUBDIR += moreutils SUBDIR += most SUBDIR += mount.app SUBDIR += mountsmb2 SUBDIR += mpiexec SUBDIR += msyslog SUBDIR += mtpfs SUBDIR += mtxorbd SUBDIR += multitail SUBDIR += munin-common SUBDIR += munin-master SUBDIR += munin-node SUBDIR += muse SUBDIR += mybashburn SUBDIR += nagios-statd SUBDIR += namefix SUBDIR += nautilus-cd-burner SUBDIR += nbosd SUBDIR += ncdu SUBDIR += nctop SUBDIR += ndir SUBDIR += netdump-server SUBDIR += netident SUBDIR += nitrogen SUBDIR += no-login SUBDIR += npadmin SUBDIR += nrg2iso SUBDIR += ntfsprogs SUBDIR += nut SUBDIR += nut22 SUBDIR += nvclock SUBDIR += nvtv SUBDIR += oak SUBDIR += obliterate SUBDIR += ods2 SUBDIR += open SUBDIR += openipmi SUBDIR += openupsd SUBDIR += p5-BSD-Jail-Object SUBDIR += p5-BSD-Sysctl SUBDIR += p5-Brackup SUBDIR += p5-Dir-Purge SUBDIR += p5-File-DirCompare SUBDIR += p5-File-Next SUBDIR += p5-File-Stat-Bits 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-LJ-Cache SUBDIR += p5-LJ-TextMessage SUBDIR += p5-Lchown SUBDIR += p5-MogileFS-Client SUBDIR += p5-MogileFS-Utils SUBDIR += p5-Plugtools SUBDIR += p5-Plugtools-Plugins-HomeOU SUBDIR += p5-Probe-Perl SUBDIR += p5-Proc-PidUtil SUBDIR += p5-Quota SUBDIR += p5-Samba-SIDhelper SUBDIR += p5-Schedule-At SUBDIR += p5-Schedule-Cron SUBDIR += p5-Schedule-Load SUBDIR += p5-Schedule-Match 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-Syslog SUBDIR += p5-Sys-User-UIDhelper SUBDIR += p5-Sys-Utmp SUBDIR += p5-Sysadm-Install SUBDIR += p5-SyslogScan SUBDIR += p5-Tie-Syslog 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-mogilefs-server SUBDIR += p5-reslog SUBDIR += paicc SUBDIR += pax-utils SUBDIR += pbreg SUBDIR += pcfclock SUBDIR += pciutils SUBDIR += pdixtract SUBDIR += pdsh SUBDIR += pdumpfs SUBDIR += pdumpfs-clean SUBDIR += pdumpfs-rsync SUBDIR += pear-Cache SUBDIR += pear-Cache_Lite SUBDIR += pear-File SUBDIR += pear-File_Find SUBDIR += pear-File_Fstab SUBDIR += pear-File_Gettext SUBDIR += pear-I18Nv2 SUBDIR += pear-Log SUBDIR += pear-Translation2 SUBDIR += pecl-fileinfo SUBDIR += pecl-proctitle SUBDIR += penv SUBDIR += perf SUBDIR += personality SUBDIR += pessulus SUBDIR += pflogx SUBDIR += pfstat SUBDIR += pftop SUBDIR += phantom SUBDIR += philesight SUBDIR += php4-posix SUBDIR += php5-posix SUBDIR += php52-posix SUBDIR += pidof SUBDIR += pipemeter SUBDIR += plasma-applet-apcups SUBDIR += plconfig SUBDIR += plod SUBDIR += pmap SUBDIR += pmt SUBDIR += policykit SUBDIR += policykit-gnome SUBDIR += policykit-qt SUBDIR += polkit SUBDIR += polkit-gnome SUBDIR += polkit-kde SUBDIR += polkit-qt SUBDIR += powerman SUBDIR += prips SUBDIR += procmap SUBDIR += progsreiserfs SUBDIR += psgconf SUBDIR += pslist SUBDIR += psmisc SUBDIR += pstack SUBDIR += pstree SUBDIR += puppet SUBDIR += pv SUBDIR += pwd_unmkdb SUBDIR += pwg SUBDIR += pwgen SUBDIR += pwgen2 SUBDIR += pwsafe SUBDIR += py-bcfg2 SUBDIR += py-filelike SUBDIR += py-psutil SUBDIR += py-supervisor SUBDIR += py-zdaemon SUBDIR += py-zfs SUBDIR += pydf SUBDIR += pyrenamer SUBDIR += qlogtools SUBDIR += qpxtool SUBDIR += quicksynergy SUBDIR += radeontool SUBDIR += radmind SUBDIR += raincoat SUBDIR += rclean SUBDIR += rcsedit SUBDIR += rdate SUBDIR += rdiff-backup SUBDIR += rdiff-backup-devel SUBDIR += rdiff-backup10 SUBDIR += rdup SUBDIR += readlink SUBDIR += reclinker SUBDIR += recoverdm SUBDIR += reed SUBDIR += rej SUBDIR += relaxconf SUBDIR += relpath SUBDIR += rename SUBDIR += reoback SUBDIR += respond SUBDIR += retail SUBDIR += rfstool SUBDIR += rmonitor SUBDIR += roottail SUBDIR += rotate SUBDIR += rsnapshot SUBDIR += rsyncbackup SUBDIR += rsyncmanager SUBDIR += rsyslog3 SUBDIR += rsyslog3-dbi SUBDIR += rsyslog3-gssapi SUBDIR += rsyslog3-mysql SUBDIR += rsyslog3-pgsql SUBDIR += rsyslog3-relp SUBDIR += rsyslog3-snmp SUBDIR += rsyslog4 SUBDIR += rsyslog4-dbi SUBDIR += rsyslog4-gnutls SUBDIR += rsyslog4-gssapi SUBDIR += rsyslog4-mysql SUBDIR += rsyslog4-pgsql SUBDIR += rsyslog4-relp SUBDIR += rsyslog4-rfc3195 SUBDIR += rsyslog4-snmp SUBDIR += rsyslog5 SUBDIR += rsyslog5-dbi SUBDIR += rsyslog5-gnutls SUBDIR += rsyslog5-gssapi SUBDIR += rsyslog5-mysql SUBDIR += rsyslog5-pgsql SUBDIR += rsyslog5-relp SUBDIR += rsyslog5-rfc3195 SUBDIR += rsyslog5-snmp SUBDIR += rsyslog55 SUBDIR += rsyslog55-dbi SUBDIR += rsyslog55-gnutls SUBDIR += rsyslog55-gssapi SUBDIR += rsyslog55-mysql SUBDIR += rsyslog55-pgsql SUBDIR += rsyslog55-relp SUBDIR += rsyslog55-rfc3195 SUBDIR += rsyslog55-snmp SUBDIR += rtty SUBDIR += ruby-log4r SUBDIR += ruby-quota SUBDIR += rubygem-bundler SUBDIR += rubygem-capistrano SUBDIR += rubygem-god SUBDIR += rubygem-ohai SUBDIR += rubygem-sys-admin SUBDIR += rubygem-sys-cpu SUBDIR += rubygem-sys-filesystem SUBDIR += rubygem-sys-host SUBDIR += rubygem-sys-uname SUBDIR += rubygem-sys-uptime SUBDIR += runit SUBDIR += runwhen SUBDIR += safe-rm SUBDIR += safecat SUBDIR += samefile SUBDIR += samesame SUBDIR += sarah SUBDIR += savelogs SUBDIR += sb16config SUBDIR += sbniconfig SUBDIR += scan_ffs SUBDIR += scanbuttond SUBDIR += scprotect SUBDIR += screen SUBDIR += screenie SUBDIR += sdd SUBDIR += sdparm SUBDIR += searchmonkey SUBDIR += seatools SUBDIR += sec SUBDIR += sensors-applet SUBDIR += serpentine SUBDIR += service-config SUBDIR += setcdboot SUBDIR += setquota SUBDIR += sfdisk SUBDIR += sformat SUBDIR += sg3_utils SUBDIR += sge60 SUBDIR += sge61 SUBDIR += sge62 SUBDIR += shlock SUBDIR += sievelog SUBDIR += skill SUBDIR += slack SUBDIR += sleuthkit SUBDIR += slmon SUBDIR += sloth SUBDIR += slst SUBDIR += smartmontools SUBDIR += snap SUBDIR += snowlog SUBDIR += socket SUBDIR += socklog SUBDIR += sortu SUBDIR += spassgen SUBDIR += spindown SUBDIR += spinner SUBDIR += squashfs-tools SUBDIR += ssync SUBDIR += stalepid SUBDIR += stmpclean SUBDIR += stow SUBDIR += stowES SUBDIR += stress SUBDIR += su2 SUBDIR += superiotool SUBDIR += swapd SUBDIR += symlinks SUBDIR += symon SUBDIR += synergy SUBDIR += synergy-plus SUBDIR += syscp SUBDIR += sysgather SUBDIR += sysinfo SUBDIR += syslinux SUBDIR += syslog-ng SUBDIR += syslog-ng2 SUBDIR += syslog-ng3 SUBDIR += syslogger SUBDIR += system-tools-backends SUBDIR += sysupdate SUBDIR += tarsnap SUBDIR += tbku SUBDIR += tclsyslog SUBDIR += tcplist SUBDIR += tdir SUBDIR += tenshi SUBDIR += tentakel SUBDIR += testdisk SUBDIR += thefish SUBDIR += throttle SUBDIR += thunar-volman-plugin SUBDIR += ticker.app SUBDIR += timelimit SUBDIR += timemon SUBDIR += titlefix SUBDIR += tkdvd SUBDIR += tm SUBDIR += tmpreaper SUBDIR += tmpwatch SUBDIR += tmux SUBDIR += topless SUBDIR += torque SUBDIR += torsmo SUBDIR += toshctl SUBDIR += tracker SUBDIR += tracker-client SUBDIR += tracker-gnome SUBDIR += tracker-libtrackergtk SUBDIR += tree SUBDIR += tren SUBDIR += ts SUBDIR += tss SUBDIR += ttyload SUBDIR += tw_cli SUBDIR += ua SUBDIR += ucspi-ipc SUBDIR += ucspi-proxy SUBDIR += ucspi-ssl SUBDIR += ucspi-ssl-tls SUBDIR += ucspi-tcp SUBDIR += ucspi-unix SUBDIR += udesc_dump SUBDIR += udfclient SUBDIR += ufs_copy SUBDIR += uhidd SUBDIR += uif2iso SUBDIR += unieject SUBDIR += uniutils SUBDIR += unquote SUBDIR += unstow SUBDIR += upower SUBDIR += upsd SUBDIR += upsdaemon SUBDIR += upsmon SUBDIR += uptimed SUBDIR += usbhotkey SUBDIR += usbutil SUBDIR += usbutils SUBDIR += uschedule SUBDIR += userinfo SUBDIR += userlist SUBDIR += usermatic SUBDIR += usermin SUBDIR += userneu SUBDIR += userneu-devel SUBDIR += usrinfo SUBDIR += utcount SUBDIR += uwatch SUBDIR += vbetool SUBDIR += vcp SUBDIR += videogen SUBDIR += vii SUBDIR += vils SUBDIR += virtualmin SUBDIR += vobcopy SUBDIR += vordog SUBDIR += vstrip SUBDIR += vttest SUBDIR += wait_on SUBDIR += warden SUBDIR += watchdog SUBDIR += watchfolder SUBDIR += watchmen SUBDIR += webjob SUBDIR += webmin SUBDIR += weedit SUBDIR += whatpix SUBDIR += whowatch SUBDIR += wmapm SUBDIR += wmapmload SUBDIR += wmavgload SUBDIR += wmbattery SUBDIR += wmbluecpu SUBDIR += wmbsdbatt SUBDIR += wmcpuload SUBDIR += wmcube SUBDIR += wmcube-gdk SUBDIR += wmdiskmon SUBDIR += wmfire SUBDIR += wmflame SUBDIR += wmfsm SUBDIR += wmhm SUBDIR += wminet SUBDIR += wmlmmon SUBDIR += wmlongrun SUBDIR += wmmemfree SUBDIR += wmmemload SUBDIR += wmmemmon SUBDIR += wmmount SUBDIR += wmpccard SUBDIR += wmshutdown SUBDIR += wmtop SUBDIR += wmupmon SUBDIR += wmzazof SUBDIR += worldtools SUBDIR += wots SUBDIR += wtail SUBDIR += wtmp-tools SUBDIR += wuzzah SUBDIR += x86info SUBDIR += xacpim SUBDIR += xapply SUBDIR += xbatt SUBDIR += xbattbar SUBDIR += xcdroast SUBDIR += xcpustate SUBDIR += xdu SUBDIR += xfburn SUBDIR += xfce4-battery-plugin SUBDIR += xfce4-cpugraph-plugin SUBDIR += xfce4-fsguard-plugin SUBDIR += xfce4-genmon-plugin SUBDIR += xfce4-minicmd-plugin SUBDIR += xfce4-netload-plugin SUBDIR += xfce4-places-plugin SUBDIR += xfce4-power-manager SUBDIR += xfce4-settings SUBDIR += xfce4-systemload-plugin SUBDIR += xfce4-utils SUBDIR += xfce4-wavelan-plugin SUBDIR += xfsm SUBDIR += xfsprogs SUBDIR += xin SUBDIR += xloadface SUBDIR += xlogmaster SUBDIR += xmbmon SUBDIR += xorriso SUBDIR += xosview SUBDIR += xsi SUBDIR += xstow SUBDIR += xsu SUBDIR += xsysstats SUBDIR += xvidcap SUBDIR += xwipower SUBDIR += xwlans SUBDIR += yawho SUBDIR += zeroer SUBDIR += zetaback SUBDIR += zfs-replicate SUBDIR += zfs-snapshot-clean SUBDIR += zfs-snapshot-mgmt SUBDIR += zfsnap SUBDIR += zidrav SUBDIR += zisofs-tools .include diff --git a/sysutils/monitorix/Makefile b/sysutils/monitorix/Makefile new file mode 100644 index 000000000000..dae8a7763f13 --- /dev/null +++ b/sysutils/monitorix/Makefile @@ -0,0 +1,123 @@ +# New ports collection makefile for: monitorix +# Date created: 15 Aug 2010 +# Whom: Olli Hauer +# +# $FreeBSD$ +# + +PORTNAME= monitorix +PORTVERSION= 1.5.1 +CATEGORIES= sysutils +MASTER_SITES= http://monitorix.org/ + +MAINTAINER= admin@mjbrune.org +COMMENT= A web based monitoring system + +LIB_DEPENDS= rrd:${PORTSDIR}/databases/rrdtool +BUILD_DEPENDS= ${SITE_PERL}/LWP/Parallel.pm:${PORTSDIR}/www/p5-ParallelUA + +LICENSE= GPLv2 + +OPTIONS= REPORTS "Mail HTML reports to a given address" off + +.include + +MAN5= monitorix.conf.5 +MANCOMPRESSED= no +NO_BUILD= yes + +CGIDIR?= ${PREFIX}/www/cgi-bin +#REPORTS?= true +# owner of $WWWROOT/imgs +WWW_OWNER?= ${WWWOWN} +WWW_GROUP?= ${WWWGRP} +DATADIR= ${INSTDIR} +REPORT_LANG= ca de en it +INSTDIR= ${PREFIX}/${PORTNAME} +# WWWROOT: (WWWDIR - portname), we need the resulting path for a variable in monitorix.conf +WWWROOT= ${WWWDIR:S,${PORTNAME},,} + +SUB_FILES= pkg-message +SUB_LIST= PERL=${PERL} INSTDIR=${INSTDIR} +PLIST_SUB+= CGIDIR=${CGIDIR:S,${PREFIX}/,,} WWW_OWNER=${WWW_OWNER} WWW_GROUP=${WWW_GROUP} + +WWW_FILES= logo_top.png logo_bot.png monitorixico.png +DOCS= COPYING Changes README README.FreeBSD README.nginx TODO \ + monitorix-alert.sh monitorix-apache.conf +REPORT_FILES= imgs_email/blank.png imgs_email/logo.jpg imgs_email/signature.png \ + imgs_email/title.jpg traffic_report.html traffic_report.sh + +.if defined(WITH_REPORTS) +RUN_DEPENDS+= metamail>=2.7:${PORTSDIR}/mail/metamail +PLIST_SUB+= REPORTS="" +.else +PLIST_SUB+= REPORTS="@comment " +.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} "You may set following options:" + @${ECHO_MSG} "" + @${ECHO_MSG} "DATADIR=${DATADIR} Where do you put RRD databases?" + @${ECHO_MSG} "CGIDIR=${CGIDIR} Where do you put cgi?" + @${ECHO_MSG} "WWWDIR=${WWWDIR} Where do you put httpd's document root?" + @${ECHO_MSG} "" + +post-patch: +.for f in cgi conf pl + @${REINPLACE_CMD} -e "s|/usr/bin/perl|${PERL}|" ${WRKSRC}/monitorix.${f} +.endfor +# Notes about the adjustments for default configuration: +# - set FreeBSD as OSTYPE +# - set a generic WWWROOT, since we can include it in the webserver config +# - milter-greylist use a new database path on FreeBSD +# - FreeBSD's interface name came from the NIC, the lo0 interface is almost everytime present +# - file/directory handling outside ${PREFIX} with ports is silly. We don't want to rewrite +# monitorix.pl therefore we use ${PREFIX} instead /var/db/! + @${REINPLACE_CMD} -e 's|our \$$OSTYPE = \"Linux-RHFC\"|our \$$OSTYPE = \"FreeBSD\"|' \ + -e "s|/usr/local/www/apache22/data|${WWWROOT}|" \ + -e "s|/var/lib/milter-greylist/db/greylist.db|/var/milter-greylist/greylist.db|" \ + -e "s|eth0|lo0|g" -e "s|/var/db/monitorix/|${INSTDIR}/|" \ + -e "s|%%INSTDIR%%|${INSTDIR}|g" ${WRKSRC}/monitorix.conf +.for d in ${REPORT_LANG} + @${REINPLACE_CMD} -e "s|^rm|${RM}|g" -e "s|/bin/sed|${SED}|g" \ + -e "s|/usr/bin/metasend|${PREFIX}/bin/metasend|g" \ + -e "s|\"tmp|\"/tmp/${PORTNAME}_report|g" ${WRKSRC}/reports/${d}/traffic_report.sh +.endfor + +do-install: + @${INSTALL_SCRIPT} ${WRKSRC}/monitorix.pl ${PREFIX}/sbin/ + @${MKDIR} ${WWWDIR}/imgs + @${CHOWN} ${WWW_OWNER}:${WWW_GROUP} ${WWWDIR}/imgs + @for f in ${WWW_FILES}; do \ + ${INSTALL_DATA} ${WRKSRC}/$${f} ${WWWDIR}/; \ + done + @${MKDIR} ${CGIDIR} + @${INSTALL_SCRIPT} ${WRKSRC}/monitorix.cgi ${CGIDIR}/ +.for m in ${MAN5} + @${INSTALL_MAN} ${WRKSRC}/man/man5/$m ${PREFIX}/man/man5/ +.endfor +.if defined(WITH_REPORTS) +. for l in ${REPORT_LANG} + @${MKDIR} ${PREFIX}/${PORTNAME}/reports/${l}/imgs_email +. for f in ${REPORT_FILES} + @${INSTALL_DATA} ${WRKSRC}/reports/${l}/${f} ${PREFIX}/${PORTNAME}/reports/${l}/${f} +. endfor +. endfor +.endif +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @for doc in ${DOCS}; do \ + ${INSTALL_DATA} ${WRKSRC}/$${doc} ${DOCSDIR}; \ + done +.endif + +post-install: + @${INSTALL_DATA} ${WRKSRC}/monitorix.conf ${PREFIX}/etc/monitorix.conf.sample + @if [ ! -f ${PREFIX}/etc/monitorix.conf ]; then \ + ${CP} -p ${PREFIX}/etc/monitorix.conf.sample ${PREFIX}/etc/monitorix.conf ; \ + fi + @${MKDIR} ${DATADIR}/usage + @${CAT} ${PKGMESSAGE} + +.include diff --git a/sysutils/monitorix/distinfo b/sysutils/monitorix/distinfo new file mode 100644 index 000000000000..9fe8f44b64f0 --- /dev/null +++ b/sysutils/monitorix/distinfo @@ -0,0 +1,3 @@ +MD5 (monitorix-1.5.1.tar.gz) = 982f20acfac8d2b175d61a4e3defb641 +SHA256 (monitorix-1.5.1.tar.gz) = e3bb853209e6fc56a883b34ab3a0395d3db0a8c512d87b40b6420620b102252b +SIZE (monitorix-1.5.1.tar.gz) = 141695 diff --git a/sysutils/monitorix/files/monitorix.in b/sysutils/monitorix/files/monitorix.in new file mode 100644 index 000000000000..7548ad93fe26 --- /dev/null +++ b/sysutils/monitorix/files/monitorix.in @@ -0,0 +1,37 @@ +#!/bin/sh +# +# @(#) Fibranet NSP, SL +# Copyright (C) 2005-2010 by Jordi Sanfeliu +# +# /usr/local/etc/rc.d/monitorix +# +# Starts Monitorix on FreeBSD systems +# +# PROVIDE: monitorix +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: FreeBSD shutdown + +monitorix_enable=${monitorix_enable:-"NO"} + +. /etc/rc.subr + +name="monitorix" +rcvar=`set_rcvar` +command_interpreter=%%PERL%% +start_cmd=monitorix_start +stop_cmd=monitorix_stop + +monitorix_start() +{ # Creates RRDs files (if needed) + %%PREFIX%%/sbin/monitorix.pl create + %%PREFIX%%/sbin/monitorix.pl init +} + +monitorix_stop() +{ + %%PREFIX%%/sbin/monitorix.pl stop +} + +load_rc_config $name +run_rc_command "$1" diff --git a/sysutils/monitorix/files/patch-monitorix.pl b/sysutils/monitorix/files/patch-monitorix.pl new file mode 100644 index 000000000000..043203c7e468 --- /dev/null +++ b/sysutils/monitorix/files/patch-monitorix.pl @@ -0,0 +1,65 @@ +--- ./monitorix.pl.orig 2010-06-21 10:54:38.000000000 +0200 ++++ ./monitorix.pl 2010-08-15 20:20:34.000000000 +0200 +@@ -733,20 +733,25 @@ + if($ENABLE_CROND_MAIL ne "Y") { + $mailto = "MAILTO=\"\""; + } +- open(OCRON, "> $O_CRON"); +- print OCRON < +-# +-PATH=/sbin:/bin:/usr/sbin:/usr/bin +-$mailto ++# FreeBSD: ++# The crontab replacment was removed for the port, ++# we can not risc the damage of existing crontabs! ++ print <