Added debian directory for building *.deb package
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
decc71ac21
commit
d2a06d5636
7
xCAT-client-2.0/debian/changelog
Normal file
7
xCAT-client-2.0/debian/changelog
Normal file
@ -0,0 +1,7 @@
|
||||
xcat-client (2.0-1) experimental; urgency=low
|
||||
|
||||
* Converted from .rpm format to .deb
|
||||
|
||||
-- Andy Wray <wray95u@ufred> Thu, 10 Jan 2008 16:15:54 -0500
|
||||
|
||||
- Made changes to make this work on AIX
|
10
xCAT-client-2.0/debian/control
Normal file
10
xCAT-client-2.0/debian/control
Normal file
@ -0,0 +1,10 @@
|
||||
Source: xcat-client
|
||||
Section: admin
|
||||
Priority: extra
|
||||
Maintainer: Andy Wray <andywray@us.ibm.com>
|
||||
|
||||
Package: xcat-client
|
||||
Architecture: all
|
||||
Depends: perl-xcat, conserver-client (>=8.1.16-2)
|
||||
Description: Core executables and data of the xCAT management project
|
||||
xCAT-client provides the fundamental xCAT commands (chtab, chnode, rpower, etc) helpful in administrating systems at scale, with particular attention paid to large HPC clusters.
|
15
xCAT-client-2.0/debian/copyright
Normal file
15
xCAT-client-2.0/debian/copyright
Normal file
@ -0,0 +1,15 @@
|
||||
Copyright: EPL
|
||||
|
||||
Information from the binary package:
|
||||
Name : xCAT-client Relocations: /opt/xcat
|
||||
Version : 2.0 Vendor: IBM Corp.
|
||||
Release : snap200801100447 Build Date: Thu 10 Jan 2008 04:47:09 AM EST
|
||||
Install Date: (not installed) Build Host: mgt.cluster
|
||||
Group : Applications/System Source RPM: xCAT-client-2.0-snap200801100447.src.rpm
|
||||
Size : 203154 License: EPL
|
||||
Signature : (none)
|
||||
Packager : IBM Corp.
|
||||
Summary : Core executables and data of the xCAT management project
|
||||
Description :
|
||||
xCAT-client provides the fundamental xCAT commands (chtab, chnode, rpower, etc) helpful in administrating systems at scale, with particular attention paid to large HPC clusters.
|
||||
|
1
xCAT-client-2.0/debian/files
Normal file
1
xCAT-client-2.0/debian/files
Normal file
@ -0,0 +1 @@
|
||||
xcat-client_2.0-1_all.deb admin extra
|
132
xCAT-client-2.0/debian/rules
Executable file
132
xCAT-client-2.0/debian/rules
Executable file
@ -0,0 +1,132 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# Use v4 compatability mode, so ldconfig gets added to maint scripts.
|
||||
export DH_COMPAT=4
|
||||
|
||||
PACKAGE=$(shell dh_listpackages)
|
||||
TMPDIR = $(CURDIR)/debian/$(PACKAGE)
|
||||
DOCSDIR = $(TMPDIR)/usr/share/doc/$(PACKAGE)
|
||||
INSTALL = install
|
||||
|
||||
|
||||
|
||||
build:
|
||||
dh_testdir
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -d
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k -d
|
||||
$(INSTALL) -D bin/getnodecfg $(TMPDIR)/usr/bin/getnodecfg
|
||||
$(INSTALL) -D bin/pping $(TMPDIR)/usr/bin/pping
|
||||
$(INSTALL) -D bin/psh $(TMPDIR)/usr/bin/psh
|
||||
$(INSTALL) -D bin/rcons $(TMPDIR)/usr/bin/rcons
|
||||
$(INSTALL) -D bin/wcons $(TMPDIR)/usr/bin/wcons
|
||||
$(INSTALL) -D bin/xcatclient $(TMPDIR)/usr/bin/xcatclient
|
||||
$(INSTALL) -D bin/xcatclientnnr $(TMPDIR)/usr/bin/xcatclientnnr
|
||||
$(INSTALL) -D bin/xcatDBcmds $(TMPDIR)/usr/bin/xcatDBcmds
|
||||
$(INSTALL) -D bin/xcoll $(TMPDIR)/usr/bin/xcoll
|
||||
$(INSTALL) -D bin/xdsh $(TMPDIR)/usr/bin/xdsh
|
||||
$(INSTALL) -D bin/xdshbak $(TMPDIR)/usr/bin/xdshbak
|
||||
$(INSTALL) -D sbin/tabedit $(TMPDIR)/usr/sbin/tabedit
|
||||
$(INSTALL) -D sbin/tabrestore $(TMPDIR)/usr/sbin/tabrestore
|
||||
$(INSTALL) -D share/man/man1/chdef.1 $(TMPDIR)/usr/share/man/man1/chdef.1
|
||||
$(INSTALL) -D share/man/man1/chvm.1 $(TMPDIR)/usr/share/man/man1/chvm.1
|
||||
$(INSTALL) -D share/man/man1/lsdef.1 $(TMPDIR)/usr/share/man/man1/lsdef.1
|
||||
$(INSTALL) -D share/man/man1/lsslp.1 $(TMPDIR)/usr/share/man/man1/lsslp.1
|
||||
$(INSTALL) -D share/man/man1/lsvm.1 $(TMPDIR)/usr/share/man/man1/lsvm.1
|
||||
$(INSTALL) -D share/man/man1/makedhcp.1 $(TMPDIR)/usr/share/man/man1/makedhcp.1
|
||||
$(INSTALL) -D share/man/man1/mkdef.1 $(TMPDIR)/usr/share/man/man1/mkdef.1
|
||||
$(INSTALL) -D share/man/man1/mkvm.1 $(TMPDIR)/usr/share/man/man1/mkvm.1
|
||||
$(INSTALL) -D share/man/man1/nodels.1 $(TMPDIR)/usr/share/man/man1/nodels.1
|
||||
$(INSTALL) -D share/man/man1/regnotif.1 $(TMPDIR)/usr/share/man/man1/regnotif.1
|
||||
$(INSTALL) -D share/man/man1/reventlog.1 $(TMPDIR)/usr/share/man/man1/reventlog.1
|
||||
$(INSTALL) -D share/man/man1/rinv.1 $(TMPDIR)/usr/share/man/man1/rinv.1
|
||||
$(INSTALL) -D share/man/man1/rmdef.1 $(TMPDIR)/usr/share/man/man1/rmdef.1
|
||||
$(INSTALL) -D share/man/man1/rmvm.1 $(TMPDIR)/usr/share/man/man1/rmvm.1
|
||||
$(INSTALL) -D share/man/man1/rnetboot.1 $(TMPDIR)/usr/share/man/man1/rnetboot.1
|
||||
$(INSTALL) -D share/man/man1/rpower.1 $(TMPDIR)/usr/share/man/man1/rpower.1
|
||||
$(INSTALL) -D share/man/man1/rscan.1 $(TMPDIR)/usr/share/man/man1/rscan.1
|
||||
$(INSTALL) -D share/man/man1/rvitals.1 $(TMPDIR)/usr/share/man/man1/rvitals.1
|
||||
$(INSTALL) -D share/man/man1/startmon.1 $(TMPDIR)/usr/share/man/man1/startmon.1
|
||||
$(INSTALL) -D share/man/man1/stopmon.1 $(TMPDIR)/usr/share/man/man1/stopmon.1
|
||||
$(INSTALL) -D share/man/man1/unregnotif.1 $(TMPDIR)/usr/share/man/man1/unregnotif.1
|
||||
$(INSTALL) -D share/man/man1/xcat2nim.1 $(TMPDIR)/usr/share/man/man1/xcat2nim.1
|
||||
$(INSTALL) -D share/man/man1/xdsh.1 $(TMPDIR)/usr/share/man/man1/xdsh.1
|
||||
$(INSTALL) -D share/man/man1/xdshbak.1 $(TMPDIR)/usr/share/man/man1/xdshbak.1
|
||||
$(INSTALL) -D share/man/man3/noderange.3 $(TMPDIR)/usr/share/man/man3/noderange.3
|
||||
$(INSTALL) -D share/man/man5/xcatstanzafile.5 $(TMPDIR)/usr/share/man/man5/xcatstanzafile.5
|
||||
$(INSTALL) -D share/man/man8/getmacs.8 $(TMPDIR)/usr/share/man/man8/getmacs.8
|
||||
$(INSTALL) -D LICENSE.html $(TMPDIR)/usr/share/doc/$(PACKAGE)/LICENSE.html
|
||||
$(INSTALL) -D README $(TMPDIR)/usr/share/doc/$(PACKAGE)/README
|
||||
mkdir -p $(TMPDIR)/usr/share/xcat
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/rpower
|
||||
ln -sf $(TMPDIR)/usr/binxcatclient $(TMPDIR)/usr/bin/rscan
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/sbin/makedhcp
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/sbin/makehosts
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/sbin/nodeset
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/sbin/makeconservercf
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/rbeacon
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/rvitals
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/rinv
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/rspreset
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/rsetboot
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/rbootseq
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/reventlog
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/nodels
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/nodech
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/noderm
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/rnetboot
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/getmacs
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/mkvm
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/rmvm
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/lsvm
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclient $(TMPDIR)/usr/bin/chvm
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclientnnr $(TMPDIR)/usr/bin/lsslp
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclientnnr $(TMPDIR)/usr/sbin/tabdump
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclientnnr $(TMPDIR)/usr/sbin/makedns
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclientnnr $(TMPDIR)/usr/bin/gettab
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclientnnr $(TMPDIR)/usr/sbin/nodeadd
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclientnnr $(TMPDIR)/usr/sbin/makenetworks
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclientnnr $(TMPDIR)/usr/sbin/copycds
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclientnnr $(TMPDIR)/usr/bin/regnotif
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclientnnr $(TMPDIR)/usr/bin/unregnotif
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclientnnr $(TMPDIR)/usr/bin/startmon
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclientnnr $(TMPDIR)/usr/bin/stopmon
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatclientnnr $(TMPDIR)/usr/bin/updatemon
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatDBcmds $(TMPDIR)/usr/bin/mkdef
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatDBcmds $(TMPDIR)/usr/bin/chdef
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatDBcmds $(TMPDIR)/usr/bin/lsdef
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatDBcmds $(TMPDIR)/usr/bin/rmdef
|
||||
ln -sf $(TMPDIR)/usr/bin/xcatDBcmds $(TMPDIR)/usr/bin/xcat2nim
|
||||
ln -sf $(TMPDIR)/usr/bin/xdsh $(TMPDIR)/usr/bin/xdcp
|
||||
|
||||
|
||||
binary-indep: build install
|
||||
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installdirs
|
||||
dh_installdocs
|
||||
dh_installchangelogs
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_makeshlibs
|
||||
dh_installdeb
|
||||
dh_perl bin sbin
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
Loading…
Reference in New Issue
Block a user