mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add new port ftp/plasma-applet-ftpmonitor:
Ftpmonitor is a simple plasmoid for KDE 4, which monitors incoming connections to ftp daemons. It acts as a frontend to pure-ftpwho, ncftpd_spy and ftpwho for pure-ftpd, ncftpd and proftpd ftp daemons. For vsftpd it looks for output of ps ax. WWW: http://code.google.com/p/ftpmonitor/
This commit is contained in:
parent
41fca9d64d
commit
d2656af091
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=256565
28
ftp/plasma-applet-ftpmonitor/Makefile
Normal file
28
ftp/plasma-applet-ftpmonitor/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# New ports collection makefile for: plasma-applet-ftpmonitor
|
||||
# Date created: 2010-06-15
|
||||
# Whom: Max Brazhnikov <makc@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ftpmonitor
|
||||
PORTVERSION= 1.1
|
||||
CATEGORIES= ftp kde
|
||||
MASTER_SITES= GOOGLE_CODE
|
||||
PKGNAMEPREFIX= plasma-applet-
|
||||
|
||||
MAINTAINER= makc@FreeBSD.org
|
||||
COMMENT= KDE4 Plasma applet, which monitors connections to ftp daemons
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_CMAKE= yes
|
||||
USE_KDE4= kdelibs kdeprefix automoc4
|
||||
USE_QT_VER= 4
|
||||
QT_COMPONENTS= qmake_build moc_build uic_build rcc_build
|
||||
MAKE_JOS_SAFE= yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
|
||||
${WRKSRC}/src/ftpserver/*.h
|
||||
|
||||
.include <bsd.port.mk>
|
3
ftp/plasma-applet-ftpmonitor/distinfo
Normal file
3
ftp/plasma-applet-ftpmonitor/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (ftpmonitor-1.1.tar.bz2) = 4d26e9502b5d1ccd21ee25afb5094430
|
||||
SHA256 (ftpmonitor-1.1.tar.bz2) = 007f4e05a30c4f96eeeb2ffa240b1d97fa459b345762da55878c009a94236d30
|
||||
SIZE (ftpmonitor-1.1.tar.bz2) = 33448
|
@ -0,0 +1,11 @@
|
||||
--- ./src/ftpserver/ncftpdmonitor.h.orig 2010-06-12 01:33:45.000000000 +0400
|
||||
+++ ./src/ftpserver/ncftpdmonitor.h 2010-06-15 22:44:14.585409143 +0400
|
||||
@@ -55,7 +55,7 @@
|
||||
void createExecCommand(bool useSudo,QString whoPath)
|
||||
{
|
||||
if (whoPath=="")
|
||||
- mFtpWhoCommand.bin = "/usr/local/sbin/" + ftpWhoBinaryName();
|
||||
+ mFtpWhoCommand.bin = "/usr/local/bin/" + ftpWhoBinaryName();
|
||||
else
|
||||
mFtpWhoCommand.bin = whoPath + ftpWhoBinaryName();
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- ./src/ftpserver/proftpdmonitor.h.orig 2010-06-12 01:33:45.000000000 +0400
|
||||
+++ ./src/ftpserver/proftpdmonitor.h 2010-06-15 22:42:56.463724571 +0400
|
||||
@@ -55,7 +55,7 @@
|
||||
{
|
||||
|
||||
if (whoPath=="")
|
||||
- mFtpWhoCommand.bin = "/usr/sbin/" + ftpWhoBinaryName();
|
||||
+ mFtpWhoCommand.bin = "/usr/local/bin/" + ftpWhoBinaryName();
|
||||
else
|
||||
mFtpWhoCommand.bin = whoPath + ftpWhoBinaryName();
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- ./src/ftpserver/pureftpdmonitor.h.orig 2010-06-12 01:33:45.000000000 +0400
|
||||
+++ ./src/ftpserver/pureftpdmonitor.h 2010-06-15 22:44:35.632390428 +0400
|
||||
@@ -50,7 +50,7 @@
|
||||
void createExecCommand(bool useSudo,QString whoPath)
|
||||
{
|
||||
if (whoPath=="")
|
||||
- mFtpWhoCommand.bin = "/usr/sbin/" + ftpWhoBinaryName();
|
||||
+ mFtpWhoCommand.bin = "/usr/local/sbin/" + ftpWhoBinaryName();
|
||||
else
|
||||
mFtpWhoCommand.bin = whoPath + ftpWhoBinaryName();
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- ./src/ftpserver/vsftpdmonitor.h.orig 2010-06-12 01:33:45.000000000 +0400
|
||||
+++ ./src/ftpserver/vsftpdmonitor.h 2010-06-15 22:33:09.875079873 +0400
|
||||
@@ -53,7 +53,7 @@
|
||||
// else
|
||||
// mFtpWhoCommand.bin = whoPath + "ps";
|
||||
|
||||
- mFtpWhoCommand.args << "-fe";
|
||||
+ mFtpWhoCommand.args << "-ax -ouid,pid,ppid,cpu,start,tty,time,command";
|
||||
|
||||
/* if (useSudo==true)
|
||||
{
|
6
ftp/plasma-applet-ftpmonitor/pkg-descr
Normal file
6
ftp/plasma-applet-ftpmonitor/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
Ftpmonitor is a simple plasmoid for KDE 4, which monitors incoming
|
||||
connections to ftp daemons. It acts as a frontend to pure-ftpwho,
|
||||
ncftpd_spy and ftpwho for pure-ftpd, ncftpd and proftpd ftp daemons.
|
||||
For vsftpd it looks for output of ps ax.
|
||||
|
||||
WWW: http://code.google.com/p/ftpmonitor/
|
10
ftp/plasma-applet-ftpmonitor/pkg-plist
Normal file
10
ftp/plasma-applet-ftpmonitor/pkg-plist
Normal file
@ -0,0 +1,10 @@
|
||||
lib/kde4/plasma_applet_ftpmonitor.so
|
||||
share/apps/ftpmonitor/ftpmonitor.notifyrc
|
||||
share/apps/plasma/plasmoids/ftpmonitor/ftpmonitor-connected.png
|
||||
share/apps/plasma/plasmoids/ftpmonitor/ftpmonitor-disconnected.png
|
||||
share/apps/plasma/plasmoids/ftpmonitor/ftpmonitor-error.png
|
||||
share/icons/hicolor/48x48/apps/ftpmonitor.png
|
||||
share/kde4/services/plasma-applet-ftpmonitor.desktop
|
||||
@dirrm share/apps/plasma/plasmoids/ftpmonitor
|
||||
@dirrm share/apps/plasma/plasmoids
|
||||
@dirrm share/apps/ftpmonitor
|
Loading…
Reference in New Issue
Block a user