First check in
This commit is contained in:
68
Makefile
Normal file
68
Makefile
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
# This file is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License version 2 as
|
||||||
|
# published by the Free Software Foundation here:
|
||||||
|
# (http://www.gnu.org/licenses/gpl-2.0.html)
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
DEPENDS =
|
||||||
|
ARCH = x86_64
|
||||||
|
URL = http://ftp.debian.org/debian/pool/main/w/whois/
|
||||||
|
DESC = client for the whois directory service
|
||||||
|
SNAPVER = sr0
|
||||||
|
|
||||||
|
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||||
|
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||||
|
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
|
||||||
|
PATCHDIR := $(PWD)/SRC/patches
|
||||||
|
VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')$(SNAPVER)
|
||||||
|
|
||||||
|
MAKE = make
|
||||||
|
MAKEINST = BASEDIR=$(ROOT) make install-whois && \
|
||||||
|
BASEDIR=$(ROOT) make install-mkpasswd && \
|
||||||
|
BASEDIR=$(ROOT) make install-pos
|
||||||
|
SNAPHACKS =
|
||||||
|
|
||||||
|
include /usr/share/snap/Makefile.snaplinux
|
||||||
|
|
||||||
|
$(SRCDIR)/Makefile: $(ARCHIVE)
|
||||||
|
@if [ '$(TYPE)' == 'application/x-bzip2' ]; then \
|
||||||
|
tar -jxf $(ARCHIVE); \
|
||||||
|
elif [ '$(TYPE)' == 'application/x-gzip' ]; then \
|
||||||
|
tar -zxf $(ARCHIVE); \
|
||||||
|
elif [ '$(TYPE)' == 'application/x-tar' ]; then \
|
||||||
|
tar -xf $(ARCHIVE); \
|
||||||
|
elif [ '$(TYPE)' == 'application/x-xz' ]; then \
|
||||||
|
tar -xf $(ARCHIVE); \
|
||||||
|
else \
|
||||||
|
echo 'Unable to determine archive type'; \
|
||||||
|
exit 1; \
|
||||||
|
fi
|
||||||
|
@touch $(SRCDIR)/Makefile
|
||||||
|
|
||||||
|
$(SRCDIR)/mkpasswd: $(SRCDIR)/Makefile
|
||||||
|
@cd $(SRCDIR); \
|
||||||
|
$(MAKE)
|
||||||
|
|
||||||
|
$(ROOT): $(SRCDIR)/mkpasswd
|
||||||
|
@if [ -d $(ROOT) ]; then \
|
||||||
|
touch $(ROOT); \
|
||||||
|
else \
|
||||||
|
mkdir -v $(ROOT); \
|
||||||
|
fi
|
||||||
|
|
||||||
|
@cd $(SRCDIR); \
|
||||||
|
BASEDIR=$(ROOT) $(MAKEINST)
|
||||||
|
|
||||||
|
@$(SNAPHACKS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@rm -rvf $(ROOT) \
|
||||||
|
$(SNAPINFO) \
|
||||||
|
$(MANIFEST) \
|
||||||
|
$(FILES) \
|
||||||
|
$(SRCDIR)
|
||||||
|
|
||||||
3
SNAP/README
Normal file
3
SNAP/README
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
This is the directory where the manifest, snapinfo, and files.tar.gz
|
||||||
|
files will be created. It is also where the usher file should be
|
||||||
|
placed if it is required by the package.
|
||||||
2
SRC/patches/README
Normal file
2
SRC/patches/README
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Place any patch files here and preface each with a number indicating
|
||||||
|
the order of execution. Patch files are expected to use a .patch extension.
|
||||||
36
SRC/whois_5.2.12.dsc
Normal file
36
SRC/whois_5.2.12.dsc
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
|
Hash: SHA1
|
||||||
|
|
||||||
|
Format: 3.0 (native)
|
||||||
|
Source: whois
|
||||||
|
Binary: whois
|
||||||
|
Architecture: any
|
||||||
|
Version: 5.2.12
|
||||||
|
Maintainer: Marco d'Itri <md@linux.it>
|
||||||
|
Standards-Version: 3.9.7
|
||||||
|
Vcs-Browser: https://github.com/rfc1036/whois
|
||||||
|
Vcs-Git: git://github.com/rfc1036/whois.git
|
||||||
|
Build-Depends: debhelper (>= 5), gettext, libidn11-dev
|
||||||
|
Package-List:
|
||||||
|
whois deb net standard arch=any
|
||||||
|
Checksums-Sha1:
|
||||||
|
b74d5647f14e56bbe8ab945aee2be74781e2d683 80428 whois_5.2.12.tar.xz
|
||||||
|
Checksums-Sha256:
|
||||||
|
b26d4027b8987d9911466aa06ce2c167a50017cd59a622a429bd506222f6cdf1 80428 whois_5.2.12.tar.xz
|
||||||
|
Files:
|
||||||
|
b8f1482827137788016a418cc1ae364b 80428 whois_5.2.12.tar.xz
|
||||||
|
|
||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v1
|
||||||
|
|
||||||
|
iQGcBAEBAgAGBQJW+ffoAAoJECv1pcEixPek9CkMAIH5kV9vS3PJoSIpatgaZnud
|
||||||
|
GiVqRLUS1uQ4GeGA1aAs1/vMTUAwdYR5Ftg/mxlEKNGDe1M64xBS3UOByFM1G+vc
|
||||||
|
xY71npmQwB3lGMp+m++su2RbiZiex26q7DzqtaPJ766gydqaIQTwaYVSJNmFSmRL
|
||||||
|
+UVsR7ywUPpHFYkhKB70QgWmB87lkkfPKo4GFkAxvAASsiR+Ppnydz+h5SS0mpBI
|
||||||
|
WI4z1JtkjHpKwjeI76wNUZIS01/7a+9xYp16HBOzdDi1VCncsGnz7i8cbWcwbpAc
|
||||||
|
06PjkhqI5cZb1btiHantFcotE9gzlWMZcvwGSmH06+I/zCzfuT4WT1F79DxBXl5c
|
||||||
|
eK+cXdL/WfF9TZA8kQu14OfZ9F0IjAppB7BkypFgrQC3WiuX16JselDGfIPa3tW8
|
||||||
|
hgajr6XcVAn2NgclAgYciv+ygl7I2HWz25D8wOuKWVEW7+meAjKYBeXszRijMviM
|
||||||
|
Q3nMsJxruKb5ncqdNoL0eA57E0fn04sl+5rbnXe8Eg==
|
||||||
|
=c2i+
|
||||||
|
-----END PGP SIGNATURE-----
|
||||||
BIN
SRC/whois_5.2.12.tar.xz
Normal file
BIN
SRC/whois_5.2.12.tar.xz
Normal file
Binary file not shown.
Reference in New Issue
Block a user