/trunk/debian/libspf2-dev.README.Debian |
---|
File deleted |
/trunk/debian/control |
---|
2,17 → 2,19 |
Priority: optional |
Section: libs |
Maintainer: Magnus Holmgren <holmgren@debian.org> |
Build-Depends: debhelper (>= 5), cdbs, autotools-dev |
Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 7), autotools-dev |
Standards-Version: 3.8.3 |
Vcs-Svn: svn://svn.kibibyte.se/libspf2/trunk |
Vcs-Browser: http://svn.kibibyte.se/libspf2 |
Homepage: http://www.libspf2.org/ |
Package: libspf2-dev |
Section: libdevel |
Package: libspf2-2 |
Section: libs |
Architecture: any |
Depends: libspf2-2 (= ${binary:Version}), ${misc:Depends} |
Description: Header and development libraries for libspf2 |
Conflicts: libspf2-0 |
Replaces: libspf2-0 |
Depends: ${shlibs:Depends}, ${misc:Depends} |
Description: library for validating mail senders with SPF |
libspf2 implements the Sender Policy Framework, a part of the SPF/SRS |
protocol pair. libspf2 is a library which allows email systems such |
as Sendmail, Postfix, Exim, Zmailer and MS Exchange to check SPF |
20,13 → 22,11 |
that it is coming from. This prevents email forgery, commonly used by |
spammers, scammers and email viruses/worms. |
Package: libspf2-2 |
Section: libs |
Package: libspf2-dev |
Section: libdevel |
Architecture: any |
Conflicts: libspf2-0 |
Replaces: libspf2-0 |
Depends: ${shlibs:Depends}, ${misc:Depends} |
Description: library for validating mail senders with SPF |
Depends: libspf2-2 (= ${binary:Version}), ${misc:Depends} |
Description: Header and development libraries for libspf2 |
libspf2 implements the Sender Policy Framework, a part of the SPF/SRS |
protocol pair. libspf2 is a library which allows email systems such |
as Sendmail, Postfix, Exim, Zmailer and MS Exchange to check SPF |
/trunk/debian/compat |
---|
1,0 → 0,0 |
5 |
7 |
/trunk/debian/changelog |
---|
2,8 → 2,13 |
* Convert package to source format 3.0 (quilt). |
* Include text of BSD license in debian/copyright, as is now preferred. |
* Switch from CDBS to classic Debhelper, getting build flags from |
dpkg-buildflags "by hand". |
* Increase Debhelper compat level to 7. |
* Put docs in libspf2-2 and replace the other packages' doc directories |
with symlinks to that one. |
-- Magnus Holmgren <holmgren@debian.org> Fri, 11 Nov 2011 19:10:51 +0100 |
-- Magnus Holmgren <holmgren@debian.org> Fri, 11 Nov 2011 22:13:50 +0100 |
libspf2 (1.2.9-4) unstable; urgency=low |
/trunk/debian/docs |
---|
0,0 → 1,2 |
README |
TODO |
/trunk/debian/rules |
---|
1,18 → 1,77 |
#!/usr/bin/make -f |
SOURCE_PACKAGE = libspf2 |
LIB_PACKAGE = libspf2-2 |
include /usr/share/cdbs/1/class/autotools.mk |
include /usr/share/cdbs/1/rules/debhelper.mk |
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) |
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |
DEB_DH_MAKESHLIBS_ARGS_libspf2-2 = -V 'libspf2-2 (>= 1.2.9)' |
LDFLAGS += -Wl,--version-script=$(CURDIR)/debian/libspf2.ver |
DEB_DH_INSTALL_SOURCEDIR = debian/tmp |
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) |
buildflags := --build=$(DEB_BUILD_GNU_TYPE) |
else |
buildflags := --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) |
endif |
binary-install/spfquery:: |
DEB_LDFLAGS_MAINT_APPEND = -Wl,--version-script=$(CURDIR)/debian/libspf2.ver |
buildflags += $(shell DEB_LDFLAGS_MAINT_APPEND="$(DEB_LDFLAGS_MAINT_APPEND)" \ |
dpkg-buildflags --export=configure) |
config.status: configure |
dh_testdir |
# Add here commands to configure the package. |
dh_autotools-dev_updateconfig |
./configure --prefix=/usr $(buildflags) |
build: build-arch |
build-indep: |
build-arch: build-arch-stamp |
build-arch-stamp: config.status |
dh_testdir |
$(MAKE) |
touch "$@" |
clean: |
dh_testdir |
dh_testroot |
rm -f build-arch-stamp |
[ ! -f Makefile ] || $(MAKE) distclean |
dh_autotools-dev_restoreconfig |
dh_clean |
install: build-arch |
dh_testdir |
dh_testroot |
dh_prep |
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp |
binary-arch: install |
dh_testdir |
dh_testroot |
dh_install -a |
# Rename the `spfquery` tool for the alternatives system: |
mv debian/spfquery/usr/bin/spfquery debian/spfquery/usr/bin/spfquery.$(SOURCE_PACKAGE) |
mv debian/spfquery/usr/sbin/spfd debian/spfquery/usr/sbin/spfd.$(SOURCE_PACKAGE) |
dh_installdocs -a --link-doc=$(LIB_PACKAGE) |
dh_installchangelogs -a |
dh_installman -a |
dh_strip -a --dbg-package=$(LIB_PACKAGE)-dbg |
dh_compress -a |
dh_fixperms -a |
dh_makeshlibs -V '$(LIB_PACKAGE) (>= 1.2.9)' |
dh_installdeb -a |
dh_shlibdeps -a |
dh_gencontrol -a |
dh_md5sums -a |
dh_builddeb -a |
binary: binary-arch |
get-orig-source: |
wget http://www.libspf2.org/spf/libspf2-1.2.9.tar.gz |
.PHONY: build build-indep build-arch clean clean-patched binary-indep binary-arch binary install get-orig-source |
/trunk/debian/README.Debian |
---|
0,0 → 1,11 |
libspf2 for Debian |
------------------ |
Information and more recent versions of libspf2 are available from |
http://www.libspf2.org/ |
Current SPF specifications can be found at |
<http://www.openspf.org/Specifications>. |
-- Magnus Holmgren <holmgren@debian.org>, Mon, 14 Sep 2009 22:33:12 +0200 |