- Timestamp:
- 2009-06-07T19:40:45Z (16 years ago)
- Branches:
- master
- Children:
- 25dfb16
- Parents:
- b6dd429
- Location:
- debian
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/changelog
rb6dd429 r5916995 5 5 * Fixed bitlbee.deb dep in bitlbee-dev to deal with binary NMUs. 6 6 (Closes: #531219) 7 8 -- Wilmer van der Gaast <wilmer@gaast.net> Sun, 07 Jun 2009 20:04:45 +0100 7 * Fixed free port detection code in debian/config which was a bit limited 8 and also buggy. 9 10 -- Wilmer van der Gaast <wilmer@gaast.net> Sun, 07 Jun 2009 20:40:00 +0100 9 11 10 12 bitlbee (1.2.3-1) unstable; urgency=critical -
debian/config
rb6dd429 r5916995 7 7 db_get bitlbee/serveport 8 8 if [ "$RET" = "stillhavetoask" ]; then 9 if netstat -ltn | grep ':6667' 2> /dev/null > /dev/null; then 10 port=6668; 11 else 12 port=6667; 13 fi 9 listens=$(netstat -ltn | awk '{print $4}') 10 for port in 6667 6666 6668 6669; do 11 if [ $(expr "$listens " : ".*:$port\s") = "0" ]; then 12 break 13 fi 14 done 14 15 db_set bitlbee/serveport $port; 15 16 fi
Note: See TracChangeset
for help on using the changeset viewer.