[Lsb-messages] /var/www/bzr/lsb/devel/lsbappchk-sh r24: package did not get upgraded for 5.0, this should take care of most of it

Mats Wichmann mats at linuxfoundation.org
Thu Sep 15 20:53:21 UTC 2016


------------------------------------------------------------
revno: 24
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: lsbappchk-sh
timestamp: Thu 2016-09-15 14:53:21 -0600
message:
  package did not get upgraded for 5.0, this should take care of most of it
added:
  share/appchk/sh-cmdlist-5.0
modified:
  Makefile
  bin/lsbappchk-sh.pl
  scripts/package/Makefile
  scripts/package/lsb-appchk-shell.spec.sed
-------------- next part --------------
=== modified file 'Makefile'
--- a/Makefile	2011-01-12 17:39:31 +0000
+++ b/Makefile	2016-09-15 20:53:21 +0000
@@ -24,7 +24,7 @@
 		export LSBUSER=$(DEFAULT_MYSQL_USER) LSBDBPASSWD=$(DEFAULT_MYSQL_PWD) \
 		LSBDB=$(DEFAULT_MYSQL_DB) LSBDBHOST=$(DEFAULT_MYSQL_HOST) ; \
 	fi ; \
-	for lsbver in "3.0" "3.1" "3.2" "4.0" "4.1"; do \
+	for lsbver in "3.0" "3.1" "3.2" "4.0" "4.1" "5.0"; do \
 		$(MKCMDLIST) -v $$lsbver -o $(CMDLIST_DIR)$(CMDLIST_PREF)$$lsbver || exit 1; \
 	done
 

=== modified file 'bin/lsbappchk-sh.pl'
--- a/bin/lsbappchk-sh.pl	2012-03-19 16:40:53 +0000
+++ b/bin/lsbappchk-sh.pl	2016-09-15 20:53:21 +0000
@@ -27,7 +27,7 @@
 
 my $input_files = {}; # $input_files->{$file}->{FILENAME, TYPE, JOURNAL};
 my @file_order = ();
-my $cmdlist_file = $FindBin::Bin."/../share/appchk/sh-cmdlist-4.1";
+my $cmdlist_file = $FindBin::Bin."/../share/appchk/sh-cmdlist-5.0";
 my $lsb_ver;
 
 #-----------------------------------------------------------------------
@@ -89,7 +89,7 @@
 }
 
 if ( !defined $lsb_ver ) {
-	$lsb_ver = '4.1';
+	$lsb_ver = '5.0';
 }
 
 sub print_help {

=== modified file 'scripts/package/Makefile'
--- a/scripts/package/Makefile	2014-09-26 15:21:00 +0000
+++ b/scripts/package/Makefile	2016-09-15 20:53:21 +0000
@@ -1,11 +1,14 @@
 # values used to make .spec from .spec.sed
 PACKAGE=lsb-appchk-shell
-VERSION=5.0.0
+VERSION=5.0.1
 BUILDNO=1
+# default version we will test against - change as needed
+LSBVERSION=5.0
+
+# perl module/command needed to generate the checker code
 EYAPP_VER=1.181
 EYAPP_URL=http://search.cpan.org/CPAN/authors/id/C/CA/CASIANO/
 
-#
 # Derive date string for daily snapshots
 ISO_DATE=$(shell date +"%Y%m%d")
 PWD=$(shell pwd)

=== modified file 'scripts/package/lsb-appchk-shell.spec.sed'
--- a/scripts/package/lsb-appchk-shell.spec.sed	2012-02-17 20:28:25 +0000
+++ b/scripts/package/lsb-appchk-shell.spec.sed	2016-09-15 20:53:21 +0000
@@ -34,13 +34,17 @@
 make install
 cd ..
 # now the checker
-export PERL5LIB=perl-local/lib/perl5/site_perl/
+#export PERL5LIB=perl-local/lib/perl5/site_perl/
+# now generating to different place, may have to add some
+# logic to try to detect the location
+export PERL5LIB=./perl-local/share/perl5
 # for some reason, some perl installs put the binary in "local"
 if [ -d "./perl-local/local" ];then
   export PATH=$PATH:$(pwd)/perl-local/local/bin
 else
   export PATH=$PATH:$(pwd)/perl-local/bin
 fi
+
 make
 
 #==================================================

=== added file 'share/appchk/sh-cmdlist-5.0'
--- a/share/appchk/sh-cmdlist-5.0	1970-01-01 00:00:00 +0000
+++ b/share/appchk/sh-cmdlist-5.0	2016-09-15 20:53:21 +0000
@@ -0,0 +1,170 @@
+# Generated file
+# List of LSB 5.0 commands for lsbappchk-sh
+[
+alias
+ar
+at
+awk
+basename
+batch
+bc
+bg
+cat
+cd
+chfn
+chgrp
+chmod
+chown
+chsh
+cksum
+cmp
+col
+comm
+command
+cp
+cpio
+crontab
+csplit
+cut
+date
+dd
+df
+diff
+dirname
+dmesg
+du
+echo
+ed
+egrep
+env
+expand
+expr
+false
+fc
+fc-cache
+fc-list
+fc-match
+fg
+fgrep
+file
+find
+fold
+foomatic-rip
+fuser
+gencat
+getconf
+getopts
+gettext
+grep
+groupadd
+groupdel
+groupmod
+groups
+gs
+gunzip
+gzip
+hash
+head
+hostname
+iconv
+id
+infocmp
+install
+install_initd
+ipcrm
+ipcs
+jobs
+join
+kill
+killall
+ln
+locale
+localedef
+logger
+logname
+lp
+lpr
+ls
+lsb_release
+m4
+mailx
+make
+man
+md5sum
+mkdir
+mkfifo
+mknod
+mktemp
+more
+mount
+msgfmt
+mv
+newgrp
+nice
+nl
+nohup
+od
+passwd
+paste
+patch
+pathchk
+pax
+perl
+pidof
+pr
+printf
+ps
+pwd
+python
+read
+remove_initd
+renice
+rm
+rmdir
+sed
+sendmail
+seq
+sh
+shutdown
+sleep
+sort
+split
+strings
+strip
+stty
+su
+sync
+tail
+tar
+tee
+test
+tic
+time
+touch
+tput
+tr
+true
+tsort
+tty
+type
+ulimit
+umask
+umount
+unalias
+uname
+unexpand
+uniq
+useradd
+userdel
+usermod
+wait
+wc
+xargs
+xdg-desktop-icon
+xdg-desktop-menu
+xdg-email
+xdg-icon-resource
+xdg-mime
+xdg-open
+xdg-screensaver
+zcat



More information about the lsb-messages mailing list