update debian packaging

This commit is contained in:
Oswald Buddenhagen 2012-08-26 16:16:12 +02:00
parent c43fc90dcf
commit 87cb946eda
8 changed files with 160 additions and 33 deletions

View File

@ -54,18 +54,16 @@ log:
git log --date=iso --log-size --name-only | \ git log --date=iso --log-size --name-only | \
perl -e '$(LOG_PL)' > ChangeLog ) perl -e '$(LOG_PL)' > ChangeLog )
deb: deb: deb-clean
CFLAGS="-O2 -mcpu=i686" fakeroot debian/rules binary CFLAGS= fakeroot debian/rules binary
deb-clean: deb-clean:
cd $(srcdir) && \ dh_clean -Xsrc/
dh_clean -Xsrc/ && \ fakeroot debian/rules clean
fakeroot debian/rules unpatch
distdir distclean: deb-clean
dist-hook: dist-hook:
find $(distdir)/debian \( -name .git -o -name .gitignore -o -name .#\*# -o -type l \) -print0 | xargs -0r rm -rf find $(distdir)/debian \( -name .#\*# -o -type l \) -print0 | xargs -0r rm -rf
-cd $(distdir)/debian && test -f .gitignore && rm -rf `cat .gitignore` .gitignore
dist-sign: dist dist-sign: dist
gpg -b -a $(PACKAGE)-$(VERSION).tar.gz gpg -b -a $(PACKAGE)-$(VERSION).tar.gz

View File

@ -1,5 +1,5 @@
files files
isync isync
isync.debhelper.log
isync.postrm.debhelper isync.postrm.debhelper
isync.substvars isync.substvars
patched

141
debian/changelog vendored
View File

@ -1,13 +1,140 @@
isync (0.9.2+cvsXXXXXXXX-1) unstable; urgency=low isync (1.0.4-2.1) unstable; urgency=low
* Non-maintainer upload.
* Drop debconf note that deals with a pre-Etch transition.
Closes: #492194
-- Christian Perrier <bubulle@debian.org> Sat, 25 Oct 2008 08:40:52 +0200
isync (1.0.4-2) unstable; urgency=low
* Change the libdb4.4-dev build-dependency to libdb-dev. Thanks Luk for
pointing this. (Closes: #499165)
-- Nicolas Boullis <nboullis@debian.org> Wed, 17 Sep 2008 23:58:58 +0200
isync (1.0.4-1) unstable; urgency=low
* The second "thanks Christian" release.
* New upstream release.
- Accept empty "* SEARCH" response. (Closes: #413336)
- Quote user name in generated config. (Closes: #456783)
* Explain the isync->mbsync change in the package description.
(Closes: #430648)
* Fix the debian/watch file that lacked the version and action fields.
* Disable the upstream "deb-clean" stuff in the top-level Makefile, as
in breaks cleaning the build directory.
* Bump Standards-Version to 3.7.3. (No change required.)
-- Nicolas Boullis <nboullis@debian.org> Sat, 03 May 2008 01:42:55 +0200
isync (1.0.3-3.1) unstable; urgency=low
* Non-maintainer upload to fix pending l10n issues.
* Debconf translations:
- Portuguese. Closes: #418283
- Italian. Closes: #418246
- Dutch. Closes: #422244
- Spanish. Closes: #426184
- Finnish. Closes: #468214
- Galician. Closes: #470529
* [Lintian] Do not include debian revision in the build dependency for
libssl-dev
* [Lintian] No longer ignore errors from "make distclean"
-- Christian Perrier <bubulle@debian.org> Wed, 12 Mar 2008 07:24:01 +0100
isync (1.0.3-3) unstable; urgency=low
* The "thanks Christian" release.
* Update German debconf templates translation. Thanks to Erik Schanze
(for the translation) and Christian Perrier (for forwarding the
translation). (Closes: #407615)
-- Nicolas Boullis <nboullis@debian.org> Mon, 5 Feb 2007 00:17:15 +0100
isync (1.0.3-2.1) unstable; urgency=low
* Non-maintainer upload with maintainer's permission
* Debconf templates translations:
- French updated by me
- Brazilian Portuguese translation added
- Czech translation added. Closes: #403473
- Russian translation added. Closes: #403510
- Vietnamese translation added
- Norwegian Bokmål translation added. Closes: #403523
-- Christian Perrier <bubulle@debian.org> Sun, 17 Dec 2006 15:31:04 +0100
isync (1.0.3-2) unstable; urgency=low
* Back to unstable, with permission from Steve Langasek. (Message-ID:
<20061121015225.GF28035@borges.dodds.net>)
* Rewrite the debconf note, thanks to the debian-l10n-english team (and
especially MJ Ray).
* Also add some information about the new version into NEWS.Debian.
* Remove the information about the need to set the T (trashed) flag from
README.Debian.
* Also install the isyncrc.sample sample configuration file.
* Bump Standards-Version to 3.7.2. (No change required.)
-- Nicolas Boullis <nboullis@debian.org> Tue, 5 Dec 2006 00:34:54 +0100
isync (1.0.3-1) experimental; urgency=low
* New upstream release. (Closes: #315423)
- Isync now supports breaking and linking threads. (Closes: #177280)
- It also supports unflagging messages. (Closes: #111286)
- IMAP commands are sent asynchronously. (Closes: #226222)
* Kill the old debconf question about upgrades from pre-0.8 versions.
* Use the (now obsolete) swedish and portugese translations anyway.
(Closes: #337771, #378891)
* New debconf note that warns about upgrades from pre-1.0 versions.
* Add a build dependency on po-debconf.
-- Nicolas Boullis <nboullis@debian.org> Sun, 19 Nov 2006 15:04:31 +0100
isync (0.9.2-4) unstable; urgency=low
* Add Czech debconf translation, thanks to Martin Šín. (Closes: #317571)
* Build with the newest libssl-dev.
* Load the debconf library in postinst to ensure that everything works
as expected, thanks to lintian for noticing the problem and to
Josselin Mouette for pointing to the right doc.
* Fix a bashism in the config script, thanks to lintian.
* Update the postal address of the FSF in the copyright file.
* Bump Standards-Version to 3.6.2. (No change required.)
-- Nicolas Boullis <nboullis@debian.org> Mon, 10 Oct 2005 01:37:50 +0200
isync (0.9.2-3) unstable; urgency=low
* Bump build-dependency from libdb4.0-dev to libdb4.2-dev, thanks to
Andreas Jochens. (Closes: #280268)
-- Nicolas Boullis <nboullis@debian.org> Tue, 9 Nov 2004 18:21:12 +0100
isync (0.9.2-2) unstable; urgency=low
* Add german debconf templates translation, thanks to Erik Schanze.
(Closes: #267675)
-- Nicolas Boullis <nboullis@debian.org> Tue, 24 Aug 2004 00:32:32 +0200
isync (0.9.2-1) unstable; urgency=low
* New upstream release. * New upstream release.
- Password prompt now includes the mailbox/server (Closes: #92893) - Password prompt now includes the mailbox/server. (Closes: #92893)
* Theodore Ts'o added as co-maintainer * Backported from CVS:
* Added initial asynchronous flags synchronization patch (Closes: #226222) - A few prinf converted to info (disabled with -q).
* Ignore anything that does not look remotely like a maildir when - A few other printf converted to warn (disabled with -q -q) to be
collecting mailboxes for OneToOne (from isync CVS) able to disable the warning when SSL is not available.
(Closes: #228086)
- Update the manpage accordingly (about -q).
- Improve the manpage (about using isync with mutt).
* Add Theodore Y. Ts'o as a co-maintainter.
-- Theodore Y. Ts'o <tytso@mit.edu> Sun, 11 Jan 2004 02:38:48 -0500 -- Nicolas Boullis <nboullis@debian.org> Tue, 13 Apr 2004 02:12:42 +0200
isync (0.9.1-4) unstable; urgency=low isync (0.9.1-4) unstable; urgency=low

11
debian/control vendored
View File

@ -2,9 +2,9 @@ Source: isync
Section: mail Section: mail
Priority: optional Priority: optional
Maintainer: Nicolas Boullis <nboullis@debian.org> Maintainer: Nicolas Boullis <nboullis@debian.org>
Uploaders: Nicolas Boullis <nboullis@debian.org>, Theodore Y. Ts'o <tytso@mit.edu> Uploaders: Theodore Y. Ts'o <tytso@mit.edu>
Standards-Version: 3.6.1 Standards-Version: 3.7.3
Build-Depends: libssl-dev, debhelper (>= 4.1.16), dpkg-dev (>= 1.9.0), libdb4.2-dev, dpatch Build-Depends: libssl-dev (>= 0.9.8), debhelper (>= 4.1.16), dpkg-dev (>= 1.9.0), libdb-dev
Package: isync Package: isync
Architecture: any Architecture: any
@ -17,6 +17,11 @@ Description: Synchronize Maildir and IMAP4 mailboxes
It is useful for working in disconnected mode, such as on a laptop or with a It is useful for working in disconnected mode, such as on a laptop or with a
non-permanent internet collection (dIMAP). non-permanent internet collection (dIMAP).
. .
The main application was much improved in version 1.0. Those
improvements lead to interface changes and the application being
renamed to mbsync. The application isync is now only a wrapper to
keep compatibility with earlier versions.
.
Features: Features:
* Fine-grained selection of synchronization operations to perform * Fine-grained selection of synchronization operations to perform
* Synchronizes single mailboxes or entire mailbox collections * Synchronizes single mailboxes or entire mailbox collections

4
debian/generate-deb vendored
View File

@ -23,8 +23,8 @@ if [ "$OLDVERSION" != "$VERSION" ]; then
sed -e s/+cvsXXXXXXXX/+cvs${DATE}/ < debian/changelog > debian/changelog.new sed -e s/+cvsXXXXXXXX/+cvs${DATE}/ < debian/changelog > debian/changelog.new
mv debian/changelog.new debian/changelog mv debian/changelog.new debian/changelog
fi fi
find . -name CVS -print0 | xargs -0r rm -rf find . -name .git -print0 | xargs -0r rm -rf
find . -name .cvsignore -print0 | xargs -0r rm find . -name .gitignore -print0 | xargs -0r rm
find . -type l -print0 | xargs -0r rm find . -type l -print0 | xargs -0r rm
find . -name .#\*# -print0 | xargs -0r rm find . -name .#\*# -print0 | xargs -0r rm
aclocal aclocal

View File

17
debian/rules vendored
View File

@ -1,7 +1,5 @@
#!/usr/bin/make -f #!/usr/bin/make -f
PACKAGE=isync
CFLAGS = -Wall -g CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0 CFLAGS += -O0
@ -13,18 +11,17 @@ DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
build: build-stamp build: build-stamp
build-stamp: patch-stamp build-stamp:
dh_testdir dh_testdir
./configure --disable-maintainer-mode --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) --prefix=/usr --mandir=/usr/share/man ./configure --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) --prefix=/usr --mandir=/usr/share/man
$(MAKE) CFLAGS="$(CFLAGS)" $(MAKE) CFLAGS="$(CFLAGS)"
touch build-stamp touch build-stamp
clean: clean1 unpatch clean:
clean1:
dh_testdir dh_testdir
dh_testroot dh_testroot
rm -f build-stamp rm -f build-stamp
-$(MAKE) distclean [ ! -f Makefile ] || $(MAKE) distclean
dh_clean Makefile config.log config.status dh_clean Makefile config.log config.status
install: build install: build
@ -33,6 +30,8 @@ install: build
dh_clean -k dh_clean -k
dh_installdirs usr/bin usr/share/man/man1 dh_installdirs usr/bin usr/share/man/man1
$(MAKE) DESTDIR=$(CURDIR)/debian/isync install $(MAKE) DESTDIR=$(CURDIR)/debian/isync install
rm -r $(CURDIR)/debian/isync/usr/share/doc
mv $(CURDIR)/debian/isync/usr/bin/get-cert $(CURDIR)/debian/isync/usr/bin/mbsync-get-cert
binary-indep: build install binary-indep: build install
@ -53,6 +52,4 @@ binary-arch: build install
dh_builddeb dh_builddeb
binary: binary-indep binary-arch binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install clean1 .PHONY: build clean binary-indep binary-arch binary install
include /usr/share/dpatch/dpatch.make

4
debian/watch vendored
View File

@ -1,2 +1,2 @@
version=2 version=3
http://sourceforge.net/project/showfiles.php?group_id=69662 .*/isync-(.*).tar.gz.* http://sf.net/isync/ isync-(.*)\.tar\.gz debian uupdate