| Last change
 on this file since 66 was             62, checked in by Kris Deugau, 10 years ago | 
        
          | 
/trunk/uribl
 
Commit accumulated tweaks and fixes from production:
 add "use Encode;" and set the HTTP charset header to deal with
non-ASCII more sanely
reorder mangling of request-URI components a little so we can
symlink index.cgi -> uridb.cgi
collapse results from extract-data showing a hit on some other
DNSBL into a single field rather than just treating it as
"another domain" that needs to be hand-reflagged as "don't list"
use POST for form submissions;  mainly to clean up the working URL
 | 
        
          | 
              
Property                 svn:keywords
 set to                 Date Rev Author Id | 
        
          | File size:
            1023 bytes | 
      
      
| Line |  | 
|---|
| 1 | # wrap'em up all neatlike | 
|---|
| 2 | # $Id: Makefile 62 2016-02-12 20:45:59Z kdeugau $ | 
|---|
| 3 |  | 
|---|
| 4 | MANIFEST = \ | 
|---|
| 5 | delist-uri export-uridb import-cur.pl uridb.cgi URIdb.pm uridb.sql templates/ \ | 
|---|
| 6 | sa-uribl-example.cf | 
|---|
| 7 |  | 
|---|
| 8 | PKGNAME=uridb | 
|---|
| 9 | VERSION=0.1.2 | 
|---|
| 10 |  | 
|---|
| 11 | # bloody stupid Debian config puts OS-provided packaged sitelib under | 
|---|
| 12 | # /usr/local - by FHS defs, this is supposed to be reserved for, y'know, | 
|---|
| 13 | # **LOCAL** crap. | 
|---|
| 14 | # So we use the vendor lib directory instead.  Feh. | 
|---|
| 15 |  | 
|---|
| 16 | PERLLIBDIR = `eval "`perl -V:installvendorlib`"; echo $installvendorlib` | 
|---|
| 17 |  | 
|---|
| 18 | ##fixme | 
|---|
| 19 | #install: | 
|---|
| 20 | #       install -D DNSBL.pm $(DESTDIR)$(PERLLIBDIR)/<somewhere>/DNS/DNSBL.pm | 
|---|
| 21 | #       install -D -m 0755 export-dnsbl $(DESTDIR)${bindir}/export-dnsbl | 
|---|
| 22 |  | 
|---|
| 23 | dist: | 
|---|
| 24 | mkdir $(PKGNAME)-$(VERSION) | 
|---|
| 25 | tar -c --exclude .svn -f - $(MANIFEST) | (cd $(PKGNAME)-$(VERSION); tar xvf -) | 
|---|
| 26 | #       /usr/bin/perl -p -e 's/#VERSION#/$(VERSION)/' < $(PKGNAME).spec > $(PKGNAME)-$(VERSION)/$(PKGNAME).spec | 
|---|
| 27 | tar cvf $(PKGNAME)-$(VERSION).tar $(PKGNAME)-$(VERSION) | 
|---|
| 28 | gzip -v -f -9 $(PKGNAME)-$(VERSION).tar | 
|---|
| 29 | rm -rf $(PKGNAME)-$(VERSION) | 
|---|
| 30 | # gpg --detach-sign $(PKGNAME)-$(VERSION).tar.gz | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.