Skip to contentSkip to conversation

new package: libtasn1

PATCH New Stefan Fröberg 3 participants 5 messages Feb 17, 2013 – Feb 18, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 new package: libtasn1

Libtasn1

Libtasn1 is the ASN.1 library used by GnuTLS, GNU Shishi and some other packages. It was written by Fabio Fiorina, and has been shipped as part of GnuTLS for some time but is now a proper GNU package.

---
Note: This package is needed by network-manager-applet (coming soon)

 package/Config.in            |    1 +
 package/libtasn1/Config.in   |    7 +++++++
 package/libtasn1/libtasn1.mk |   15 +++++++++++++++
 3 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 package/libtasn1/Config.in
 create mode 100644 package/libtasn1/libtasn1.mk
package/Config.in +1 -0
index b242318..e1788c2 100644
@@ -554,6 +554,7 @@ source "package/libglib2/Config.in"
 source "package/libical/Config.in"
 source "package/libnspr/Config.in"
 source "package/libsigc/Config.in"
+source "package/libtasn1/Config.in"
 source "package/libtpl/Config.in"
 source "package/libseccomp/Config.in"
 source "package/liburcu/Config.in"
package/libtasn1/Config.in new file +7 -0
new file mode 100644
index 0000000..2812157
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBTASN1
+	bool "libtasn1"
+	help
+	  ASN.1 library
+
+	  http://www.gnu.org/software/libtasn1
+
package/libtasn1/libtasn1.mk new file +15 -0
new file mode 100644
index 0000000..1329b97
@@ -0,0 +1,15 @@
+#############################################################
+#
+# libtasn1
+#
+#############################################################
+
+LIBTASN1_VERSION = 3.2
+LIBTASN1_SOURCE = libtasn1-$(LIBTASN1_VERSION).tar.gz
+LIBTASN1_SITE = http://ftp.gnu.org/gnu/libtasn1
+LIBTASN1_DEPENDENCIES = host-bison host-microperl
+LIBTASN1_LICENSE = GPLv3 LGPLv2.1
+LIBTASN1_LICENSE_FILES = COPYING COPYING.LIB
+LIBTASN1_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.7.6
#1 lore raw

PATCH 1/1 new package: libtasn1

Dear Stefan Fr?berg,

package/libtasn1/libtasn1.mk line 10

Quoted 4 lines · Stefan Fr?berg
package/libtasn1/libtasn1.mk new file +4 -0
+LIBTASN1_VERSION = 3.2
+LIBTASN1_SOURCE = libtasn1-$(LIBTASN1_VERSION).tar.gz
+LIBTASN1_SITE = http://ftp.gnu.org/gnu/libtasn1
+LIBTASN1_DEPENDENCIES = host-bison host-microperl

The microperl package is deprecated, and since perl is part of the mandatory dependencies of Buildroot (checked by support/dependencies/dependencies.sh), we generally do not make package depend on host-microperl.

Best regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH 1/1 new package: libtasn1

17.2.2013 19:25, Thomas Petazzoni kirjoitti:

Quoted 4 lines

Dear Stefan Fr?berg,

On Sun, 17 Feb 2013 18:23:50 +0200, Stefan Fr?berg wrote:

Quoted 8 lines

package/libtasn1/libtasn1.mk line 10

Quoted 4 lines
package/libtasn1/libtasn1.mk new file +4 -0
+LIBTASN1_VERSION = 3.2
+LIBTASN1_SOURCE = libtasn1-$(LIBTASN1_VERSION).tar.gz
+LIBTASN1_SITE = http://ftp.gnu.org/gnu/libtasn1
+LIBTASN1_DEPENDENCIES = host-bison host-microperl

The microperl package is deprecated, and since perl is part of the mandatory dependencies of Buildroot (checked by support/dependencies/dependencies.sh), we generally do not make package depend on host-microperl.

So I can remove perl completely from dependencies ?

Stefan

#3 lore raw

PATCH 1/1 new package: libtasn1

Dear Stefan Fr?berg,

Quoted 14 lines · Stefan Fr?berg

17.2.2013 19:25, Thomas Petazzoni kirjoitti:

Quoted 4 lines

Dear Stefan Fr?berg,

On Sun, 17 Feb 2013 18:23:50 +0200, Stefan Fr?berg wrote:

Quoted 8 lines

package/libtasn1/libtasn1.mk line 10

Quoted 4 lines
package/libtasn1/libtasn1.mk new file +4 -0
+LIBTASN1_VERSION = 3.2
+LIBTASN1_SOURCE = libtasn1-$(LIBTASN1_VERSION).tar.gz
+LIBTASN1_SITE = http://ftp.gnu.org/gnu/libtasn1
+LIBTASN1_DEPENDENCIES = host-bison host-microperl

The microperl package is deprecated, and since perl is part of the mandatory dependencies of Buildroot (checked by support/dependencies/dependencies.sh), we generally do not make package depend on host-microperl.

Quoted 1 line

So I can remove perl completely from dependencies ?

You can remove host-microperl from your package dependencies, yes. It should work.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#4 lore raw

PATCH 1/1 new package: libtasn1

In reply to Stefan Fröberg

Hi Stefan,

On Sun, Feb 17, 2013 at 06:23:50PM +0200, Stefan Fr?berg wrote:

[...]

package/libtasn1/libtasn1.mk line 8

Quoted 2 lines
package/libtasn1/libtasn1.mk new file +2 -0
+LIBTASN1_VERSION = 3.2
+LIBTASN1_SOURCE = libtasn1-$(LIBTASN1_VERSION).tar.gz

You can drop this line. This is the default.

package/libtasn1/libtasn1.mk line 15

Quoted 7 lines
package/libtasn1/libtasn1.mk new file +7 -0
+LIBTASN1_SITE = http://ftp.gnu.org/gnu/libtasn1
+LIBTASN1_DEPENDENCIES = host-bison host-microperl
+LIBTASN1_LICENSE = GPLv3 LGPLv2.1
+LIBTASN1_LICENSE_FILES = COPYING COPYING.LIB
+LIBTASN1_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -