Imported Upstream version 1.4.5

This commit is contained in:
Jan Wagner 2013-11-26 23:53:19 +01:00
parent 62d1e7d5fe
commit 6a280f6f24
412 changed files with 168642 additions and 0 deletions

3
pkg/CVS/Entries Normal file
View file

@ -0,0 +1,3 @@
D/fedora////
D/redhat////
D/solaris////

1
pkg/CVS/Repository Normal file
View file

@ -0,0 +1 @@
nagiosplug/pkg

1
pkg/CVS/Root Normal file
View file

@ -0,0 +1 @@
:ext:tonvoon@nagiosplug.cvs.sourceforge.net:/cvsroot/nagiosplug

1
pkg/CVS/Tag Normal file
View file

@ -0,0 +1 @@
Tr1_4_5

2
pkg/fedora/CVS/Entries Normal file
View file

@ -0,0 +1,2 @@
/requires/1.2/Tue Mar 2 17:44:46 2004//Tr1_4_5
D

View file

@ -0,0 +1 @@
nagiosplug/pkg/fedora

1
pkg/fedora/CVS/Root Normal file
View file

@ -0,0 +1 @@
:ext:tonvoon@nagiosplug.cvs.sourceforge.net:/cvsroot/nagiosplug

1
pkg/fedora/CVS/Tag Normal file
View file

@ -0,0 +1 @@
Nr1_4_5

33
pkg/fedora/requires Normal file
View file

@ -0,0 +1,33 @@
Requires: bind-utils
Requires: coreutils
Requires: gawk
Requires: grep
Requires: iputils
Requires: openldap
Requires: mysql
Requires: openssl
Requires: postgresql-libs
Requires: net-snmp-utils
Requires: ntp
Requires: openssh-clients
Requires: perl
Requires: procps
Requires: python
Requires: samba-client
Requires: shadow-utils
Requires: traceroute
Requires: /usr/bin/mailq
BuildRequires: bind-utils
BuildRequires: coreutils
BuildRequires: iputils
BuildRequires: mysql-devel
BuildRequires: net-snmp-utils
BuildRequires: net-tools
BuildRequires: ntp
BuildRequires: openldap-devel
BuildRequires: openssh-clients
BuildRequires: openssl-devel
BuildRequires: postgresql-devel
BuildRequires: procps
BuildRequires: samba-client
BuildRequires: /usr/bin/mailq

2
pkg/redhat/CVS/Entries Normal file
View file

@ -0,0 +1,2 @@
/requires/1.1/Tue Mar 2 17:44:45 2004//Tr1_4_5
D

View file

@ -0,0 +1 @@
nagiosplug/pkg/redhat

1
pkg/redhat/CVS/Root Normal file
View file

@ -0,0 +1 @@
:ext:tonvoon@nagiosplug.cvs.sourceforge.net:/cvsroot/nagiosplug

1
pkg/redhat/CVS/Tag Normal file
View file

@ -0,0 +1 @@
Nr1_4_5

35
pkg/redhat/requires Normal file
View file

@ -0,0 +1,35 @@
Requires: bind-utils
Requires: fileutils
Requires: gawk
Requires: grep
Requires: iputils
Requires: openldap
Requires: mysql
Requires: openssl
Requires: postgresql-libs
Requires: net-snmp-utils
Requires: ntp
Requires: openssh-clients
Requires: perl
Requires: procps
Requires: python
Requires: samba-client
Requires: sh-utils
Requires: shadow-utils
Requires: textutils
Requires: traceroute
Requires: /usr/bin/mailq
BuildRequires: bind-utils
BuildRequires: iputils
BuildRequires: mysql-devel
BuildRequires: net-snmp-utils
BuildRequires: net-tools
BuildRequires: ntp
BuildRequires: openldap-devel
BuildRequires: openssh-clients
BuildRequires: openssl-devel
BuildRequires: postgresql-devel
BuildRequires: procps
BuildRequires: samba-client
BuildRequires: sh-utils
BuildRequires: /usr/bin/mailq

2
pkg/solaris/.cvsignore Normal file
View file

@ -0,0 +1,2 @@
.cvsignore
pkginfo

4
pkg/solaris/CVS/Entries Normal file
View file

@ -0,0 +1,4 @@
/.cvsignore/1.1/Mon Mar 24 17:45:00 2003//Tr1_4_5
/pkginfo.in/1.3/Wed May 14 21:39:48 2003//Tr1_4_5
/solpkg/1.4/Wed Jun 4 21:17:58 2003//Tr1_4_5
D

View file

@ -0,0 +1 @@
nagiosplug/pkg/solaris

1
pkg/solaris/CVS/Root Normal file
View file

@ -0,0 +1 @@
:ext:tonvoon@nagiosplug.cvs.sourceforge.net:/cvsroot/nagiosplug

1
pkg/solaris/CVS/Tag Normal file
View file

@ -0,0 +1 @@
Nr1_4_5

12
pkg/solaris/pkginfo Normal file
View file

@ -0,0 +1,12 @@
PKG="NAGplugin"
NAME="nagios-plugins"
DESC="Nagios network monitoring plugins"
ARCH="powerpc"
VERSION="1.4.5,REV=2006.11.01.21.25"
CATEGORY="application"
VENDOR="Nagios Plugin Development Team"
EMAIL="nagiosplug-devel@lists.sourceforge.net"
PSTAMP="nag20061101212546"
BASEDIR="/"
CLASSES="none"

12
pkg/solaris/pkginfo.in Normal file
View file

@ -0,0 +1,12 @@
PKG="NAGplugin"
NAME="nagios-plugins"
DESC="Nagios network monitoring plugins"
ARCH="@PKG_ARCH@"
VERSION="@PACKAGE_VERSION@,REV=@REV_DATESTAMP@"
CATEGORY="application"
VENDOR="Nagios Plugin Development Team"
EMAIL="nagiosplug-devel@lists.sourceforge.net"
PSTAMP="nag@REV_TIMESTAMP@"
BASEDIR="/"
CLASSES="none"

81
pkg/solaris/solpkg Executable file
View file

@ -0,0 +1,81 @@
#!/usr/bin/perl
$pkgdevice = $ARGV[0] || die "Unable to determine device ($!)\n";
$find = "/usr/bin/find";
$pkgproto = "/usr/bin/pkgproto";
$pkgmk = "/usr/bin/pkgmk";
$pkgtrans = "/usr/bin/pkgtrans";
$prototype = "prototype";
$pkginfo = "pkginfo";
$egrep = "/usr/bin/egrep";
# Sanity check
$pwd = `pwd`;
if ($pwd =~ '\/usr\/local') {
$pwd = $`;
}
die "Wrong location, please cd to <PKGBASE>/usr/local/ and run again.\n"
if ($pwd eq "");
open (PREPROTO,"$find . -print |$egrep -v \"^\.(/usr(/local)?|/opt)?\$\" | $pkgproto |") ||
die "Unable to read prototype information ($!)\n";
open (PROTO,">$prototype") ||
die "Unable to write file prototype ($!)\n";
print PROTO "i pkginfo=./$pkginfo\n";
while (<PREPROTO>) {
# Read in the prototype information
chomp;
$thisline = $_;
if ($thisline =~ " prototype "
or $thisline =~ " pkginfo ") {
# Don't do anything as they aren't important
} elsif ($thisline =~ "^[fd] ") {
# Change the ownership of files and directories
($dir, $none, $file, $mode, $user, $group) = split / /,$thisline;
print PROTO "$dir $none $file $mode bin bin\n";
} else {
# Symlinks and other stuff should be printed also
print PROTO "$thisline\n";
}
}
close PROTO;
close PREPROTO;
# Now we can start building the package
$os = `uname -r`;
$os =~ '\.';
$os = "sol$'";
chomp $os;
open (PKGINFO,"<$pkginfo") ||
die "Unable to read package information ($!)\n";
while (<PKGINFO>) {
# Read in the package information
chomp;
$thisline = $_;
($var,$value) = split /=/,$thisline;
if ("$var" eq "NAME"
or "$var" eq "VERSION"
or "$var" eq "ARCH") {
$tmp = lc($var);
$value =~ s/\"//g;
if ("$tmp" eq "version"
and $value =~ ",REV") {
($value,$var) = split /\,/,$value;
$$tmp = $value;
} else {
$$tmp = $value;
}
}
}
close PKGINFO;
$packagename = "$name-$version-$os-$arch-local";
print "Building package\n";
system ("$pkgmk -o -r `pwd` -d $pkgdevice");
system ("(cd $pkgdevice && $pkgtrans -s `pwd` ../$packagename)");
print "Done. ($packagename)\n";