From 1c3ed32ebd3b6ffcc774819fdaf7d004c5eef46a Mon Sep 17 00:00:00 2001 From: Frodo Looijaard Date: Tue, 21 Dec 1999 23:27:15 +0000 Subject: [PATCH] Added entry in the MAINTAINERS file Please check the data below; for now, I have listed myself and Phil as maintainers. If you would like that changed, Phil, please feel free. # P: Person # M: Mail patches to # L: Mailing list that is relevant to this area # W: Web-page with status/info # S: Status, one of the following: SENSORS DRIVERS P: Frodo Looijaard M: frodol@dds.nl P: Philip Edelbrock M: phil@netroedge.com L: lm78@stimpy.netroedge.com W: http://www.lm-sensors.nu/ S: Maintained git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@672 7894878c-1315-0410-8ee3-d5d059ff63e0 --- mkpatch/mkpatch.pl | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/mkpatch/mkpatch.pl b/mkpatch/mkpatch.pl index 2b7dedaa..83b18198 100755 --- a/mkpatch/mkpatch.pl +++ b/mkpatch/mkpatch.pl @@ -666,6 +666,50 @@ EOF print_diff $package_root,$kernel_root,$kernel_file,$package_file; } +# Generate the diffs for the list of MAINTAINERS +# $_[0]: i2c package root (like /tmp/i2c) +# $_[1]: Linux kernel tree (like /usr/src/linux) +sub gen_MAINTAINERS +{ + my ($package_root,$kernel_root) = @_; + my $kernel_file = "MAINTAINERS"; + my $package_file = $temp; + my $done = 0; + + open INPUT,"$kernel_root/$kernel_file" + or die "Can't open `$kernel_root/$kernel_file'"; + open OUTPUT,">$package_root/$package_file" + or die "Can't open $package_root/$package_file"; + MAIN: while() { + if (m@SENSORS DRIVERS@) { + $_= while not m@^$@; + $_=; + redo MAIN; + } + if (not $done and (m@SGI VISUAL WORKSTATION 320 AND 540@)) { + print OUTPUT <<'EOF'; +SENSORS DRIVERS +P: Frodo Looijaard +M: frodol@dds.nl +P: Philip Edelbrock +M: phil@netroedge.com +L: lm78@stimpy.netroedge.com +W: http://www.lm-sensors.nu/ +S: Maintained + +EOF + $done = 1; + } + print OUTPUT; + } + close INPUT; + close OUTPUT; + die "Automatic patch generation for `MAINTAINERS' failed.\n". + "Contact the authors please!" if $done == 0; + print_diff $package_root,$kernel_root,$kernel_file,$package_file; +} + + # Main function sub main { @@ -929,6 +973,7 @@ EOF gen_drivers_i2c_Makefile $package_root, $kernel_root; gen_drivers_i2c_i2c_core_c $package_root, $kernel_root; gen_Documentation_Configure_help $package_root, $kernel_root; + gen_MAINTAINERS $package_root, $kernel_root; } main;