aboutsummaryrefslogtreecommitdiffstats
path: root/security/libpwstor
diff options
context:
space:
mode:
Diffstat (limited to 'security/libpwstor')
-rw-r--r--security/libpwstor/Makefile25
-rw-r--r--security/libpwstor/files/patch-Makefile47
-rw-r--r--security/libpwstor/pkg-plist19
3 files changed, 67 insertions, 24 deletions
diff --git a/security/libpwstor/Makefile b/security/libpwstor/Makefile
index 7bef0070b3d2..791991c2ae9a 100644
--- a/security/libpwstor/Makefile
+++ b/security/libpwstor/Makefile
@@ -9,33 +9,10 @@ MASTER_SITES= SF/kageki/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Password storage library for C programmers
-USE_BZIP2= yes
+USES= tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-PLIST_FILES= bin/pwtool \
- include/pwstor.h \
- lib/libpwstor.a \
- lib/libpwstor.so \
- lib/libpwstor.so.0.1
-
-MANCOMPESSED= no
-MAN1= pwtool.1
-MAN3= pwstor.3 \
- pws_version.3 \
- pws_version_int.3 \
- pws_rand_get.3 \
- pws_memnuke.3 \
- pws_base64_encode.3 \
- pws_base64_decode.3 \
- pws_passwords_encode.3 \
- pws_passwords_encodemulti.3 \
- pws_passwords_len.3 \
- pws_passwords_check.3 \
- pws_passwords_checkmulti.3 \
- pws_passwords_converttomulti.3
-
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
diff --git a/security/libpwstor/files/patch-Makefile b/security/libpwstor/files/patch-Makefile
new file mode 100644
index 000000000000..f79b7aa2a194
--- /dev/null
+++ b/security/libpwstor/files/patch-Makefile
@@ -0,0 +1,47 @@
+--- Makefile.in.orig 2014-06-11 10:26:46.076091805 +0800
++++ Makefile.in 2014-06-11 10:28:02.217095566 +0800
+@@ -24,25 +24,25 @@ all: $(OBJ)
+ build: all
+
+ install:
+- $(INSTALL) -m 0755 pwtool $(TARGET)/bin/pwtool
+- $(INSTALL) -m 0644 pwstor.h $(TARGET)/include/pwstor.h
+- $(INSTALL) -m 0644 libpwstor.so $(TARGET)/lib/libpwstor.so.0.1
+- $(INSTALL) -m 0644 libpwstor.a $(TARGET)/lib/libpwstor.a
+- $(LN) -fs $(TARGET)/lib/libpwstor.so.0.1 $(TARGET)/lib/libpwstor.so
+- $(INSTALL) -m 0644 man1/pwtool.1 $(TARGET)/man/man1/pwtool.1
+- $(INSTALL) -m 0644 man3/pwstor.3 $(TARGET)/man/man3/pwstor.3
+- $(INSTALL) -m 0644 man3/pwstor.3 $(TARGET)/man/man3/pws_version.3
+- $(INSTALL) -m 0644 man3/pwstor.3 $(TARGET)/man/man3/pws_version_int.3
+- $(INSTALL) -m 0644 man3/pws_rand_get.3 $(TARGET)/man/man3/pws_rand_get.3
+- $(INSTALL) -m 0644 man3/pws_memnuke.3 $(TARGET)/man/man3/pws_memnuke.3
+- $(INSTALL) -m 0644 man3/pws_base64_encode.3 $(TARGET)/man/man3/pws_base64_encode.3
+- $(INSTALL) -m 0644 man3/pws_base64_decode.3 $(TARGET)/man/man3/pws_base64_decode.3
+- $(INSTALL) -m 0644 man3/pwsencoder.3 $(TARGET)/man/man3/pws_passwords_encode.3
+- $(INSTALL) -m 0644 man3/pwsencoder.3 $(TARGET)/man/man3/pws_passwords_encodemulti.3
+- $(INSTALL) -m 0644 man3/pwsencoder.3 $(TARGET)/man/man3/pws_passwords_len.3
+- $(INSTALL) -m 0644 man3/pwscheck.3 $(TARGET)/man/man3/pws_passwords_check.3
+- $(INSTALL) -m 0644 man3/pwscheck.3 $(TARGET)/man/man3/pws_passwords_checkmulti.3
+- $(INSTALL) -m 0644 man3/pws_passwords_converttomulti.3 $(TARGET)/man/man3/pws_passwords_converttomulti.3
++ $(INSTALL) -m 0755 pwtool $(DESTDIR)$(TARGET)/bin/pwtool
++ $(INSTALL) -m 0644 pwstor.h $(DESTDIR)$(TARGET)/include/pwstor.h
++ $(INSTALL) -m 0644 libpwstor.so $(DESTDIR)$(TARGET)/lib/libpwstor.so.0.1
++ $(INSTALL) -m 0644 libpwstor.a $(DESTDIR)$(TARGET)/lib/libpwstor.a
++ $(LN) -fs libpwstor.so.0.1 $(DESTDIR)$(TARGET)/lib/libpwstor.so
++ $(INSTALL) -m 0644 man1/pwtool.1 $(DESTDIR)$(TARGET)/man/man1/pwtool.1
++ $(INSTALL) -m 0644 man3/pwstor.3 $(DESTDIR)$(TARGET)/man/man3/pwstor.3
++ $(INSTALL) -m 0644 man3/pwstor.3 $(DESTDIR)$(TARGET)/man/man3/pws_version.3
++ $(INSTALL) -m 0644 man3/pwstor.3 $(DESTDIR)$(TARGET)/man/man3/pws_version_int.3
++ $(INSTALL) -m 0644 man3/pws_rand_get.3 $(DESTDIR)$(TARGET)/man/man3/pws_rand_get.3
++ $(INSTALL) -m 0644 man3/pws_memnuke.3 $(DESTDIR)$(TARGET)/man/man3/pws_memnuke.3
++ $(INSTALL) -m 0644 man3/pws_base64_encode.3 $(DESTDIR)$(TARGET)/man/man3/pws_base64_encode.3
++ $(INSTALL) -m 0644 man3/pws_base64_decode.3 $(DESTDIR)$(TARGET)/man/man3/pws_base64_decode.3
++ $(INSTALL) -m 0644 man3/pwsencoder.3 $(DESTDIR)$(TARGET)/man/man3/pws_passwords_encode.3
++ $(INSTALL) -m 0644 man3/pwsencoder.3 $(DESTDIR)$(TARGET)/man/man3/pws_passwords_encodemulti.3
++ $(INSTALL) -m 0644 man3/pwsencoder.3 $(DESTDIR)$(TARGET)/man/man3/pws_passwords_len.3
++ $(INSTALL) -m 0644 man3/pwscheck.3 $(DESTDIR)$(TARGET)/man/man3/pws_passwords_check.3
++ $(INSTALL) -m 0644 man3/pwscheck.3 $(DESTDIR)$(TARGET)/man/man3/pws_passwords_checkmulti.3
++ $(INSTALL) -m 0644 man3/pws_passwords_converttomulti.3 $(DESTDIR)$(TARGET)/man/man3/pws_passwords_converttomulti.3
+
+ clean:
+ rm -f $(OBJ) $(ARLIB) $(SOLIB) pwtool
diff --git a/security/libpwstor/pkg-plist b/security/libpwstor/pkg-plist
new file mode 100644
index 000000000000..f1dfd5a05c57
--- /dev/null
+++ b/security/libpwstor/pkg-plist
@@ -0,0 +1,19 @@
+bin/pwtool
+include/pwstor.h
+lib/libpwstor.a
+lib/libpwstor.so
+lib/libpwstor.so.0.1
+man/man1/pwtool.1.gz
+man/man3/pws_base64_decode.3.gz
+man/man3/pws_base64_encode.3.gz
+man/man3/pws_memnuke.3.gz
+man/man3/pws_passwords_check.3.gz
+man/man3/pws_passwords_checkmulti.3.gz
+man/man3/pws_passwords_converttomulti.3.gz
+man/man3/pws_passwords_encode.3.gz
+man/man3/pws_passwords_encodemulti.3.gz
+man/man3/pws_passwords_len.3.gz
+man/man3/pws_rand_get.3.gz
+man/man3/pws_version.3.gz
+man/man3/pws_version_int.3.gz
+man/man3/pwstor.3.gz