# changelog

author: Dave Dykstra <dwd@fnal.gov> - 2.2.2-1
changelog:
  - Make itb checks consistent
  - Don't replicate cern.ch whitelists because they are not signed by 
    OSG; they are grandfathered.


author: Dave Dykstra <dwd@fnal.gov> - 2.2.4-1
changelog:
  - Add continue option to add_osg_repository
  - Add support for directory of pub keys to add_osg_repository


author: Marian Zvada <marian.zvada@cern.ch> - 2.2.5-1
changelog:
  - Deny .cvmfs_master_replica on the primary service (OO-222)
  - Rationalize the my.opensciencegrid.org URLs (OO-223)


author: Dave Dykstra <dwd@fnal.gov> - 2.2.8-1
changelog:
  - Update cron to run do_du daily (OO-267)
  - Update cron to do snapshots 4 times per minute and to send log output
    to a separate file in /var/log/cvmfs for each repository (OO-266)


author: Marian Zvada <marian.zvada@cern.ch> - 2.2.9-1
changelog:
  - Remove references to cvmfs-snapshot in {add|remove}_osg_repository
  - Add test to compare current github source with config-osg repo 
    to copy_config_osg (OO-236) 
  - Add functionality to copy_config_osg that assists with submitting 
    a PR for changes to the config-osg repo on the -itb host


author: Matyas Selmeci <matyas@cs.wisc.edu> 1.4.0-3
changelog:
  - Set package to be noarch
  - sign.py moved to /usr/lib/koji-hub-plugins to match what the package koji-hub-plugins is doing


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.4.0-9
changelog:
  - Patch to add gpg_digest_algo option (SOFTWARE-5425)
  - Patches to improve error detection (SOFTWARE-5410)
  - Patch for Python 3 compat


author: Edita Kizinevic <edita.kizinevic@cern.ch> 6.9-4.4
changelog:
  - Enable IPv6 transport by requiring perl-Socket6 and perl-IO-Socket-INET6
    packages.
  - Add timestamp in the log when the awstats client is finished running.
  - Remove a DNS cache file.


author: Edita Kizinevic <edita.kizinevic@cern.ch> 6.9-5.1
changelog:
  - Change permissions for frontier-awstats data files.
    SaveDatabaseFilesWithPermissionsForEveryone is set to 0 instead of 1.


author: Edita Kizinevic <edita.kizinevic@cern.ch> 6.9-5.2
changelog:
  - Add source frontier-awstats.cron.
  - Add source frontier-awstats.logrotate.
  - Remove frontier-squid requirement.
  - Make changes to run_awstats.sh in order to include httpd access log.


author: Dave Dykstra <dwd@fnal.gov> 6.9-5.3
changelog:
  - Fix the shortening of URLs with syslog logs.
  - Remove %config on /etc/awstats so any edits will be overwritten.


author: Edita Kizinevic <edita.kizinevic@cern.ch> 7.7-1.1
changelog:
  - Upgrade to awstats-7.7
  - Download awstats from official page.
  - Add patch files. wwwroot/cgi-bin/awdownloadcsv.pl and
    wwwroot/cgi-bin/awredir.pl files are removed, wwwroot/cgi-bin
    directory is renamed to awstats. Other directories are removed.


author: Dave Dykstra <dwd@fnal.gov> 7.7-1.2
changelog:
  - Make failure to find httpd alias in mapping file to be non-fatal, because
    that is the normal case on stratum 1s using a frontier-squid frontend.


author: Edita Kizinevic <edita.kizinevic@cern.ch> 7.7-2
changelog:
  - Increase number of records to save in DNS last update cache file from 500
    to 10000.
  - Clear DNS last update cache file once per day.
  - Change run_awstats.sh rsync options from the rsync -av to rsync -rlptv.
  - Process the new data of squid log instead of the whole squid log.
  - Add source collect_pages_data.py. It counts for all combinations of IP
    addresses and the 2 path components.
  - Add Python 3 requirement.
  - Remove 0 from ValidHTTPCodes.


author: Carl Edquist <edquist@cs.wisc.edu> - 1.0.3-1
changelog:
  - Add systemd service/timer and locking to cron job (SOFTWARE-3234)
  - Only run service hourly (SOFTWARE-3238)


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.13.0.1-1
changelog:
  - Prevent building into condor repo from osg branches and vice versa (SOFTWARE-3176)
  - Pre-create CA bundle and add InCommon and Let's Encrypt CA certs to it (SOFTWARE-3092)


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.14.1-1
changelog:
  - Add osg-promote support for rolling release repositories and route aliases
    that refer to a list of routes (e.g. 3.4-rfr promotes to 3.4-prerelease _and_
    3.4-rolling) (SOFTWARE-3465)


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.14.2-1
changelog:
  - Warn on missing sha1sum (SOFTWARE-3619)
  - Have osg-import-srpm add sha1sums to created .source files (SOFTWARE-3593)
  - Add --since option to koji-blame


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.15.0-1
changelog:
  - Make missing sha1sums an error (SOFTWARE-3787)
  - Use koji.opensciencegrid.org (SOFTWARE-3624)
  - Add support for OSG 3.5


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.15.1-1
changelog:
  - Fix mock version detection
  - Require mock < 2.0 to avoid build errors related to (attempted) use of DNF.


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.15.1-3
changelog:
  - Various RHEL 8 compat fixes; most notably, use platform-python since we can't
    depend on any version of Python to be installed except as a module and can't
    bring in modular dependencies.


author: Dave Dykstra <dwd@fnal.gov> - 1.5-1
changelog:
  - Add check for garbage collections that haven't been run in a long time
  - Add 'limit' option in api.conf to change the default warning and critical
    times for each test
  - Check api.conf once every minute and re-read it if it has changed
  - Update to modern wsgi configuration
  - Use systemctl commands to reload apache on el7


author: Dave Dykstra <dwd@fnal.gov> - 1.6-1
changelog:
  - Fix bug causing an Internal Server Error when .cvmfs_status.json
    (and .cvmfs_last_snapshot on a stratum 1) is missing.


author: Dave Dykstra <dwd@fnal.gov> - 1.8-1
changelog:
  - Remove reference to an obsolete variable name in the error message about
    an empty snapshot file.


author: Dave Dykstra <dwd@fnal.gov> - 1.11-1
changelog:
  - Add check for long-running initial snapshots.  Multiply the number of
    hours by 9, so by default warnings come in 3 days and critical errors
    in 9 days.  If there's no .cvmfs_is_snapshotting, it is a permanent
    warning.


author: Dave Dykstra <dwd@fnal.gov> - 1.12-1
changelog:
  - Work around bug in cvmfs_server prior to 2.7.3 that caused the 
    last_snapshot status to be deleted when last_gc was updated.


author: Brian Lin <blin@cs.wisc.ed> 1.22.0-1
changelog:
  - Fix UnboundLocalError when sending unsigned messages (SOFTWARE-4538)
  - Replace opensciencegridrid references with osg-htc in osg-notify (SOFTWARE-5305)


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.2.0-1
changelog:
  - Name the CentOS Stream 8 image centos_stream_8 instead of centos_8_stream
  - Add Rocky Linux 8.4
  - Use default file system type in CentOS 8 images instead of forcing ext4


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.4.0-1
changelog:
  - Improve logging
  - ISO updates (SOFTWARE-4913):
      - SL 7.9
      - CentOS 7.9
      - CentOS Stream 8 2021-07-28
      - Rocky 8.5


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.4.1-1
changelog:
  - Remove deprecated "install" command from EL 8 kickstart files (SOFTWARE-4906)
  - Fix image creation failure in CentOS Stream 8 and Rocky 8 due to not partitioning the disk (SOFTWARE-4913)


author: David Front <dfront@gmail.com> 6.0-16
changelog:
  - At upgrade, remove no-more-needed directory/file/lines:
    -- logs dir: ${RPM_INSTALL_PREFIX}/var/log/fontier-awstats
    -- file: ${RPM_INSTALL_PREFIX}/usr/share/awstats/squid_rotate_run_awstats.sh
    -- awstats crontab entries
  - Rename /etc/awstats/squid_rotate_run_awstats.sh to /etc/awstats/run_awstats.sh
  - Simplify run_awstats.sh: No need to set LogFile at awstats configuration
    file, because this is over ridden by an argument to awstats.pl
  - Cause run_awstats.sh to be more robust:
    If configuration creation fails, exit, and do not overwrite previous
    configuration.


author: David Front <dfront@gmail.com> 6.0-17
changelog:
  - A small technical change at the spec file to support source rpms for
    frontier rpms 
  - Use symbolic link to unproto.sh to simplify source tar ball creation


author: Dave Dykstra <dwd@fnal.gov> 6.9-1.1
changelog:
  - Change release numbers to be based on the underlying awstats
    package release number from the internet.
  - Add chkthread data collection to be able to plot frontier
    servlet threads, response time, and database response times, if
    the frontier tomcat log exists.  This has little to do with
    awstats except that it is needed on the same machines (frontier
    launchpads) and uses the same mechanism for uploading data
    (rsync to frontier.cern.ch).  This data is collected every 5
    minutes instead of the once an hour collection of awstats.
  - Keep track of previously downloaded node name alias and 
    site+project name, in /etc/awstats/awstatsconf.  Then if the
    download (from frontier.cern.ch) fails, re-use the previous
    values.  The chkthread data collection then uses the same file
    so it doesn't need to know how to do the download.
  - Keep the awstats config template in /etc/awstats/awstats.model.conf
    instead of /etc/awstats/awstats.conf so people don't think it is
    an actively used configuration.
  - Keep the first two components of URLs from the squid log instead
    of just the first one; that causes no harm for Frontier (the second
    URL component is always "Frontier") and is helpful for CVMFS.
  - Change directory of support files from /usr/share/awstats to
    /usr/share/frontier-awstats.
  - Remove support for /etc/awstats/customize.sh


author: Dave Dykstra <dwd@fnal.gov> 6.9-1.2
changelog:
  - Remove requirement that /etc/awstats/password-file exists before
    rpm installation.  Create it at install time as an empty file if
    it doesn't exist.
  - Do not install the chkthread cron entries if frontier-tomcat is
    not installed.


author: Dave Dykstra <dwd@fnal.gov> 6.9-3.1
changelog:
  - Update to 6.9-3 tarball which only removes a couple of unused files
  - Remove chkthread monitor generation from this rpm (it is moved to
    frontier-maxthreads rpm)
  - Change awstats monitoring host to be wlcg-squid-monitor.cern.ch
    instead of frontier.cern.ch
  - Remove generation of squidmodifiedqueries, which was a squid log subset
  - Remove relocatability of rpm to simplify it
  - Fully clean up files in /var/lib/frontier-awstats on final uninstall
  - Move release notes into %changelog instead of separate file


author: Dave Dykstra <dwd@fnal.gov> 6.9-3.2
changelog:
  - Keep separate configuration and data directories when frontier-squid is
    configured to run multiple squids, to separately keep statistics on
    each of the squids.


author: Dave Dykstra <dwd@fnal.gov> 6.9-3.3
changelog:
  - Move a temporary file from /tmp to the same directory as the input log
    in case /tmp is too small.


author: Dave Dykstra <dwd@fnal.gov> 6.9-4.3
changelog:
  - Clean out existing /etc/awstats/awstatsconf if any, during post install.
    This was added because at some point a mistake in the mapping file
    caused extra lines to be added to awstatsconf which were causing
    non-fatal error messages.
  - Take only the first match of a node from the mapping file when generating
    awstatsconf.


author: Dave Dykstra <dwd@fnal.gov> - 1.1-1
changelog:
  - Apply addcmd and remcmd sequentially, so different values can be used
    by different repositories.


author: Dave Dykstra <dwd@fnal.gov> - 1.4-1
changelog:
  - Fix typo in key storage that caused all key files to be called 'outfile'
    in current working directory
  - Add manage-replicas -k/--only-download-keys option


author: Dave Dykstra <dwd@fnal.gov> 7.7-6
changelog:
  - Remove precheck for the $FRONTIER_USER account because it is not
    required for apache-only awstats.


author: Edita Kizinevic <edita.kizinevic@cern.ch> 7.7-8
changelog:
  - Append lines to the end of awstatscron.log instead of overwriting the
    file.
  - Make run_awstats.sh more efficient at looking up host names.


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.11.0-1.4
changelog:
  - Add db-upgrade-1.10-to-1.11.patch to fix a failing constraint in DB upgrade
    script from 1.10 to 1.11


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.11.0-1.5
changelog:
  - Require python-requests-2.6.0 (fixes "call 8 (rawUpload) failed: syntax error: line 1, column 49" error in kojid)


author: Dave Dykstra <dwd@fnal.gov> - 1.2-1
changelog:
  - Prevent empty .cvmfs_last_snapshot files (which can happen when a disk
    fills up) from causing a crash and stack trace.


author: Dave Dykstra <dwd@fnal.gov> - 1.3-1
changelog:
  - Convert unicode repository name to string. It was causing the
    "format=list" output to crash on el6.


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.16.1-1
changelog:
  - Drop server CA bundle and use the OS CA bundle instead (SOFTWARE-4099)
  - Drop mock version constraint; EL7 now has mock 2.2.


author: Dave Dykstra <dwd@fnal.gov> - 2.2.10-1
changelog:
  - Add share/make_stashservers_list and all it daily in the cron on
      zero that resigns whitelists.


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.12.2-1
changelog:
  - Fix osg-build --version
    Release notes at https://github.com/opensciencegrid/osg-build/releases/tag/v1.12.2


author: Dave Dykstra <dwd@fnal.gov> - 3.2-1
changelog:
  - Remove third version digit
  - Require specific versions of cvmfs and frontier-squid packages from osg
  - Eliminate warning from find during publish on stratum 0
  - Make remove_osg_repository work on stratum 0 or stratum 1
  - Reverse the order of copy_config_osg when running as unprivileged user
    on oasis-itb, so it copies to test config repo from user workspace
    instead of vice versa.


author: Dave Dykstra <dwd@fnal.gov> - 3.4-1
changelog:
  - Change gc and du crons to skip Saturday night/Sunday morning so as not
    to interfere with monthly zfs scrub
  - Update to frontier-squid 4.15


author: Dave Dykstra <dwd@fnal.gov> - 3.6-1
changelog:
  - Require cvmfs 2.9.2
  - Add cvmfs_server check -a on oasis-replica and oasis-replica-itb
  - Only generate ssh auth keys on oasis-login, not oasis-login-itb
  - Update generate_sshauthkeys to catch json decode errors and to flush
    output to the log file


author: Dave Dykstra <dwd@fnal.gov> - 3.9-1
changelog:
  - Update cvmfs & cvmfs-server to 2.10.1, including removing the use
    of the sem command for snapshots since limiting parallelism is 
    now built in to cvmfs-server.
  - Update frontier-squid to 5.7


author: Dave Dykstra <dwd@fnal.gov> - 3.10-1
changelog:
  - Make python3 usable on both el7 & el8 by converting python tools from
    libxml2 to lxml.
  - Require python3-lxml on all hosts.
  - Make each of the subpackages require the main package.


author: Dave Dykstra <dwd@fnal.gov> - 3.11-1
changelog:
  - Remove the "-c" from manage-replicas in generate_replicas, so it will
    cleanup from failed adds of new repository and so avoid "initial
    snapshot in progress" warnings from monitoring.


author: Dave Dykstra <dwd@fnal.gov> - 3.1.0-1
changelog:
  - Remove all the code related to re-signing incoming repositories
  - Remove blank_osg_repository, unblank_osg_repository, 
    replicate_whitelists, and set_repository_property commands
  - Replace generate_replicas with a script that generates a
    manage_replicas config file and runs manage_replicas


author: Brian Lin <blin@cs.wisc.edu> - 3.4-1
changelog:
  - Drop requirements for packages no longer in 3.4 (SOFTWARE-2734)
  - Explicitly require mysql-server for VOMS


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.13.2-1.1.osg
changelog:
  - Update based on Fedora's spec file and upstream's 1.13.2 tarball.
    Fedora's changelog:
      * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-4
      - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

      * Wed Jul 12 2017 Patrick Uiterwijk <puiterwijk@redhat.com> - 1.13.0-3
      - Remove the 2 postfix for pycurl and libcomps on RHEL

      * Tue Jul 11 2017 Randy Barlow <bowlofeggs@fedoraproject.org> - 1.13.0-2
      - Require python2-koji on Fedora <= 26.


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.14.3-1.2.osg
changelog:
  - Update based on Fedora's 1.14.0-4 spec file and upstream's 1.14.3 tarball.
    Fedora's changelog:
      * Mon Jan 22 2018 Troy Dawson <tdawson@redhat.com> - 1.14.0-4
      - Update conditional

      * Thu Dec 07 2017 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.14.0-3
      - Backport py3 runroot encoding patch (PR#735)

      * Mon Dec 04 2017 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.14.0-2
      - Backport py3 keytab patch (PR#708)
      - Backport patches for exit code (issue#696)

      * Tue Sep 26 2017 Dennis Gilmore <dennis@ausil.us> - 1.14.0-1
      - update to upstream 1.14.0


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.15.3-1.2.osg
changelog:
  - Update based on Fedora's 1.15.1-3 spec file and upstream's 1.15.3 tarball.
    Fedora's changelog:
      * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.1-3
      - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

      * Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 1.15.1-2
      - Rebuilt for Python 3.7

      * Tue Apr 03 2018 Patrick Uiterwijk <puiterwijk@redhat.com> - 1.15.1-1
      - Rebase to 1.15.1
      - Fixes CVE-2018-1002150

      * Fri Mar 16 2018 Kevin Fenzi <kevin@scrye.com> - 1.15.0-7
      - Backport PR #841 to allow configurable timeout for oz

      * Tue Feb 20 2018 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.15.0-6
      - Backport PR #796

      * Sun Feb 18 2018 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.15.0-5
      - Add  workaround patch for bug #808

      * Fri Feb 16 2018 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.15.0-4
      - Backport patch from PR#794
      - Fix macro escaping in comments

      * Mon Feb 12 2018 Owen Taylor <otaylor@redhat.com> - 1.15.0-3
      - Make hub, builder, etc, require python2-koji not koji

      * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-2
      - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

      * Sat Jan 27 2018 Patrick Uiterwijk <patrick@puiterwijk.org> - 1.15.0-1
      - Rebase to koji 1.15.0


author: Dave Dykstra <dwd@fnal.gov> - 2.1.30-1
changelog:
  - Change add_osg_repository to use cvmfs_server add-replica -p to avoid
    creating any apache configuration, instead of removing it after the
    fact. This is now crucial because without -p an extra wsgi configuration
    file is created which clashes with the wsgi config in cvmfs.conf.


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.17.0-1
changelog:
  - Add voms-clients-cpp dependency to osg-build-koji  (SOFTWARE-4060)
  - Build/promote for both el7 and el8 by default  (SOFTWARE-4277)


author: Mátyás Selmeci <matyas@cs.wisc.edu> - 1.18.0-1
changelog:
  - Add support for 3.5-upcoming and 3.6-upcoming repos  (SOFTWARE-4424)
  - Use real python 3 for el8 (instead of platform-python)
  - Drop packaging for el6


author: Dave Dykstra <dwd@fnal.gov> - 2.2.12-1
changelog:
  - Add generate_sshauthkeys to create ssh authorized key file entries
    for those who have such keys registered in topology.
  - Limit parallel snapshots on stratum 1 to the number of cores


