d7c7a482a8
- Explicitly USE_GMAKE. - Add a switch WITH_UCDSNMP to only depend on p5-SNMP if net-snmp4 is preferred over net-snmp, as net-snmp provides SNMP.pm (unless compiled WITHOUT_PERL). - Add some files to pkg-plist as makefile install targets are lazy (i.e. they use wildcards) to avoid package deinstall failures. - Add some needed FreeBSD patches. Submitted by: Hiroki Sato (patches)
20 lines
497 B
Perl
20 lines
497 B
Perl
--- tools/bb_start.pl.orig Mon Aug 11 21:29:38 2003
|
|
+++ tools/bb_start.pl Sat Feb 28 17:28:29 2004
|
|
@@ -161,7 +161,7 @@
|
|
|
|
sub proclist {
|
|
my @result;
|
|
- foreach my $cmd ( "ps cax", "ps -e", "ps -ef" ) {
|
|
+ foreach my $cmd ( "/bin/ps ax" ) {
|
|
open( CMD, "$cmd 2>/dev/null|" );
|
|
@result = ();
|
|
while( <CMD> ) {
|
|
@@ -197,7 +197,7 @@
|
|
exec( $cmd );
|
|
}
|
|
else {
|
|
- exec( "su", "-", "$user", "-c", $cmd );
|
|
+ exec( "/usr/bin/su", "-m", "$user", "-c", $cmd );
|
|
}
|
|
exit(1);
|
|
}
|