Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2018 13:32:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 229960] sysutils/ansible: Fix executable symlinks for non-default Python flavors
Message-ID:  <bug-229960-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229960

            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@freebsd.org
          Reporter: andreas.sommer87@googlemail.com
                CC:
          Assignee: lifanov@freebsd.org
             Flags: maintainer-feedback?(lifanov@freebsd.org)
 Attachment #195366 maintainer-approval?
             Flags:

Created attachment 195366
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195366&action=
=3Dedit
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`. T=
he
attached patch only fixes the issue =E2=80=93 the committer has to adapt PO=
RTREVISION
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 -> ansi=
ble
lrwxr-xr-x  1 root  wheel      7 Jul 22 10:20 ansible-playbook-3.6 -> ansib=
le
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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229960-7788>