# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/gnupg/gnupg.conf # Copyright (C) 2004 - 2023 The T2 SDE Project # Copyright (C) 1998 - 2003 ROCK Linux Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- pm_main() { if [[ $xsrctar = *gnupg* ]]; then chmod +s $root$bindir/gpg # Insecure mem waring install doc/gpg.1 $root$mandir/man1/ else ln -svf pgpgpg $root$bindir/pgp cp -v ../pgpgpg-*/README $root$docdir/pgpgpg.txt fi } gnupg_checkpatch() { if [[ ${xsrctar} != *gnupg* ]]; then unset patchfiles fi } hook_add postmake 5 "pm_main" hook_add prepatch 9 "gnupg_checkpatch" if pkginstalled openldap; then pkgprefix -t openldap var_append configprefix " " 'CFLAGS="-I$(pkgprefix includedir openldap)"' var_append configprefix " " 'LDFLAGS="-L$(pkgprefix libdir openldap)"' fi [ $arch = powerpc64 ] && var_append confopt ' ' --disable-asm