Date: Mon, 5 Oct 2009 06:01:47 GMT From: Vladimir Korkodinov <viper@perm.raid.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/139361: [FIX] net/ntop 3.3.10 don`t install needed file Message-ID: <200910050601.n9561l8P055542@www.freebsd.org> Resent-Message-ID: <200910050610.n956A1d1098288@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 139361 >Category: ports >Synopsis: [FIX] net/ntop 3.3.10 don`t install needed file >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 05 06:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Vladimir Korkodinov >Release: FreeBSD 7.2-STABLE >Organization: >Environment: FreeBSD xxxx 7.2-STABLE FreeBSD 7.2-STABLE #2: Thu Jul 16 03:52:44 YEKST 2009 root@xxxx:/usr/obj/usr/src/sys/kernel amd64 >Description: ntop don`t install needed files. 1. Directory l7-patterns/ 2. file etter.finger.os ntop[79048]: Initializing ntop ntop[79048]: Unable to read directory 'l7-patterns/' .... ntop[79048]: Fingerprint: Checking for Fingerprint file... file ntop[79048]: **WARNING** Fingerprint: Unable to open file 'etter.finger.os' >How-To-Repeat: Install and run. >Fix: apply patch Patch attached with submission follows: diff -ruN ntop.old/Makefile ntop/Makefile --- ntop.old/Makefile 2009-09-19 22:48:26.000000000 +0600 +++ ntop/Makefile 2009-10-05 11:53:26.000000000 +0600 @@ -7,6 +7,7 @@ PORTNAME= ntop PORTVERSION= 3.3.10 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -92,8 +93,12 @@ pre-configure: @cd ${WRKSRC} && ${SETENV} ${SCRIPTS_ENV} ${SH} autogen.sh --noconfig +pre-install: + @cd ${WRKSRC}/&& gmake dnetter post-install: @${MKDIR} ${DBDIR}/ntop @${CHOWN} -R nobody:nobody ${DBDIR}/ntop + @${INSTALL} -d ${ETCDIR}/l7-patterns + @cd ${WRKSRC}/l7-patterns/&&${COPYTREE_SHARE} . ${ETCDIR}/l7-patterns .include <bsd.port.post.mk> diff -ruN ntop.old/pkg-plist ntop/pkg-plist --- ntop.old/pkg-plist 2009-09-19 22:48:26.000000000 +0600 +++ ntop/pkg-plist 2009-10-05 11:49:11.000000000 +0600 @@ -1,7 +1,96 @@ bin/ntop etc/ntop/ntop-cert.pem +etc/ntop/etter.finger.os.gz etc/ntop/oui.txt.gz etc/ntop/specialMAC.txt.gz +etc/ntop/l7-patterns/100bao.pat +etc/ntop/l7-patterns/aim.pat +etc/ntop/l7-patterns/aimwebcontent.pat +etc/ntop/l7-patterns/applejuice.pat +etc/ntop/l7-patterns/ares.pat +etc/ntop/l7-patterns/battlefield1942.pat +etc/ntop/l7-patterns/battlefield2.pat +etc/ntop/l7-patterns/bgp.pat +etc/ntop/l7-patterns/biff.pat +etc/ntop/l7-patterns/bittorrent.pat +etc/ntop/l7-patterns/ciscovpn.pat +etc/ntop/l7-patterns/citrix.pat +etc/ntop/l7-patterns/counterstrike-source.pat +etc/ntop/l7-patterns/cvs.pat +etc/ntop/l7-patterns/dayofdefeat-source.pat +etc/ntop/l7-patterns/dhcp.pat +etc/ntop/l7-patterns/directconnect.pat +etc/ntop/l7-patterns/dns.pat +etc/ntop/l7-patterns/doom3.pat +etc/ntop/l7-patterns/edonkey.pat +etc/ntop/l7-patterns/fasttrack.pat +etc/ntop/l7-patterns/finger.pat +etc/ntop/l7-patterns/freenet.pat +etc/ntop/l7-patterns/ftp.pat +etc/ntop/l7-patterns/gkrellm.pat +etc/ntop/l7-patterns/gnucleuslan.pat +etc/ntop/l7-patterns/gnutella.pat +etc/ntop/l7-patterns/goboogy.pat +etc/ntop/l7-patterns/gopher.pat +etc/ntop/l7-patterns/h323.pat +etc/ntop/l7-patterns/halflife2-deathmatch.pat +etc/ntop/l7-patterns/hddtemp.pat +etc/ntop/l7-patterns/hotline.pat +etc/ntop/l7-patterns/http.pat +etc/ntop/l7-patterns/ident.pat +etc/ntop/l7-patterns/imap.pat +etc/ntop/l7-patterns/ipp.pat +etc/ntop/l7-patterns/irc.pat +etc/ntop/l7-patterns/jabber.pat +etc/ntop/l7-patterns/kugoo.pat +etc/ntop/l7-patterns/live365.pat +etc/ntop/l7-patterns/lpd.pat +etc/ntop/l7-patterns/msn-filetransfer.pat +etc/ntop/l7-patterns/msnmessenger.pat +etc/ntop/l7-patterns/mute.pat +etc/ntop/l7-patterns/napster.pat +etc/ntop/l7-patterns/nbns.pat +etc/ntop/l7-patterns/ncp.pat +etc/ntop/l7-patterns/netbios.pat +etc/ntop/l7-patterns/nntp.pat +etc/ntop/l7-patterns/ntp.pat +etc/ntop/l7-patterns/openft.pat +etc/ntop/l7-patterns/poco.pat +etc/ntop/l7-patterns/pop3.pat +etc/ntop/l7-patterns/pressplay.pat +etc/ntop/l7-patterns/qq.pat +etc/ntop/l7-patterns/quake-halflife.pat +etc/ntop/l7-patterns/quake1.pat +etc/ntop/l7-patterns/rdp.pat +etc/ntop/l7-patterns/rlogin.pat +etc/ntop/l7-patterns/rtsp.pat +etc/ntop/l7-patterns/shoutcast.pat +etc/ntop/l7-patterns/sip.pat +etc/ntop/l7-patterns/skypeout.pat +etc/ntop/l7-patterns/skypetoskype.pat +etc/ntop/l7-patterns/smb.pat +etc/ntop/l7-patterns/smtp.pat +etc/ntop/l7-patterns/snmp.pat +etc/ntop/l7-patterns/socks.pat +etc/ntop/l7-patterns/soribada.pat +etc/ntop/l7-patterns/soulseek.pat +etc/ntop/l7-patterns/ssdp.pat +etc/ntop/l7-patterns/ssh.pat +etc/ntop/l7-patterns/ssl.pat +etc/ntop/l7-patterns/subspace.pat +etc/ntop/l7-patterns/telnet.pat +etc/ntop/l7-patterns/tesla.pat +etc/ntop/l7-patterns/tftp.pat +etc/ntop/l7-patterns/tls.pat +etc/ntop/l7-patterns/tsp.pat +etc/ntop/l7-patterns/validcertssl.pat +etc/ntop/l7-patterns/vnc.pat +etc/ntop/l7-patterns/whois.pat +etc/ntop/l7-patterns/x11.pat +etc/ntop/l7-patterns/xboxlive.pat +etc/ntop/l7-patterns/xunlei.pat +etc/ntop/l7-patterns/yahoo.pat +etc/ntop/l7-patterns/zmaap.pat lib/libcpacketPlugin-%%PORTVERSION%%.so lib/libcpacketPlugin.so lib/libicmpPlugin-%%PORTVERSION%%.so @@ -419,6 +508,7 @@ @dirrm %%DATADIR%%/html/statsicons @dirrm %%DATADIR%%/html @dirrm %%DATADIR%% +@dirrm etc/ntop/l7-patterns @dirrm etc/ntop @dirrm lib/ntop/plugins @dirrm lib/ntop >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910050601.n9561l8P055542>