ports/111423: [PATCH] update print/libpaper to 1.1.21
bf
bf2006a at yahoo.com
Mon Apr 9 17:10:08 UTC 2007
>Number: 111423
>Category: ports
>Synopsis: [PATCH] update print/libpaper to 1.1.21
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 09 17:10:07 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: bf
>Release: 6.2-Stable i386
>Organization:
>Environment:
>Description:
diff -ruN libpaper.old/Makefile libpaper/Makefile
--- libpaper.old/Makefile Thu Feb 1 20:52:46 2007
+++ libpaper/Makefile Mon Apr 9 11:42:42 2007
@@ -6,23 +6,22 @@
#
PORTNAME= libpaper
-PORTVERSION= 1.1.14.3
-PORTREVISION= 1
+PORTVERSION= 1.1.21
+PORTREVISION= 0
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/libp/libpaper
-DISTNAME= ${PORTNAME}_${PORTVERSION:S/.3/-3/}
+DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= lofi at freebsd.org
COMMENT= A library providing routines for paper size management
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-INSTALLS_SHLIB= yes
-USE_GETOPT_LONG=yes
-CONFIGURE_ARGS= --build=${CONFIGURE_TARGET}
+USE_LDCONFIG= yes
+CONFIGURE_ARGS= --build=${CONFIGURE_TARGET} --mandir=${PREFIX}/man
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.3//}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= paperconf.1
MAN3= defaultpapername.3 defaultpapersizefile.3 paperdone.3 paperfirst.3 \
diff -ruN libpaper.old/distinfo libpaper/distinfo
--- libpaper.old/distinfo Mon Jan 23 20:00:50 2006
+++ libpaper/distinfo Mon Apr 9 11:15:06 2007
@@ -1,3 +1,3 @@
-MD5 (libpaper_1.1.14-3.tar.gz) = ce8aa414571fb5afd278e2a6de0fac29
-SHA256 (libpaper_1.1.14-3.tar.gz) = dd6e3268904f7295483f8ab042c4f0971244cffb22108971fb1e348abfe38a32
-SIZE (libpaper_1.1.14-3.tar.gz) = 301674
+MD5 (libpaper_1.1.21.tar.gz) = 6397f8d60a157119c1de5d19e4d82436
+SHA256 (libpaper_1.1.21.tar.gz) = ce3b97f74c0ac4e0b3c8cb1bcbc6865e2068d63c9b493b7bf37b84dd5ebe702b
+SIZE (libpaper_1.1.21.tar.gz) = 350788
diff -ruN libpaper.old/files/patch-lib-Makefile.in libpaper/files/patch-lib-Makefile.in
--- libpaper.old/files/patch-lib-Makefile.in Wed Dec 31 19:00:00 1969
+++ libpaper/files/patch-lib-Makefile.in Mon Apr 9 10:59:51 2007
@@ -0,0 +1,19 @@
+--- lib/Makefile.in.orig Mon Apr 9 10:45:45 2007
++++ lib/Makefile.in Mon Apr 9 10:49:48 2007
+@@ -500,14 +500,14 @@
+
+
+ paperspecs.h: paperspecs Makefile
+- echo ' /* This file has been automaticaly generated.' >$@
++ echo ' /* This file has been automatically generated.' >$@
+ echo ' Edit paperspecs to make changes to the papers specifications. */' >>$@
+ echo >>$@
+ env LANG=C LC_ALL=C awk '{ factor = 1.0; \
+ if ($$4 == "mm") factor = 72.0 / 25.4; \
+ if ($$4 == "in") factor = 72.0; \
+ printf(" { \"%s\", %5f, %5f },\n", \
+- $$1, $$2 * factor, $$3 * factor); }' < $< >> $@
++ $$1, $$2 * factor, $$3 * factor); }' < $< paperspecs >> $@
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff -ruN libpaper.old/files/patch-lib-paper.c libpaper/files/patch-lib-paper.c
--- libpaper.old/files/patch-lib-paper.c Wed Dec 31 19:00:00 1969
+++ libpaper/files/patch-lib-paper.c Mon Apr 9 10:59:51 2007
@@ -0,0 +1,10 @@
+--- lib/paper.c.orig Mon Apr 9 10:46:01 2007
++++ lib/paper.c Mon Apr 9 10:47:01 2007
+@@ -14,7 +14,6 @@
+ #include <sys/stat.h>
+
+ #include <stdio.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <ctype.h>
+
diff -ruN libpaper.old/files/patch-lib::Makefile.in libpaper/files/patch-lib::Makefile.in
--- libpaper.old/files/patch-lib::Makefile.in Mon Feb 14 07:16:02 2005
+++ libpaper/files/patch-lib::Makefile.in Wed Dec 31 19:00:00 1969
@@ -1,11 +0,0 @@
---- lib/Makefile.in.orig Sat Oct 23 12:04:02 2004
-+++ lib/Makefile.in Mon Feb 14 13:12:45 2005
-@@ -543,7 +543,7 @@
- if ($$4 == "mm") factor = 72.0 / 25.4; \
- if ($$4 == "in") factor = 72.0; \
- printf(" { \"%s\", %5f, %5f },\n", \
-- $$1, $$2 * factor, $$3 * factor); }' < $< >> $@
-+ $$1, $$2 * factor, $$3 * factor); }' < paperspecs >> $@
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
- .NOEXPORT:
diff -ruN libpaper.old/files/patch-lib::paper.c libpaper/files/patch-lib::paper.c
--- libpaper.old/files/patch-lib::paper.c Sun Nov 16 14:10:44 2003
+++ libpaper/files/patch-lib::paper.c Wed Dec 31 19:00:00 1969
@@ -1,10 +0,0 @@
---- lib/paper.c.orig Sun Nov 16 19:56:24 2003
-+++ lib/paper.c Sun Nov 16 19:56:29 2003
-@@ -14,7 +14,6 @@
- #include <sys/stat.h>
-
- #include <stdio.h>
--#include <malloc.h>
- #include <string.h>
- #include <ctype.h>
-
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN libpaper.old/Makefile libpaper/Makefile
--- libpaper.old/Makefile Thu Feb 1 20:52:46 2007
+++ libpaper/Makefile Mon Apr 9 11:42:42 2007
@@ -6,23 +6,22 @@
#
PORTNAME= libpaper
-PORTVERSION= 1.1.14.3
-PORTREVISION= 1
+PORTVERSION= 1.1.21
+PORTREVISION= 0
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/libp/libpaper
-DISTNAME= ${PORTNAME}_${PORTVERSION:S/.3/-3/}
+DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= lofi at freebsd.org
COMMENT= A library providing routines for paper size management
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-INSTALLS_SHLIB= yes
-USE_GETOPT_LONG=yes
-CONFIGURE_ARGS= --build=${CONFIGURE_TARGET}
+USE_LDCONFIG= yes
+CONFIGURE_ARGS= --build=${CONFIGURE_TARGET} --mandir=${PREFIX}/man
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.3//}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= paperconf.1
MAN3= defaultpapername.3 defaultpapersizefile.3 paperdone.3 paperfirst.3 \
diff -ruN libpaper.old/distinfo libpaper/distinfo
--- libpaper.old/distinfo Mon Jan 23 20:00:50 2006
+++ libpaper/distinfo Mon Apr 9 11:15:06 2007
@@ -1,3 +1,3 @@
-MD5 (libpaper_1.1.14-3.tar.gz) = ce8aa414571fb5afd278e2a6de0fac29
-SHA256 (libpaper_1.1.14-3.tar.gz) = dd6e3268904f7295483f8ab042c4f0971244cffb22108971fb1e348abfe38a32
-SIZE (libpaper_1.1.14-3.tar.gz) = 301674
+MD5 (libpaper_1.1.21.tar.gz) = 6397f8d60a157119c1de5d19e4d82436
+SHA256 (libpaper_1.1.21.tar.gz) = ce3b97f74c0ac4e0b3c8cb1bcbc6865e2068d63c9b493b7bf37b84dd5ebe702b
+SIZE (libpaper_1.1.21.tar.gz) = 350788
diff -ruN libpaper.old/files/patch-lib-Makefile.in libpaper/files/patch-lib-Makefile.in
--- libpaper.old/files/patch-lib-Makefile.in Wed Dec 31 19:00:00 1969
+++ libpaper/files/patch-lib-Makefile.in Mon Apr 9 10:59:51 2007
@@ -0,0 +1,19 @@
+--- lib/Makefile.in.orig Mon Apr 9 10:45:45 2007
++++ lib/Makefile.in Mon Apr 9 10:49:48 2007
+@@ -500,14 +500,14 @@
+
+
+ paperspecs.h: paperspecs Makefile
+- echo ' /* This file has been automaticaly generated.' >$@
++ echo ' /* This file has been automatically generated.' >$@
+ echo ' Edit paperspecs to make changes to the papers specifications. */' >>$@
+ echo >>$@
+ env LANG=C LC_ALL=C awk '{ factor = 1.0; \
+ if ($$4 == "mm") factor = 72.0 / 25.4; \
+ if ($$4 == "in") factor = 72.0; \
+ printf(" { \"%s\", %5f, %5f },\n", \
+- $$1, $$2 * factor, $$3 * factor); }' < $< >> $@
++ $$1, $$2 * factor, $$3 * factor); }' < $< paperspecs >> $@
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff -ruN libpaper.old/files/patch-lib-paper.c libpaper/files/patch-lib-paper.c
--- libpaper.old/files/patch-lib-paper.c Wed Dec 31 19:00:00 1969
+++ libpaper/files/patch-lib-paper.c Mon Apr 9 10:59:51 2007
@@ -0,0 +1,10 @@
+--- lib/paper.c.orig Mon Apr 9 10:46:01 2007
++++ lib/paper.c Mon Apr 9 10:47:01 2007
+@@ -14,7 +14,6 @@
+ #include <sys/stat.h>
+
+ #include <stdio.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <ctype.h>
+
diff -ruN libpaper.old/files/patch-lib::Makefile.in libpaper/files/patch-lib::Makefile.in
--- libpaper.old/files/patch-lib::Makefile.in Mon Feb 14 07:16:02 2005
+++ libpaper/files/patch-lib::Makefile.in Wed Dec 31 19:00:00 1969
@@ -1,11 +0,0 @@
---- lib/Makefile.in.orig Sat Oct 23 12:04:02 2004
-+++ lib/Makefile.in Mon Feb 14 13:12:45 2005
-@@ -543,7 +543,7 @@
- if ($$4 == "mm") factor = 72.0 / 25.4; \
- if ($$4 == "in") factor = 72.0; \
- printf(" { \"%s\", %5f, %5f },\n", \
-- $$1, $$2 * factor, $$3 * factor); }' < $< >> $@
-+ $$1, $$2 * factor, $$3 * factor); }' < paperspecs >> $@
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
- .NOEXPORT:
diff -ruN libpaper.old/files/patch-lib::paper.c libpaper/files/patch-lib::paper.c
--- libpaper.old/files/patch-lib::paper.c Sun Nov 16 14:10:44 2003
+++ libpaper/files/patch-lib::paper.c Wed Dec 31 19:00:00 1969
@@ -1,10 +0,0 @@
---- lib/paper.c.orig Sun Nov 16 19:56:24 2003
-+++ lib/paper.c Sun Nov 16 19:56:29 2003
-@@ -14,7 +14,6 @@
- #include <sys/stat.h>
-
- #include <stdio.h>
--#include <malloc.h>
- #include <string.h>
- #include <ctype.h>
-
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list