Your message dated Sun, 17 Jun 2018 02:55:10 +0000 with message-id <[email protected]> and subject line Bug#900258: fixed in shadowsocks-libev 3.2.0+ds-3 has caused the Debian Bug report #900258, regarding shadowsocks-libev: Drop apg/pwgen from Depends to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 900258: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900258 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: shadowsocks-libev Severity: wishlist Tags: patch Dear Maintainer, This package depends apg or pwgen to generate an initial password, but I don't think it's needed to use an extra program. perl-base is an Essential package, so every Debian based system has perl interpreter. You can just use perl's rand function to do this. So that this package has less depends and I can reduce the install size. passwd=$(perl -e 'print map{("a".."z","A".."Z",0..9)[int(rand(62))]}(1..12)') This snippet is taken from mysql-5.7 package.diff -Nru shadowsocks-libev-3.1.3+ds/debian/changelog shadowsocks-libev-3.1.3+ds/debian/changelog --- shadowsocks-libev-3.1.3+ds/debian/changelog 2018-03-21 12:15:49.000000000 +0800 +++ shadowsocks-libev-3.1.3+ds/debian/changelog 2018-05-28 13:29:05.000000000 +0800 @@ -1,3 +1,10 @@ +shadowsocks-libev (3.1.3+ds-2.1) UNRELEASED; urgency=medium + + * Drop apg and pwgen from Depends, use perl rand to generate + password. + + -- Shengjing Zhu <[email protected]> Mon, 28 May 2018 13:29:05 +0800 + shadowsocks-libev (3.1.3+ds-2) unstable; urgency=medium [ Sync from 3.1.3+ds-1ubuntu1 ] diff -Nru shadowsocks-libev-3.1.3+ds/debian/control shadowsocks-libev-3.1.3+ds/debian/control --- shadowsocks-libev-3.1.3+ds/debian/control 2018-03-21 12:09:19.000000000 +0800 +++ shadowsocks-libev-3.1.3+ds/debian/control 2018-05-28 13:29:05.000000000 +0800 @@ -26,7 +26,6 @@ Breaks: shadowsocks (<< 1.5.3-2) Architecture: any Depends: - apg | pwgen, libcap2-bin [linux-any], lsb-base (>= 3.0-6), ${misc:Depends}, diff -Nru shadowsocks-libev-3.1.3+ds/debian/shadowsocks-libev.postinst shadowsocks-libev-3.1.3+ds/debian/shadowsocks-libev.postinst --- shadowsocks-libev-3.1.3+ds/debian/shadowsocks-libev.postinst 2018-03-19 00:38:32.000000000 +0800 +++ shadowsocks-libev-3.1.3+ds/debian/shadowsocks-libev.postinst 2018-05-28 13:29:05.000000000 +0800 @@ -32,14 +32,7 @@ echo "setcap not installed; ss-* will only be runnable by root." fi if [ ! -f /etc/shadowsocks-libev/config.json ]; then - set +e - pathfind apg - if [ $? -eq 0 ]; then - passwd=$(apg -n 1 -M ncl) - else - passwd=$(pwgen 12 1) - fi - set -e + passwd=$(perl -e 'print map{("a".."z","A".."Z",0..9)[int(rand(62))]}(1..12)') mkdir -p /etc/shadowsocks-libev sed "s/barfoo!/$passwd/" /usr/share/shadowsocks-libev/config.json \ > /etc/shadowsocks-libev/config.json
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---Source: shadowsocks-libev Source-Version: 3.2.0+ds-3 We believe that the bug you reported is fixed in the latest version of shadowsocks-libev, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Roger Shimizu <[email protected]> (supplier of updated shadowsocks-libev package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 17 Jun 2018 11:19:11 +0900 Source: shadowsocks-libev Binary: libshadowsocks-libev-dev libshadowsocks-libev2 shadowsocks-libev Architecture: source Version: 3.2.0+ds-3 Distribution: unstable Urgency: medium Maintainer: Roger Shimizu <[email protected]> Changed-By: Roger Shimizu <[email protected]> Description: libshadowsocks-libev-dev - lightweight and secure socks5 proxy (development files) libshadowsocks-libev2 - lightweight and secure socks5 proxy (shared library) shadowsocks-libev - lightweight and secure socks5 proxy Closes: 900258 Changes: shadowsocks-libev (3.2.0+ds-3) unstable; urgency=medium . * debian/control: - Use tracker mail as uploader address. * debian/patches: - Add patch to fix of PATH_MAX for GNU/Hurd. Upstreamed already as [d88345fa]. * debian/shadowsocks-libev.postinst & debian/control: - Drop apg and pwgen from Depends, use perl rand() snippet to generate password. Thanks to Shengjing Zhu (Closes: 900258). Checksums-Sha1: 47952164363cf7412a86382ed5b3d9f85472ab59 2505 shadowsocks-libev_3.2.0+ds-3.dsc 3543c39932734046adcea0f26369086988511802 18000 shadowsocks-libev_3.2.0+ds-3.debian.tar.xz 7b3271c54f2a7c1ebb578170019063d2b559e588 6990 shadowsocks-libev_3.2.0+ds-3_source.buildinfo Checksums-Sha256: abdfde3ab51ddfa39a2178544c21623495d849709425e6fa8854e315cb7e88d8 2505 shadowsocks-libev_3.2.0+ds-3.dsc 60972260913f4ecc89a4c700fe68367a87803a3174259f514b0e1642a6fa51cb 18000 shadowsocks-libev_3.2.0+ds-3.debian.tar.xz f648e8986ffbae0b1246f05d1af4352b25687375b7b4d5e6b0e0e7ebb6ebbe6c 6990 shadowsocks-libev_3.2.0+ds-3_source.buildinfo Files: 9148517241de00fe19cfc183da0c0207 2505 net optional shadowsocks-libev_3.2.0+ds-3.dsc 4a049158e6b318778e577b3108c8ac3d 18000 net optional shadowsocks-libev_3.2.0+ds-3.debian.tar.xz 9ded00faff14ba8d00f4a851987ba2ae 6990 net optional shadowsocks-libev_3.2.0+ds-3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCgAuFiEECjKtvoA5m+cWOFnspHhrDacDNKgFAlslx7gQHHJvc2hAZGVi aWFuLm9yZwAKCRCkeGsNpwM0qHYVD/495xY6mwF5zrTRT2Zf8AQUb5ui9uQ1q4CU mtbnPtXeodm7RzDD9HOVnVCvnNhtYVCkylydD3GPQSNfVM9MMrhMJLal39aBlZXC x9Qg02wHa6a/yGXk+DnKVddBIwl4DFfvJ9JXH/pMrpgSHMuqldhDJuGvyRkcHD5P 0K0FShaNq0x8OElN6REM++9K4F5uU6yte5KLwl7T9x3n6oc4rP1SR1X8KcwAPV4+ K6PpMOfyQW3kfeWs/AFvZC7EUCYeJbqZ1UWFPUbkOMNRG4Nn+M5vTBNT3fNhp0Fn qCfV5VBoS9lfvnFuqi8ZRV1j2CLyKUFj0AW21VFM6YYZnR5YvGWKiD5LU8dTnErh 7k4VOyaPgBDGkEWZMQD4qdsepcwFjSdhj7/xN4bHtSC7DdRHlNii/mZQFxtnMorn IWMOj+Jqxhox6Ia8PXpo+c8A2eCUMDzGYx5BTHNDOwcRNFxijql8T/K0XxqOuy+O yOr4EsHeScl4fTdpUE3eTvowW0jMRpET6uMeOCTTezwYWH+eK007plnryw+zYPXj gaXItWwvinEmF56RSnKX+7dQQPFWJrmYaUf82IGtEDMhjs7mpw12EtjyzV0n6qlk Yq3VW1NyiyPsyZFQPTCielf8DrQeyb1c1kcr+LWE2zb74ObPkmsAQydEFY7TG0yU K/XRp6nxwg== =1Zk4 -----END PGP SIGNATURE-----
--- End Message ---

