Fake
Unobfuscate cgiparse PLIST. This is probably the only full lib with _pic mips stuff.
This commit is contained in:
parent
1a2f04c979
commit
e9b14b26cd
@ -1,29 +1,25 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2000/04/09 17:38:36 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2000/06/09 20:41:11 espie Exp $
|
||||
|
||||
DISTNAME= cgiparse-0.8e
|
||||
CATEGORIES= www
|
||||
NEED_VERSION= 1.64
|
||||
FAKE=No
|
||||
|
||||
|
||||
MAINTAINER= ports@openbsd.org
|
||||
|
||||
LICENSE_TYPE= BSD
|
||||
PERMIT_PACKAGE_CDROM= YES
|
||||
PERMIT_PACKAGE_FTP= YES
|
||||
PERMIT_DISTFILES_CDROM= YES
|
||||
PERMIT_DISTFILES_FTP= YES
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://resnet.uoregon.edu/~gurney_j/ \
|
||||
http://d182-89.uoregon.edu/~jmg/
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/cgiclose.3 ${PREFIX}/man/man3
|
||||
${INSTALL_MAN} ${WRKSRC}/cgigetvalue.3 ${PREFIX}/man/man3
|
||||
${INSTALL_MAN} ${WRKSRC}/cginewquerystr.3 ${PREFIX}/man/man3
|
||||
FAKE_FLAGS= PREFIX=${PREFIX} MANDIR=${PREFIX}/man/cat
|
||||
|
||||
.if $(MACHINE_ARCH) == "alpha"
|
||||
BROKEN= "Alpha architecture not yet supported"
|
||||
.elif ${MACHINE_ARCH} == "mips"
|
||||
PLIST=${PKGDIR}/PLIST.mips
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,12 +1,21 @@
|
||||
*** Makefile.orig Thu Apr 30 14:40:39 1998
|
||||
--- Makefile Thu Apr 30 14:40:45 1998
|
||||
***************
|
||||
*** 16,22 ****
|
||||
MAN3 = cgigetvalue.3 cgiclose.3 cginewquerystr.3
|
||||
MANDIR = ${INST_DIR}/man/man
|
||||
|
||||
- DPADD = ${INST_DIR}/lib/libcgiparse.a
|
||||
NOPROFILE =
|
||||
|
||||
afterinstall: cgi.h
|
||||
--- 16,21 ----
|
||||
$OpenBSD: patch-aa,v 1.2 2000/06/09 20:41:11 espie Exp $
|
||||
--- Makefile.orig Thu Feb 19 07:45:00 1998
|
||||
+++ Makefile Fri Jun 9 22:30:16 2000
|
||||
@@ -13,15 +13,13 @@ STRIP =
|
||||
|
||||
SRCS = cgi.c utils.c
|
||||
|
||||
-MAN3 = cgigetvalue.3 cgiclose.3 cginewquerystr.3
|
||||
-MANDIR = ${INST_DIR}/man/man
|
||||
+MAN = cgigetvalue.3 cgiclose.3 cginewquerystr.3
|
||||
|
||||
-DPADD = ${INST_DIR}/lib/libcgiparse.a
|
||||
NOPROFILE =
|
||||
|
||||
afterinstall: cgi.h
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} cgi.h \
|
||||
- ${INST_DIR}/include
|
||||
+ $(DESTDIR)${INST_DIR}/include
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
|
@ -1,32 +1,19 @@
|
||||
*** cgi.c.orig Thu Apr 30 14:41:27 1998
|
||||
--- cgi.c Thu Apr 30 14:41:53 1998
|
||||
***************
|
||||
*** 109,121 ****
|
||||
return -1;
|
||||
|
||||
if (!strcmp(a, "GET"))
|
||||
if ((a = getenv("QUERY_STRING")))
|
||||
/* calls parsestr if QUERY_STRING
|
||||
environment variable exists */
|
||||
cgiparsequerystr(a);
|
||||
else
|
||||
return -1;
|
||||
! else if (!strcmp(a, "POST")) {
|
||||
int b;
|
||||
|
||||
if (!(a = getenv("CONTENT_TYPE")) || (a &&
|
||||
--- 109,122 ----
|
||||
return -1;
|
||||
|
||||
if (!strcmp(a, "GET"))
|
||||
+ {
|
||||
if ((a = getenv("QUERY_STRING")))
|
||||
/* calls parsestr if QUERY_STRING
|
||||
environment variable exists */
|
||||
cgiparsequerystr(a);
|
||||
else
|
||||
return -1;
|
||||
! } else if (!strcmp(a, "POST")) {
|
||||
int b;
|
||||
|
||||
if (!(a = getenv("CONTENT_TYPE")) || (a &&
|
||||
$OpenBSD: patch-ab,v 1.2 2000/06/09 20:41:11 espie Exp $
|
||||
--- cgi.c.orig Sun Mar 1 21:13:45 1998
|
||||
+++ cgi.c Fri Jun 9 22:27:16 2000
|
||||
@@ -109,13 +109,14 @@ cgiinit(void)
|
||||
return -1;
|
||||
|
||||
if (!strcmp(a, "GET"))
|
||||
+ {
|
||||
if ((a = getenv("QUERY_STRING")))
|
||||
/* calls parsestr if QUERY_STRING
|
||||
environment variable exists */
|
||||
cgiparsequerystr(a);
|
||||
else
|
||||
return -1;
|
||||
- else if (!strcmp(a, "POST")) {
|
||||
+ } else if (!strcmp(a, "POST")) {
|
||||
int b;
|
||||
|
||||
if (!(a = getenv("CONTENT_TYPE")) || (a &&
|
||||
|
4
www/cgiparse/pkg/PFRAG.shared
Normal file
4
www/cgiparse/pkg/PFRAG.shared
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1 2000/06/09 20:41:11 espie Exp $
|
||||
lib/libcgiparse.so.1.0
|
||||
@exec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m %D/lib
|
||||
@unexec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m %D/lib
|
@ -1,8 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2000/06/09 20:41:11 espie Exp $
|
||||
include/cgi.h
|
||||
lib/libcgiparse.a
|
||||
lib/libcgiparse.so.1.0
|
||||
lib/libcgiparse_pic.a
|
||||
@exec /sbin/ldconfig -m %B
|
||||
man/man3/cgigetvalue.3
|
||||
man/man3/cgiclose.3
|
||||
man/man3/cginewquerystr.3
|
||||
%%SHARED%%
|
||||
man/cat3/cgiclose.0
|
||||
man/cat3/cgigetvalue.0
|
||||
man/cat3/cginewquerystr.0
|
||||
|
9
www/cgiparse/pkg/PLIST.mips
Normal file
9
www/cgiparse/pkg/PLIST.mips
Normal file
@ -0,0 +1,9 @@
|
||||
@comment $OpenBSD: PLIST.mips,v 1.1 2000/06/09 20:41:11 espie Exp $
|
||||
include/cgi.h
|
||||
lib/libcgiparse.a
|
||||
lib/libcgiparse.so.1.0
|
||||
man/cat3/cgiclose.0
|
||||
man/cat3/cgigetvalue.0
|
||||
man/cat3/cginewquerystr.0
|
||||
@exec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m %D/lib
|
||||
@unexec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m %D/lib
|
@ -1,7 +0,0 @@
|
||||
include/cgi.h
|
||||
lib/libcgiparse.a
|
||||
lib/libcgiparse.so.1.0
|
||||
@exec /sbin/ldconfig -m %B
|
||||
man/man3/cgigetvalue.3
|
||||
man/man3/cgiclose.3
|
||||
man/man3/cginewquerystr.3
|
@ -1,18 +1,17 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2000/04/09 17:38:40 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2000/06/09 20:41:11 espie Exp $
|
||||
|
||||
DISTNAME= transproxy-0.4
|
||||
CATEGORIES= www net
|
||||
FAKE=No
|
||||
MASTER_SITES= ftp://ftp.nlc.net.au/pub/linux/www/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ports@openbsd.org
|
||||
|
||||
LICENSE_TYPE= GPL
|
||||
PERMIT_PACKAGE_CDROM= YES
|
||||
PERMIT_PACKAGE_FTP= YES
|
||||
PERMIT_DISTFILES_CDROM= YES
|
||||
PERMIT_DISTFILES_FTP= YES
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
ALL_TARGET= tproxy
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user