###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007, 2008, 2009 Michael Tremer & Christian Schmidt #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
PKG_NAME = gnupg
-VER = 1.4.7
+VER = 2.0.8
+PKG_VER = 0
THISAPP = $(PKG_NAME)-$(VER)
DL_FILE = $(THISAPP).tar.bz2
OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+MAINTAINER =
+GROUP = Security/Tools
+EXTRA = no
+DEBUG = no
+DEPS = libassuan libgcrypt libksba pinentry pth
+
+URL = http://www.gnupg.org/
+LICENSE = GPLv3+
+SHORT_DESC = Utility for secure communication and data storage.
+
+define LONG_DESC
+ The GnuPG 2 package is GNU's tool for secure communication and data \
+ storage. It can be used to encrypt data and to create digital signatures. \
+ It includes an advanced key management facility and is compliant with the \
+ proposed OpenPGP Internet standard as described in RFC2440 and the S/MIME \
+ standard as described by several RFCs.
+endef
+
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
+download: $(objects)
+
info:
$(DO_PKG_INFO)
install: $(OBJECT)
-download : $(objects)
+package:
+ @$(DO_PACKAGE)
-$(objects) :
+$(objects):
@$(LOAD)
###############################################################################
# Installation Details
###############################################################################
-$(OBJECT) :
+$(OBJECT): $(objects)
@$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
@rm -rf /home/nobody/.gnupg /root/.gnupg
cd $(DIR_APP) && \
./configure \
$(CONFIGURE_ARCH) \
--prefix=/usr \
- --libexecdir=/usr/lib
+ --libexecdir=/usr/lib/gnupg2
cd $(DIR_APP) && make $(PARALLELISMFLAGS)
cd $(DIR_APP) && make install
- chmod -v 4755 /usr/bin/gpg
+ #chmod -v 4755 /usr/bin/gpg2 --- We don't do this anymore
@rm -rf $(DIR_APP)
@$(POSTBUILD)