[Bug 229960] sysutils/ansible: Fix executable symlinks for non-default Python flavors
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 22 13:32:16 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229960
Bug ID: 229960
Summary: sysutils/ansible: Fix executable symlinks for
non-default Python flavors
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: lifanov at freebsd.org
Reporter: andreas.sommer87 at googlemail.com
CC:
Assignee: lifanov at freebsd.org
Flags: maintainer-feedback?(lifanov at freebsd.org)
Attachment #195366 maintainer-approval?
Flags:
Created attachment 195366
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195366&action=edit
Fix symlinks to point to `ansible-${PYTHON_VER}` (not to `ansible`), against
ports head
As requested, a separate bug report for fixing `ansible-playbook-3.6 ->
ansible` symlinks to correctly use `ansible-playbook-3.6 -> ansible-3.6`. The
attached patch only fixes the issue – the committer has to adapt PORTREVISION
accordingly.
Before for @py36 flavor:
-rwxr-xr-x 1 root wheel 5850 Jul 22 10:20 ansible-3.6
lrwxr-xr-x 1 root wheel 7 Jul 22 10:20 ansible-config-3.6 -> ansible
-rwxr-xr-x 1 root wheel 10982 Jul 22 10:20 ansible-connection-3.6
lrwxr-xr-x 1 root wheel 7 Jul 22 10:20 ansible-console-3.6 -> ansible
lrwxr-xr-x 1 root wheel 7 Jul 22 10:20 ansible-doc-3.6 -> ansible
lrwxr-xr-x 1 root wheel 7 Jul 22 10:20 ansible-galaxy-3.6 -> ansible
lrwxr-xr-x 1 root wheel 7 Jul 22 10:20 ansible-inventory-3.6 -> ansible
lrwxr-xr-x 1 root wheel 7 Jul 22 10:20 ansible-playbook-3.6 -> ansible
lrwxr-xr-x 1 root wheel 7 Jul 22 10:20 ansible-pull-3.6 -> ansible
lrwxr-xr-x 1 root wheel 7 Jul 22 10:20 ansible-vault-3.6 -> ansible
After (list for both flavors):
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible -> ansible-2.7
-rwxr-xr-x 1 root wheel 5850 Jul 22 13:28 ansible-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-config -> ansible-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-config-2.7 -> ansible-2.7
lrwxr-xr-x 1 root wheel 22 Jul 22 13:28 ansible-connection ->
ansible-connection-2.7
-rwxr-xr-x 1 root wheel 10982 Jul 22 13:28 ansible-connection-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-console -> ansible-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-console-2.7 ->
ansible-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-doc -> ansible-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-doc-2.7 -> ansible-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-galaxy -> ansible-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-galaxy-2.7 -> ansible-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-inventory -> ansible-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-inventory-2.7 ->
ansible-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-playbook -> ansible-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-playbook-2.7 ->
ansible-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-pull -> ansible-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-pull-2.7 -> ansible-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-vault -> ansible-2.7
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-vault-2.7 -> ansible-2.7
-rwxr-xr-x 1 root wheel 5850 Jul 22 13:28 ansible-3.6
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-config-3.6 -> ansible-3.6
-rwxr-xr-x 1 root wheel 10982 Jul 22 13:28 ansible-connection-3.6
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-console-3.6 ->
ansible-3.6
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-doc-3.6 -> ansible-3.6
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-galaxy-3.6 -> ansible-3.6
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-inventory-3.6 ->
ansible-3.6
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-playbook-3.6 ->
ansible-3.6
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-pull-3.6 -> ansible-3.6
lrwxr-xr-x 1 root wheel 11 Jul 22 13:28 ansible-vault-3.6 -> ansible-3.6
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list