- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: packaging a software
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 07:58 PM
11-19-2003 07:58 PM
I am very new to packaging of software.
Can anything tell how a packaging of software is done using epm Tool
I want a detail procedure and also which files are put inside the packaging depot or file
IF knows about RPM packaging or swpackage also will help
I want to know how to package a software.
I want detail procedure.
cheers
dsilva
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:04 PM
11-19-2003 08:04 PM
Re: packaging a software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:17 PM
11-19-2003 08:17 PM
Re: packaging a software
I tried the given link but i was unable to create a depot using swpackage.
Did u created any software package using swpackage.
IF so ,can u tell how to go about in create a software package for a tcl software
I am finding It stuff. Here i don't know which files to include inside the package
any suggestion
cheers !!!!!
dsilva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:28 PM
11-19-2003 08:28 PM
SolutionYes i did create multiple packages.
first you need to create an psf file ( product specification file)
eg.
# File: psf
#
# Description: Patch 02 voor DWP
#
# Name Date Description
#
# Henk Jansen 16 oktober 2001 Correctie op organisatie-eenheid 1192
#
# ---------------- Begin of PSF file --------------------- #
product
# Algemene gegevens:
tag
title ""
description ""
revision
category
architecture Series_700/800_HP-UX_11.xx
machine_type 9000/[78]*
os_name HP-UX
os_release ?.11.*
os_version [A-Z]
os_release ?.11.*
os_version [A-Z]
directory /apps/
checkinstall scripts/checkinstall.ksh
postinstall scripts/postinstall.ksh
# Fileset definitions:
fileset
tag
title ""
revision 1.0
description ""
# Files voor install
directory path=/path
file_permissions -m 755 -o user-g group
file *
end #
#---------------- End of PSF file --------------------- #"
Now you can create scripts like postinstall en checkinstall, configure preinstall ( you can create multiple)
And put the source in path.
Hope this will help a bit,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:34 PM
11-19-2003 08:34 PM
Re: packaging a software
I tried to create a software package for make depot i have written psf file like this
#
# Vendor Definition
#
vendor
tag HP
title GNU make utility to maintain groups of program
description The company that does stuff
end
#
# Product Definition
#
product
tag namethatappearsinswinstall
title Mycompany's cool software
revision 2.3
description <./description
copyright <./copyright
architecture 9000/800_HPUX_11.0
machine_type 9000/800
os_name HP-UX
os_release B.11.00
os_name HP-UX
os_release B.11.00
os_version B.11.0 U
directory /
#
# Fileset Definitions
#
fileset
#dependencies
tag fileset1
title GNU make utility Fileset
revision 3.8
prerequisites othersw,r=1.0
corequisites othersw,r=1.0
directory ./ = /home/sixto/make-3.80/
configure configure
#preremove mcspreremove.ksh
directory ./ = /opt/mcs/bin
file -m 0755 -o mcsuser -g bin mcsbin1
file -m 0755 -o mcsuser -g bin mcsbin2
file -m 0755 -o mcsuser -g bin mcsbin1
file -m 0755 -o mcsuser -g bin mcsbin2
end
# End of PSF
But the problem here is i don't know which file to inside and which file not to include
I have tar file of make as make-3.80-sd-11.20.depot
using this file i want to create a software package using swpackage but the problem is dont know which file to inside
that
FILE * is giving me the problem,
with regards
sixto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:41 PM
11-19-2003 08:41 PM
Re: packaging a software
If you put the tar in a subdir, and change
directory / to /subdir
and
directory ./subdir = /opt/mcs/bin
Does this help?
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:42 PM
11-19-2003 08:42 PM
Re: packaging a software
can you tell which file i have to include inside the package , once i get the depot tar file to create software package
what that file * will do man.
cheers
sixto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:45 PM
11-19-2003 08:45 PM
Re: packaging a software
Can you write psf file a make.
I will cross check it
cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:48 PM
11-19-2003 08:48 PM
Re: packaging a software
Can you write a PSF for a make depot
i will cross check it.
cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:51 PM
11-19-2003 08:51 PM
Re: packaging a software
Sorrie, but make-3.80-sd-11.20.depot is an depot. so it is packaged. If you register it you can install the software..
swreg -l depot PATH/make-3.80-sd-11.20.depot
Now you can use swinstall to install the software.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:56 PM
11-19-2003 08:56 PM
Re: packaging a software
But i won't take a depot file but
make-3.80-ss-11.00.tar
using the above file i will try to make a depot file using swpackage
Here i am struck,
I don't know which file in tar file show be included to make a package depot
what i will do is will untar the make-3.80-ss-11.00.tar
then i don't which files i should include
any suggestion
cheers!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:59 PM
11-19-2003 08:59 PM
Re: packaging a software
Just put the tar file in the subdir. You have to adjust the configure script to untar the tar on the source and remove the original.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 09:06 PM
11-19-2003 09:06 PM
Re: packaging a software
I did get what this directories will do
directory /apps/
directory path=/path
i am very new to this package environment
Can tell what that
file * will do
whether it will include all the file from the
untared directory inside the depot
can u send me a sample of psf files which you have created so that i will have look at it, if it not confidential.
cheers
dsilva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 09:17 PM
11-19-2003 09:17 PM
Re: packaging a software
file command gives the type of the binary you are working with. man file for more details.
You include the files you deem to be necessary for a depot. Put them in a dir. Create a psf file as per the above details.
Can you tell what are the problems exactly?
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 09:26 PM
11-19-2003 09:26 PM
Re: packaging a software
sourcepath = targetpath
file *
file * specifies all files in sourcepath.
In your case this includes the psf file, etc.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 09:30 PM
11-19-2003 09:30 PM
Re: packaging a software
I have tar file for make as make-3.80-ss-11.00.tar
then i will write psf file like this
# Name Date Description
#
# Henk Jansen 16 oktober 2001 Correctie op organisatie-eenheid 1192
#
# ---------------- Begin of PSF file --------------------- #
product
# Algemene gegevens:
tag -> product name like i will give make
title "" -> i don't what title can give make
description "" -> product description
revision 2.0
category i don't what to write
architecture Series_700/800_HP-UX_11.00
machine_type 9000/[78]*
os_name HP-UX
os_release ?.11.*
os_version [A-Z]
os_release ?.11.*
os_version [A-Z]
os_version [A-Z]
directory /apps/ -> can u tell what is this directory
checkinstall scripts/checkinstall.ksh
postinstall scripts/postinstall.ksh
# Fileset definitions:
fileset
tag
title ""
revision 1.0
description ""
# Files voor install
directory ./=/pathdsilva -> what this will do
file_permissions -m 755 -o root -g root
file *
end #
#---------------- End of PSF file --------------------- #"
I have my untar make file as make-3.80
can you tell what this will do
# Files voor install
directory ./=/pathdsilva -> what this will do
file_permissions -m 755 -o root -g root
file *
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 12:41 AM
11-20-2003 12:41 AM
Re: packaging a software
Thanks for information
I was able to create the depot.
But the problem is i was unable to find out where my executable will get stored
for example i will create the depot for make then i don't where executable like make is installed
cheers
sixto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 12:54 AM
11-20-2003 12:54 AM
Re: packaging a software
directory ./=/pathdsilva
make and other gnu stuff will get installed under /usr/local.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 01:04 AM
11-20-2003 01:04 AM
Re: packaging a software
http://www.software.hp.com/products/SD_AT_HP/docs/cookbook.html
Check Appendix 1, 2 and 3 for the example psf files.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 02:25 AM
11-20-2003 02:25 AM
Re: packaging a software
whether that packaging software should have all the source or not please specify which files to be included in the package
when i have created the depot i have include all the file present the make tar .
even the source file.
now i came to known that i should include only bin and man files inside the package
with regards
Dsilva