mirror of https://git.code.sf.net/p/isync/isync
Oswald Buddenhagen
7 years ago
13 changed files with 179 additions and 152 deletions
@ -1,5 +1,7 @@ |
|||||||
|
.debhelper |
||||||
|
autoreconf.after |
||||||
|
autoreconf.before |
||||||
files |
files |
||||||
isync |
isync |
||||||
isync.debhelper.log |
isync.debhelper.log |
||||||
isync.postrm.debhelper |
|
||||||
isync.substvars |
isync.substvars |
||||||
|
@ -0,0 +1,12 @@ |
|||||||
|
A note from isync's web site: |
||||||
|
|
||||||
|
isync can be integrated into Mutt fairly easily with a few hooks: |
||||||
|
|
||||||
|
folder-hook ~A bind index $ <sync-mailbox> |
||||||
|
folder-hook +maildir 'macro index $ "<sync-mailbox>!isync -e maildir\n"' |
||||||
|
|
||||||
|
where maildir is the name of the local mailbox (or its alias). This works well |
||||||
|
so long as you are not modifying the IMAP mailbox outside of Mutt. However, if |
||||||
|
you are using another mail program simultaneously Mutt will have the wrong idea |
||||||
|
of the local mailbox flags and messages will start disappearing from its index |
||||||
|
display (don't worry, they are still on disk). |
@ -1,32 +1,33 @@ |
|||||||
This package was debianized by Tommi Virtanen <tv@debian.org> and is now |
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ |
||||||
maintained by Nicolas Boullis <nboullis@debian.org>. |
Upstream-Name: isync |
||||||
|
Source: http://isync.sourceforge.net |
||||||
|
|
||||||
It was downloaded from http://isync.sourceforge.net/ |
Files: * |
||||||
|
Copyright: 2000-2002, Michael R. Elkins <me@mutt.org> |
||||||
|
2002-2017, Oswald Buddenhagen <ossi@users.sf.net> |
||||||
|
2004, Theodore Y. Ts'o <tytso@mit.edu> |
||||||
|
License: GPL-2+ |
||||||
|
|
||||||
Upstream Author: Michael R. Elkins <me@mutt.org>, |
Files: debian/* |
||||||
Oswald Buddenhagen <ossi@users.sf.net> |
Copyright: 2013, Alessandro Ghedini <ghedo@debian.org> |
||||||
|
License: GPL-2+ |
||||||
|
|
||||||
Copyright: |
License: GPL-2+ |
||||||
|
This program is free software: you can redistribute it and/or modify |
||||||
* isync - IMAP4 to maildir mailbox synchronizer |
it under the terms of the GNU General Public License as published by |
||||||
* Copyright (C) 2000-2002 Michael R. Elkins <me@mutt.org> |
the Free Software Foundation, either version 2 of the License, or |
||||||
* Copyright (C) 2002-2006 Oswald Buddenhagen <ossi@users.sf.net> |
(at your option) any later version. |
||||||
* |
. |
||||||
* This program is free software; you can redistribute it and/or modify |
This package is distributed in the hope that it will be useful, |
||||||
* it under the terms of the GNU General Public License as published by |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||||
* the Free Software Foundation; either version 2 of the License, or |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||||
* (at your option) any later version. |
GNU General Public License for more details. |
||||||
* |
. |
||||||
* This program is distributed in the hope that it will be useful, |
You should have received a copy of the GNU General Public License |
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
. |
||||||
* GNU General Public License for more details. |
As a special exception, mbsync may be linked with the OpenSSL library, |
||||||
* |
despite that library's more restrictive license. |
||||||
* You should have received a copy of the GNU General Public License |
. |
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
On Debian systems, the complete text of the GNU General Public License version |
||||||
* |
2 can be found in "/usr/share/common-licenses/GPL-2". |
||||||
* As a special exception, isync may be linked with the OpenSSL library, |
|
||||||
* despite that library's more restrictive license. |
|
||||||
|
|
||||||
On Debian systems, the complete text of the GNU General Public |
|
||||||
License can be found in /usr/share/common-licenses/GPL |
|
||||||
|
@ -1,39 +0,0 @@ |
|||||||
#!/bin/sh |
|
||||||
# |
|
||||||
# Intended to be run from the root of the isync source tree in the repository. |
|
||||||
# |
|
||||||
VERSION=`dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-[^-]\+$/\1/p'` |
|
||||||
OLDVERSION=$VERSION |
|
||||||
|
|
||||||
if echo $VERSION | grep +cvsXXXXXXXX; then |
|
||||||
DATE=`date +%Y%m%d` |
|
||||||
VERSION=`echo $VERSION | sed -e s/+cvsXXXXXXXX/+cvs${DATE}/` |
|
||||||
else |
|
||||||
if [ ! -f ../isync_$VERSION.orig.tar.gz ]; then |
|
||||||
echo isync_$VERSION.orig.tar.gz must be found in the parent directory. |
|
||||||
exit 1 |
|
||||||
fi |
|
||||||
fi |
|
||||||
rm -rf ../isync-$VERSION |
|
||||||
|
|
||||||
fakeroot ./debian/rules clean |
|
||||||
cp -rl . ../isync-$VERSION |
|
||||||
cd ../isync-$VERSION |
|
||||||
if [ "$OLDVERSION" != "$VERSION" ]; then |
|
||||||
sed -e s/+cvsXXXXXXXX/+cvs${DATE}/ < debian/changelog > debian/changelog.new |
|
||||||
mv debian/changelog.new debian/changelog |
|
||||||
fi |
|
||||||
find . -name .git -print0 | xargs -0r rm -rf |
|
||||||
find . -name .gitignore -print0 | xargs -0r rm |
|
||||||
find . -type l -print0 | xargs -0r rm |
|
||||||
find . -name .#\*# -print0 | xargs -0r rm |
|
||||||
aclocal |
|
||||||
autoheader |
|
||||||
automake --add-missing --copy |
|
||||||
autoconf |
|
||||||
if [ -n "$DOSIGN" ]; then |
|
||||||
SIGNOPTS= |
|
||||||
else |
|
||||||
SIGNOPTS="-us -uc" |
|
||||||
fi |
|
||||||
dpkg-buildpackage -rfakeroot $SIGNOPTS |
|
@ -1,55 +1,10 @@ |
|||||||
#!/usr/bin/make -f |
#!/usr/bin/make -f |
||||||
|
|
||||||
CFLAGS = -Wall -g |
%: |
||||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
dh $@ --with=autoreconf |
||||||
CFLAGS += -O0 |
|
||||||
else |
override_dh_auto_install: |
||||||
CFLAGS += -O2 |
dh_auto_install |
||||||
endif |
mv $(CURDIR)/debian/isync/usr/bin/get-cert \ |
||||||
|
$(CURDIR)/debian/isync/usr/bin/mbsync-get-cert |
||||||
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) |
$(RM) $(CURDIR)/debian/isync/usr/share/doc/isync/ChangeLog |
||||||
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |
|
||||||
|
|
||||||
build: build-stamp |
|
||||||
build-stamp: |
|
||||||
dh_testdir |
|
||||||
./configure --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) --prefix=/usr --mandir=/usr/share/man |
|
||||||
$(MAKE) CFLAGS="$(CFLAGS)" |
|
||||||
touch build-stamp |
|
||||||
|
|
||||||
clean: |
|
||||||
dh_testdir |
|
||||||
dh_testroot |
|
||||||
rm -f build-stamp |
|
||||||
[ ! -f Makefile ] || $(MAKE) distclean |
|
||||||
dh_clean Makefile config.log config.status |
|
||||||
|
|
||||||
install: build |
|
||||||
dh_testdir |
|
||||||
dh_testroot |
|
||||||
dh_clean -k |
|
||||||
dh_installdirs usr/bin usr/share/man/man1 |
|
||||||
$(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-arch: build install |
|
||||||
dh_testdir |
|
||||||
dh_testroot |
|
||||||
dh_installchangelogs ChangeLog |
|
||||||
dh_installdocs AUTHORS NEWS README TODO |
|
||||||
dh_installexamples src/mbsyncrc.sample src/compat/isyncrc.sample |
|
||||||
dh_installman |
|
||||||
dh_strip |
|
||||||
dh_compress |
|
||||||
dh_fixperms |
|
||||||
dh_installdeb |
|
||||||
dh_shlibdeps |
|
||||||
dh_gencontrol |
|
||||||
dh_md5sums |
|
||||||
dh_builddeb |
|
||||||
|
|
||||||
binary: binary-indep binary-arch |
|
||||||
.PHONY: build clean binary-indep binary-arch binary install |
|
||||||
|
Loading…
Reference in new issue