{"action":"created","issue":{"url":"https://api.github.com/repos/Lanchon/ddwrt-secure-entware/issues/1","repository_url":"https://api.github.com/repos/Lanchon/ddwrt-secure-entware","labels_url":"https://api.github.com/repos/Lanchon/ddwrt-secure-entware/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Lanchon/ddwrt-secure-entware/issues/1/comments","events_url":"https://api.github.com/repos/Lanchon/ddwrt-secure-entware/issues/1/events","html_url":"https://github.com/Lanchon/ddwrt-secure-entware/issues/1","id":505877962,"node_id":"MDU6SXNzdWU1MDU4Nzc5NjI=","number":1,"title":"opkg install with package URL","user":{"login":"pthall","id":2308277,"node_id":"MDQ6VXNlcjIzMDgyNzc=","avatar_url":"https://avatars1.githubusercontent.com/u/2308277?v=4","gravatar_id":"","url":"https://api.github.com/users/pthall","html_url":"https://github.com/pthall","followers_url":"https://api.github.com/users/pthall/followers","following_url":"https://api.github.com/users/pthall/following{/other_user}","gists_url":"https://api.github.com/users/pthall/gists{/gist_id}","starred_url":"https://api.github.com/users/pthall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pthall/subscriptions","organizations_url":"https://api.github.com/users/pthall/orgs","repos_url":"https://api.github.com/users/pthall/repos","events_url":"https://api.github.com/users/pthall/events{/privacy}","received_events_url":"https://api.github.com/users/pthall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-10-11T14:12:50Z","updated_at":"2019-10-13T15:03:44Z","closed_at":null,"author_association":"NONE","body":"Installing with package URLs doesn't work for HTTPS addresses. \r\n```\r\nroot@DD-WRT:/opt# opkg install https://bin.entware.net/armv7sf-k3.2/archive/libsigcxx_2.10.1-1_armv7-3.2.ipk\r\nCollected errors:\r\n * wfopen: https://bin.entware.net/armv7sf-k3.2/archive/libsigcxx_2.10.1-1_armv7-3.2.ipk: No such file or directory.\r\n * pkg_init_from_file: Failed to extract control file from https://bin.entware.net/armv7sf-k3.2/archive/libsigcxx_2.10.1-1_armv7-3.2.ipk.\r\n```\r\nInstalling with the same URL works if the protocol is changed to HTTP.\r\n\r\nHTTPS is used as long as package names are used.\r\n```\r\nroot@DD-WRT:/opt# opkg upgrade coreutils\r\nUpgrading coreutils on root from 8.30-1 to 8.30-2...\r\nDownloading https://bin.entware.net/armv7sf-k3.2/coreutils_8.30-2_armv7-3.2.ipk\r\nConfiguring coreutils.\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Lanchon/ddwrt-secure-entware/issues/comments/541425986","html_url":"https://github.com/Lanchon/ddwrt-secure-entware/issues/1#issuecomment-541425986","issue_url":"https://api.github.com/repos/Lanchon/ddwrt-secure-entware/issues/1","id":541425986,"node_id":"MDEyOklzc3VlQ29tbWVudDU0MTQyNTk4Ng==","user":{"login":"pthall","id":2308277,"node_id":"MDQ6VXNlcjIzMDgyNzc=","avatar_url":"https://avatars1.githubusercontent.com/u/2308277?v=4","gravatar_id":"","url":"https://api.github.com/users/pthall","html_url":"https://github.com/pthall","followers_url":"https://api.github.com/users/pthall/followers","following_url":"https://api.github.com/users/pthall/following{/other_user}","gists_url":"https://api.github.com/users/pthall/gists{/gist_id}","starred_url":"https://api.github.com/users/pthall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pthall/subscriptions","organizations_url":"https://api.github.com/users/pthall/orgs","repos_url":"https://api.github.com/users/pthall/repos","events_url":"https://api.github.com/users/pthall/events{/privacy}","received_events_url":"https://api.github.com/users/pthall/received_events","type":"User","site_admin":false},"created_at":"2019-10-13T15:03:44Z","updated_at":"2019-10-13T15:03:44Z","author_association":"NONE","body":"Thanks for the information.\r\n\r\nI made sure I had followed \"Curlize Replacement\" - incomplete configuration is not the root cause.\r\n\r\n```\r\nroot@DD-WRT:~# opkg install wget ca-certificates\r\nInstalling wget (1.20.3-2) to root...\r\nDownloading https://bin.entware.net/armv7sf-k3.2/wget_1.20.3-2_armv7-3.2.ipk\r\nInstalling ca-certificates (20190110-1) to root...\r\nDownloading https://bin.entware.net/armv7sf-k3.2/ca-certificates_20190110-1_all.ipk\r\nConfiguring wget.\r\nConfiguring ca-certificates.\r\nroot@DD-WRT:~# ln -sf /opt/bin/wget /opt/bin-override/wget\r\nroot@DD-WRT:~# opkg install https://bin.entware.net/armv7sf-k3.2/archive/libsigcxx_2.10.1-1_armv7-3.2.ipk\r\nCollected errors:\r\n * wfopen: https://bin.entware.net/armv7sf-k3.2/archive/libsigcxx_2.10.1-1_armv7-3.2.ipk: No such file or directory.\r\n * pkg_init_from_file: Failed to extract control file from https://bin.entware.net/armv7sf-k3.2/archive/libsigcxx_2.10.1-1_armv7-3.2.ipk.\r\n\r\nroot@DD-WRT:~# which wget\r\n/opt/bin-override/wget\r\n\r\nroot@DD-WRT:~# wget --version\r\nGNU Wget 1.20.3 built on linux-gnu.\r\n\r\n-cares +digest -gpgme +https +ipv6 -iri +large-file -metalink -nls\r\n+ntlm +opie -psl +ssl/openssl\r\n\r\nWgetrc:\r\n    /opt/etc/wgetrc (system)\r\nCompile:\r\n    arm-openwrt-linux-gnueabi-gcc -DHAVE_CONFIG_H\r\n    -DSYSTEM_WGETRC=\"/opt/etc/wgetrc\" -DLOCALEDIR=\"/opt/share/locale\"\r\n    -I. -I../lib -I../lib\r\n    -I/media/ware/Entware.2019.10/staging_dir/target-arm_cortex-a9_glibc-2.27_eabi/opt/include\r\n    -I/media/ware/Entware.2019.10/staging_dir/toolchain-arm_cortex-a9_gcc-7.4.0_glibc-2.27_eabi/include\r\n    -I/media/ware/Entware.2019.10/staging_dir/target-arm_cortex-a9_glibc-2.27_eabi/opt/include\r\n    -I/media/ware/Entware.2019.10/staging_dir/target-arm_cortex-a9_glibc-2.27_eabi/opt/include\r\n    -DNDEBUG -O2 -pipe -march=armv7-a -mtune=cortex-a9\r\n    -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable\r\n    -Wno-error=unused-result -mfloat-abi=soft\r\nLink:\r\n    arm-openwrt-linux-gnueabi-gcc\r\n    -I/media/ware/Entware.2019.10/staging_dir/target-arm_cortex-a9_glibc-2.27_eabi/opt/include\r\n    -I/media/ware/Entware.2019.10/staging_dir/target-arm_cortex-a9_glibc-2.27_eabi/opt/include\r\n    -DNDEBUG -O2 -pipe -march=armv7-a -mtune=cortex-a9\r\n    -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable\r\n    -Wno-error=unused-result -mfloat-abi=soft\r\n    -L/media/ware/Entware.2019.10/staging_dir/target-arm_cortex-a9_glibc-2.27_eabi/opt/lib\r\n    -Wl,-rpath,/opt/lib\r\n    -Wl,-rpath-link=/media/ware/Entware.2019.10/staging_dir/target-arm_cortex-a9_glibc-2.27_eabi/opt/lib\r\n    -Wl,--dynamic-linker=/opt/lib/ld-linux.so.3\r\n    -L/media/ware/Entware.2019.10/staging_dir/toolchain-arm_cortex-a9_gcc-7.4.0_glibc-2.27_eabi/lib\r\n    -L/media/ware/Entware.2019.10/staging_dir/target-arm_cortex-a9_glibc-2.27_eabi/opt/lib\r\n    -lpcre\r\n    /media/ware/Entware.2019.10/staging_dir/target-arm_cortex-a9_glibc-2.27_eabi/opt/lib/libssl.so\r\n    /media/ware/Entware.2019.10/staging_dir/target-arm_cortex-a9_glibc-2.27_eabi/opt/lib/libcrypto.so\r\n    -ldl\r\n    -L/media/ware/Entware.2019.10/staging_dir/target-arm_cortex-a9_glibc-2.27_eabi/opt/lib\r\n    -lz ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a\r\n```"}}
{"actor":{"display_login":"pthall"}}