* added missing header zipconf.h

* added missing man pages
* fix missing end of block in two man pages

ok jasper@
This commit is contained in:
shadchin 2011-05-30 16:53:40 +00:00
parent 20af647410
commit 0712322ce9
6 changed files with 81 additions and 2 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.2 2011/03/22 09:20:15 jasper Exp $
# $OpenBSD: Makefile,v 1.3 2011/05/30 16:53:40 shadchin Exp $
COMMENT= library for reading, creating and modifying zip archives
DISTNAME= libzip-0.10
REVISION= 0
CATEGORIES= archivers
SHARED_LIBS += zip 0.0 # 1.0

View File

@ -0,0 +1,30 @@
$OpenBSD: patch-lib_Makefile_in,v 1.1 2011/05/30 16:53:40 shadchin Exp $
--- lib/Makefile.in.orig Fri Mar 18 17:51:26 2011
+++ lib/Makefile.in Mon May 30 22:11:51 2011
@@ -240,7 +240,7 @@ top_srcdir = @top_srcdir@
libincludedir = ${libdir}/@PACKAGE@/include
lib_LTLIBRARIES = libzip.la
noinst_HEADERS = zipint.h
-include_HEADERS = zip.h
+include_HEADERS = zip.h zipconf.h
libinclude_HEADERS = zipconf.h
# also update CMakeLists.txt when changing version
@@ -629,7 +629,7 @@ check: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile $(LTLIBRARIES) $(HEADERS)
installdirs:
- for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(libincludedir)"; do \
+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: $(BUILT_SOURCES)
@@ -683,7 +683,7 @@ info: info-am
info-am:
-install-data-am: install-includeHEADERS install-libincludeHEADERS
+install-data-am: install-includeHEADERS
install-dvi: install-dvi-am

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-libzip_pc_in,v 1.1 2011/05/30 16:53:40 shadchin Exp $
--- libzip.pc.in.orig Mon May 30 21:53:48 2011
+++ libzip.pc.in Mon May 30 21:54:22 2011
@@ -2,7 +2,6 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
-libincludedir=@libdir@/libzip/include
zipcmp=@prefix@/bin/zipcmp
@@ -10,5 +9,5 @@ Name: libzip
Description: library for handling zip archives
Version: @VERSION@
Libs: -L${libdir} -lzip @LIBS@
-Cflags: -I${includedir} -I${libincludedir}
+Cflags: -I${includedir}

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-man_zip_get_file_comment_mdoc,v 1.1 2011/05/30 16:53:40 shadchin Exp $
--- man/zip_get_file_comment.mdoc.orig Mon May 30 22:25:27 2011
+++ man/zip_get_file_comment.mdoc Mon May 30 22:25:48 2011
@@ -78,6 +78,7 @@ fails if:
.Ar index
is not a valid file index in
.Ar archive .
+.El
.Sh SEE ALSO
.Xr libzip 3 ,
.Xr zip_get_archive_comment 3

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-man_zip_get_name_mdoc,v 1.1 2011/05/30 16:53:40 shadchin Exp $
--- man/zip_get_name.mdoc.orig Mon May 30 22:26:58 2011
+++ man/zip_get_name.mdoc Mon May 30 22:26:17 2011
@@ -81,6 +81,7 @@ or
points to an added file and
.Dv ZIP_FL_UNCHANGED
is set.
+.El
.Sh SEE ALSO
.Xr libzip 3 ,
.Xr zip_name_locate 3

View File

@ -1,9 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/11/27 09:16:57 jasper Exp $
@comment $OpenBSD: PLIST,v 1.2 2011/05/30 16:53:40 shadchin Exp $
%%SHARED%%
@bin bin/zipcmp
@bin bin/zipmerge
@bin bin/ziptorrent
include/zip.h
include/zipconf.h
lib/libzip.a
lib/libzip.la
lib/pkgconfig/
@ -22,16 +23,21 @@ lib/pkgconfig/libzip.pc
@man man/man3/zip_error_to_str.3
@man man/man3/zip_errors.3
@man man/man3/zip_fclose.3
@man man/man3/zip_fdopen.3
@man man/man3/zip_file_error_clear.3
@man man/man3/zip_file_error_get.3
@man man/man3/zip_file_strerror.3
@man man/man3/zip_fopen.3
@man man/man3/zip_fopen_encrypted.3
@man man/man3/zip_fopen_index.3
@man man/man3/zip_fopen_index_encrypted.3
@man man/man3/zip_fread.3
@man man/man3/zip_get_archive_comment.3
@man man/man3/zip_get_archive_flag.3
@man man/man3/zip_get_file_comment.3
@man man/man3/zip_get_file_extra.3
@man man/man3/zip_get_name.3
@man man/man3/zip_get_num_entries.3
@man man/man3/zip_get_num_files.3
@man man/man3/zip_name_locate.3
@man man/man3/zip_open.3
@ -39,7 +45,9 @@ lib/pkgconfig/libzip.pc
@man man/man3/zip_replace.3
@man man/man3/zip_set_archive_comment.3
@man man/man3/zip_set_archive_flag.3
@man man/man3/zip_set_default_password.3
@man man/man3/zip_set_file_comment.3
@man man/man3/zip_set_file_extra.3
@man man/man3/zip_source_buffer.3
@man man/man3/zip_source_file.3
@man man/man3/zip_source_filep.3