Skip to content

Commit

Permalink
base91-0.6.0 (untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed Jan 1, 2016
1 parent 7032961 commit 9d30221
Show file tree
Hide file tree
Showing 3 changed files with 178 additions and 0 deletions.
73 changes: 73 additions & 0 deletions base91/README
@@ -0,0 +1,73 @@
base91
------------------------------------------
basE91 is an advanced method for encoding binary data as ASCII characters. It
is similar to UUencode or base64, but is more efficient. The overhead produced
by basE91 depends on the input data. It amounts at most to 23% (versus 33% for
base64) and can range down to 14%, which typically occurs on 0-byte blocks.
This makes basE91 very useful for transferring larger files over binary unsafe
connections like e-mail or terminal lines.

Runtime requirements:
cygwin-2.3.1-1
libbase91-devel-0.6.0-1bl1
libbase91_0-0.6.0-1bl1

Build requirements:
(besides corresponding -devel packages)
autoconf-13-1
automake-9-1
binutils-2.25-4
cygport-0.20.2-1
gcc-core-4.9.3-1
libtool-2.4.6-2
make-4.1-1

Canonical website:
http://base91.sf.net/

Canonical download:
mirror://sourceforge/base91/base91-0.6.0.tar.gz

-------------------------------------------

Build instructions:
1. unpack base91-0.6.0-X-src.tar.xz
2. if you use setup to install this src package,
it will be unpacked under /usr/src automatically
% cd /usr/src
% cygport ./base91-0.6.0-X.cygport all

This will create:
/usr/src/base91-0.6.0-X-src.tar.xz
/usr/src/base91-0.6.0-X.tar.xz
/usr/src/libbase91_0-0.6.0-X.tar.xz
/usr/src/libbase91-devel-0.6.0-X.tar.xz

-------------------------------------------

Files included in the binary package:

(base91)
/usr/bin/b91dec
/usr/bin/b91enc
/usr/bin/base91.exe
/usr/share/doc/Cygwin/base91.README
/usr/share/doc/base91/LICENSE
/usr/share/doc/base91/NEWS
/usr/share/doc/base91/README
/usr/share/man/man1/base91.1.gz

(libbase91_0)
/usr/bin/cygbase91-0.dll

(libbase91-devel)
/usr/include/base91.h
/usr/lib/libbase91.dll.a
/usr/lib/pkgconfig/base91.pc

------------------

Port Notes:

----- version 0.6.0-1bl1 -----
Initial release by fd0 <https://github.com/fd00/>
35 changes: 35 additions & 0 deletions base91/base91-0.6.0-1bl1.cygport
@@ -0,0 +1,35 @@
HOMEPAGE="http://${PN}.sf.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

CATEGORY="Libs"
SUMMARY="Advanced method for encoding binary data as ASCII characters"
DESCRIPTION="basE91 is an advanced method for encoding binary data as ASCII characters. It
is similar to UUencode or base64, but is more efficient. The overhead produced
by basE91 depends on the input data. It amounts at most to 23% (versus 33% for
base64) and can range down to 14%, which typically occurs on 0-byte blocks.
This makes basE91 very useful for transferring larger files over binary unsafe
connections like e-mail or terminal lines."

DIFF_EXCLUDES="
Makefile
"

PKG_NAMES="
${PN}
lib${PN}_0
lib${PN}-devel
"
base91_CONTENTS="
usr/bin --exclude=*.dll
usr/share
"
libbase91_0_CONTENTS="
usr/bin/*.dll
"
libbase91_devel_CONTENTS="
usr/include
usr/lib
"
base91_SUMMARY="${SUMMARY} (utilities)"
libbase91_0_SUMMARY="${SUMMARY} (runtime)"
libbase91_devel_SUMMARY="${SUMMARY} (development)"
70 changes: 70 additions & 0 deletions base91/base91-0.6.0-1bl1.src.patch
@@ -0,0 +1,70 @@
diff -buprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x aclocal.m4 -x configure -x config.h -x '*.h.in' -x COPYING -x INSTALL -x ansi2knr.c -x ar-lib -x config-ml.in -x elisp-comp -x mdate-sh -x mkinstalldirs -x py-compile -x symlink-tree -x test-driver -x texinfo.tex -x ylwrap -x Makefile.in -x GNUmakefile.in -x makefile.in -x libtool.m4 -x ltoptions.m4 -x ltsugar.m4 -x ltversion.m4 -x lt~obsolete.m4 -x ltmain.sh -x compile -x depcomp -x install-sh -x missing -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 -x Makefile origsrc/base91-0.6.0/Makefile.am src/base91-0.6.0/Makefile.am
--- origsrc/base91-0.6.0/Makefile.am 1970-01-01 09:00:00.000000000 +0900
+++ src/base91-0.6.0/Makefile.am 2016-01-01 15:06:42.820859800 +0900
@@ -0,0 +1,19 @@
+
+bin_PROGRAMS = base91
+base91_SOURCES = cli.c
+base91_LDADD = libbase91.la
+
+include_HEADERS = base91.h
+
+lib_LTLIBRARIES = libbase91.la
+libbase91_la_SOURCES = base91.c
+libbase91_la_LDFLAGS = -no-undefined
+
+man_MANS = base91.1
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = $(PACKAGE).pc
+
+install-exec-hook:
+ cd $(DESTDIR)$(bindir) && ln -fs base91$(EXEEXT) b91enc$(EXEEXT)
+ cd $(DESTDIR)$(bindir) && ln -fs base91$(EXEEXT) b91dec$(EXEEXT)
diff -buprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x aclocal.m4 -x configure -x config.h -x '*.h.in' -x COPYING -x INSTALL -x ansi2knr.c -x ar-lib -x config-ml.in -x elisp-comp -x mdate-sh -x mkinstalldirs -x py-compile -x symlink-tree -x test-driver -x texinfo.tex -x ylwrap -x Makefile.in -x GNUmakefile.in -x makefile.in -x libtool.m4 -x ltoptions.m4 -x ltsugar.m4 -x ltversion.m4 -x lt~obsolete.m4 -x ltmain.sh -x compile -x depcomp -x install-sh -x missing -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 -x Makefile origsrc/base91-0.6.0/base91.pc.in src/base91-0.6.0/base91.pc.in
--- origsrc/base91-0.6.0/base91.pc.in 1970-01-01 09:00:00.000000000 +0900
+++ src/base91-0.6.0/base91.pc.in 2016-01-01 14:53:14.140749400 +0900
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: base91
+Description: Advanced method for encoding binary data as ASCII characters
+Version: @VERSION@
+Libs: -L${libdir} -lbase91
+Cflags: -I${includedir}
diff -buprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x aclocal.m4 -x configure -x config.h -x '*.h.in' -x COPYING -x INSTALL -x ansi2knr.c -x ar-lib -x config-ml.in -x elisp-comp -x mdate-sh -x mkinstalldirs -x py-compile -x symlink-tree -x test-driver -x texinfo.tex -x ylwrap -x Makefile.in -x GNUmakefile.in -x makefile.in -x libtool.m4 -x ltoptions.m4 -x ltsugar.m4 -x ltversion.m4 -x lt~obsolete.m4 -x ltmain.sh -x compile -x depcomp -x install-sh -x missing -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 -x Makefile origsrc/base91-0.6.0/configure.ac src/base91-0.6.0/configure.ac
--- origsrc/base91-0.6.0/configure.ac 1970-01-01 09:00:00.000000000 +0900
+++ src/base91-0.6.0/configure.ac 2016-01-01 14:56:58.111574000 +0900
@@ -0,0 +1,29 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.69])
+AC_INIT([base91], [0.6.0])
+AC_CONFIG_SRCDIR([base91.c])
+AC_CONFIG_HEADERS([config.h])
+AM_INIT_AUTOMAKE
+
+# Checks for programs.
+AC_PROG_CC
+AC_PROG_INSTALL
+AC_PROG_LN_S
+LT_INIT
+
+# Checks for libraries.
+
+# Checks for header files.
+AC_CHECK_HEADERS([fcntl.h stddef.h stdlib.h string.h unistd.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_TYPE_SIZE_T
+
+# Checks for library functions.
+AC_FUNC_MALLOC
+AC_CHECK_FUNCS([strtol])
+
+AC_CONFIG_FILES([base91.pc Makefile])
+AC_OUTPUT

0 comments on commit 9d30221

Please sign in to comment.