FS#52365 - mariadb(the version to date is 10.1.20-1) is not configured in a clean manner

Attached to Project: Arch Linux
Opened by BrLi (brli) - Wednesday, 04 January 2017, 14:23 GMT
Last edited by Christian Hesse (eworm) - Thursday, 05 January 2017, 12:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

There are basically three part that IMO isn't correct

1. pkg-config files should be in /usr/share/pkgconfig/mysql instead of /usr/share/mysql/pkgconfig/
2. documents should be in /usr/share/docs/mysql/ instead of /usr/share/mysql/docs/, and there are license files which should be in /usr/share/licenses/$pkgname
3. other license files are in usr/share/mysql/COPYING which should be in the licenses directory above
4. duplicated systemd service files in usr/share/mysql/systemd/

Additional info:
* package version(s)

10.1.20-1

* config and/or log files etc.

begins from here:

https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/mariadb#n37

I think some configure lines are not needed, or are mis-configured.

Steps to reproduce:

just install the package and verify with `pacman -Ql mariadb`
or look around the online file lists here https://www.archlinux.org/packages/extra/x86_64/mariadb/
This task depends upon

Closed by  Christian Hesse (eworm)
Thursday, 05 January 2017, 12:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  mariadb 10.1.20-2 in [testing].
Comment by Christian Hesse (eworm) - Wednesday, 04 January 2017, 23:33 GMT
> 1. pkg-config files should be in /usr/share/pkgconfig/mysql instead of /usr/share/mysql/pkgconfig/

Moving to /usr/share/pkgconfig/. The aclocal file will go to /usr/share/aclocal/.

> 2. documents should be in /usr/share/docs/mysql/ instead of /usr/share/mysql/docs/, and there are license files which should be in /usr/share/licenses/$pkgname
> 3. other license files are in usr/share/mysql/COPYING which should be in the licenses directory above

Moving documentation to /usr/share/docs/mariadb/, licenses to /usr/share/licenses/mariadb/.

> 4. duplicated systemd service files in usr/share/mysql/systemd/

Removed.

But do not expect new packages today.
Comment by BrLi (brli) - Thursday, 05 January 2017, 05:43 GMT
btw, you don't need to specify the HAVE_SYSTEMD, it would detect it itself, however, the unit file destination is still required.

and, even though the fact that /usr/sbin is symlinked to /usr/bin, you may like to check the mariadb.service the Execstart argument?
I don't know if it should reflect on the _real_ binary location

Loading...