FreeBSD Bugzilla – Attachment 173759 Details for
Bug 211920
ftp/rexx-curl: resurrect port and claim maintainership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Shar file for resurrected port
rexx-curl.shar (text/plain), 14.48 KB, created by
Bob Eager
on 2016-08-16 22:27:58 UTC
(
hide
)
Description:
Shar file for resurrected port
Filename:
MIME Type:
Creator:
Bob Eager
Created:
2016-08-16 22:27:58 UTC
Size:
14.48 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># rexx-curl ># rexx-curl/files ># rexx-curl/files/patch-Makefile.in ># rexx-curl/files/patch-common_loader.c ># rexx-curl/files/patch-common_rxmt__posix.c ># rexx-curl/files/patch-rexxcurl.c ># rexx-curl/Makefile ># rexx-curl/pkg-plist ># rexx-curl/distinfo ># rexx-curl/pkg-descr ># >echo c - rexx-curl >mkdir -p rexx-curl > /dev/null 2>&1 >echo c - rexx-curl/files >mkdir -p rexx-curl/files > /dev/null 2>&1 >echo x - rexx-curl/files/patch-Makefile.in >sed 's/^X//' >rexx-curl/files/patch-Makefile.in << '3357d5d1563cf647d96f9d328de5162b' >X--- Makefile.in.orig 2012-04-29 00:23:57 UTC >X+++ Makefile.in >X@@ -118,7 +118,6 @@ $(PACKAGE_DIR)/makefile.* $(PACKAGE_DIR) >X $(PACKAGE_DIR)/config.guess $(PACKAGE_DIR)/config.sub $(PACKAGE_DIR)/install-sh $(PACKAGE_DIR)/preinst.rexx \ >X $(PACKAGE_DIR)/aclocal.m4 $(PACKAGE_DIR)/configure.in $(PACKAGE_DIR)/def2exp.rexx \ >X $(PACKAGE_DIR)/demo/*.rexx $(PACKAGE_DIR)/demo/README.txt $(PACKAGE_DIR)/makew32.rex \ >X-$(PACKAGE_DIR)/doc/*.html $(PACKAGE_DIR)/doc/images/*.png \ >X $(PACKAGE_DIR)/rxcurl64.xpm $(PACKAGE_DIR)/RexxCURL.spec.in \ >X $(PACKAGE_DIR)/debian/*.regina $(PACKAGE_DIR)/debian/*.oorexx $(PACKAGE_DIR)/debian/copyright $(PACKAGE_DIR)/debian/compat >X >X@@ -229,8 +228,6 @@ $(RXDEFEXP1): $(srcdir)/$(PACKAGE_NAME)w >X >X doco: >X mkdir images >X- cp $(srcdocdir)/index.html . >X- cp $(srcdocdir)/images/*.png images >X >X zip: >X zip rexxcurl$(VER) README INSTALL TODO CPLv1.0.txt HISTORY $(ZIPCSRCFILES) $(ZIPHEADERS) $(ZIPCOMMONFILES) >X@@ -239,7 +236,6 @@ zip: >X zip rexxcurl$(VER) config.guess config.sub install-sh preinst.rexx >X zip rexxcurl$(VER) aclocal.m4 configure.in def2exp.rexx >X zip rexxcurl$(VER) demo/*.rexx demo/README.txt makew32.rex >X- zip rexxcurl$(VER) doc/*.html doc/images/*.png >X zip rexxcurl$(VER) debian/*.regina debian/*.oorexx debian/copyright debian/compat >X zip rexxcurl$(VER) RexxCURL.spec.in rxcurl64.xpm >X >X@@ -265,8 +261,6 @@ installbase: all >X $(INSTALL) -d $(DESTDIR)$(bindir) >X $(INSTALL) -d $(DESTDIR)$(libdir) >X $(INSTALL) -d $(DESTDIR)$(sharedir) >X- $(INSTALL) -d $(DESTDIR)$(docdir) >X- $(INSTALL) -d $(DESTDIR)$(docdir)/images >X $(INSTALL) -c -m 755 ./$(PACKAGE_NAME)$(binarybitprefix)$(EXE) $(DESTDIR)$(bindir)/$(PACKAGE_NAME)$(binarybitprefix)$(EXE) >X $(INSTALL) -c -m 755 ./rexxcurl-config $(DESTDIR)$(bindir)/rexxcurl-config >X -$(INSTALL) -c -m 755 ./$(SHLPRE)$(PACKAGE_NAME)$(SHLPST) $(DESTDIR)$(libdir)/$(SHLPRE)$(PACKAGE_NAME)$(SHLPST) >X@@ -286,9 +280,6 @@ installbase: all >X $(DESTDIR)$(bindir)/$(PACKAGE_NAME)$(binarybitprefix)$(EXE) $(srcdir)/preinst.rexx $(bindir)/$(PACKAGE_NAME)$(binarybitprefix)$(EXE) $(srcdir)/demo/getright.rexx $(DESTDIR)$(sharedir)/getright.rexx >X -chmod 755 $(DESTDIR)$(sharedir)/getright.rexx >X $(INSTALL) -c -m 644 $(srcdir)/demo/README.txt $(DESTDIR)$(sharedir)/README.txt >X- $(INSTALL) -c -m 644 $(srcdocdir)/index.html $(DESTDIR)$(docdir)/index.html >X- $(INSTALL) -c -m 644 $(srcdocdir)/images/rxcurl64.png $(DESTDIR)$(docdir)/images/rxcurl64.png >X- $(INSTALL) -c -m 644 $(srcdir)/CPLv1.0.txt $(DESTDIR)$(docdir)/CPLv1.0.txt >X >X cygwininstall: installbase >X mv $(DESTDIR)$(libdir)/$(SHLPRE)$(PACKAGE_NAME)$(SHLPST) $(DESTDIR)$(bindir)/$(SHLPRE)$(PACKAGE_NAME)$(SHLPST) >X@@ -318,8 +309,6 @@ beosinstall: all >X $(INSTALL) -c -m 644 $(srcdir)/demo/README.txt /boot/home/config/bin/rexx/README-rexxcurl.txt >X # >X # where to put doc for BeOS ? >X-# $(INSTALL) -c -m 644 $(docdir)/index.html $(DESTDIR)$(sharedir)/index.html >X-# $(INSTALL) -c -m 644 $(docdir)/images/rxcurl64.png $(DESTDIR)$(sharedir)/images/rxcurl64.png >X # >X >X binary: $(BASE_BINARY) >X@@ -330,7 +319,6 @@ binarybase: all >X -mkdir -p ./tmpdir/lib >X -mkdir -p ./tmpdir/rexx >X -mkdir -p ./tmpdir/doc/rexxcurl >X- -mkdir -p ./tmpdir/doc/rexxcurl/images >X cp $(PACKAGE_NAME)$(binarybitprefix)$(EXE) ./tmpdir/bin >X cp $(PACKAGE_NAME)-config ./tmpdir/bin >X cp $(SHLPRE)$(PACKAGE_NAME)$(SHLPST) ./tmpdir/lib >X@@ -340,8 +328,6 @@ binarybase: all >X cp $(srcdir)/INSTALL ./tmpdir/doc/rexxcurl >X cp $(srcdir)/README ./tmpdir/doc/rexxcurl >X cp $(srcdir)/TODO ./tmpdir/doc/rexxcurl >X- cp $(srcdir)/doc/index.html ./tmpdir/doc/rexxcurl >X- cp $(srcdir)/doc/images/*.png ./tmpdir/doc/rexxcurl/images >X cp $(srcdir)/demo/testcurl.rexx ./tmpdir/rexx/testcurl.rexx >X cp $(srcdir)/demo/httppost.rexx ./tmpdir/rexx/httppost.rexx >X cp $(srcdir)/demo/getmail-pop3.rexx ./tmpdir/rexx/getmail-pop3.rexx >X@@ -359,7 +345,6 @@ cygwinbinary: all >X -mkdir -p ./tmpdir/lib >X -mkdir -p ./tmpdir/rexx >X -mkdir -p ./tmpdir/doc/rexxcurl >X- -mkdir -p ./tmpdir/doc/rexxcurl/images >X cp $(PACKAGE_NAME)$(binarybitprefix)$(EXE) ./tmpdir/bin >X cp $(SHLPRE)$(PACKAGE_NAME)$(SHLPST) ./tmpdir/bin >X cp $(LIBPRE)$(PACKAGE_NAME)$(LIBPST) ./tmpdir/lib >X@@ -368,8 +353,6 @@ cygwinbinary: all >X cp $(srcdir)/INSTALL ./tmpdir/doc/rexxcurl >X cp $(srcdir)/README ./tmpdir/doc/rexxcurl >X cp $(srcdir)/TODO ./tmpdir/doc/rexxcurl >X- cp $(srcdir)/doc/index.html ./tmpdir/doc/rexxcurl >X- cp $(srcdir)/doc/images/*.png ./tmpdir/doc/rexxcurl/images >X cp $(srcdir)/demo/testcurl.rexx ./tmpdir/rexx/testcurl.rexx >X cp $(srcdir)/demo/httppost.rexx ./tmpdir/rexx/httppost.rexx >X cp $(srcdir)/demo/getmail-pop3.rexx ./tmpdir/rexx/getmail-pop3.rexx >X@@ -387,7 +370,6 @@ beosbinary: all >X -mkdir -p ./tmpdir/lib >X -mkdir -p ./tmpdir/add-ons/rexx >X -mkdir -p ./tmpdir/doc/rexxcurl >X- -mkdir -p ./tmpdir/doc/rexxcurl/images >X cp $(PACKAGE_NAME)$(binarybitprefix)$(EXE) ./tmpdir/bin >X cp $(SHLPRE)$(PACKAGE_NAME)$(SHLPST) ./tmpdir/add-ons/rexx >X cp $(LIBPRE)$(PACKAGE_NAME)$(LIBPST) ./tmpdir/lib >X@@ -396,8 +378,6 @@ beosbinary: all >X cp $(srcdir)/INSTALL ./tmpdir/doc/rexxcurl >X cp $(srcdir)/README ./tmpdir/doc/rexxcurl >X cp $(srcdir)/TODO ./tmpdir/doc/rexxcurl >X- cp $(srcdir)/doc/index.html ./tmpdir/doc/rexxcurl >X- cp $(srcdir)/doc/images/*.png ./tmpdir/doc/rexxcurl/images >X cp $(srcdir)/demo/testcurl.rexx ./tmpdir/rexx/testcurl.rexx >X cp $(srcdir)/demo/httppost.rexx ./tmpdir/rexx/httppost.rexx >X cp $(srcdir)/demo/getmail-pop3.rexx ./tmpdir/rexx/getmail-pop3.rexx >3357d5d1563cf647d96f9d328de5162b >echo x - rexx-curl/files/patch-common_loader.c >sed 's/^X//' >rexx-curl/files/patch-common_loader.c << '5fa93fdda23f35814dbb76c5db4f6e81' >X--- common/loader.c.orig 2012-04-20 00:41:50 UTC >X+++ common/loader.c >X@@ -225,6 +225,7 @@ int main >X /* >X * Get any program options. >X */ >X+ optind = 1; /* Previously clobbered by regina */ >X while ((c = getopt(argc, argv, "Dudivh?f:")) != EOF) >X { >X switch (c) >5fa93fdda23f35814dbb76c5db4f6e81 >echo x - rexx-curl/files/patch-common_rxmt__posix.c >sed 's/^X//' >rexx-curl/files/patch-common_rxmt__posix.c << '273f7c8785cb887889ce4af78d321718' >X--- common/rxmt_posix.c.orig 2011-05-09 01:25:33 UTC >X+++ common/rxmt_posix.c >X@@ -163,7 +163,7 @@ RxPackageGlobalDataDef *RxPackInitialize >X pthread_setspecific( ThreadIndex, retval ); >X >X memset( retval, 0, sizeof(RxPackageGlobalDataDef) ); >X- retval->MTMalloc = MTMalloc; >X+ retval->MTMalloc = (void *(*)(const struct _tsd_t * ,long)) MTMalloc; >X retval->MTFree = MTFree; >X retval->MTExit = MTExit; >X >273f7c8785cb887889ce4af78d321718 >echo x - rexx-curl/files/patch-rexxcurl.c >sed 's/^X//' >rexx-curl/files/patch-rexxcurl.c << 'f95b6258ccf04967763b783029102714' >X--- rexxcurl.c.orig 2012-04-26 09:56:03 UTC >X+++ rexxcurl.c >X@@ -384,7 +384,9 @@ static curl_options RexxCurlOptions[] = >X #if LIBCURL_VERSION_NUM >= 0x071301 >X { "CERTINFO" ,CURLOPT_CERTINFO ,RXCURLOPT_LONG , NULL }, >X #endif >X+#if 0 >X { "CLOSEPOLICY" ,CURLOPT_CLOSEPOLICY ,RXCURLOPT_POLICY , NULL }, >X+#endif >X #if LIBCURL_VERSION_NUM >= 0x070f02 >X { "CONNECTONLY" ,CURLOPT_CONNECT_ONLY ,RXCURLOPT_LONG , NULL }, >X #endif >X@@ -489,8 +491,13 @@ static curl_options RexxCurlOptions[] = >X { "GSSAPIDELEGATION",CURLOPT_GSSAPI_DELEGATION,RXCURLOPT_GSSAPI_DELEGATION , NULL }, >X #endif >X { "HEADER" ,CURLOPT_HEADER ,RXCURLOPT_BOOL , NULL }, >X+#if LIBCURL_VERSION_NUM >= 0x070907 >X+ { "HEADERFILE" ,CURLOPT_HEADERDATA ,RXCURLOPT_OUTFILE , NULL }, >X+ { "HEADERSTEM" ,CURLOPT_HEADERDATA ,RXCURLOPT_HEADERSTEM , NULL }, >X+#else >X { "HEADERFILE" ,CURLOPT_WRITEHEADER ,RXCURLOPT_OUTFILE , NULL }, >X { "HEADERSTEM" ,CURLOPT_WRITEHEADER ,RXCURLOPT_HEADERSTEM , NULL }, >X+#endif >X #if LIBCURL_VERSION_NUM >= 0x070a03 >X { "HTTP200ALIASES" ,CURLOPT_HTTP200ALIASES ,RXCURLOPT_LIST , NULL }, >X #endif >X@@ -517,9 +524,17 @@ static curl_options RexxCurlOptions[] = >X #if LIBCURL_VERSION_NUM >= 0x070e01 >X { "IGNORECONTENTLENGTH",CURLOPT_IGNORE_CONTENT_LENGTH,RXCURLOPT_LONG, NULL }, >X #endif >X+#if LIBCURL_VERSION_NUM >= 0x070907 >X+ { "INFILE" ,CURLOPT_READDATA ,RXCURLOPT_INFILE , NULL }, >X+#else >X { "INFILE" ,CURLOPT_INFILE ,RXCURLOPT_INFILE , NULL }, >X+#endif >X { "INTERFACE" ,CURLOPT_INTERFACE ,RXCURLOPT_STRING , NULL }, >X+#if LIBCURL_VERSION_NUM >= 0x070907 >X+ { "INSTEM" ,CURLOPT_READDATA ,RXCURLOPT_INSTEM , NULL }, >X+#else >X { "INSTEM" ,CURLOPT_INFILE ,RXCURLOPT_INSTEM , NULL }, >X+#endif >X #if LIBCURL_VERSION_NUM >= 0x070a08 >X { "IPRESOLVE" ,CURLOPT_IPRESOLVE ,RXCURLOPT_IPRESOLVE , NULL }, >X #endif >X@@ -576,8 +591,10 @@ static curl_options RexxCurlOptions[] = >X #if LIBCURL_VERSION_NUM >= 0x070a02 >X { "NOSIGNAL" ,CURLOPT_NOSIGNAL ,RXCURLOPT_BOOL , NULL }, >X #endif >X- { "OUTFILE" ,CURLOPT_FILE ,RXCURLOPT_OUTFILE , NULL }, >X- { "OUTSTEM" ,CURLOPT_FILE ,RXCURLOPT_OUTSTEM , NULL }, >X+#if LIBCURL_VERSION_NUM >= 0x070907 >X+ { "OUTFILE" ,CURLOPT_WRITEDATA ,RXCURLOPT_OUTFILE , NULL }, >X+ { "OUTSTEM" ,CURLOPT_WRITEDATA ,RXCURLOPT_OUTSTEM , NULL }, >X+#endif >X #if LIBCURL_VERSION_NUM >= 0x071301 >X { "PASSWORD" ,CURLOPT_PASSWORD ,RXCURLOPT_STRING , NULL }, >X #endif >X@@ -1269,7 +1286,7 @@ void RexxCURLSetVersionInfoConstants( Rx >X valuelen = 0; >X namelen = sprintf( name, "%sLIBSSH_VERSION", RxGetConstantPrefix( RxPackageGlobalData ) ); >X #if LIBCURL_VERSION_NUM >= 0x071001 >X- support = version_info->libssh_version; >X+ support = (char *) version_info->libssh_version; >X valuelen = (version_info->libssh_version) ? strlen( version_info->libssh_version ) : 0; >X #endif >X SetRexxVariable( RxPackageGlobalData, name, namelen, support, valuelen ); >X@@ -2273,9 +2290,10 @@ rxfunc( CurlSetopt ) >X SetCURLError( RxPackageGlobalData, curl_rc, curl_errors[rc] ); >X break; >X } >X+#if LIBCURL_VERSION_NUMBER > 0x070907 >X switch ( RexxCurlOptions[opt].number ) >X { >X- case CURLOPT_FILE: >X+ case CURLOPT_WRITEDATA: >X if ( argv[2].strlength ) >X { >X /* >X@@ -2293,6 +2311,7 @@ rxfunc( CurlSetopt ) >X default: >X break; >X } >X+#endif >X break; >X case RXCURLOPT_INFILE: >X /* parameter must be the name of a file to read from or blank to turn it off */ >X@@ -2317,7 +2336,11 @@ rxfunc( CurlSetopt ) >X */ >X switch ( RexxCurlOptions[opt].number ) >X { >X+#if LIBCURL_VERSION_NUM >= 0x070907 >X+ case CURLOPT_READDATA: >X+#else >X case CURLOPT_INFILE: >X+#endif >X /* >X * Always set the file size for the specified INFILE >X */ >f95b6258ccf04967763b783029102714 >echo x - rexx-curl/Makefile >sed 's/^X//' >rexx-curl/Makefile << 'f7f78414cf818a434aba8b929ec924fe' >X# Created by: ijliao >X# $FreeBSD: head/ftp/rexx-curl/Makefile 341106 2014-01-25 21:15:01Z bapt $ >X >XPORTNAME= curl >XPORTVERSION= 2.0 >XCATEGORIES= ftp >XMASTER_SITES= SF/rexx${PORTNAME}/rexx${PORTNAME}/${PORTVERSION} >XPKGNAMEPREFIX= rexx- >XDISTNAME= RexxCURL-${PORTVERSION} >X >XMAINTAINER= bob@eager.cx >XCOMMENT= External function package providing an interface to the cURL package >X >XLICENSE= CPLV1 >XLICENSE_NAME= CPL V1.0 license >XLICENSE_FILE= ${WRKSRC}/CPLv1.0.txt >XLICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept >X >XBUILD_DEPENDS= rexx:lang/rexx-regina >XLIB_DEPENDS= libcurl.so:ftp/curl libregina.so:lang/rexx-regina >XRUN_DEPENDS= rexx:lang/rexx-regina >X >XOPTIONS_DEFINE= DOCS >X >XUSES= gmake >XGNU_CONFIGURE= yes >XCPPFLAGS+= ${PTHREAD_CFLAGS} >XLDFLAGS+= ${PTHREAD_LIBS} >XCONFIGURE_ARGS= --with-rexx=regina >XUSE_LDCONFIG= yes >X >XDOCSDIR= ${PREFIX}/share/doc/rexx${PORTNAME} >XDATADIR= ${PREFIX}/share/rexx${PORTNAME} >X >Xpost-patch: >X @${REINPLACE_CMD} -e "s| -lc | |g" \ >X -e "/\$.sharedir)\/images/d" \ >X -e "/index.html/d" \ >X -e "/rxcurl64.png/d" \ >X ${WRKSRC}/Makefile.in >X >Xpost-install: >X @${MKDIR} ${STAGEDIR}${DOCSDIR} >X @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rexxcurl >X @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librexxcurl.so >X ${INSTALL_DATA} ${WRKSRC}/doc/index.html ${STAGEDIR}${DOCSDIR} >X ${INSTALL_DATA} ${WRKSRC}/CPLv1.0.txt ${STAGEDIR}${DOCSDIR} >X @${MKDIR} ${STAGEDIR}${DOCSDIR}/images >X ${INSTALL_DATA} ${WRKSRC}/doc/images/rxcurl64.png ${STAGEDIR}${DOCSDIR}/images >X >X.include <bsd.port.mk> >f7f78414cf818a434aba8b929ec924fe >echo x - rexx-curl/pkg-plist >sed 's/^X//' >rexx-curl/pkg-plist << 'a112c4ea553b8dbe7aab7275968723f1' >Xbin/rexxcurl >Xbin/rexxcurl-config >Xlib/librexxcurl.a >Xlib/librexxcurl.so >X%%PORTDOCS%%%%DOCSDIR%%/images/rxcurl64.png >X%%PORTDOCS%%%%DOCSDIR%%/index.html >X%%PORTDOCS%%%%DOCSDIR%%/CPLv1.0.txt >X%%DATADIR%%/README.txt >X%%DATADIR%%/getmail-pop3.rexx >X%%DATADIR%%/getright.rexx >X%%DATADIR%%/httppost.rexx >X%%DATADIR%%/scp.rexx >X%%DATADIR%%/sendmail-smtp.rexx >X%%DATADIR%%/testcurl.rexx >X%%DATADIR%%/upload.rexx >a112c4ea553b8dbe7aab7275968723f1 >echo x - rexx-curl/distinfo >sed 's/^X//' >rexx-curl/distinfo << '8b481a46da0b4024ca9ff7ee303de88c' >XSHA256 (RexxCURL-2.0.tar.gz) = 6ada98c9dfa2be459fb6d664829b734360244f00ec943e66f1edd116b4055bea >XSIZE (RexxCURL-2.0.tar.gz) = 336923 >8b481a46da0b4024ca9ff7ee303de88c >echo x - rexx-curl/pkg-descr >sed 's/^X//' >rexx-curl/pkg-descr << '013ec2eb817058154a1c4a4a7ce48545' >XRexx/CURL is an external function package providing an interface to the cURL >Xpackage. cURL is a general purpose package that allows access to any >XURL-addressable resource. With Rexx/CURL you can access resources such as web >Xpages, ftp sites, and telnet sessions under control of your Rexx program. >X >XWWW: http://rexxcurl.sourceforge.net/ >013ec2eb817058154a1c4a4a7ce48545 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
bob
:
maintainer-approval+
Actions:
View
Attachments on
bug 211920
: 173759