summaryrefslogtreecommitdiff
path: root/sysutils/bsign
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2007-01-17 23:36:33 +0000
committeragc <agc@pkgsrc.org>2007-01-17 23:36:33 +0000
commitaee727e85198e63cae2ce62cc51ce89c2046d8f5 (patch)
treee660057bc3dd8a28fa8a58ba0ebc0ffdef405f58 /sysutils/bsign
parent9f2d348425be6f3224d0dbaaf79128282f03b374 (diff)
downloadpkgsrc-aee727e85198e63cae2ce62cc51ce89c2046d8f5.tar.gz
Initial import of bsign-0.4.5 into the Packages Collection.
This package embeds secure hashes (SHA1) and digital signatures (GNU Privacy Guard) into files for verification and authentication. Currently, target file types are all ELF format: executables, kernel modules, shared and static link libraries. This program has functionality similar to tripwire and integrit without the need to maintain a database.
Diffstat (limited to 'sysutils/bsign')
-rw-r--r--sysutils/bsign/DESCR6
-rw-r--r--sysutils/bsign/Makefile18
-rw-r--r--sysutils/bsign/PLIST9
-rw-r--r--sysutils/bsign/distinfo6
-rw-r--r--sysutils/bsign/patches/patch-aa22
5 files changed, 61 insertions, 0 deletions
diff --git a/sysutils/bsign/DESCR b/sysutils/bsign/DESCR
new file mode 100644
index 00000000000..9573ad56010
--- /dev/null
+++ b/sysutils/bsign/DESCR
@@ -0,0 +1,6 @@
+This package embeds secure hashes (SHA1) and digital signatures (GNU
+Privacy Guard) into files for verification and authentication.
+Currently, target file types are all ELF format: executables, kernel
+modules, shared and static link libraries. This program has
+functionality similar to tripwire and integrit without the need to
+maintain a database.
diff --git a/sysutils/bsign/Makefile b/sysutils/bsign/Makefile
new file mode 100644
index 00000000000..7f6dd1d735d
--- /dev/null
+++ b/sysutils/bsign/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/01/17 23:36:33 agc Exp $
+
+DISTNAME= bsign_0.4.5
+PKGNAME= bsign-0.4.5
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/b/bsign/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://packages.debian.org/unstable/admin/bsign.html
+COMMENT= Utility to embed a hash or signature into an executable
+
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES+= c c++
+USE_TOOLS+= gmake
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/bsign/PLIST b/sysutils/bsign/PLIST
new file mode 100644
index 00000000000..59c84c664e3
--- /dev/null
+++ b/sysutils/bsign/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/17 23:36:33 agc Exp $
+bin/bsign
+man/man1/bsign.1
+share/doc/bsign/scripts/bsign_check
+share/doc/bsign/scripts/bsign_hash
+share/doc/bsign/scripts/bsign_sign
+share/doc/bsign/scripts/bsign_verify
+@dirrm share/doc/bsign/scripts
+@dirrm share/doc/bsign
diff --git a/sysutils/bsign/distinfo b/sysutils/bsign/distinfo
new file mode 100644
index 00000000000..7667091c85c
--- /dev/null
+++ b/sysutils/bsign/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/01/17 23:36:33 agc Exp $
+
+SHA1 (bsign_0.4.5.tar.gz) = f24acc5ec3fc9653ee06a8314da2e8dde8992ebb
+RMD160 (bsign_0.4.5.tar.gz) = 0e57631ee5713088a9209b6d7287765224751453
+Size (bsign_0.4.5.tar.gz) = 77471 bytes
+SHA1 (patch-aa) = 04951a6c9be2b89e8f1ac659a33f3f6f2ab82e20
diff --git a/sysutils/bsign/patches/patch-aa b/sysutils/bsign/patches/patch-aa
new file mode 100644
index 00000000000..ffaf77e1359
--- /dev/null
+++ b/sysutils/bsign/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/01/17 23:36:33 agc Exp $
+
+--- Makefile.in 2007/01/17 23:05:04 1.1
++++ Makefile.in 2007/01/17 23:10:33
+@@ -78,7 +78,7 @@
+ bindir = @bindir@
+ docdir = $(prefix)/share/doc/$(PACKAGE)
+ infodir = @infodir@
+-mandir = $(prefix)/share/man/
++mandir = $(prefix)/man/
+
+ # This is removed because it generates a line in the Makefile.in that
+ # breaks the use of 'make -f Makefile.in distclean' from
+@@ -196,7 +196,7 @@
+ .version_patch` > .version
+
+ _version.h: .version
+- @/bin/echo -e \#define SZ_VERSION \"`cat .version`\" > _version.h
++ @/bin/echo '#define SZ_VERSION '\"`cat .version`\" > _version.h
+
+ .PHONY: transmit
+ transmit: # distribution-archive