debian/0000755000000000000000000000000011747646317007206 5ustar debian/patches/0000755000000000000000000000000011740377725010632 5ustar debian/patches/respect-cppflags0000644000000000000000000000110011740377171014002 0ustar --- a/Makefile.in +++ b/Makefile.in @@ -43,6 +43,7 @@ ARCHFLAGS = @ARCHFLAGS@ CFLAGS = $(ARCHFLAGS) @CFLAGS@ $(OPTIM) CXXFLAGS = $(ARCHFLAGS) @CXXFLAGS@ $(OPTIM) +CPPFLAGS = @CPPFLAGS@ GUILIBS = @GUILIBS@ LDFLAGS = $(ARCHFLAGS) @LDFLAGS@ $(OPTIM) LIBS = @LIBS@ @@ -75,10 +76,10 @@ .SUFFIXES: .c .cxx .h .o .c.o: echo Compiling $<... - $(CC) $(CFLAGS) -I. -I$(srcdir) -c $< + $(CC) $(CFLAGS) $(CPPFLAGS) -I. -I$(srcdir) -c $< .cxx.o: echo Compiling $<... - $(CXX) $(CXXFLAGS) -I. -I$(srcdir) -c $< + $(CXX) $(CXXFLAGS) $(CPPFLAGS) -I. -I$(srcdir) -c $< # debian/patches/manpage-fixes0000644000000000000000000000065411530110440013256 0ustar Description: Fix a man page format problem The main epm man page has a format issue that doesn't format correctly with at least groff. This patch fixes that. Author: Jeff Licquia Last-Update: 2011-02-19 --- epm-4.2.orig/doc/epm.man +++ epm-4.2/doc/epm.man @@ -38,7 +38,7 @@ epm \- create software packages. .I setup.types ] [ -v ] [ .I name=value -\... + ... .I name=value ] product [ .I listfile debian/patches/deb-amd64-arch0000644000000000000000000000145211530234555013123 0ustar Description: Fix Architecture in Debian packages for x86_64. Debian packages for the x86_64 architecture should have the Architecture set to "amd64" not "x86_64". This patch fixes that. Bug-Debian: http://bugs.debian.org/573433 Author: Jeff Licquia Last-Update: 2011-02-19 Index: epm-4.2/deb.c =================================================================== --- epm-4.2.orig/deb.c 2011-02-20 10:29:24.000000000 -0500 +++ epm-4.2/deb.c 2011-02-20 10:30:50.000000000 -0500 @@ -246,6 +246,8 @@ fputs("Architecture: i386\n", fp); else if (!strcmp(platform->machine, "ppc")) fputs("Architecture: powerpc\n", fp); + else if (!strcmp(platform->machine, "x86_64")) + fputs("Architecture: amd64\n", fp); else fprintf(fp, "Architecture: %s\n", platform->machine); debian/patches/build-cleanup0000644000000000000000000001171011740377337013300 0ustar Description: Build clean-ups This patch makes build output more useful when things go wrong. Author: Jeff Licquia Forwarded: not-needed Last-Update: 2011-02-19 --- a/Makefile.in +++ b/Makefile.in @@ -71,14 +71,10 @@ # Rules... # -.SILENT: - .SUFFIXES: .c .cxx .h .o .c.o: - echo Compiling $<... $(CC) $(CFLAGS) $(CPPFLAGS) -I. -I$(srcdir) -c $< .cxx.o: - echo Compiling $<... $(CXX) $(CXXFLAGS) $(CPPFLAGS) -I. -I$(srcdir) -c $< @@ -169,7 +165,7 @@ # install: all @INSTALL_GUIS@ @INSTALL_OSX@ - echo Installing EPM programs in $(bindir) + @echo Installing EPM programs in $(bindir) -$(MKDIR) $(bindir) $(RM) $(bindir)/epm $(CP) epm $(bindir) @@ -179,7 +175,7 @@ $(STRIP) $(bindir)/epminstall $(RM) $(bindir)/mkepmlist $(CP) mkepmlist $(bindir) - echo Installing EPM manpages in $(mandir)/man1 + @echo Installing EPM manpages in $(mandir)/man1 -$(MKDIR) $(mandir)/man1 $(RM) $(mandir)/man1/epm.1 $(CP) $(srcdir)/doc/epm.man $(mandir)/man1/epm.1 @@ -189,13 +185,13 @@ $(CP) $(srcdir)/doc/mkepmlist.man $(mandir)/man1/mkepmlist.1 $(RM) $(mandir)/man1/setup.1 $(CP) $(srcdir)/doc/setup.man $(mandir)/man1/setup.1 - echo Installing EPM manpages in $(mandir)/man5 + @echo Installing EPM manpages in $(mandir)/man5 -$(MKDIR) $(mandir)/man5 $(RM) $(mandir)/man5/epm.list.5 $(CP) $(srcdir)/doc/epm.list.man $(mandir)/man5/epm.list.5 $(RM) $(mandir)/man5/setup.types.5 $(CP) $(srcdir)/doc/setup.types.man $(mandir)/man5/setup.types.5 - echo Installing EPM documentation in $(docdir) + @echo Installing EPM documentation in $(docdir) -$(MKDIR) $(docdir) $(RM) $(docdir)/COPYING $(CP) $(srcdir)/COPYING $(docdir) @@ -205,7 +201,7 @@ $(CP) $(srcdir)/doc/epm-book.html $(docdir) install-guis: setup uninst - echo Installing EPM setup/uninst in $(libdir)/epm + @echo Installing EPM setup/uninst in $(libdir)/epm $(RM) -r $(libdir)/epm -$(MKDIR) $(libdir)/epm $(CP) setup $(libdir)/epm @@ -214,7 +210,7 @@ -$(STRIP) $(libdir)/epm/uninst install-osx: - echo Installing EPM OSX data files in $(datadir)/epm + @echo Installing EPM OSX data files in $(datadir)/epm $(RM) -r $(datadir)/epm -$(MKDIR) $(datadir)/epm $(CP) macosx/setup.icns $(datadir)/epm @@ -228,23 +224,23 @@ # uninstall: - echo Uninstalling EPM programs from $(bindir) + @echo Uninstalling EPM programs from $(bindir) $(RM) $(bindir)/epm $(RM) $(bindir)/epminstall $(RM) $(bindir)/mkepmlist - echo Uninstalling EPM manpages from $(mandir)/man1 + @echo Uninstalling EPM manpages from $(mandir)/man1 $(RM) $(mandir)/man1/epm.1 $(RM) $(mandir)/man1/epminstall.1 $(RM) $(mandir)/man1/mkepmlist.1 $(RM) $(mandir)/man1/setup.1 - echo Uninstalling EPM manpages from $(mandir)/man5 + @echo Uninstalling EPM manpages from $(mandir)/man5 $(RM) $(mandir)/man5/epm.list.5 $(RM) $(mandir)/man5/setup.types.5 - echo Uninstalling EPM documentation from $(docdir) + @echo Uninstalling EPM documentation from $(docdir) $(RM) -r $(docdir) - echo Uninstalling EPM setup/uninstall from $(libdir)/epm + @echo Uninstalling EPM setup/uninstall from $(libdir)/epm $(RM) -r $(libdir)/epm - echo Uninstalling EPM OSX data files from $(datadir)/epm + @echo Uninstalling EPM OSX data files from $(datadir)/epm $(RM) -r $(datadir)/epm @@ -281,15 +277,15 @@ # test: $(TARGETS) - echo Starting portable distribution build test... - if ./epm -vv epm >test.log; then \ + @echo Starting portable distribution build test... + @if ./epm -vv epm >test.log; then \ echo Portable distribution build test PASSED.; \ else \ echo Portable distribution build test FAILED.; \ cat test.log; \ fi - echo Starting native distribution build test... - if ./epm -vv -s doc/epmlogo.tif -f native epm >test.log; then \ + @echo Starting native distribution build test... + @if ./epm -vv -s doc/epmlogo.tif -f native epm >test.log; then \ echo Native distribution build test PASSED.; \ else \ echo Native distribution build test FAILED.; \ @@ -343,7 +339,6 @@ # libepm.a: $(EPM_OBJS) - echo Archiving libepm.a... $(RM) libepm.a $(AR) $(ARFLAGS) libepm.a $(EPM_OBJS) $(RANLIB) libepm.a @@ -356,7 +351,6 @@ # epm: epm.o $(EPM_OBJS) - echo Linking epm... $(CC) $(LDFLAGS) -o epm epm.o libepm.a $(LIBS) epm.o: epm.h epmstring.h @@ -367,7 +361,6 @@ # epminstall: epminstall.o libepm.a - echo Linking epminstall... $(CC) $(LDFLAGS) -o epminstall epminstall.o libepm.a $(LIBS) epminstall.o: epm.h epmstring.h @@ -378,7 +371,6 @@ # mkepmlist: mkepmlist.o libepm.a - echo Linking mkepmlist... $(CC) $(LDFLAGS) -o mkepmlist mkepmlist.o libepm.a $(LIBS) mkepmlist.o: epm.h epmstring.h @@ -389,7 +381,6 @@ # setup: $(SETUP_OBJS) libepm.a - echo Linking setup... $(CXX) $(LDFLAGS) -o setup $(SETUP_OBJS) libepm.a $(GUILIBS) $(LIBS) setup.o: setup.h gui-common.h epmstring.h @@ -402,7 +393,6 @@ # uninst: $(UNINST_OBJS) libepm.a - echo Linking uninst... $(CXX) $(LDFLAGS) -o uninst $(UNINST_OBJS) libepm.a $(GUILIBS) $(LIBS) uninst.o: uninst.h epmstring.h gui-common.h debian/patches/manpage-build-fixes0000644000000000000000000000121111530110263014344 0ustar Description: Build proper set of man pages For some reason, upstream does not build all of the available man pages. This patch fixes that. Author: Jeff Licquia Last-Update: 2011-02-19 --- epm-4.2.orig/doc/Makefile.in +++ epm-4.2/doc/Makefile.in @@ -40,7 +40,8 @@ RM = @RM@ -f # Targets... # -MANPAGES = epm.html epminstall.html mkepmlist.html setup.html +MANPAGES = epm.html epminstall.html mkepmlist.html setup.html \ + epm.list.html setup.types.html HTMLFILES = preface.html 1-intro.html 2-building.html \ 3-packaging.html 4-advanced.html 5-examples.html \ a-license.html b-manpages.html c-reference.html \ debian/patches/series0000644000000000000000000000012011740377067012037 0ustar respect-cppflags build-cleanup manpage-build-fixes manpage-fixes deb-amd64-arch debian/README.Debian0000644000000000000000000000107111530104054011217 0ustar epm for Debian ---------------------- No guarantees are made that the Debian packages this program makes are policy-compliant in any way (although if you run into a policy violation, please report it as a bug). I'm planning eventually to give the Debian part of EPM a complete once-over to ensure that packages it makes meet current policy (as much as possible). I'd like to see EPM build good enough packages that they could be included in Debian proper without modification; we'll see if that's possible. -- Jeff Licquia , Sun, 17 Mar 2003 debian/compat0000644000000000000000000000000211530104054010355 0ustar 7 debian/watch0000644000000000000000000000045211530104054010211 0ustar # Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 http://ftp.easysw.com/pub/epm/([\d\.]+)/epm-(.*)-source.tar.gz debian/rules0000755000000000000000000000650511747646133010270 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This is the debhelper compatability version to use. # NOTE: now set with debian/compat per recent usage. #export DH_COMPAT=1 # Architecture. DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) # Build and include setup? ifeq ($(DEB_HOST_ARCH),amd64) INCLUDE_SETUP=yes else ifeq ($(DEB_HOST_ARCH),i386) INCLUDE_SETUP=yes else INCLUDE_SETUP=no endif # The FLTK static libs are built position-independent, so we need # to enable the same for our setup tool. It's easier to just enable # it all around. DEB_BUILD_MAINT_OPTIONS="hardening=+pie,+bindnow" # Set build flags. For wheezy+1, we will switch to using debhelper 9. # For now, preserve compatibility with squeeze. DPKG_EXPORT_BUILDFLAGS=1 -include /usr/share/dpkg/buildflags.mk build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: dh_testdir ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info # Add here commands to compile the package. $(MAKE) mv doc/epm-book.html doc/epm-book.html.save cd doc && $(MAKE) # Rebuild setup and uninst to be as static as possible # XXX: on x86 and x86_64 only for now ifeq ($(INCLUDE_SETUP),yes) g++ -fPIE -pie -Wl,-z,relro -Wl,-z,now -Os -o setup setup.o setup2.o gui-common.o libepm.a -Wl,-Bstatic -lfltk_images -lpng -lz -ljpeg -lfltk -Wl,-Bdynamic -lXft -lfontconfig -lXinerama -lm -lX11 g++ -fPIE -pie -Wl,-z,relro -Wl,-z,now -Os -o uninst uninst.o uninst2.o gui-common.o libepm.a -Wl,-Bstatic -lfltk_images -lpng -lz -ljpeg -lfltk -Wl,-Bdynamic -lXft -lfontconfig -lXinerama -lm -lX11 endif $(MAKE) test touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp install-stamp # Add here commands to clean up after the build process. -cd doc && $(MAKE) clean [ ! -f Makefile ] || $(MAKE) distclean rm -f mkepmlist.o # Remove the EPM-built portable and native packages. rm -rf linux-2.6-* # Some minor cleanup issues -mv doc/epm-book.html.save doc/epm-book.html rm -f doc/Makefile epm.list rm -f macosx/setup.plist macosx/uninst.plist dh_clean install: install-stamp install-stamp: build dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/tmp. $(MAKE) install prefix=`pwd`/debian/epm/usr exec_prefix=`pwd`/debian/epm/usr libdir=`pwd`/debian/epm/usr/lib datadir=`pwd`/debian/epm/usr/share # Remove catX dirs. rm -rf debian/epm/usr/share/man/cat1 rm -rf debian/epm/usr/share/man/cat5 # Remove extra license file. rm -f debian/epm/usr/share/doc/epm/COPYING # Remove setup/uninst on unsupported arches. ifneq ($(INCLUDE_SETUP),yes) rm -f debian/epm/usr/lib/epm/setup debian/epm/usr/lib/epm/uninst endif touch install-stamp # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installdocs dh_installexamples dh_installmenu dh_installman dh_installchangelogs dh_link dh_strip dh_compress -Xpdf 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 debian/docs0000644000000000000000000000026211530104054010032 0ustar README doc/epm.html doc/epminstall.html doc/epmlogo.gif doc/epm-book.html doc/epm.list.html doc/gradient.gif doc/mkepmlist.html doc/setup.html doc/setup.png doc/setup.types.html debian/changelog0000644000000000000000000001320411747646317011060 0ustar epm (4.2-6) unstable; urgency=low * Only build setup/uninst on i386 and amd64; it's not reliably buildable on other architectures. Closes: #670449. -- Jeff Licquia Mon, 30 Apr 2012 22:37:48 -0400 epm (4.2-5) unstable; urgency=low * Fix FTBFS caused by stupid mistake in the setup/uninst rebuild. Closes: #670123. -- Jeff Licquia Mon, 23 Apr 2012 19:02:06 -0400 epm (4.2-4) unstable; urgency=low * Fix quilt screwup (build-cleanup was applied in version control). * Respect CPPFLAGS in build, so hardening flags get passed properly. * Build setup and uninst to be as static as possible. Some X11 extension static libs are still non-PIC, so can't make it completely static. * Turn on the other hardening flag not on by default (+bindnow). * Build-Depends on libpng-dev only. Closes: #662315. -- Jeff Licquia Sun, 22 Apr 2012 19:34:44 -0400 epm (4.2-3) unstable; urgency=low * Add support for dpkg-buildflags (transitional, to remain buildable on squeeze). * Enable PIE hardening, since FLTK requires it now. Closes: #664947. * Update Standards-Version. -- Jeff Licquia Sun, 01 Apr 2012 13:01:03 -0400 epm (4.2-2) unstable; urgency=low * Switch Build-Depends to libjpeg-dev per libjpeg8 transition. Closes: #641281. * Update Standards-Version and fix lintian problems. -- Jeff Licquia Sat, 17 Sep 2011 19:20:10 -0400 epm (4.2-1) unstable; urgency=low * New upstream version. * Update Standards-Version and fix lintian problems. * Switch to 3.0 (quilt) source format, and move all changes to upstream source into sane patches. * Set the Architecture field properly for amd64 Debian packages. Closes: #573433. * Update copyright file. -- Jeff Licquia Sun, 20 Feb 2011 11:14:47 -0500 epm (4.1-3) unstable; urgency=low * Add watch file. * Update Standards-Version. * Update debhelper version. -- Jeff Licquia Mon, 30 Mar 2009 17:35:59 -0400 epm (4.1-2) unstable; urgency=low * Add Homepage and Vcs-* fields to debian/control. * Update Standards-Version. * Miscellaneous lintian cleanups. * Add a doc-base file for the EPM docs. Closes: #451642. -- Jeff Licquia Sun, 20 Jan 2008 21:24:30 -0500 epm (4.1-1) unstable; urgency=low * New upstream version. * Revert configure.in change, which used to be necessary for Debian to select the proper autoconf version. Instead, now just Build-Conflict with autoconf2.13 (where the version-selection code now resides). * Remove the EPM-built native and portable packages built by "make test". * Fix documentation to include what we need, and only what we need. -- Jeff Licquia Sat, 25 Aug 2007 13:48:27 -0400 epm (4.0-1) unstable; urgency=low * New upstream version. * Update Standards-Version. * Build the docs instead of relying on the tarball versions; we now have to do that anyway for the man pages. * Run the test suite as a mandatory part of the build. * Add image libraries to Build-Depends, since newer FLTK can use image libraries, and our config asks for that. * Add needed X libs to Build-Depends, since they don't all magically come in with libfltk1.1-dev anymore. -- Jeff Licquia Sat, 19 Aug 2006 21:01:02 -0400 epm (3.7-2) unstable; urgency=low * Turn off .SILENT during the build, so build problems in build logs aren't hidden. * Don't always link against FLTK statically; this caused FTBFS problems when unrelated static libs aren't available. Closes: #357758, #359981. * Build-Depend on rpm, so the configure script can probe it. Closes: #337179, #321370. -- Jeff Licquia Thu, 30 Mar 2006 21:10:39 -0500 epm (3.7-1) unstable; urgency=low * Bless NMU. Thanks, Rene! Closes: #188348, #207252. * Clean up packaging a bit. * Fix PowerPC architecture flag. Closes: #319880. -- Jeff Licquia Wed, 27 Jul 2005 22:57:37 -0500 epm (3.7-0.1) unstable; urgency=low * Non-maintainer upload. * New upstream release (closes: #188348, #207252) -- Rene Engelhard Wed, 23 Feb 2005 22:25:09 +0100 epm (3.5.1-1) unstable; urgency=low * New upstream version. Closes: #181287. * Updated Build-Depends to require libfltk1.1-dev. * Upped to debhelper compatibility level 4. * Added AC_PREREQ to configure.in so Debian's autoconf would do the right thing. * Updated to current Policy. -- Jeff Licquia Mon, 17 Mar 2003 22:37:24 -0500 epm (3.0-4) unstable; urgency=low * The rpm people changed the call convention for --target. Backported the epm 3.3 configure test for the right semantics. Closes: #140454. -- Jeff Licquia Sat, 6 Apr 2002 10:45:13 -0500 epm (3.0-3) unstable; urgency=low * Upstream forgot to install the epm.list.5 man page. -- Jeff Licquia Mon, 17 Dec 2001 01:07:06 -0500 epm (3.0-2) unstable; urgency=low * Don't set the C++ linker to $CC in configure. Thanks to James Troup . Closes: #120149. -- Jeff Licquia Mon, 19 Nov 2001 22:35:57 -0500 epm (3.0-1) unstable; urgency=low * New upstream version. Closes: #105456. * Built against new stdc++ libs. Closes: #109863. * Updated to latest Debian policy. -- Jeff Licquia Mon, 17 Sep 2001 22:02:59 -0500 epm (2.0-1) unstable; urgency=low * Initial Release. -- Jeff Licquia Sun, 12 Mar 2000 00:59:21 -0600 Local variables: mode: debian-changelog End: debian/copyright0000644000000000000000000000156111530236744011131 0ustar This package was debianized by Jeff Licquia on Sun, 12 Mar 2000 00:59:21 -0600. It was downloaded from http://www.easysw.com/epm/. The upstream author is Easy Software Products (epm@easysw.com) Copyright: GPL version 2 or later (found in /usr/share/common-licenses). From the README: EPM is copyright 1999-2010 by Easy Software Products. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. debian/doc-base0000644000000000000000000000037511530104054010564 0ustar Document: epm Title: Debian EPM Manual Author: Michael Sweet Abstract: This manual describes EPM, a cross-platform packaging tool. Section: Programming Format: HTML Index: /usr/share/doc/epm/epm.html Files: /usr/share/doc/epm/*.html debian/source/0000755000000000000000000000000011530106226010462 5ustar debian/source/format0000644000000000000000000000001411530106226011670 0ustar 3.0 (quilt) debian/control0000644000000000000000000000161111745112576010601 0ustar Source: epm Section: devel Priority: optional Maintainer: Jeff Licquia Homepage: http://epmhome.org/ Vcs-Bzr: http://bzr.licquia.org/epm/debian/ Vcs-Browser: http://bzr.licquia.org/loggerhead/epm/debian/ Build-Depends: libfltk1.1-dev, libpng-dev, zlib1g-dev | libz-dev, libjpeg-dev, libxft-dev, libxinerama-dev, rpm, htmldoc, debhelper (>= 7) Build-Conflicts: autoconf2.13 Standards-Version: 3.9.3 Package: epm Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Cross-platform package builder by Easy Software Products This package allows a developer to produce packages for several different platforms from a single specification. Currently, Debian dpkg, RPM, AT&T/Solaris pkg, HP-UX depot/swinstall, and IRIX inst/tardist packages are supported, as well as a "portable" package that includes installation and removal scripts and a GUI setup program.