Bug 106373

Summary: sysutils/bsdstats periodic script uses /usr/bin/nc which is not a part of base system on FreeBSD 4x
Product: Ports & Packages Reporter: George L. Yermulnik <yz>
Component: Individual Port(s)Assignee: scrappy
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description George L. Yermulnik 2006-12-05 12:50:05 UTC
sysutils/bsdstats periodic script uses /usr/bin/nc which is not a part of base system on FreeBSD 4x and is installed from a port to /usr/local/bin/nc
So on FreeBSD 4x the port sysutils/bsdstats should depend on net/netcat

Fix: +RUN_DEPENDS=   nc:${PORTSDIR}/net/netcat
+
 NO_BUILD=      yes
 PLIST_FILES=   etc/periodic/monthly/300.statistics
 PLIST_DIRS=    etc/periodic/monthly \





token=${TOKEN}&key=${KEY}${query_string}" | \
-               /usr/local/bin/nc $nc_host $nc_port  | \
+               nc $nc_host $nc_port  | \
                grep STATUS= | {
           local IFS
           IFS='=--FoRGb1Hy8rERXGqV0zlASMFYiNHfguai7GJLAXubumYpC6L8
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig       Tue Dec  5 14:39:32 2006
+++ Makefile    Tue Dec  5 14:41:47 2006
@@ -13,6 +13,8 @@
 MAINTAINER=    scrappy@freebsd.org
 COMMENT=       Monthly script for reporting anonymous statistics about your machine
How-To-Repeat: Install sysutils/bsdstats on FreeBSD 4x and run /usr/local/etc/periodic/monthly/300.statistics - you'll se an error:
--- cut ---
/usr/local/etc/periodic/monthly/300.statistics: /usr/bin/nc: not found
--- cut ---
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-12-05 12:50:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->scrappy

Over to maintainer
Comment 2 scrappy freebsd_committer freebsd_triage 2006-12-05 13:28:25 UTC
State Changed
From-To: open->closed


patch applied, thanks
Comment 3 dfilter service freebsd_committer freebsd_triage 2006-12-05 13:35:29 UTC
scrappy     2006-12-05 13:26:32 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/bsdstats    Makefile 
    sysutils/bsdstats/files 300.statistics 
  Log:
  on FreeBSD 4x the port sysutils/bsdstats should depend on net/netcat
  
  PR:             ports/106373
  Submitted by:   George L. Yermulnik"<yz@yz.kiev.ua>
  
  Revision  Changes    Path
  1.44      +2 -0      ports/sysutils/bsdstats/Makefile
  1.36      +2 -2      ports/sysutils/bsdstats/files/300.statistics
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"