genchanges=""
build_source=""
+jce_archive=""
### check for run in fakeroot
--full-name NAME full name used in the maintainer field of the package
--email EMAIL email address used in the maintainer field of the package
+ --distribution DIST Define the distribution to use in the changelog
+ --priority PRIORITY Override default package priority
--changes create a .changes file
--revision add debian revision
--source build a source package instead of a binary deb package
--with-system-certs integrate with the system's keystore
+ --jce-policy FILE Replace cryptography files with versions from FILE
--help display this help and exit
--version output version information and exit
elif [[ "x$1" == x--help ]]; then
print_usage
exit 0
+ elif [[ "x$1" == x--jce-policy ]]; then
+ [ $# -le 1 ] && missing_argument "$1"
+ shift
+ jce_archive="$1"
elif [[ "x$1" == x--full-name ]]; then
[ $# -le 1 ] && missing_argument "$1"
shift
[ $# -le 1 ] && missing_argument "$1"
shift
maintainer_email="$1"
+ elif [[ "x$1" == x--distribution ]]; then
+ [ $# -le 1 ] && missing_argument "$1"
+ shift
+ distribution="$1"
+ elif [[ "x$1" == x--priority ]]; then
+ [ $# -le 1 ] && missing_argument "$1"
+ shift
+ priority_override="$1"
elif [[ "x$1" == x--revision ]]; then
[ $# -le 1 ] && missing_argument "$1"
shift
archive_dir="$( cd "$( dirname "$archive" )" ; pwd )"
archive_path="$archive_dir/$archive_name"
+jce_name="$( basename "$jce_archive" )"
+jce_dir="$( cd "$( dirname "$jce_archive" )" ; pwd )"
+jce_path="$jce_dir/$jce_name"
# error handling