Added comment to base/db

Discarded CFLAGS and added --docdir build option to base/icu
Discarded debian rules file and changelog in net/netcat
This commit is contained in:
PktSurf 2023-03-30 22:42:48 +05:30
parent 437ea7322b
commit 753b517e1e
5 changed files with 8 additions and 272 deletions

View file

@ -37,7 +37,8 @@ build() {
--disable-static \
--enable-dbm \
--enable-cxx
# Disable documentation
sed -i 's/^install_docs:/install_docs:\n\ttrue\ninstall_crap:/' Makefile
make

View file

@ -1,6 +1,6 @@
app=icu
version=72.1
build=1sml
build=2sml
homepage="http://www.icu-project.org/"
download="https://github.com/unicode-org/icu/releases/download/release-72-1/icu4c-72_1-src.tgz"
desc="International Components for Unicode"
@ -18,10 +18,10 @@ prepbuilddir() {
build() {
cd source
CFLAGS="$CFLAGS" \
./configure \
--prefix="" \
--sbindir=/bin \
--docdir="/share/doc/$app-$version" \
--disable-tests \
--disable-samples \
--disable-static
@ -29,8 +29,6 @@ build() {
make
make install DESTDIR=$pkg
cp ../LICENSE $pkgdocs/
mkfinalpkg
}

View file

@ -160,274 +160,11 @@
+README file.
+.P
+Netcat was written by a guy we know as the Hobbit <hobbit@avian.org>.
--- netcat-1.10.orig/debian/control
+++ netcat-1.10/debian/control
@@ -0,0 +1,18 @@
+Source: netcat
+Section: net
+Priority: optional
+Maintainer: Decklin Foster <decklin@red-bean.com>
+Standards-Version: 3.5.6
+Build-Depends: debhelper (>= 3.0.0)
+
+Package: netcat
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: TCP/IP swiss army knife
+ A simple Unix utility which reads and writes data across network
+ connections using TCP or UDP protocol. It is designed to be a reliable
+ "back-end" tool that can be used directly or easily driven by other
+ programs and scripts. At the same time it is a feature-rich network
+ debugging and exploration tool, since it can create almost any kind of
+ connection you would need and has several interesting built-in
+ capabilities.
--- netcat-1.10.orig/debian/netcat.examples
+++ netcat-1.10/debian/netcat.examples
@@ -0,0 +1,2 @@
+data/
+scripts/
--- netcat-1.10.orig/debian/rules
+++ netcat-1.10/debian/rules
@@ -0,0 +1,64 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# This file is public domain software, originally written by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=3
+
+DEB_CFLAGS = -O2
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+DEB_CFLAGS += -g
+endif
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ $(MAKE) linux CFLAGS='$(DEB_CFLAGS)' STATIC='' \
+ DFLAGS='-DLINUX -DTELNET -DGAPING_SECURITY_HOLE'
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ # Add here commands to clean up after the build process.
+ -$(MAKE) clean
+ dh_clean
+
+install:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ install -m 0755 nc debian/netcat/usr/bin
+ ln -s nc debian/netcat/usr/bin/netcat
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installexamples
+# dh_installmenu
+ dh_installman
+ ln -s nc.1.gz debian/netcat/usr/share/man/man1/netcat.1.gz
+ dh_installchangelogs Changelog
+ dh_link
+ dh_strip
+ dh_compress -Xexamples
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- netcat-1.10.orig/debian/netcat.copyright
+++ netcat-1.10/debian/netcat.copyright
@@ -0,0 +1,12 @@
+The netcat Debian package was originally created by Michael Shields
+<shields@crosslink.net>. It is currently maintained by Decklin Foster
+<decklin@red-bean.com>.
+
+Netcat was written by *Hobbit* <hobbit@avian.org>, and can be
+downloaded from <URL:ftp://avian.org/src/hacks/>.
+
+The following permission statement is excerpted from `netcat.blurb':
+
+ Netcat and the associated package is a product of Avian Research,
+ and is freely available in full source form with no restrictions
+ save an obligation to give credit where due.
--- netcat-1.10.orig/debian/changelog
+++ netcat-1.10/debian/changelog
@@ -0,0 +1,157 @@
+netcat (1.10-21) unstable; urgency=low
+
+ * Documented -e in man page. (Closes: #131269)
+
+ -- Decklin Foster <decklin@red-bean.com> Tue, 29 Jan 2002 16:30:30 -0500
+
+netcat (1.10-20) unstable; urgency=low
+
+ * Moved around shutdown call in -q patch to be more compatible with standard
+ nc. Thanks to Dmitry Chernyak <cdl@inkasbank.ru> for pointing this out.
+ * Applied UDP broadcast patch from NetBSD (Closes: #108182)
+ - Updated man page to document this option
+ - Also applied patch to use inet_aton instead of IADDR_NONE (which is
+ obsolete), so that it will work.
+ * Bumped Standards-Version to 3.5.6
+
+ -- Decklin Foster <decklin@red-bean.com> Tue, 9 Oct 2001 18:08:24 -0400
+
+netcat (1.10-19) unstable; urgency=low
+
+ * Reupload source package (my typo fix was lost due to a misconfigured
+ dput). This should really fix #97583.
+
+ -- Decklin Foster <decklin@red-bean.com> Fri, 1 Jun 2001 18:18:17 -0400
+
+netcat (1.10-18) unstable; urgency=low
+
+ * Applied patch from Joe Pepin <jdp@ll.mit.edu> to fix multiple timeouts
+ (Closes: #97583)
+ * Lookup services with getservbyname even if resolving hostnames with DNS is
+ disabled (Closes: #98902)
+ * Install a symlink to the nc binary called 'netcat'. (Closes: #97625)
+
+ -- Decklin Foster <decklin@red-bean.com> Fri, 1 Jun 2001 13:13:25 -0400
+
+netcat (1.10-17) unstable; urgency=low
+
+ * Added include for <resolv.h>, which is needed to compile with recent
+ versions of glibc.
+ * Added patch to always print "connection refused" messages, without having
+ to turn on the other junk that -v prints. (Closes: #65413)
+ * Upgraded to debhelper 3 and policy 3.5.2.0.
+ * Added DEB_BUILD_OPTIONS =~ /debug/ support.
+
+ -- Decklin Foster <decklin@red-bean.com> Wed, 28 Feb 2001 16:53:33 -0500
+
+netcat (1.10-16) unstable; urgency=low
+
+ * Rebuild with dpkg 1.8.1.2 to fix bad .diff.gz
+
+ -- Decklin Foster <decklin@red-bean.com> Mon, 8 Jan 2001 14:54:48 -0500
+
+netcat (1.10-15) unstable; urgency=low
+
+ * Add shutdown() patch back in (Closes: #81384)
+ * updated /usr/doc -> /usr/share/doc in man page.
+
+ -- Decklin Foster <decklin@red-bean.com> Sat, 6 Jan 2001 08:58:21 -0500
+
+netcat (1.10-14) unstable; urgency=low
+
+ * Ship with -e turned on. (Closes: #66355)
+ * Fix debian/copyright typo.
+
+ -- Decklin Foster <decklin@red-bean.com> Sat, 30 Dec 2000 13:27:33 -0500
+
+netcat (1.10-13) unstable; urgency=low
+
+ * New maintainer. (Closes: #80305)
+ * Updated debhelper rules to v2. Also cleaned up/moved some targets and dh_*
+ options.
+ * Bumped Standards-Version to 3.2.1.0.
+ * Compress README file, as per policy.
+ * Applied -q patch properly (Closes: #62402). I think that this is also what
+ caused #71616, but I'll hold off on closing that one.
+ * Added README.Debian explanation about -e. This is possibly the problem
+ behind #66355, so maybe I can close that as well.
+
+ -- Decklin Foster <decklin@red-bean.com> Thu, 28 Dec 2000 19:02:56 -0500
+
+netcat (1.10-12.1) frozen unstable; urgency=low
+
+ * Non-maintained upload.
+ * Rename arm() to arm_timer() (Closes: #56390)
+
+ -- Edward Brocklesby <ejb@styx.uucp.openprojects.net> Tue, 22 Feb 2000 12:59:12 +0000
+
+netcat (1.10-12) unstable; urgency=low
+
+ * Fixed bugs #45669 and #45675 (removed extraneous sleep(1) command and also
+ removed the "punt!" message; added -q feature)
+
+ -- Robert S. Edmonds <stu@novare.net> Wed, 22 Sep 1999 19:29:47 -0400
+
+netcat (1.10-11) unstable; urgency=low
+
+ * Applied patch from Graham Stoney <greyham@research.canon.com.au> that
+ fixes deadlock if the server doesn't close its end until it reads EOF on
+ the connection
+
+ -- Robert S. Edmonds <stu@novare.net> Mon, 13 Sep 1999 21:53:59 -0400
+
+netcat (1.10-10) unstable; urgency=low
+
+ * Man page fixed (/usr/doc/netcat/README.gz). Fixes bug #35811
+
+ -- Robert S. Edmonds <edmonds@freewwweb.com> Sat, 12 Jun 1999 15:21:31 -0400
+
+netcat (1.10-9) unstable; urgency=low
+
+ * Compiled with -DTELNET.
+
+ -- Robert S. Edmonds <edmonds@freewwweb.com> Wed, 4 Nov 1998 09:27:40 -0500
+
+netcat (1.10-8) unstable frozen; urgency=low
+
+ * At the request of many users (and a few bug reports) the binary is now
+ going to be called "nc" as it always was.
+
+ -- Robert S. Edmonds <edmonds@freewwweb.com> Sun, 26 Apr 1998 19:36:00 -0400
+
+netcat (1.10-7) unstable; urgency=low
+
+ * Fixed lintian error possible-name-space-pollution. (binary nc -> netcat)
+
+ -- Robert S. Edmonds <edmonds@freewwweb.com> Mon, 30 Mar 1998 19:11:49 -0500
+
+netcat (1.10-6) unstable; urgency=low
+
+ * Upgraded to Standards-Version 2.4.0.0.
+
+ -- Robert S. Edmonds <edmonds@freewwweb.com> Tue, 17 Feb 1998 13:06:22 -0500
+
+netcat (1.10-5) unstable; urgency=low
+
+ * Merged in changes from Robert Woodcock <rcw@oz.net>.
+ - Man page updates.
+ - Compiled with -DTELNET
+ * Removed bogus menu file.
+ * Full source upload.
+
+ -- Joey Hess <joeyh@master.debian.org> Sat, 10 Jan 1998 13:53:59 -0500
+
+netcat (1.10-4) unstable; urgency=low
+
+ * Updated to "new" source format. (#9489)
+ * Libc6. (#11716)
+ * Orphaned the package.
+ * Fixed up description in control file to conform with policy, short
+ description doesn't include package name now.
+ * Fixed documentation location to comply with current policy. (#13194,
+ #11530, #9785)
+ * Wrote a man page. (#9785, #5304, #6647)
+ * Rewrote debian/rules to use debhelper.
+ * Install upstream changelog.
+
+ -- Joey Hess <joeyh@master.debian.org> Sat, 10 Jan 1998 00:53:45 -0500
--- netcat-1.10.orig/debian/netcat.manpages
+++ netcat-1.10/debian/netcat.manpages
@@ -0,0 +1 @@

View file

@ -5,7 +5,7 @@
# debugging
# DFLAGS = -DTEST -DDEBUG
-CFLAGS = -O
+CFLAGS = -O2
+CFLAGS = -O2
XFLAGS = # xtra cflags, set by systype targets
XLIBS = # xtra libs if necessary?
# -Bstatic for sunos, -static for gcc, etc. You want this, trust me.

View file

@ -32,6 +32,6 @@ build() {
sha512sums="
80359fc233f1f5dd450cb15a496f733fd4d7b65087f4f54474d2307b316282b8faf3e54f80caad847bbfd703d6197e5053dd7b8b4ef28fe0c34ed6b81c294733 nc-110.tar.xz
457b3e91d0daffd22c22dc0a7b7289d8cfc896d7356efce5a97fc7c09633b8a647a5515bf0881af0626bf512750735fb8f7baf0ca04c609ae51fd94bb8ab6874 nc-110-21.diff
bbb8fd9ec5ac91c8ea492243a3accd4ba775469937040804d5a35fb30402eb39490f24b2d55277158e71e0fdf5ab7dc61f3e816d53ed476f219585cdae76d887 nc.diff
"
d52a70eaf5cd0b86ef35bc2940ac4418e6f6ff608815bd1fd04466858f727e4216cf5412ed7dea051223e4ab41535bc69d1f125981c464815c2686e8f4c29781 nc-110-21.diff
870d2a3d7cd0f2cbe9049f4a54cfbf8258d40a77fc38e44b59cd4683360a1ca6bfa737303cbd4810d28127fb96ef052f8102646f59b26234cfe9db22b51276a3 nc.diff
"