Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package adminer.15785 for 
openSUSE:Leap:15.2:Update checked in at 2021-02-16 12:04:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/adminer.15785 (Old)
 and      /work/SRC/openSUSE:Leap:15.2:Update/.adminer.15785.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "adminer.15785"

Tue Feb 16 12:04:50 2021 rev:1 rq:871608 version:4.7.9

Changes:
--------
New Changes file:

--- /dev/null   2021-01-11 18:20:20.070723563 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2:Update/.adminer.15785.new.28504/adminer.changes    
    2021-02-16 12:04:51.604366059 +0100
@@ -0,0 +1,905 @@
+-------------------------------------------------------------------
+Mon Feb 08 01:15:24 UTC 2021 - ji...@boombatower.com
+
+- Update to version 4.7.9:
+  * Release 4.7.9
+  * Reorder changes
+  * Editor: Avoid trailing dot in export filename
+  * Skip impossible condition ($link always contains ?username=)
+  * Fix displayed foreign key columns from other DB (bug #766)
+  * Do not display empty database in the list twice
+  * Display CSRF logout error after connecting
+  * Fix displaying type mapping for Elasticsearch >= 6.0
+  * MongoDB: Prefer modern extension
+  * Fix MongoDB connect 'Database does not support password.' tips
+  * Update bug numbers
+  * Postgres - fix missing partitioned tables in navigation
+  * Linkify URLs in SQL results
+  * Title for select data link
+  * Quote values with leading and trailing zeroes in CSV export (bug #777)
+  * MySQL: Don't quote default value of text fields (bug #779)
+  * fixed Unsupported operand types when $port is socket
+  * Respect SQL command URL parameters
+  * Fix XSS in browsers which don't encode URL parameters (bug #775)
+  * SQLite: Set busy_timeout to 500
+  * PostgreSQL 11: Create PRIMARY KEY for auto increment columns
+  * PostgreSQL: Support smallserial
+  * Add comment
+  * PostgreSQL PDO: Support PgBouncer, unsupport PostgreSQL < 9.1 (bug #771)
+  * fix wrong hungarian translation
+  * Editor: Cast to string when searching (bug #325)
+  * Don't syntax highlight during IME composition (bug #747)
+  * PostgreSQL: Use bigserial for bigint auto increment (bug #765, regression 
from 3.0.0)
+  * MSSQL: Don't trucate displayed comments to 30 chars (use varchar maximum 
of 8000 upon casting)
+  * Update Korean translation (thanks to B. Cansmile Cha)
+  * add alternative design dracula theme
+  * show correct collation for PostgresSQL
+  * PostgreSQL: Fix current schema in view definition
+  * Add external designs as submodules
+  * Fixes to lucas-sandery theme
+  * Do not export names in quotes with sql_mode='ANSI_QUOTES' (bug #749)
+  * Fix PgSQL generated always as identity fix
+  * Update Russian translation.
+  * Update Ukrainian translation.
+  * PostgreSQL: Export all FKs after all CREATE TABLE
+  * MySQL, MariaDB: Fix doc links
+  * Do not display SQL function for checkbox
+  * Fix style (bug #743)
+  * PostgreSQL: Fix dollar-quoted syntax highlighting (bug #738)
+  * Elasticsearch, ClickHouse: Do not print response if HTTP code is not 200
+  * Add basic Makefile.
+  * Travis: add php 7.4 && 8.0
+  * Re-enable PHP warnings
+
+-------------------------------------------------------------------
+Thu Jan 28 02:08:34 UTC 2021 - Jimmy Berry <ji...@boombatower.com>
+
+- Drop virtual firebird package since php-firebird was dropped.
+  See sr#863764 for Factory decline.
+
+-------------------------------------------------------------------
+Sat Jan 16 15:41:08 UTC 2021 - Arjen de Korte <suse+bu...@de-korte.org>
+
+- BuildRequires php-cli
+
+-------------------------------------------------------------------
+Tue Jan 05 20:52:29 UTC 2021 - eli...@opensuse.org
+
+- Update to version 4.7.8:
+  * Release 4.7.8
+  * MySQL: Use renamed variable
+  * Avoid PDO exceptions in PHP 8
+  * Fix method call after #406
+  * Improve check for numeric ports (bug #769)
+  * Add missing method
+  * Fix compatibility with PHP 8
+  * Avoid each() not available in PHP 8
+  * Fix style
+  * Escape : also in remove_from_param
+
+-------------------------------------------------------------------
+Mon May 11 16:29:55 UTC 2020 - ji...@boombatower.com
+
+- Update to version 4.7.7:
+  * Release 4.7.7
+  * Fix open redirect if Adminer is accessible at //adminer.php%2F@ (thanks to 
Prakash Sharma)
+  * Update Finnish translation
+  * Fix typo in Greek translation
+  * Add missing translation
+  * Fix forwarded IP comparison in login-ip plugin
+  * Release 4.7.6
+
+-------------------------------------------------------------------
+Fri Jan 31 16:54:17 UTC 2020 - ji...@boombatower.com
+
+- Update to version 4.7.6:
+  * Release 4.7.6
+  * Fix comparing IPs
+  * Update readme
+  * Add example for using SQLite with Editor
+  * PostgreSQL: Support exporting views
+  * Disallow connecting to ports > 65535 (bug #730)
+  * Display time of procedure execution
+  * Hide columns when rendering
+  * Speed up alter table form
+  * Fix clicking on non-input fields in alter table
+  * Editor: Fix focusing foreign key search in select
+  * MySQL: Always set foreign_key_checks in export
+
+-------------------------------------------------------------------
+Wed Nov 27 01:35:49 UTC 2019 - ji...@boombatower.com
+
+- Update to version 4.7.5:
+  * Release 4.7.5
+  * Re-apply https://github.com/vrana/adminer/pull/363/commits/89b6e9bb
+  * Update zh-tw.inc.php
+  * Update zh.inc.php
+  * Stop using adsrc column
+  * fixed: SQL command for insert, create table, etc. new: create/rename 
table, add/drop/change type for column
+  * Fix brazilian portuguese translation
+  * Swedish translation
+  * Update hever design
+  * Don't overwrite variable
+  * Add id="" to cells with failed inline edit (bug #708)
+  * Unify dumpTable declarations (bug #707)
+  * PostgreSQL, Oracle: Set schema for EXPLAIN queries in SQL command (bug 
#706)
+  * Initialize version-noverify sooner (bug #705)
+  * Make context in qsa() optional
+  * Delete extra newlines
+  * correct complement of responsive media query
+  * update lucas-sandery theme
+  * Add funding
+
+-------------------------------------------------------------------
+Tue Oct 22 13:32:40 UTC 2019 - ji...@boombatower.com
+
+- Update to version 4.7.4:
+  * Release 4.7.4
+  * Fix XSS if Adminer is accessible at URL /data:
+  * Do not put unused doc links to single driver compiled version
+  * Fix PostgreSQL doc root
+  * Save bytes
+  * add links to oracle docs
+  * add links to postgres docs
+  * Bump version
+
+-------------------------------------------------------------------
+Thu Aug 29 13:18:42 UTC 2019 - ji...@boombatower.com
+
+- Update to version 4.7.3:
+  * Release 4.7.3
+  * Fix blocking of concurrent instances in PHP >7.2 (bug #703)
+  * setup Mongo authSource by ENV
+  * Reset table after changing DB
+  * Move <p> after a possible error
+  * Allow editing foreign keys pointing to tables in other database/schema 
(bug #694)
+  * MS SQL: Support foreign keys to other DB
+  * Do not display error for foreign keys to other databases
+  * Save bytes
+  * MSSQL: use textarea in edit form for Memo type (#357)
+  * MySQL: Support STORED GENERATED
+  * SQLite: Skip renaming when recreating table if not necessary
+  * SQLite: Preserve auto increment when recreating table
+  * SQLite: Allow setting auto increment for empty tables
+  * Remove extra space in alter table command
+  * SQLite: Handle error in altering table (bug #697)
+  * init mancave-hever design
+  * MySQL: Allow editing rows identified by negative floats (bug #695)
+  * added floating footer css for adminer-theme-mancave2-2.1.alpha
+  * Add a comment (bug #691)
+  * Use is_numeric()
+  * Support MariaDB virtual columns
+  * MySQL: Speed up displaying tables in large databases (bug #700)
+  * Support unquoted floats in export
+  * SQLite: Quote strings stored in integer columns in export (bug #696)
+  * MySQL: Skip editing generated columns
+  * Add AdminerLoginIp
+  * Close </ul> of logins
+
+-------------------------------------------------------------------
+Thu Jul 18 19:34:21 UTC 2019 - ji...@boombatower.com
+
+- Update to version 4.7.2:
+  * Release 4.7.2
+  * MySQL: Fix getting foreign keys
+  * Fix table status in PostgreSQL 12 (bug #683)
+  * Fix displaying SQL command after Save and continue edit
+  * PostgreSQL: Display definitions of materialized views (bug #682)
+  * Support for viewing and editing of column comments in mssql driver
+  * PostgreSQL: Fix setting column comments on new table
+  * MySQL: Fix displaying multi-columns foreign keys (bug #675)
+  * Check if PDO SSL Attributes are set within config, and only set them in 
PDO Options. otherwise Mysql PDO throws errors if attribute is set and empty
+  * Elasticsearch: Show executed query as a json
+  * MongoDB: number of records should be count on provide rows
+  * Keep font size in all tables.
+  * travis: test on php 5.6-7.3 (#330)
+  * Cache busting for adminer.css
+  * Always pass the SRID part of a geometry property with the GeomFromText 
function
++++ 708 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.2:Update/.adminer.15785.new.28504/adminer.changes

New:
----
  _service
  _servicedata
  adminer-4.7.9.tar.xz
  adminer-httpd.conf
  adminer.changes
  adminer.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ adminer.spec ++++++
#
# spec file for package adminer
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2015 Jimmy Berry <ji...@boombatower.com>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


# pending package submissions to Factory
%bcond_with elasticsearch
%bcond_with mongodb
%bcond_with mssql
Name:           adminer
Version:        4.7.9
Release:        0
Summary:        Database management in a single PHP file
License:        GPL-2.0-only OR Apache-2.0
Group:          Productivity/Networking/Web/Frontends

URL:            https://www.adminer.org/
Source0:        %{name}-%{version}.tar.xz
Source1:        %{name}-httpd.conf
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

BuildRequires:  apache-rpm-macros
BuildRequires:  apache2-devel
BuildRequires:  php-cli
BuildRequires:  php-tokenizer
BuildRequires:  xz
Requires:       adminer-database-support = %{version}
Requires:       mod_php_any
Requires:       php-iconv
Requires:       php-mbstring
Requires:       php-session
Requires:       php-zlib
Suggests:       adminer-mysql

%description
Adminer (formerly phpMinAdmin) is a full-featured database management tool
written in PHP. Conversely to phpMyAdmin, it consists of a single file ready to
deploy to the target server. Adminer is available for MySQL, PostgreSQL, SQLite,
MS SQL, Oracle, Firebird, SimpleDB, Elasticsearch and MongoDB.


%package editor
Summary:        Data manipulation for end-users
Group:          Productivity/Networking/Web/Frontends
Requires:       adminer = %{version}

%description editor
Adminer Editor is both easy-to-use and user-friendly database data editing tool
written in PHP. It is suitable for common users, as it provides high-level data
manipulation.


%package designs
Summary:        Alternative designs
Group:          Productivity/Networking/Web/Frontends
Requires:       adminer = %{version}

%description designs
Alternative designs for Adminer. Update the symbolic link at
%{apache_datadir}/%{name}/adminer.css to target the desired theme found in
%{apache_datadir}/%{name}/designs/*/adminer.css.

# Define adminer-database-support packages
%package elasticsearch
Summary:        Dependencies required for Adminer ElasticSearch support
Group:          Productivity/Networking/Web/Frontends
Provides:       adminer-database-support = %{version}
Requires:       adminer = %{version}
Requires:       php-pear-horde_elasticsearch

%description elasticsearch
Virtual package that requires dependencies needed for Adminer ElasticSearch 
support


%package mongodb
Summary:        Dependencies required for Adminer MongoDB support
Group:          Productivity/Networking/Web/Frontends
Provides:       adminer-database-support = %{version}
Requires:       adminer = %{version}
Requires:       php-pear-horde_mongo

%description mongodb
Virtual package that requires dependencies needed for Adminer MongoDB support


%package mssql
Summary:        Dependencies required for Adminer MS SQL support
Group:          Productivity/Networking/Web/Frontends
Provides:       adminer-database-support = %{version}
Requires:       adminer = %{version}
Requires:       php-mssql

%description mssql
Virtual package that requires dependencies needed for Adminer MS SQL support


%package mysql
Summary:        Dependencies required for Adminer MySQL support
Group:          Productivity/Networking/Web/Frontends
Provides:       adminer-database-support = %{version}
Requires:       adminer = %{version}
Requires:       php-mysql

%description mysql
Virtual package that requires dependencies needed for Adminer MySQL support


%package pgsql
Summary:        Dependencies required for Adminer PostgreSQL support
Group:          Productivity/Networking/Web/Frontends
Provides:       adminer-database-support = %{version}
Requires:       adminer = %{version}
Requires:       php-pgsql

%description pgsql
Virtual package that requires dependencies needed for Adminer PostgreSQL support


%package sqlite
Summary:        Dependencies required for Adminer SQLite support
Group:          Productivity/Networking/Web/Frontends
Provides:       adminer-database-support = %{version}
Requires:       adminer = %{version}
Requires:       php-sqlite

%description sqlite
Virtual package that requires dependencies needed for Adminer SQLite support


%prep
%setup -q

%build
# Creates: ./adminer-{version}.php.
./compile.php

# Creates: ./editor-{version}.php.
./compile.php editor

%install
# Remove version from file names.
mv adminer-%{version}.php adminer.php
mv editor-%{version}.php editor.php

# Install files in datadir.
install -d -m 0755 %{buildroot}%{apache_datadir}/%{name}
cp -R adminer.php editor.php designs/ \
  %{buildroot}%{apache_datadir}/%{name}

# Default to hever theme.
ln -s %{apache_datadir}/%{name}/designs/hever/adminer.css \
  %{buildroot}%{apache_datadir}/%{name}

install -D -m 0644 %{SOURCE1} 
%{buildroot}%{apache_sysconfdir}/conf.d/%{name}.conf
# Fix paths in httpd config.
sed -i -e "s,@apache_datadir@,%{apache_datadir},g" -e "s,@name@,%{name},g" \
  %{buildroot}%{apache_sysconfdir}/conf.d/%{name}.conf

# README for adminer-database-support packages
echo "Virtual package for Adminer database support" > README

%post
# Enable required apache modules.
if [ -x /usr/sbin/a2enmod ] ; then
  # Get installed php_version (5 or 7).
  php_version=$(php -v | grep '(cli)' | awk '{print $2}' | awk -F'.' '{print 
$1}')
  if [ -n "$php_version" ]; then
    a2enmod -q php${php_version} || a2enmod php${php_version}
    a2enmod -q version || a2enmod version
  fi
fi

%if 0%{?suse_version} < 1310
%restart_on_update apache2
#%%else
#systemctl try-restart apache2 >/dev/null
%endif

%postun
%if 0%{?suse_version} < 1310
%restart_on_update apache2
#%%else
#systemctl try-restart apache2 >/dev/null
%endif

%files
%defattr(-,root,root)
%doc changes.txt
%dir %{apache_datadir}/%{name}
%{apache_datadir}/%{name}/adminer.php
%{apache_datadir}/%{name}/designs/hever/
%config(noreplace) %{apache_datadir}/%{name}/adminer.css
%config(noreplace) %{apache_sysconfdir}/conf.d/%{name}.conf

%files editor
%defattr(-,root,root)
%{apache_datadir}/%{name}/editor.php

%files designs
%defattr(-,root,root)
%{apache_datadir}/%{name}/designs/
%exclude %{apache_datadir}/%{name}/designs/hever/

# Define adminer-database-support packages
%if %{with elasticsearch}
%files elasticsearch
%defattr(-,root,root)
%doc README
%endif

%if %{with mongodb}
%files mongodb
%defattr(-,root,root)
%doc README
%endif

%if %{with mssql}
%files mssql
%defattr(-,root,root)
%doc README
%endif

%files mysql
%defattr(-,root,root)
%doc README

%files pgsql
%defattr(-,root,root)
%doc README

%files sqlite
%defattr(-,root,root)
%doc README

%changelog
++++++ _service ++++++
<services>
  <service name="tar_scm" mode="disabled">
    <param name="versionformat">@PARENT_TAG@</param>
    <param name="versionrewrite-pattern">v(.*)</param>
    <param name="revision">refs/tags/v4.7.9</param>
    <param name="url">https://github.com/vrana/adminer.git</param>
    <param name="scm">git</param>
    <param name="changesgenerate">enable</param>
  </service>
  <service name="recompress" mode="disabled">
    <param name="compression">xz</param>
    <param name="file">*.tar</param>
  </service>
  <service name="set_version" mode="disabled"/>
</services>
++++++ _servicedata ++++++
<servicedata>
  <service name="tar_scm">
    <param name="url">https://github.com/vrana/adminer.git</param>
    <param 
name="changesrevision">93c7fb248ca008e3247eb3a43812e1096e7b262c</param>
  </service>
</servicedata>
++++++ adminer-httpd.conf ++++++
# apache2 configuration for @name@

<IfModule mod_alias.c>
    Alias /@name@ @apache_datadir@/@name@
</IfModule>

<Directory @apache_datadir@/@name@>
    DirectoryIndex adminer.php
    Options -Indexes +FollowSymLinks
    AllowOverride None

    <IfVersion < 2.4>
        Order allow,deny
        Allow from all
    </IfVersion>
    <IfVersion >= 2.4>
        <IfModule !mod_access_compat.c>
            Require all granted
        </IfModule>
        <IfModule mod_access_compat.c>
            Order allow,deny
            Allow from all
        </IfModule>
    </IfVersion>

</Directory>

<Directory @apache_datadir@/@name@/designs>
    Options -FollowSymLinks
    AllowOverride None

    <IfVersion < 2.4>
        Order deny,allow
        Deny from all
    </IfVersion>
    <IfVersion >= 2.4>
        <IfModule !mod_access_compat.c>
            Require all denied
        </IfModule>
        <IfModule mod_access_compat.c>
            Order deny,allow
            Deny from all
        </IfModule>
    </IfVersion>

</Directory>

Reply via email to