Skip to content

Commit

Permalink
Merge pull request #33 from aleibl/develop
Browse files Browse the repository at this point in the history
Enhancements to AIX package build
  • Loading branch information
rad1us committed Apr 29, 2014
2 parents 563e1a9 + d03a266 commit 1995e38
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AIX/lpp_template.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Package Name: CertNanny
Package Name: CertNanny.sscep
Package VRMF: VERSIONINFO
Update: N
Fileset
Expand All @@ -23,5 +23,6 @@ Fileset
ROOT Part: N
ROOTFiles
EOROOTFiles
OVERRIDE_INVENTORY: /tmp/override_inventory
EOFileset

4 changes: 4 additions & 0 deletions AIX/make_AIX_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ cp sscep_static opt/CertNanny/bin
cp sscep_dyn opt/CertNanny/bin
cp AIX/sscep.pre-install.sh opt/CertNanny/inst
cp AIX/sscep.pre-deinstall.sh opt/CertNanny/inst
# compute the version number (VRML)
version=$(head -n 1 VERSION)
version="$version.0"
# provide the override inventory file to file ownership and permissions
cp AIX/override_inventory /tmp
# create the template and building the package
sed "s/VERSIONINFO/$version/" < AIX/lpp_template.in | sed "s#__PACKAGINGDIR__#$PWD#" > AIX/lpp_template
mkinstallp -d . -T AIX/lpp_template

46 changes: 46 additions & 0 deletions AIX/override_inventory
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/opt/CertNanny:
owner = root
group = system
mode = 755
type =
class =
size =
checksum =

/opt/CertNanny/COPYRIGHT.sscep:
owner = root
group = system
mode = 644
type =
class =
size =
checksum =

/opt/CertNanny/bin:
owner = root
group = system
mode = 755
type =
class =
size =
checksum =

/opt/CertNanny/bin/sscep_static:
owner = root
group = system
mode = 755
type =
class =
size =
checksum =

/opt/CertNanny/bin/sscep_dyn:
owner = root
group = system
mode = 755
type =
class =
size =
checksum =


0 comments on commit 1995e38

Please sign in to comment.