- update to bsdiff 4.3
- change maintainer - regen PLIST ok ajacoutot@
This commit is contained in:
parent
ea6af11feb
commit
8f9c4b5880
@ -1,31 +1,30 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2007/09/15 23:54:16 merdely Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2009/05/20 13:22:47 benoit Exp $
|
||||
|
||||
COMMENT= binary patch tools
|
||||
DISTNAME= bsdiff-4.2
|
||||
DISTNAME= bsdiff-4.3
|
||||
CATEGORIES= misc devel
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
HOMEPAGE= http://www.daemonology.net/bsdiff/
|
||||
|
||||
MAINTAINER= Michael van der Westhuizen <michael@skanky.homeunix.net>
|
||||
MAINTAINER= Benoit Lecocq <benoit@openbsd.org>
|
||||
|
||||
# Conditional BSD
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c
|
||||
|
||||
MAKE_FLAGS= BZIP2=${LOCALBASE}/bin/bzip2 \
|
||||
CC='${CC}'
|
||||
WANTLIB= c
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
MAKE_FLAGS= CC='${CC}' \
|
||||
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib -lbz2"
|
||||
|
||||
LIB_DEPENDS= bz2::archivers/bzip2
|
||||
|
||||
FAKE_FLAGS= PREFIX=${WRKINST}${PREFIX}
|
||||
NO_REGRESS= Yes
|
||||
|
||||
RUN_DEPENDS= :bzip2-*:archivers/bzip2
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bsdiff
|
||||
${INSTALL_DATA} ${WRKBUILD}/LICENSE ${PREFIX}/share/doc/bsdiff
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (bsdiff-4.2.tar.gz) = n1gqd+t20RbYLRrSaO9I+g==
|
||||
RMD160 (bsdiff-4.2.tar.gz) = GiibIInpw2f7HtDd/gwxG9foU88=
|
||||
SHA1 (bsdiff-4.2.tar.gz) = MXCOZPCTQzJ9Yy7+AyuIgb/HHk8=
|
||||
SHA256 (bsdiff-4.2.tar.gz) = QwyKkCy2D6fiybI5td541HCRHnAYd0qYwatbJ4FeeTs=
|
||||
SIZE (bsdiff-4.2.tar.gz) = 7686
|
||||
MD5 (bsdiff-4.3.tar.gz) = 5tgSOU8ODsyNXfJVqh2yKg==
|
||||
RMD160 (bsdiff-4.3.tar.gz) = J7slW13VqlbToHbaycp20jinmgQ=
|
||||
SHA1 (bsdiff-4.3.tar.gz) = DAqJ1gT8Ve8rXmnNGDcrKXLt2Lg=
|
||||
SHA256 (bsdiff-4.3.tar.gz) = GIIViLLcW/FZqjfTvLe4hdhf/R4Z8joMV6WHI/6oX0g=
|
||||
SIZE (bsdiff-4.3.tar.gz) = 5740
|
||||
|
@ -1,30 +0,0 @@
|
||||
$OpenBSD: patch-bsdiff_c,v 1.1.1.1 2004/04/10 21:21:27 jolan Exp $
|
||||
--- bsdiff.c.orig 2003-07-07 18:19:26.000000000 -0500
|
||||
+++ bsdiff.c 2004-04-10 16:03:49.000000000 -0500
|
||||
@@ -251,7 +251,7 @@ int main(int argc,char *argv[])
|
||||
(dup2(p[0],0)==-1) || (close(fd)==-1) ||
|
||||
(close(p[0])==-1) || (close(p[1])==-1))
|
||||
err(1,NULL);
|
||||
- execl(BZIP2,BZIP2,"-zc",NULL);
|
||||
+ execl(BZIP2,BZIP2,"-zc",(void *)NULL);
|
||||
err(1,"%s",BZIP2);
|
||||
};
|
||||
if(close(p[0])==-1) err(1,NULL);
|
||||
@@ -348,7 +348,7 @@ int main(int argc,char *argv[])
|
||||
(dup2(p[0],0)==-1) || (close(fd)==-1) ||
|
||||
(close(p[0])==-1) || (close(p[1])==-1))
|
||||
err(1,NULL);
|
||||
- execl(BZIP2,BZIP2,"-zc",NULL);
|
||||
+ execl(BZIP2,BZIP2,"-zc",(void *)NULL);
|
||||
err(1,"%s",BZIP2);
|
||||
};
|
||||
if(close(p[0])==-1) err(1,NULL);
|
||||
@@ -367,7 +367,7 @@ int main(int argc,char *argv[])
|
||||
(dup2(p[0],0)==-1) || (close(fd)==-1) ||
|
||||
(close(p[0])==-1) || (close(p[1])==-1))
|
||||
err(1,NULL);
|
||||
- execl(BZIP2,BZIP2,"-zc",NULL);
|
||||
+ execl(BZIP2,BZIP2,"-zc",(void *)NULL);
|
||||
err(1,"%s",BZIP2);
|
||||
};
|
||||
if(close(p[0])==-1) err(1,NULL);
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-bspatch_c,v 1.1.1.1 2004/04/10 21:21:27 jolan Exp $
|
||||
--- bspatch.c.orig 2003-06-18 17:51:13.000000000 -0500
|
||||
+++ bspatch.c 2004-04-10 16:04:21.000000000 -0500
|
||||
@@ -59,7 +59,7 @@ int bz2read(int fd,off_t offset,off_t le
|
||||
if((dup2(p1[1],1)==-1) || close(p1[1])) err(1,NULL);
|
||||
if(close(fd)==-1) err(1,"%s",fname);
|
||||
|
||||
- execl(BZIP2,BZIP2,"-dc",NULL);
|
||||
+ execl(BZIP2,BZIP2,"-dc",(void *)NULL);
|
||||
err(1,"%s",BZIP2);
|
||||
};
|
||||
|
@ -1,7 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 17:54:15 espie Exp $
|
||||
bin/bsdiff
|
||||
bin/bspatch
|
||||
@comment $OpenBSD: PLIST,v 1.4 2009/05/20 13:22:52 benoit Exp $
|
||||
@bin bin/bsdiff
|
||||
@bin bin/bspatch
|
||||
@man man/man1/bsdiff.1
|
||||
@man man/man1/bspatch.1
|
||||
share/doc/bsdiff/
|
||||
share/doc/bsdiff/LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user