diff --git a/AIX/Makefile b/AIX/Makefile index 0793406..6b3aeb5 100644 --- a/AIX/Makefile +++ b/AIX/Makefile @@ -10,7 +10,7 @@ WITH_DEBUG = -g OPENSSL = ../openssl CFLAGS = -O $(WITH_DEBUG) -I $(OPENSSL)/include -LDFLAGS = -L$(OPENSSL)/lib +LDFLAGS = -L$(OPENSSL) LDLIBS = -lcrypto MAN = sscep.8 diff --git a/AIX/lpp_template.in b/AIX/lpp_template.in index 7fbdd9b..e8c1957 100644 --- a/AIX/lpp_template.in +++ b/AIX/lpp_template.in @@ -10,8 +10,8 @@ Fileset Include license files in this package: N Requisites: USRLIBLPPFiles - Pre-installation Script: __PACKAGINGDIR__/AIX/sscep.pre-install.sh - Pre-deinstall Script: __PACKAGINGDIR__/AIX/sscep.pre-deinstall.sh + Post-installation Script: __PACKAGINGDIR__/AIX/sscep.post-install.sh + Unconfiguration Script: __PACKAGINGDIR__/AIX/sscep.unconfiguration.sh EOUSRLIBLPPFiles USRFiles /opt/CertNanny diff --git a/AIX/sscep.pre-install.sh b/AIX/sscep.post-install.sh similarity index 52% rename from AIX/sscep.pre-install.sh rename to AIX/sscep.post-install.sh index 94d3563..280ca57 100755 --- a/AIX/sscep.pre-install.sh +++ b/AIX/sscep.post-install.sh @@ -1,4 +1,5 @@ #!/usr/bin/ksh /usr/bin/ln -fs /opt/CertNanny/bin/sscep_static /usr/bin/sscep +/usr/bin/ln -fs /opt/CertNanny/bin/sscep_static /opt/CertNanny/bin/sscep diff --git a/AIX/sscep.pre-deinstall.sh b/AIX/sscep.pre-deinstall.sh deleted file mode 100755 index e72bc8b..0000000 --- a/AIX/sscep.pre-deinstall.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/ksh - -/usr/bin/rm /usr/bin/sscep - diff --git a/AIX/sscep.unconfiguration.sh b/AIX/sscep.unconfiguration.sh new file mode 100755 index 0000000..5ddafdf --- /dev/null +++ b/AIX/sscep.unconfiguration.sh @@ -0,0 +1,5 @@ +#!/usr/bin/ksh + +/usr/bin/rm -f /usr/bin/sscep +/usr/bin/rm -f /opt/CertNanny/bin/sscep + diff --git a/tmp/README.install b/README.install similarity index 100% rename from tmp/README.install rename to README.install diff --git a/Solaris/Prototype b/Solaris/Prototype index 1e7045a..5936497 100644 --- a/Solaris/Prototype +++ b/Solaris/Prototype @@ -8,5 +8,5 @@ s none /opt/CertNanny/bin/sscep=/opt/CertNanny/bin/sscep_static f none /opt/CertNanny/COPYRIGHT.sscep 0644 root root d none /usr ? ? ? d none /usr/bin ? ? ? -s none /usr/bin/sscep=/opt/CertNanny/bin/sscep_static +#s none /usr/bin/sscep=/opt/CertNanny/bin/sscep_static