diff options
author | edwin <edwin@FreeBSD.org> | 2003-01-16 10:51:48 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-01-16 10:51:48 +0800 |
commit | e5672ab0e959d31987a68919cacfca49aebb4753 (patch) | |
tree | 31e36f1b0236bae051350708f3e21c24ae1c3866 /net-mgmt/pancho/files | |
parent | 3d86f712aa7e4ea28b87077420cd6f04c40acdf5 (diff) | |
download | freebsd-ports-gnome-e5672ab0e959d31987a68919cacfca49aebb4753.tar.gz freebsd-ports-gnome-e5672ab0e959d31987a68919cacfca49aebb4753.tar.zst freebsd-ports-gnome-e5672ab0e959d31987a68919cacfca49aebb4753.zip |
Maintainer update net/pancho to 9.0.1
PR: ports/46997
Submitted by: Nicolas Jombart <Nicolas.Jombart@hsc-labs.com>
Diffstat (limited to 'net-mgmt/pancho/files')
-rw-r--r-- | net-mgmt/pancho/files/patch-MANIFEST | 11 | ||||
-rw-r--r-- | net-mgmt/pancho/files/patch-Makefile.PL | 92 |
2 files changed, 103 insertions, 0 deletions
diff --git a/net-mgmt/pancho/files/patch-MANIFEST b/net-mgmt/pancho/files/patch-MANIFEST new file mode 100644 index 000000000000..6e7e7c1cf5de --- /dev/null +++ b/net-mgmt/pancho/files/patch-MANIFEST @@ -0,0 +1,11 @@ +--- MANIFEST.orig Wed Jan 8 20:53:26 2003 ++++ MANIFEST Wed Jan 8 20:53:45 2003 +@@ -8,8 +8,6 @@ + lib/Pancho/Plugins/Cisco.pm + lib/Pancho/Plugins/Foundry.pm + lib/Pancho/Plugins/Nortel.pm +-lib/Pancho/Plugins/Plugin.sample +-lib/Pancho/Plugins/README + lib/Pancho/Snmp.pm + lib/Pancho/Util.pm + license/COPYRIGHT diff --git a/net-mgmt/pancho/files/patch-Makefile.PL b/net-mgmt/pancho/files/patch-Makefile.PL new file mode 100644 index 000000000000..e4e86eff0eca --- /dev/null +++ b/net-mgmt/pancho/files/patch-Makefile.PL @@ -0,0 +1,92 @@ +--- Makefile.PL.orig Mon Jan 6 22:22:54 2003 ++++ Makefile.PL Mon Jan 6 22:26:56 2003 +@@ -52,24 +52,26 @@ + print "Configuring Pancho.\n"; + } + +-my @missing_mods; +-my @upgrade_mods; +-# check for modules +-foreach my $mod (keys %$DEPS) { +- my $eval = "require $mod"; +- eval $eval; +- if ($@) { +- push (@missing_mods, $mod); +- } +- elsif ($mod->VERSION < $DEPS->{$mod}) { +- push (@upgrade_mods, $mod); +- } +-} +- +-if ($NOASK) { +- installMods(\@missing_mods, 'missing'); +- installMods(\@upgrade_mods, 'upgrade'); +-} ++# FreeBSD port : inhibits dependancy checks here ++# and use port's one ++#my @missing_mods; ++#my @upgrade_mods; ++## check for modules ++#foreach my $mod (keys %$DEPS) { ++# my $eval = "require $mod"; ++# eval $eval; ++# if ($@) { ++# push (@missing_mods, $mod); ++# } ++# elsif ($mod->VERSION < $DEPS->{$mod}) { ++# push (@upgrade_mods, $mod); ++# } ++#} ++# ++#if ($NOASK) { ++# installMods(\@missing_mods, 'missing'); ++# installMods(\@upgrade_mods, 'upgrade'); ++#} + + if ($ALONE) { + system("perl build_pancho.PL ALONE"); +@@ -109,25 +111,25 @@ + } + + # override install in order to create conf dir and copy config +-sub MY::install { +- package MY; +- my $inherited = shift->SUPER::install(@_); +- +- # commands to actually create and copy the files +- my $mkdir = "\t\$(MKPATH) \$(SYS_CONFDIR)\n"; +- +- my $copy = "\t\@ if [ -f \"\$(SYS_CONFDIR)/pancho.conf\" ]; then \\\n"; +- $copy .= "\t\techo;\\\n\t\techo Not copying configuration file. One already exists.;\\\n\t\techo;\\\n"; +- $copy .= "\telse \\\n"; +- $copy .= "\t\t\$(CP) pancho.conf \$(SYS_CONFDIR);\\\n"; +- $copy .= "\t\techo;\\\n\t\techo Configuration file has been installed into \$(SYS_CONFDIR);\\\n\t\techo;\\\n"; +- $copy .= "\tfi\n"; +- +- # add copy of config file into SYS_CONFDIR +- $inherited =~ s|(^install\s*::.*)|$1\n$mkdir$copy|m; +- +- $inherited; +-} ++#sub MY::install { ++# package MY; ++# my $inherited = shift->SUPER::install(@_); ++# ++# # commands to actually create and copy the files ++# my $mkdir = "\t\$(MKPATH) \$(SYS_CONFDIR)\n"; ++# ++# my $copy = "\t\@ if [ -f \"\$(SYS_CONFDIR)/pancho.conf\" ]; then \\\n"; ++# $copy .= "\t\techo;\\\n\t\techo Not copying configuration file. One already exists.;\\\n\t\techo;\\\n"; ++# $copy .= "\telse \\\n"; ++# $copy .= "\t\t\$(CP) pancho.conf \$(SYS_CONFDIR);\\\n"; ++# $copy .= "\t\techo;\\\n\t\techo Configuration file has been installed into \$(SYS_CONFDIR);\\\n\t\techo;\\\n"; ++# $copy .= "\tfi\n"; ++# ++# # add copy of config file into SYS_CONFDIR ++# $inherited =~ s|(^install\s*::.*)|$1\n$mkdir$copy|m; ++# ++# $inherited; ++#} + + # override realclean to remove pancho and pancho.conf + sub MY::realclean { |