Bug#771582: ITP: libdata-validate-perl -- Common data validation methods
Package: wnpp Owner: Per Carlson pe...@hemmop.com Severity: wishlist X-Debbugs-CC: debian-de...@lists.debian.org,debian-p...@lists.debian.org * Package name: libdata-validate-perl Version : 0.09 Upstream Author : Richard Sonnen (son...@richardsonnen.com) * URL : https://metacpan.org/release/Data-Validate * License : Artistic or GPL-1+ Programming Lang: Perl Description : Common data validation methods Data::Validate collects common validation routines to make input validation, and untainting easier and more readable. Most of the functions are not much shorter than their direct perl equivalent (and are much longer in some cases), but their names make it clear what you're trying to test for. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#771583: ITP: libdata-validate-struct-perl -- Validate recursive hash structures
Package: wnpp Owner: Per Carlson pe...@hemmop.com Severity: wishlist X-Debbugs-CC: debian-de...@lists.debian.org,debian-p...@lists.debian.org * Package name: libdata-validate-struct-perl Version : 0.08 Upstream Author : Thomas v.Dein t...@cpan.org * URL : https://metacpan.org/release/Data-Validate-Struct * License : Artistic or GPL-1+ Programming Lang: Perl Description : Validate recursive hash structures Data::Validate::Struct validates a config hash reference against a given hash structure in contrast to Data::Validate in which you have to check each value separately using certain methods. This hash could be the result of a config parser or just any hash structure. Eg. the hash returned by XML::Simple could be validated using this module. You may also use it to validate CGI input, just fetch the input data from CGI, map it to a hash and validate it. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#771581: ITP: libsession-token-perl -- Secure, efficient, simple random session token generation
Package: wnpp Owner: Per Carlson pe...@hemmop.com Severity: wishlist X-Debbugs-CC: debian-de...@lists.debian.org,debian-p...@lists.debian.org * Package name: libsession-token-perl Version : 1.008 Upstream Author : Doug Hoyte d...@hcsw.org * URL : https://metacpan.org/release/Session-Token * License : Artistic or GPL-1+ Programming Lang: Perl Description : Secure, efficient, simple random session token generation Session::Token provides a secure, efficient, and simple interface for creating session tokens, password reset codes, temporary passwords, random identifiers, and anything else you can think of. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#746476: ITP: libtemplate-plugin-ipaddr-perl -- Template::Toolkit plugin handling IP-addresses
Package: wnpp Severity: wishlist Owner: Per Carlson pe...@hemmop.com * Package name: libtemplate-plugin-ipaddr-perl Version : 0.03 Upstream Author : Per Carlson pe...@cpan.org * URL : https://metacpan.org/pod/Template::Plugin::IPAddr * License : Artistic | GPL-1+ Programming Lang: Perl Description : Template::Toolkit plugin handling IP-addresses This module implements an IPAddr class for handling IPv4 and IPv6-address in an object-orientated way. The module is based on NetAddr::IP and works on IPv4 as well as IPv6-addresses. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#718333: perltidy: Please update package to new upstream version
Package: perltidy Version: 20120701-1 Severity: wishlist Hi. Could you please update perltidy to a newer upstream version? 20120714 and 20121207 do add a lot of useful flags and some bug fixes. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#666651: Bug#667737: libnet-server-perl: no IPv4 server when binding to localhost
Hi Daniel. A bit late maybe, but... At its core, there's a concern here that asking a server to bind to a name might actually bind it to multiple addresses (since a name can have multiple addresses). I'm not convinced that Net::Server can be properly made to bind to multiple addresses with a single host configuration, but i agree that for the sake of congruity with the rest of the perl world, Net::Server should preferentially bind to the IPv4 address if a given name maps to both an IPv4 and an IPv6 address. I don't agree with you (and the rest of the perl world) here on a general basis. getaddrinfo returns any IPv6 addresses before IPv4 *by design*. If it were the other way around the (inevitable) transition to IPv6 would be much harder. Of course this is only true if asking for AF_UNSPEC (or the trivial AF_INET6) records. In that light rewriting Net::Server to always prioritize IPv4 is dead wrong and should be avoided. If selecting an IPv6 address is causing any problems, this is most likely caused by old IPv4-only mindset (like localhost always and only resolves to 127.0.0.1). If we are going to have success in the v4-v6 transition this mindset must be changed instead of breaking IPv6. I do support your rewrite to 5.14 core modules for native IPv6 functionality, but not this do not break any (already broken) IPv4 applications. -- Pelle D’ä e å, vett ja”, skrek ja, för ja ble rasen, ”å i åa ä e ö, hörer han lite, d’ä e å, å i åa ä e ö - Gustav Fröding, 1895 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#668998: passwd: Can't expire users stored in LDAP
Package: passwd Version: 1:4.1.5-1 Severity: normal While passwd can change the password for a user stored in a LDAP repository, it can't expire the password. This would be very handy for an administrator helping users resetting their passwords. $ sudo passwd -e readonly passwd: user 'readonly' does not exist in /etc/passwd $ sudo ldapsearch -xW -H ldap://ns1 (uid=readonly) dn: uid=readonly, ou=People, dc=example, dc=org objectClass: account objectClass: posixAccount objectClass: shadowAccount cn: readonly user uidNumber: 10001 gidNumber: 100 homeDirectory: /tmp uid: readonly loginShell: /bin/bash shadowMin: 0 shadowLastChange: 15446 userPassword: bla,bla,bla $ sudo getent passwd readonly readonly:x:10001:100:readonly user:/tmp:/bin/bash -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (100, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages passwd depends on: ii debianutils 4.3 ii libc6 2.13-27 ii libpam-modules 1.1.3-7 ii libpam0g1.1.3-7 ii libselinux1 2.1.9-2 ii libsemanage12.1.6-2 passwd recommends no packages. passwd suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#669057: ccid: Reader + card found but can't be accessed by application
Package: libccid Version: 1.4.6-2 Severity: normal File: ccid I do have a reader + card supplied by the norwegian company Buypass. When using a supplied java application it never get in contact with the card/reader. The combo works fine under Windows. As the reader (OmniKey 3021) is listed as should work, I hoped it would work under Debian as well. I'm using pcscd from wheezy (1.8.3-2). The log file from the command sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug --apdu is attached. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (600, 'testing'), (400, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libccid depends on: ii libc6 2.13-27 ii libusb-1.0-0 2:1.0.9~rc3-4 libccid recommends no packages. Versions of packages libccid suggests: ii pcmciautils 018-6 -- no debconf information *** log.txt debuglog.c:269:DebugLogSetLevel() debug level=debug 0027 debuglog.c:298:DebugLogSetCategory() Debug options: APDU 0437 configfile.l:245:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d 0072 configfile.l:298:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin 0041 configfile.l:257:DBGetReaderListDir() Skipping non regular file: .. 0004 configfile.l:257:DBGetReaderListDir() Skipping non regular file: . 0006 pcscdaemon.c:518:main() pcsc-lite 1.8.3 daemon ready. 1745 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001 0230 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001 0272 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/001/002 0276 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x0CF3, PID: 0x3005, path: /dev/bus/usb/001/005 0257 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x0CF3, PID: 0x3005, path: /dev/bus/usb/001/005 0249 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/001/002 0229 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x04F2, PID: 0xB1B9, path: /dev/bus/usb/001/004 0200 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x04F2, PID: 0xB1B9, path: /dev/bus/usb/001/004 0246 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/001/002 0274 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001 0278 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/004/001 0262 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001 0200 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001 0251 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/002/002 0218 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x076B, PID: 0x3021, path: /dev/bus/usb/002/003 0071 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x076B, PID: 0x3021, path: /dev/bus/usb/002/003 0015 hotplug_libudev.c:311:HPAddDevice() Adding USB device: OMNIKEY AG CardMan 3021 0083 readerfactory.c:936:RFInitializeReader() Attempting startup of OMNIKEY AG CardMan 3021 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid 0418 readerfactory.c:826:RFBindFunctions() Loading IFD Handler 3.0 0055 ifdhandler.c:1768:init_driver() Driver version: 1.4.6 1102 ifdhandler.c:1785:init_driver() LogLevel: 0x0003 0012 ifdhandler.c:1796:init_driver() DriverOptions: 0x 0175 ifdhandler.c:1809:init_driver() LogLevel from LIBCCID_ifdLogLevel: 0x000F 0013 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 0, device: usb:076b/3021:libudev:0:/dev/bus/usb/002/003 0014 ccid_usb.c:180:OpenUSBByName() Reader index: 0, Device: usb:076b/3021:libudev:0:/dev/bus/usb/002/003 0029 ccid_usb.c:212:OpenUSBByName() interface_number: 0 0962 ccid_usb.c:245:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rouss...@free.fr) 0013 ccid_usb.c:246:OpenUSBByName() ifdProductString: Generic CCID driver 0007 ccid_usb.c:247:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later 1393 ccid_usb.c:365:OpenUSBByName() Checking device: 2/3 0004 ccid_usb.c:420:OpenUSBByName() Trying to open USB bus/device: 2/3 00124532 ccid_usb.c:509:OpenUSBByName() Found Vendor/Product: 076B/3021 (OMNIKEY
Bug#668885: network-manager: change action when RDNSS expires
Package: network-manager Version: 0.9.4.0-1 Severity: wishlist Tags: upstream ipv6 When the RDNSS info in a RA expires, N-M flaps the link and causes loss of connectivity for *both* IPv4 and IPv6 (IPv6 only would be bad enough). From /var/log/daemon.log: Apr 14 20:41:50 apu NetworkManager[1364]: debug [1334428910.668907] [nm-ip6-manager.c:277] rdnss_expired(): (wlan0): IPv6 RDNSS information expired Apr 14 20:41:50 apu NetworkManager[1364]: debug [1334428910.668996] [nm-ip6-manager.c:312] set_rdnss_timeout(): (wlan0): removing expired RA-provided nameserver 2001:db8:2001::2:53 Apr 14 20:41:50 apu NetworkManager[1364]: debug [1334428910.938763] [nm-system.c:1168] nm_sy stem_iface_flush_routes(): (wlan0): flushing routes ifindex 3 family UNSPEC (0) Apr 14 20:41:51 apu NetworkManager[1364]: debug [1334428911.86512] [nm-netlink-utils.c:360] dump_route(): route idx 1 family INET6 (10) addr 0:0:4100::2f6f:7267/0 Apr 14 20:41:51 apu NetworkManager[1364]: debug [1334428911.86580] [nm-netlink-utils.c:360] dump_route(): route idx 1 family INET6 (10) addr ::1/128 Apr 14 20:41:51 apu NetworkManager[1364]: debug [1334428911.86613] [nm-netlink-utils.c:360] dump_route(): route idx 1 family INET6 (10) addr 0:0:5100::/0 Apr 14 20:41:51 apu NetworkManager[1364]: debug [1334428911.87811] [nm-system.c:196] sync_addresses(): (wlan0): syncing addresses (family 0) Apr 14 20:41:51 apu NetworkManager[1364]: debug [1334428911.87916] [nm-system.c:249] sync_addresses(): (wlan0): removing address '192.168.1.138/24' Apr 14 20:41:51 apu wpa_supplicant[1384]: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3 Apr 14 20:41:54 apu wpa_supplicant[1384]: Trying to authenticate with 00:18:f8:f2:08:ac (SSID='boork-boork' freq=2462 MHz) Apr 14 20:41:54 apu wpa_supplicant[1384]: Trying to associate with 00:18:f8:f2:08:ac (SSID='bo ork-boork' freq=2462 MHz) Apr 14 20:41:54 apu wpa_supplicant[1384]: Associated with 00:18:f8:f2:08:ac Apr 14 20:41:54 apu wpa_supplicant[1384]: WPA: Key negotiation completed with 00:18:f8:f2:08:ac [PTK=CCMP GTK=CCMP] Apr 14 20:41:54 apu wpa_supplicant[1384]: CTRL-EVENT-CONNECTED - Connection to 00:18:f8:f2:08:ac completed (reauth) [id=0 id_str=] End of /var/log/daemon.log I would like to propose a change in the behaviour whenever a RDNSS entry expires to circumvent this unneccesary link flap. The change can be done two ways, which both can be implemented at the same time. Alternative 1: In the RDNSS RFC (6106) in the description of the RDNSS option (section 5.1) and specifically the Lifetime field it written: Hosts MAY send a Router Solicitation to ensure the RDNSS information is fresh before the interval expires.. I think this is a very polite way to handle expiring RDNSS entries. Alternative 2: When experimenting setting different lifetimes on the RDNSS entry, I noticed that when changing it from non-nero to zero (0) the RDNSS entry where removed from /etc/resolv.conf but the link didn't flap. I'm suggesting to change the behaviour of an expired lifetime to mimic the one when changed to zero. This change is inline with the procedure in RFC6106 (section 6.2): Step (b): If the RDNSS address already exists in the DNS Server List and the RDNSS option's Lifetime field is set to zero, delete the corresponding RDNSS entry from both the DNS Server List and the Resolver Repository... and The handling of expired RDNSSes is as follows: Whenever an entry expires in the DNS Server List, the expired entry is deleted from the DNS Server List, and also the RDNSS address corresponding to the entry is deleted from the Resolver Repository. Background: I've tried to diagnose link flaps on my wireless home network some time now. There havn't been any issues with the connectivity on other platforms (Android, iPhone, Win7) or when disabling IPv6 (ignore in N-M). After enabling debugging og N-M, done wireshark traces, and seen the expiring RDNSS entries I've concluded this is (most likely) is caused by lost RA's. On some occurances the received RA's have been almost 1000s apart. As I did follow the recomendation in the RFC and set the lifetime value just between MaxRtrAdvInterval and 2*MaxRtrAdvInterval, 900s that is, I now know why the RDNSS expired. As a workaround, I've set the lifetime to 1200s and haven't had a single link flap since. Nevertheless, if the procedure is changed in N-M those problems would most likely been circumvented. In a wireless environment a RA can easily be lost and that shouldn't result in a link flap causing lost connectivity for both IPv4 and IPv6. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (600, 'testing'), (400, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages network-manager depends on: ii adduser3.113+nmu1 ii dbus
Bug#667676: network-manager: no dhcp6 answer flaps link, but neither managed nor other is set
Package: network-manager Version: 0.9.4.0-1 Severity: normal Tags: ipv6 When using N-M in IPv6 automatic mode, it expects a DHCPv6 answer, and if it's missing the link will flag. The timeout can be rather long, in this case ~3.5 hours, but the laptop have been in standby portions of the time frame. Relevant IPv6 parts from /var/log/syslog: Apr 5 18:23:51 apu NetworkManager[1344]: info Activation (wlan0) Beginning IP6 addrconf. Apr 5 21:05:58 apu NetworkManager[1344]: info (wlan0): canceled DHCP transaction, DHCP client pid 11931 Apr 5 21:05:58 apu kernel: [18518.908356] wlan0: deauthenticating from 00:18:f8:f2:08:ac by local choice (reason=3) Apr 5 21:06:01 apu wpa_supplicant[1364]: Trying to authenticate with 00:18:f8:f2:08:ac (SSID='jaddajadda' freq=2462 MHz) Apr 5 21:06:01 apu wpa_supplicant[1364]: Trying to associate with 00:18:f8:f2:08:ac (SSID='jaddajadda' freq=2462 MHz) Apr 5 21:06:01 apu kernel: [18522.792151] wlan0: authenticate with 00:18:f8:f2:08:ac (try 1) Apr 5 21:06:01 apu kernel: [18522.794175] wlan0: authenticated Apr 5 21:06:01 apu kernel: [18522.812850] wlan0: associate with 00:18:f8:f2:08:ac (try 1) Apr 5 21:06:01 apu wpa_supplicant[1364]: Associated with 00:18:f8:f2:08:ac Apr 5 21:06:01 apu kernel: [18522.815573] wlan0: RX ReassocResp from 00:18:f8:f2:08:ac (capab=0x411 status=0 aid=3) Apr 5 21:06:01 apu kernel: [18522.815582] wlan0: associated Apr 5 21:06:01 apu kernel: [18522.817145] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready Apr 5 21:06:02 apu wpa_supplicant[1364]: WPA: Key negotiation completed with 00:18:f8:f2:08:ac [PTK=CCMP GTK=CCMP] Apr 5 21:06:02 apu wpa_supplicant[1364]: CTRL-EVENT-CONNECTED - Connection to 00:18:f8:f2:08:ac completed (reauth) [id=0 id_str=] Apr 5 21:06:02 apu NetworkManager[1344]: info Activation (wlan0) Beginning IP6 addrconf. My home router do not send RA's with O(ther) or M(anaged) flags set so there isn't any DHCPv6 answer to wait for (unless it's trying to get a PD, which makes no sense for a host). pelle@apu:~$ rdisc6 -1 wlan0 Soliciting ff02::2 (ff02::2) on wlan0... Hop limit : 64 ( 0x40) Stateful address conf.: No Stateful other conf. : No Router preference : medium Router lifetime : 1800 (0x0708) seconds Reachable time: unspecified (0x) Retransmit time : unspecified (0x) Prefix : 2001:db8:9104:200::abba:babe/64 Valid time :86400 (0x00015180) seconds Pref. time :14400 (0x3840) seconds Recursive DNS server : 2001:db8:2001::2:53 DNS server lifetime : 600 (0x0258) seconds Source link-layer address: 00:18:F8:F2:08:AA from fe80::200:ff:fe00:0 pelle@apu:~$ As it's the whole link that is flapping makes both IPv4 and IPv6 connectivity flap, which makes this even worse. I've tried other IPv6 modes in N-M, for example Automatic, addresses only but with that one the IPv6 connectivity is really bad (maybe another bug should be posted...) and test-ipv6.com reports a broken system (2-3/10 if I recall correctly). With automatic I get a perfect 10/10. If I do turn off IPv6 (Ignore in N-M), I have a perfectly stable IPv4 link without any spurious link flaps. Note: The changed N-M.conf is just me setting on loglevel debug for IP6. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (600, 'testing'), (400, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages network-manager depends on: ii adduser3.113+nmu1 ii dbus 1.4.18-1 ii dpkg 1.16.2 ii isc-dhcp-client4.2.2.dfsg.1-4 ii libc6 2.13-27 ii libdbus-1-31.4.18-1 ii libdbus-glib-1-2 0.98-1 ii libgcrypt111.5.0-3 ii libglib2.0-0 2.30.2-6 ii libgnutls262.12.18-1 ii libgudev-1.0-0 175-3.1 ii libnl-3-2003.2.7-2 ii libnl-genl-3-200 3.2.7-2 ii libnl-route-3-200 3.2.7-2 ii libnm-glib40.9.4.0-1 ii libnm-util20.9.4.0-1 ii libpolkit-gobject-1-0 0.104-2 ii libuuid1 2.20.1-4 ii lsb-base 3.2+Debian31 ii udev 175-3.1 ii wpasupplicant 0.7.3-6 Versions of packages network-manager recommends: ii crda 1.1.2-1 ii dnsmasq-base 2.60-2 ii iptables 1.4.12.2-1 ii modemmanager 0.5.2.0-1 ii policykit-1 0.104-2 ii ppp 2.4.5-5 Versions of packages network-manager suggests: ii avahi-autoipd 0.6.31-1 -- Configuration Files: /etc/NetworkManager/NetworkManager.conf changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of
Bug#664150: dh-make-perl: Fails to parse perl_5 in META.json as a license
Seems like it stumbles over the array; print META says: , Dumper $self-meta-{license}; outputs: META says: $VAR1 = [ 'perl_5' ]; Changing if ( $self-meta-{license} and $self-meta-{license} =~ /perl/i to if ( $self-meta-{license} and $self-meta-{license} ~~ /perl/i works in this case (lib/DhMakePerl/Command/Packaging.pm, line 1065). Not sure about any side effects, in theory it should work for both scalars and arrays, and smart matching exists since 5.10 ... It stumbles on other licenses as well. According to CPAN::Meta:Spec the licenses attribute is always an array, and might contain more than one license: license Example: license = [ 'perl_5' ] license = [ 'apache_2', 'mozilla_1_0' ] (Spec 2) [required] {List of one or more License Strings} I've attached a patch to treat $self-meta-{license} as an ARRAY and loop over it. While on it, I did also add support for some other licenses as well (beyond 'perl'). -- Pelle D’ä e å, vett ja”, skrek ja, för ja ble rasen, ”å i åa ä e ö, hörer han lite, d’ä e å, å i åa ä e ö - Gustav Fröding, 1895 From 86a4b842c37b54f0157f9aabfc7cc08ea6bb1c03 Mon Sep 17 00:00:00 2001 From: Per Carlson pe...@hemmop.com Date: Fri, 16 Mar 2012 11:12:04 +0100 Subject: [PATCH] License attribute from META file is array. --- lib/DhMakePerl/Command/Packaging.pm | 29 +++-- 1 files changed, 23 insertions(+), 6 deletions(-) diff --git a/lib/DhMakePerl/Command/Packaging.pm b/lib/DhMakePerl/Command/Packaging.pm index 596104b..442bf65 100644 --- a/lib/DhMakePerl/Command/Packaging.pm +++ b/lib/DhMakePerl/Command/Packaging.pm @@ -2,6 +2,7 @@ package DhMakePerl::Command::Packaging; use strict; use warnings; +use feature 'switch'; =head1 NAME @@ -1062,13 +1063,29 @@ sub create_copyright { # mind that many licenses are not meant to be used as # templates (i.e. you must add the author name and some # information within the licensing text as such). -if ( $self-meta-{license} and $self-meta-{license} =~ /perl/i -or $mangle_cprt =~ /terms\s*as\s*Perl\s*itself/is ) -{ -$licenses{'GPL-1+'} = 1; -$licenses{'Artistic'} = 1; -} +if ( $self-meta-{license} ) { + foreach ( @{ $self-meta-{license} }) { + given ($_) { + when (/apache_2_0/) { $licenses{'Apache-2.0'} = 1; } + when (/artistic_1/) { $licenses{'Artistic'} = 1; } + when (/artistic_2/) { $licenses{'Artistic-2.0'} = 1; } + # EU::MM and M::B converts the unversioned 'gpl' to gpl_1. + # As a unversioned GPL means *any* GPL,I think it's safe to use GPL-1+ here + when (/gpl_1/) { $licenses{'GPL-1+'} = 1; } + + when (/perl_5/) { + $licenses{'GPL-1+'} = 1; + $licenses{'Artistic'} = 1; + } + } + } + } else { + if ( $mangle_cprt =~ /terms\s*as\s*Perl\s*itself/is ) { + $licenses{'GPL-1+'} = 1; + $licenses{'Artistic'} = 1; + } + if ( $mangle_cprt =~ /[^L]GPL/ ) { if ( $mangle_cprt =~ /GPL.*version\s*1.*later\s+version/is ) { $licenses{'GPL-1+'} = 1; -- 1.7.9.1
Bug#664150: dh-make-perl: Fails to parse perl_5 in META.json as a license
Package: dh-make-perl Version: 0.75-1 Severity: normal In my M::B Build.PL file I have set the license as 'perl'. pelle@devel:~/src/netaudit$ cat Build.PL use Module::Build; my $build = Module::Build-new ( license = 'perl', ... ); When M::B generates the META.json file, this is converted to perl_5. pelle@devel:~/src/netaudit$ cat META.json { license : [ perl_5 ], ... } Of some reason dh-make-perl does not pick up this, even though it tries to match on /perl/i. pelle@devel:~/src/netaudit$ LANG=C dh-make-perl refresh -o copyright Engaging refresh mode in . Using META.json Found: netaudit 0.9918 (netaudit arch=all) W: overwriting debian/copyright.bak ** Copyright information incomplete! Upstream copyright information could not be automatically determined. If you are building this package for your personal use, you might disregard this information; however, if you intend to upload this package to Debian (or in general, if you plan on distributing it), you must look into the complete copyright information. The causes for this warning are: Licensing information is present, but cannot be parsed --- Done AFAICS CPAN::Meta does the right thing when parsing the META file. pelle@devel:~/src/netaudit$ perl -E ' use CPAN::Meta; use Data::Dumper; my $meta = CPAN::Meta-load_file(META.json); my $struct = $meta-as_struct; print Dumper($struct); ' $VAR1 = { 'license' = [ 'perl_5' ], ... }; -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (900, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dh-make-perl depends on: ii debhelper 9.20120115 ii dpkg-dev1.16.1.2 ii fakeroot1.18.2-1 ii libapt-pkg-perl 0.1.25+b1 ii libarray-unique-perl0.08-1 ii libclass-accessor-perl 0.34-1 ii libdpkg-perl1.16.1.2 ii libemail-address-perl 1.895-1 ii libemail-date-format-perl 1.002-1 ii libfile-which-perl 1.09-1 ii liblist-moreutils-perl 0.33-1+b1 ii libmodule-depends-perl 0.15-2 ii libparse-debcontrol-perl2.005-3 ii libparse-debianchangelog-perl 1.2.0-1 ii libsoftware-license-perl0.103004-1 ii libtie-ixhash-perl 1.21-2 ii libwww-mechanize-perl 1.71-1 ii libyaml-perl0.80-1 ii make3.81-8.1 ii perl5.14.2-9 ii perl-modules [libmodule-corelist-perl] 5.14.2-9 Versions of packages dh-make-perl recommends: ii apt-file 2.5.0 ii git 1:1.7.9.1-1 ii pristine-tar 1.20 dh-make-perl suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#626571: nslcd: Postinst doesn't handle 2 level domains in base DN suggestion
Package: nslcd Version: 0.7.13 Severity: normal Tags: patch When postinst is running it suggests a base DN based on the domain name of the host. This fails when the domain consists of more than two levels. In nslcd.config the following code is found: # domain name to build the default base if [ -n $domain ] then searchbase=`echo $domain | sed 's/^/dc=/;s/\./,dc=/'` || true db_set nslcd/ldap-base $searchbase fi fi The sed command is missing a flag 'g' to make the '.' to ',dc=' part to function more than once (two level domains). pelle@devel:~$ echo lab.example.com | sed 's/^/dc=/;s/\./,dc=/' dc=lab,dc=example.com pelle@devel:~$ echo lab.example.com | sed 's/^/dc=/;s/\./,dc=/g' dc=lab,dc=example,dc=com A rather trivial patch is attached. - System Information: Debian Release: 6.0.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages nslcd depends on: ii adduser 3.112+nmu2 add and remove users and groups ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy ii libc6 2.11.2-10Embedded GNU C Library: Shared lib ii libgssapi-krb5-21.8.3+dfsg-4 MIT Kerberos runtime libraries - k ii libldap-2.4-2 2.4.23-7 OpenLDAP libraries Versions of packages nslcd recommends: ii libnss-ldapd [libnss-ldap]0.7.13 NSS module for using LDAP as a nam ii libpam-ldapd [libpam-ldap]0.7.13 PAM module for using LDAP as an au ii nscd 2.11.2-10 Embedded GNU C Library: Name Servi Versions of packages nslcd suggests: pn kstartnone (no description available) -- debconf information: nslcd/ldap-starttls: false * nslcd/ldap-base: dc=lab,dc=example,dc=com nslcd/ldap-reqcert: * nslcd/ldap-uris: ldap://ns1 ldap://ns2 nslcd/ldap-binddn: --- /var/lib/dpkg/info/nslcd.config 2010-12-11 23:25:42.0 +0100 +++ nslcd.config2011-05-13 08:54:43.0 +0200 @@ -38,7 +38,7 @@ # domain name to build the default base if [ -n $domain ] then - searchbase=`echo $domain | sed 's/^/dc=/;s/\./,dc=/'` || true + searchbase=`echo $domain | sed 's/^/dc=/;s/\./,dc=/g'` || true db_set nslcd/ldap-base $searchbase fi fi
Bug#602912: cipux-cat-web: missing dependency of liblocale-maketext-lexicon-perl.
Package: cipux-cat-web Version: 3.4.0.2-3 Severity: important The cipux-cat-web package depends on liblocale-maketext-lexicon-perl to run properly. A clean install gives the following apache2 errors when trying to load the page $server/cipux-cat-web/cat.cgi: [Tue Nov 9 11:28:15 2010] View.pm: Use of uninitialized value $arg in join or string at /usr/share/perl/5.10/CGI/Carp.pm line 434. [Tue Nov 9 11:28:15 2010] cat.cgi: Died at /usr/share/perl/5.10/base.pm line 93. [Tue Nov 9 11:28:15 2010] cat.cgi: BEGIN failed--compilation aborted at /usr/share/perl5/CipUX/CAT/Web/View.pm line 28. [Tue Nov 9 11:28:15 2010] cat.cgi: Compilation failed in require at /usr/share/perl5/CipUX/CAT/Web/Controller.pm line 22. [Tue Nov 9 11:28:15 2010] cat.cgi: BEGIN failed--compilation aborted at /usr/share/perl5/CipUX/CAT/Web/Controller.pm line 22. [Tue Nov 9 11:28:15 2010] cat.cgi: Compilation failed in require at /usr/share/perl5/CipUX/CAT/Web.pm line 22. [Tue Nov 9 11:28:15 2010] cat.cgi: BEGIN failed--compilation aborted at /usr/share/perl5/CipUX/CAT/Web.pm line 22. [Tue Nov 9 11:28:15 2010] cat.cgi: Compilation failed in require at /usr/share/cipux-cat-web/web/cat.cgi line 22. [Tue Nov 9 11:28:15 2010] cat.cgi: BEGIN failed--compilation aborted at /usr/share/cipux-cat-web/web/cat.cgi line 22. When checking the package View.pm, Perl complains about a missing module: $ perl -wc /usr/share/perl5/CipUX/CAT/Web/View.pm Status: 500 Content-type: text/html h1Software error:/h1 preCan't locate Locale/Maketext/Lexicon.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/perl5/CipUX/CAT/Web/L10N.pm line 20. BEGIN failed--compilation aborted at /usr/share/perl5/CipUX/CAT/Web/L10N.pm line 20. Compilation failed in require at (eval 31) line 3. ...propagated at /usr/share/perl/5.10/base.pm line 93. BEGIN failed--compilation aborted at /usr/share/perl5/CipUX/CAT/Web/View.pm line 28. /pre p For help, please send mail to this site's webmaster, giving this error message and the time and date of the error. /p [Tue Nov 9 11:54:11 2010] View.pm: Can't locate Locale/Maketext/Lexicon.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/perl5/CipUX/CAT/Web/L10N.pm line 20. [Tue Nov 9 11:54:11 2010] View.pm: BEGIN failed--compilation aborted at /usr/share/perl5/CipUX/CAT/Web/L10N.pm line 20. [Tue Nov 9 11:54:11 2010] View.pm: Compilation failed in require at (eval 31) line 3. [Tue Nov 9 11:54:11 2010] View.pm: ...propagated at /usr/share/perl/5.10/base.pm line 93. [Tue Nov 9 11:54:11 2010] View.pm: BEGIN failed--compilation aborted at /usr/share/perl5/CipUX/CAT/Web/View.pm line 28. After installing 'liblocale-maketext-lexicon-perl' the error is cleared: $ sudo aptitude install liblocale-maketext-lexicon-perl The following NEW packages will be installed: liblocale-maketext-lexicon-perl snip/ $ $ perl -wc /usr/share/perl5/CipUX/CAT/Web/View.pm /usr/share/perl5/CipUX/CAT/Web/View.pm syntax OK $ -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages cipux-cat-web depends on: ii apache2 2.2.16-3 Apache HTTP Server metapackage ii apache2-mpm-worker [httpd-cgi 2.2.16-3 Apache HTTP Server - high speed th ii debconf [debconf-2.0] 1.5.36 Debian configuration management sy ii libcgi-formbuilder-perl 3.05.01-7 Easily generate and process statef ii libcipux-cat-web-perl 3.4.0.2-3 user and resource management frame ii libcipux-perl 3.4.0.11-1 user and resource management frame ii libclass-std-perl 0.0.9-2Support for creating standard ins ii libdate-manip-perl6.11-1 module for manipulating dates ii libfrontier-rpc-perl 0.07b4-4 Perl module to implement RPC calls ii libtemplate-perl 2.22-0.1 template processing system written ii perl 5.10.1-15 Larry Wall's Practical Extraction ii perl-modules [libversion-perl 5.10.1-15 Core Perl modules Versions of packages cipux-cat-web recommends: ii cipux-rpcd3.4.0.8-1 XML-RPC server for CipUX cipux-cat-web suggests no packages. -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#602918: directory /var/cache/cipux-cat-web needs to be created in postinst
Package: cipux-cat-web Version: 3.4.0.2-3 Severity: normal When accessing $server/cipux-cat-web/cat.cgi I get the following error: Software error: Can not open /var/cache/cipux-cat-web/cipux-cat-web/c35005245674135cbd101c1409208d01 for writing! at /usr/share/cipux-cat-web/web/cat.cgi line 25 This directory needs to be created with proper attributes at install time. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages cipux-cat-web depends on: ii apache2 2.2.16-3 Apache HTTP Server metapackage ii apache2-mpm-worker [httpd-cgi 2.2.16-3 Apache HTTP Server - high speed th ii debconf [debconf-2.0] 1.5.36 Debian configuration management sy ii libcgi-formbuilder-perl 3.05.01-7 Easily generate and process statef ii libcipux-cat-web-perl 3.4.0.2-3 user and resource management frame ii libcipux-perl 3.4.0.11-1 user and resource management frame ii libclass-std-perl 0.0.9-2Support for creating standard ins ii libdate-manip-perl6.11-1 module for manipulating dates ii libfrontier-rpc-perl 0.07b4-4 Perl module to implement RPC calls ii libtemplate-perl 2.22-0.1 template processing system written ii perl 5.10.1-15 Larry Wall's Practical Extraction ii perl-modules [libversion-perl 5.10.1-15 Core Perl modules Versions of packages cipux-cat-web recommends: ii cipux-rpcd3.4.0.8-1 XML-RPC server for CipUX cipux-cat-web suggests no packages. -- debconf information: cipux-cat-web/restart-webserver: true cipux-cat-web/reconfigure-webserver: apache2, lighttpd From 8993ac4074f48da64a9d34e6a062f8d6b4dc2fb9 Mon Sep 17 00:00:00 2001 From: Per Carlson pe...@hemmop.com Date: Tue, 9 Nov 2010 13:46:44 +0100 Subject: [PATCH] d/postinst: added creation of /var/cache/cipux-cat-web --- debian/postinst |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/debian/postinst b/debian/postinst index 433842e..a631d74 100644 --- a/debian/postinst +++ b/debian/postinst @@ -20,6 +20,13 @@ case $1 in [ -f /etc/cipux-cat-web/cipux-cat-web.conf ] \ chmod 640 /etc/cipux-cat-web/cipux-cat-web.conf chown -R www-data:www-data /etc/cipux-cat-web +# +# added by pe...@hemmop.com +if [ ! -d /var/cache/cipux-cat-web ]; then + mkdir -p /var/cache/cipux-cat-web + fi + chown -R www-data:www-data /var/cache/cipux-cat-web + chmod 750 /var/cache/cipux-cat-web ;; abort-upgrade|abort-remove|abort-deconfigure) ;; -- 1.7.2.3
Bug#596209: alian: Fails to convert a 'noarch' RPM to deb
Subject: alien: Fails to convert a 'noarch' RPM to deb Package: alien Version: 8.82 Severity: normal *** Please type your report below this line *** When converting a 'noarch' RPM to a deb package, alien fails with the message: Radiator-4.7-1.noarch.rpm is for architecture all ; the package cannot be built on this system. As Radiator is written in pure Perl, I would assume the architecture check to always pass. The ARCH in the RPM is a true 'noarch': $ rpm -qp --queryformat %{ARCH} Radiator-4.7-1.noarch.rpm; echo noarch $ In Alien::Package::Deb, dpkg-architecture is called 'dpkg-architecture -i.$arch' (where $arch == 'all' in my case), but according to the dpkg-architecture man page, -i should be followed by a 'architecture-wildcard' defined as: An architecture wildcard is a special architecture string that will match any real architecture being part of it. The general form is kernel-cpu. Examples: linux-any, any-i386, hurd-any. Shouldn't 'noarch' be translated to 'any' instead of 'all'? For completeness: on the build system, dpkg-architecture reports: $ dpkg-architecture DEB_BUILD_ARCH=i386 DEB_BUILD_ARCH_OS=linux DEB_BUILD_ARCH_CPU=i386 DEB_BUILD_ARCH_BITS=32 DEB_BUILD_ARCH_ENDIAN=little DEB_BUILD_GNU_CPU=i486 DEB_BUILD_GNU_SYSTEM=linux-gnu DEB_BUILD_GNU_TYPE=i486-linux-gnu DEB_HOST_ARCH=i386 DEB_HOST_ARCH_OS=linux DEB_HOST_ARCH_CPU=i386 DEB_HOST_ARCH_BITS=32 DEB_HOST_ARCH_ENDIAN=little DEB_HOST_GNU_CPU=i486 DEB_HOST_GNU_SYSTEM=linux-gnu DEB_HOST_GNU_TYPE=i486-linux-gnu $ -- System Information: Debian Release: squeeze/sid APT prefers stable APT policy: (990, 'stable'), (800, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages alien depends on: ii cpio 2.9-13lenny1GNU cpio -- a program to manage ar ii debhelper8.0.0 helper programs for debian/rules ii dpkg-dev 1.15.8.4Debian package development tools ii make 3.81-5 The GNU version of the make util ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction ii rpm 4.8.1-5 package manager for RPM ii rpm2cpio 4.8.1-5 tool to convert RPM package to CPI alien recommends no packages. Versions of packages alien suggests: ii bzip2 1.0.5-1high-quality block-sorting file co ii lintian 2.4.3 Debian package checker pn lsb-rpm none (no description available) ii lzma 4.43-14Compression method of 7z format in ii patch 2.5.9-5Apply a diff file to an original -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#566975: nfdump: nfexpire doesn't store limits in datadir/.nfstat
Package: nfdump Version: 1.6-1 Severity: normal When setting a limit on the datadir used for netflow data, the setting isn't stored in the datadir/.nfstat file. The fault affects both size and time limits (only size limit is shown below). pe...@mgmt:~$ sudo ls -l /var/cache/nfdump ls: cannot access /var/cache/nfdump: No such file or directory pe...@mgmt:~$ pe...@mgmt:~$ sudo aptitude install nfdump/unstable snip/ Unpacking nfdump (from .../archives/nfdump_1.6-1_i386.deb) ... Processing triggers for man-db ... Setting up nfdump (1.6-1) ... snip/ pe...@mgmt:~$ pe...@mgmt:~$ sudo nfexpire -l /var/cache/nfdump/ Force rebuild to create stat record in /var/cache/nfdump/ Scanning files in /var/cache/nfdump/ .. done. First: 2010-01-26 09:34:41 Last: 2010-01-26 09:34:41 Lifetime: 0 sec Numfiles: 0 Filesize: 0 B Max Size: none Max Life: none Watermark: 0% Status:Force rebuild pe...@mgmt:~$ sudo nfexpire -u /var/cache/nfdump/ -s 500m Force rebuild requested by stat record in /var/cache/nfdump/ Scanning files in /var/cache/nfdump/ .. done. First: 2010-01-26 09:34:52 Last: 2010-01-26 09:34:52 Lifetime: 0 sec Numfiles: 0 Filesize: 0 B Max Size: 524288000 = 500.0 MB Max Life: none Watermark: 95% Status:Force rebuild pe...@mgmt:~$ sudo nfexpire -l /var/cache/nfdump/ Force rebuild requested by stat record in /var/cache/nfdump/ Scanning files in /var/cache/nfdump/ .. done. First: 2010-01-26 09:34:55 Last: 2010-01-26 09:34:55 Lifetime: 0 sec Numfiles: 0 Filesize: 0 B Max Size: none Max Life: none Watermark: 95% Status:Force rebuild pe...@mgmt:~$ sudo ls -laR /var/cache/nfdump/ /var/cache/nfdump/: total 8 drwxr-xr-x 2 root root 4096 2010-01-26 09:34 . drwxr-xr-x 15 root root 4096 2010-01-26 09:34 .. -rw-r--r-- 1 root root0 2010-01-26 09:34 .nfstat pe...@mgmt:~$ pe...@mgmt:~$ ls -l /usr/bin/nfexpire -rwxr-xr-x 1 root root 35908 2010-01-16 01:23 /usr/bin/nfexpire pe...@mgmt:~$ -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (990, 'stable'), (400, 'testing'), (300, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages nfdump depends on: ii libc6 2.7-18lenny2 GNU C Library: Shared libraries ii librrd4 1.3.1-4 Time-series data storage and displ ii lsb-base3.2-20 Linux Standard Base 3.2 init scrip nfdump recommends no packages. nfdump suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#556462: rancid: Addition of native module for IOS XR
Package: rancid Version: 2.3.2-1 Severity: wishlist Tags: patch While RANCID supposely suppports IOS XR (IOX) since 2.3.2, this support is merely a tweak of the IOS-code, and not a proper IOS XR module. This tweak makes things suboptimal. For example you must turn on autoenable for all XR devices and all commands are run from user mode when some commands benefits being run from admin mode. The introduction of an own module for IOS XR (named xrrancid) forced me to change a couple of automake/autoconf files. This in turn makes automake/autoconf generation a lot of new files for the build system. This makes lintian warn about changes to files outside the patch system. My lintian-fuu is too weak to resolve that issus. -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (990, 'stable'), (400, 'testing'), (300, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages rancid depends on: ii adduser 3.110 add and remove users and groups ii cvs 1:1.12.13-12Concurrent Versions System ii debconf [debconf-2.0]1.5.24 Debian configuration management sy ii expect 5.43.0-17 A program that can automate intera ii iputils-ping [ping] 3:20071127-1Tools to test the reachability of ii libc62.7-18 GNU C Library: Shared libraries ii openssh-client 1:5.1p1-5 secure shell client, an rlogin/rsh ii passwd 1:4.1.1-6 change and administer password and ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction ii ssh 1:5.1p1-5 secure shell client and server (me ii subversion 1.5.1dfsg1-4Advanced version control system rancid recommends no packages. Versions of packages rancid suggests: ii diffstat 1.45-2 produces graph of changes introduc -- debconf information: * rancid/warning: * rancid/go_on: true #! /bin/sh /usr/share/dpatch/dpatch-run ## PC_iosxr.dpatch by per...@gmail.com ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Proper support for Cisco IOS XR devices @DPATCH@ --- rancid-2.3.2/configure.in.orig 2009-11-12 09:24:29.0 +0100 +++ rancid-2.3.2/configure.in 2009-11-12 09:24:43.0 +0100 @@ -466,6 +466,7 @@ AC_CONFIG_FILES(bin/tntlogin bin/tntrancid, [chmod a+x $ac_file]) AC_CONFIG_FILES(bin/trancid, [chmod a+x $ac_file]) AC_CONFIG_FILES(bin/xrancid, [chmod a+x $ac_file]) +AC_CONFIG_FILES(bin/xrrancid, [chmod a+x $ac_file]) AC_CONFIG_FILES(bin/zrancid, [chmod a+x $ac_file]) AC_CONFIG_FILES(share/rtrfilter, [chmod a+x $ac_file]) --- rancid-2.3.2/bin/Makefile.am.orig 2009-04-17 00:04:43.0 +0200 +++ rancid-2.3.2/bin/Makefile.am 2009-11-12 09:42:06.0 +0100 @@ -55,7 +55,7 @@ jerancid jlogin jrancid mrancid mrvlogin mrvrancid nlogin nrancid \ nslogin nsrancid nxrancid par prancid rancid-fe rancid rivlogin \ rivrancid rrancid srancid tlogin tntlogin tntrancid trancid xrancid \ - zrancid + xrrancid zrancid bin_SCRIPTS += lg.cgi lgform.cgi rancid-cvs rancid-run EXTRA_DIST= lg.cgi.in lgform.cgi.in rancid-cvs.in rancid-run.in --- rancid-2.3.2/man/rancid.1.orig 2009-11-12 09:03:05.0 +0100 +++ rancid-2.3.2/man/rancid.1 2009-11-12 09:03:44.0 +0100 @@ -101,6 +101,9 @@ .B xrancid Extreme switches .TP +.B xrrancid +Cisco IOS-XR devices +.TP .B zrancid Zebra routing software .PP --- /dev/null 2009-11-09 09:44:53.507217821 +0100 +++ rancid-2.3.2/man/xrrancid.1 2009-11-12 09:04:02.0 +0100 @@ -0,0 +1 @@ +.so man1/rancid.1 --- rancid-2.3.2/bin/rancid-fe.in.orig 2009-11-12 15:43:33.0 +0100 +++ rancid-2.3.2/bin/rancid-fe.in 2009-11-12 15:44:06.0 +0100 @@ -58,6 +58,7 @@ 'cat5' = 'cat5rancid', 'cisco' = 'rancid', 'cisco-nx' = 'nxrancid', +'cisco-xr' = 'xrrancid', 'css' = 'cssrancid', 'enterasys' = 'rivrancid', 'erx' = 'jerancid', --- /dev/null 2009-11-09 09:44:53.507217821 +0100 +++ rancid-2.3.2/bin/xrrancid.in 2009-11-13 13:52:16.0 +0100 @@ -0,0 +1,854 @@ +#! @PERLV_PATH@ +## +## $Id$ +## +## @PACKAGE@ @VERSION@ +## Copyright (c) 1997-2007 by Terrapin Communications, Inc. +## All rights reserved. +## +## This code is derived from software contributed to and maintained by +## Terrapin Communications, Inc. by Henry Kilmer, John Heasley, Andrew Partan, +## Pete Whiting, Austin Schutz, and Andrew Fort. +## +## Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions +## are met: +## 1. Redistributions of source code must retain the above copyright +##notice, this list of conditions and the following disclaimer. +## 2. Redistributions in binary
Bug#555705: rancid: Disable prompt timestamp on Cisco IOS devices
Package: rancid Version: 2.3.2-1 Severity: normal Tags: patch On a Cisco IOS device it's possible to enable a timpestamp prompt prepending all show commands. For example: line vty 0 4 exec prompt timestamp This timestamp garbles the output and makes every single run look different to rancid/CVS/svn. My proposal is to disable this timestamp prompt *in this particular terminal session* before doing any command output parsing. A patch which accomplish that is attached. -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (990, 'stable'), (400, 'testing'), (300, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages rancid depends on: ii adduser 3.110 add and remove users and groups ii cvs 1:1.12.13-12Concurrent Versions System ii debconf [debconf-2.0]1.5.24 Debian configuration management sy ii expect 5.43.0-17 A program that can automate intera ii iputils-ping [ping] 3:20071127-1Tools to test the reachability of ii libc62.7-18 GNU C Library: Shared libraries ii openssh-client 1:5.1p1-5 secure shell client, an rlogin/rsh ii passwd 1:4.1.1-6 change and administer password and ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction ii ssh 1:5.1p1-5 secure shell client and server (me ii subversion 1.5.1dfsg1-4Advanced version control system rancid recommends no packages. Versions of packages rancid suggests: ii diffstat 1.45-2 produces graph of changes introduc -- debconf information: * rancid/warning: * rancid/go_on: true #! /bin/sh /usr/share/dpatch/dpatch-run ## PC_rancid_no_timestamps.dpatch by Per Carlson per...@gmail.com ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Disable timestamp outout on Cisco IOS devices @DPATCH@ --- rancid~/bin/rancid.in 2009-11-11 09:47:28.0 +0100 +++ rancid-2.3.2/bin/rancid.in 2009-11-11 09:52:22.0 +0100 @@ -1858,10 +1858,20 @@ } # dummy function -sub DoNothing {print STDOUT;} +sub DoNothing { +print STDERR In DoNothing: $_ if ($debug); + +while (INPUT) { + tr/\015//d; + last if (/^$prompt/); + next if (/^(\s*|\s*$cmd\s*)$/); +} +return 0; +} # Main @commandtable = ( + {'terminal no exec prompt timestamp' = 'DoNothing'}, {'admin show version' = 'ShowVersion'}, {'show version' = 'ShowVersion'}, {'show redundancy secondary' = 'ShowRedundancy'},
Bug#555548: rancid: Deapplying patch 09_svn fails
Package: rancid Version: 2.3.2-1 Severity: important Justification: fails to build from source After applying the Deban patches to the source, it's no longer possible to clean the source: pe...@mgmt:~/dev/rancid$ apt-get source rancid Reading package lists... Done Building dependency tree Reading state information... Done Need to get 371kB of source archives. Get:1 http://ftp.no.debian.org unstable/main rancid 2.3.2-1 (dsc) [1143B] Get:2 http://ftp.no.debian.org unstable/main rancid 2.3.2-1 (tar) [342kB] Get:3 http://ftp.no.debian.org unstable/main rancid 2.3.2-1 (diff) [28.3kB] Fetched 371kB in 0s (1762kB/s) dpkg-source: extracting rancid in rancid-2.3.2 dpkg-source: info: unpacking rancid_2.3.2.orig.tar.gz dpkg-source: info: applying rancid_2.3.2-1.diff.gz pe...@mgmt:~/dev/rancid$ cd rancid-2.3.2/ pe...@mgmt:~/dev/rancid/rancid-2.3.2$ fakeroot debian/rules test -d debian/patched || install -d debian/patched dpatch apply-all applying patch 01_rancid_par to ./ ... ok. applying patch 02_man_hyphen to ./ ... ok. applying patch 03_diffstat to ./ ... ok. applying patch 04_pixlogin to ./ ... ok. applying patch 05_man_fixup to ./ ... ok. applying patch 06_tmp_security to ./ ... ok. applying patch 07_nrancid_bs_paging to ./ ... ok. applying patch 08_hlogin_paging to ./ ... ok. applying patch 09_svn to ./ ... ok. dpatch cat-all patch-stampT mv -f patch-stampT patch-stamp pe...@mgmt:~/dev/rancid/rancid-2.3.2$ fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp rm -f config.log [ ! -f Makefile ] || /usr/bin/make distclean dh_clean dpatch deapply-all reverting patch 09_svn from ./ ... failed. make: *** [unpatch] Error 1 pe...@mgmt:~/dev/rancid/rancid-2.3.2$ dpatch deapply -v 09_svn.dpatch reverting patch 09_svn from ./ ... patching file bin/control_rancid.in Hunk #1 FAILED at 166. 1 out of 1 hunk FAILED -- saving rejects to file bin/control_rancid.in.rej The next patch, when reversed, would delete the file bin/control_rancid.in.orig, which does not exist! Applying it anyway. can't find file to patch at input line 27 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -- |diff -urNad rancid~/bin/control_rancid.in.orig rancid/bin/control_rancid.in.orig |--- rancid~/bin/control_rancid.in.orig |+++ rancid/bin/control_rancid.in.orig -- No file to patch. Skipping patch. 1 out of 1 hunk ignored patching file bin/rancid-cvs.in Hunk #1 FAILED at 131. 1 out of 1 hunk FAILED -- saving rejects to file bin/rancid-cvs.in.rej pe...@mgmt:~/dev/rancid/rancid-2.3.2$ -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (990, 'stable'), (400, 'testing'), (300, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages rancid depends on: ii adduser 3.110 add and remove users and groups ii cvs 1:1.12.13-12Concurrent Versions System ii debconf [debconf-2.0]1.5.24 Debian configuration management sy ii expect 5.43.0-17 A program that can automate intera ii iputils-ping [ping] 3:20071127-1Tools to test the reachability of ii libc62.7-18 GNU C Library: Shared libraries ii openssh-client 1:5.1p1-5 secure shell client, an rlogin/rsh ii passwd 1:4.1.1-6 change and administer password and ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction ii ssh 1:5.1p1-5 secure shell client and server (me ii subversion 1.5.1dfsg1-4Advanced version control system rancid recommends no packages. Versions of packages rancid suggests: ii diffstat 1.45-2 produces graph of changes introduc -- debconf information: * rancid/warning: * rancid/go_on: true -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#345712: ddclient: -use=cisco does not use -fw option as source for hostname in url
Package: ddclient Version: 3.6.2-6 Severity: normal Tags: patch when using a cisco router as internet gateway by specifying use=cisco and fw=[ip|url], the url crafted in get_ip does not use the -fw option. the result is that there is no host to contact, and consequently the call to geturl fails badly. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.4.27-2-386 Locale: LANG=swedish, LC_CTYPE=swedish (charmap=ISO-8859-1) Versions of packages ddclient depends on: ii debconf [debconf-2.0] 1.4.65 Debian configuration management sy ii perl [perl5] 5.8.7-9Larry Wall's Practical Extraction ddclient recommends no packages. -- debconf information excluded server$ rcsdiff -r1.1 -r1.2 /usr/sbin/ddclient === RCS file: /usr/sbin/RCS/ddclient,v retrieving revision 1.1 retrieving revision 1.2 diff -r1.1 -r1.2 3c3 # $Header: /usr/sbin/RCS/ddclient,v 1.1 2006/01/02 21:40:05 root Exp $ --- # $Header: /usr/sbin/RCS/ddclient,v 1.2 2006/01/02 22:23:49 root Exp $ 1518c1518 $url = http://${arg}/level/1/exec/show/ip/interface/brief/${queryif}/CR;; --- $url = http://; . opt('fw') . /level/1/exec/show/ip/interface/brief/${queryif}/CR;