Changeset 4772500


Ignore:
Timestamp:
2010-06-05T17:35:39Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e774815
Parents:
4c03881
Message:

Put in the necessary hacks to make version number spoofing work again.

Location:
debian
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • debian/control

    r4c03881 r4772500  
    1212Package: bitlbee
    1313Architecture: any
    14 Depends: ${shlibs:Depends}, adduser, debianutils (>= 1.16), bitlbee-common (= ${source:Version})
     14Depends: ${shlibs:Depends}, adduser, debianutils (>= 1.16), bitlbee-common (= ${bee:Version})
    1515Conflicts: bitlbee-libpurple
    1616Replaces: bitlbee-libpurple
     
    2121Package: bitlbee-libpurple
    2222Architecture: any
    23 Depends: ${shlibs:Depends}, adduser, debianutils (>= 1.16), bitlbee-common (= ${source:Version})
     23Depends: ${shlibs:Depends}, adduser, debianutils (>= 1.16), bitlbee-common (= ${bee:Version})
    2424Conflicts: bitlbee
    2525Replaces: bitlbee
     
    4949Package: bitlbee-dev
    5050Architecture: all
    51 Depends: ${misc:Depends}, bitlbee (>= ${source:Version}), bitlbee (<< ${source:Version}.1~)
     51Depends: ${misc:Depends}, bitlbee (>= ${bee:Version}), bitlbee (<< ${bee:Version}.1~)
    5252Description: An IRC to other chat networks gateway
    5353 This program can be used as an IRC server which forwards everything you
  • debian/rules

    r4c03881 r4772500  
    2020        dh_testdir
    2121
    22         mkdir debian/build-native
     22        mkdir -p debian/build-native
    2323        ROOT=$$PWD; cd debian/build-native; $(BITLBEE_CONFIGURE_VERSION) $$ROOT/configure --debug=$(DEBUG) --prefix=/usr --etcdir=/etc/bitlbee --events=libevent $(BITLBEE_CONFIGURE_FLAGS)
    2424        $(MAKE) -C debian/build-native
    2525
    26         mkdir debian/build-libpurple
     26        mkdir -p debian/build-libpurple
    2727        ROOT=$$PWD; cd debian/build-libpurple; $(BITLBEE_CONFIGURE_VERSION) $$ROOT/configure --debug=$(DEBUG) --prefix=/usr --etcdir=/etc/bitlbee --purple=1 $(BITLBEE_CONFIGURE_FLAGS)
    2828        $(MAKE) -C debian/build-libpurple
     
    6262
    6363        dh_installdocs --link-doc=bitlbee-common
    64         dh_installchangelogs
     64        dh_installchangelogs doc/CHANGES
    6565        dh_installexamples
    6666        dh_installdebconf
     
    8080        dh_shlibdeps
    8181ifdef BITLBEE_VERSION
    82         dh_gencontrol -- -v1:$(BITLBEE_VERSION)-0
     82        echo source:Version=1:$(BITLBEE_VERSION)-0 > debian/substvars
     83        dh_gencontrol -- -v1:$(BITLBEE_VERSION)-0  -Vbee:Version=1:$(BITLBEE_VERSION)-0
    8384else
    84         dh_gencontrol
     85        dh_gencontrol -- -Vbee:Version=$(shell dpkg-parsechangelog | grep ^Version: | awk '{print $$2}' | sed -e 's/+[^+]*$$//')
    8586endif
    8687        dh_md5sums
Note: See TracChangeset for help on using the changeset viewer.