From aa1c74dcf2df902e727e2bc1727224bc41c9009d Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Tue, 28 May 2024 19:25:49 +0200 Subject: [PATCH] create release tgz's --- build.sh | 88 +++++++++++++++++++ release/B/scripts/eval-perf.pl | 2 +- release/B/scripts/filter_anonftp_unix_bsd | 2 +- .../B/scripts/filter_anonftp_unix_bsd.nowork | 2 +- .../B/scripts/filter_anonftp_unix_bsd.perl | 2 +- release/B/scripts/prospero-stats.pl | 2 +- release/B/scripts/trimplog.pl | 2 +- 7 files changed, 94 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index 8c1d4cb..9e3d818 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,9 @@ #!/usr/tgcware/bin/bash ARCHIE_VER=3.5 +INSTALL=ginstall +OWNER=archie +GROUP=archie WORLD_ROOT=${PWD} ARCHIE_ROOT="${WORLD_ROOT}/archie" @@ -12,8 +15,10 @@ TK_ROOT="${WORLD_ROOT}/tk4.2" SOLOS=$(uname -s) SOLVER=$(uname -r) SYSTYPE="${SOLOS}-${SOLVER}" +SOLMACHINE=$(uname -m) DEST_DIR="${WORLD_ROOT}/dist" +RELEASE_DIR="${WORLD_ROOT}/release" export ARCHIE_ROOT=${ARCHIE_ROOT} export PROSPERO_ROOT=${PROSPERO_ROOT} @@ -134,3 +139,86 @@ make all_depend make all cd ${WORLD_ROOT} +echo "" +echo "====================================================================" +echo " Installing ${PROSPERO_ROOT}" +echo "====================================================================" +echo "" +for i in als archie gen_vfsetup list_acl newvs p__vcd p__vfsetup padmin pfs psession pstatus set_acl set_atr vget vln vls vmkdir vrm; do + ${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${PROSPERO_ROOT}/user/$${i} ${RELEASE_DIR}/B/pfs/bin +done +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${PROSPERO_ROOT}/user/menu/menu ${RELEASE_DIR}/B/pfs/bin +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${PROSPERO_ROOT}/server/dirsrv ${RELEASE_DIR}/B/pfs/bin +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${PROSPERO_ROOT}/server/pstart ${RELEASE_DIR}/B/pfs/bin + +echo "" +echo "====================================================================" +echo " Installing ${ARCHIE_ROOT}" +echo "====================================================================" +echo "" +for i in parse_anonftp parse_anonftp_novell parse_anonftp_unix_bsd parse_anonftp_vms_std ; do + ${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/anonftp/parse/${SYSTYPE}/$${i} ${RELEASE_DIR}/A/bin +done +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/anonftp/retrieve/${SYSTYPE}/retrieve_anonftp ${RELEASE_DIR}/A/bin +for i in check_anonftp delete_anonftp insert_anonftp net_anonftp update_anonftp; do + ${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/anonftp/update/${SYSTYPE}/$${i} ${RELEASE_DIR}/A/bin +done +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/client/email/${SYSTYPE}/email-client ${RELEASE_DIR}/A/bin +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/client/mail_back_end/${SYSTYPE}/split_file ${RELEASE_DIR}/A/bin +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/client/telnet/${SYSTYPE}/telnet-client ${RELEASE_DIR}/A/bin +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/control/${SYSTYPE}/arcontrol ${RELEASE_DIR}/A/bin +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/exchange/${SYSTYPE}/arserver ${RELEASE_DIR}/A/bin +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/less/${SYSTYPE}/less ${RELEASE_DIR}/A/bin +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/ppc/ferretd/${SYSTYPE}/ferretd ${RELEASE_DIR}/A/bin +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/ppc/weaseld/${SYSTYPE}/weaseld ${RELEASE_DIR}/A/bin +for i in ardomains convert_hostdb db_build db_check db_dump db_reorder db_siteidx db_stats dump_hostdb dump_hostdb_ndbm fix_start_db host_manage restore_hostdb; do + ${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/tools/${SYSTYPE}/$${i} ${RELEASE_DIR}/A/bin +done +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/parse/${SYSTYPE}/parse_webindex ${RELEASE_DIR}/A/bin +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/partial/${SYSTYPE}/partial_webindex ${RELEASE_DIR}/A/bin +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/retrieve/${SYSTYPE}/retrieve_webindex ${RELEASE_DIR}/A/bin +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/retrieve/${SYSTYPE}/retrieve_webindex ${RELEASE_DIR}/A/bin +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/tools/${SYSTYPE}/extern_urls ${RELEASE_DIR}/A/bin +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/tools/${SYSTYPE}/extern_urls_ndbm ${RELEASE_DIR}/A/bin +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/tools/${SYSTYPE}/extern_urls_ndbm ${RELEASE_DIR}/A/bin +for i in check_webindex delete_webindex insert_webindex net_webindex; do + ${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/update/${SYSTYPE}/$${i} ${RELEASE_DIR}/A/bin +done +${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/clients/cgi/${SYSTYPE}/cgi-client ${RELEASE_DIR}/base/cgi/bin + +echo "" +echo "====================================================================" +echo " Creating archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-A.tgz" +echo "====================================================================" +echo "" +cd ${RELEASE_DIR}/A +tar cfvz ${RELEASE_DIR}/archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-A.tgz . +cd ${WORLD_ROOT} + +echo "" +echo "====================================================================" +echo " Creating archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-A.tgz" +echo "====================================================================" +echo "" +cd ${RELEASE_DIR}/B +tar cfvz ${RELEASE_DIR}/archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-B.tgz . +cd ${WORLD_ROOT} + +echo "" +echo "====================================================================" +echo " Creating archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-base.tgz" +echo "====================================================================" +echo "" +cd ${RELEASE_DIR}/base +tar cfvz ${RELEASE_DIR}/archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-base.tgz . +cd ${WORLD_ROOT} + + + + + + + + + + diff --git a/release/B/scripts/eval-perf.pl b/release/B/scripts/eval-perf.pl index ac1ae01..8290cc8 100755 --- a/release/B/scripts/eval-perf.pl +++ b/release/B/scripts/eval-perf.pl @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/tgcware/bin/perl # # evaluate the ~archie/pfs/pfs.log file (from standard input). # diff --git a/release/B/scripts/filter_anonftp_unix_bsd b/release/B/scripts/filter_anonftp_unix_bsd index b4c8afd..b53e1f9 100755 --- a/release/B/scripts/filter_anonftp_unix_bsd +++ b/release/B/scripts/filter_anonftp_unix_bsd @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/tgcware/bin/perl # # $Id: filter_anonftp_unix_bsd,v 1.1 1995/01/11 08:03:50 lucb Exp $ # diff --git a/release/B/scripts/filter_anonftp_unix_bsd.nowork b/release/B/scripts/filter_anonftp_unix_bsd.nowork index c8611ae..92cc072 100755 --- a/release/B/scripts/filter_anonftp_unix_bsd.nowork +++ b/release/B/scripts/filter_anonftp_unix_bsd.nowork @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/tgcware/bin/perl # Used with permission by Bunyip Information Systems # # This program filters raw ls listings files to produce a file that archie diff --git a/release/B/scripts/filter_anonftp_unix_bsd.perl b/release/B/scripts/filter_anonftp_unix_bsd.perl index 1ad53e0..59b6c39 100755 --- a/release/B/scripts/filter_anonftp_unix_bsd.perl +++ b/release/B/scripts/filter_anonftp_unix_bsd.perl @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/tgcware/bin/perl # # $Id: filter_anonftp_unix_bsd,v 1.1 1995/01/11 08:03:50 lucb Exp $ # diff --git a/release/B/scripts/prospero-stats.pl b/release/B/scripts/prospero-stats.pl index d295b87..449e0cf 100755 --- a/release/B/scripts/prospero-stats.pl +++ b/release/B/scripts/prospero-stats.pl @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/tgcware/bin/perl # -*- perl -*- # # Archie-stats.pl - gather Archie statistics and print them out. diff --git a/release/B/scripts/trimplog.pl b/release/B/scripts/trimplog.pl index b663430..51366b6 100755 --- a/release/B/scripts/trimplog.pl +++ b/release/B/scripts/trimplog.pl @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/tgcware/bin/perl # -*- perl -*- # # trimplog.pl - perl script to trim log files.